Scheduled Downtime
On Tuesday 24 October 2023 @ 5pm MT the forums will be in read only mode in preparation for the downtime. On Wednesday 25 October 2023 @ 5am MT, this website will be down for maintenance and expected to return online later in the morning.
Normal Operations
The forums are back online with normal operations. If you notice any issues or errors related to the forums, please reach out to help@ucar.edu

"AerosolMass" interpolation

Hello,

I have some problems when I interpolate CAM inputfile(AerosolMass).

I used the tools in CAM3. (cam1/models/atm/cam/tools/interpaerosols)

I modified codes in "REGRID.pl" for T106 interpolation, and set the environment variables "INC_NETCDF and LIB_NETCDF" in Makefile.

My seguence of commands were :
1) REGRID.pl T106
2) gmake
3) ./interpaerosols /home2/cam1/inputdata/atm/cam/rad/AerosolMass_V_128x256_clim_c031022.nc regrid.T106.nc

And the error messages were :
=================================
WRAP_OPEN: nf_open failed for file regrid.T106.nc
No such file or directory

Aborted
=================================

What should I do?

Thank You !
 

rneale

Rich Neale
CAM Project Scientist
Staff member
It looks to me that file regrid.T106.nc is not in your working directory. Could it be as simple as that?
 
Thak you for your reply.

However, when I executed the command of "REGRID.pl", "regrid.T106.nc" was made in my present working directory.
Nevertheless, it didn't work.
 

rneale

Rich Neale
CAM Project Scientist
Staff member
/interpaerosols /home2/cam1/inputdata/atm/cam/rad/AerosolMass_V_128x256_clim_c031022.nc / regrid.T106.nc


If this is the exact command you executed then it certainly would not work as you have a spurious "/" before regrid.T106.nc
Try and re-run without it

/interpaerosols /home2/cam1/inputdata/atm/cam/rad/AerosolMass_V_128x256_clim_c031022.nc regrid.T106.nc
 
Top