NCAR / IPT

Emissions Model Interface Tool
Apache License 2.0
10 stars 8 forks source link

Regridding GEOS-5 to Regional Refined in Gen_Data_f09 Package May Require 'NetCDF4Classic' Output #39

Closed shawnusaf closed 3 years ago

shawnusaf commented 3 years ago

Hello,

I am trying to re-grid GEOS-5 FP meteorology output for a regionally refined run. I can get the Finite Volume Dycore Gen_Data_f09 package to work fine for a standard CESM grid, but once I try it on a regionally refined grid, the code breaks. Specifically, it appears that the larger file/variable sizes may not work within the NetCDF-Classic framework, and instead NetCDF4-Classic output may be required. Doing this however, does not seem as simple as just defining NetCDF4-Classic type before the command 'cdf = addfile(mytmpdiro+"/"+fileout,"c")' around line 94 in the file makeIC.ncl. There are also differences between NetCDF/NetCDF4 with respect to the order in which the '_FillValue' variable attributes must be assigned, which might require several modifications of the makeIC_procedures.ncl script.

Attached are my LogNCL file which contains the error and a test file Gen_GEOS5_fv09_test.csh which contains the locations on Cheyenne of the GEOS5 output that I am trying to re-grid, and the locations of the 'fname_grid_info' and 'fname_phis_output' files. I can probably figure this out eventually and will continue trying, but someone that is more proficient in NCL and more familiar with this code can probably fix it much faster than I can.

LogNCL.202105270000.txt

Gen_GEOS5_fv09_test.csh.txt

Thanks!

-Shawn Honomichl