ESCOMP / CTSM

Community Terrestrial Systems Model (includes the Community Land Model of CESM)
http://www.cesm.ucar.edu/models/cesm2.0/land/
Other
309 stars 313 forks source link

Handling of deg/rad and -180-180 vs. 0-360 in CLM input files.. #89

Open ekluzek opened 6 years ago

ekluzek commented 6 years ago

Erik Kluzek < erik > - 2012-01-20 10:22:36 -0700 Bugzilla Id: 1451 Bugzilla CC: anthony.p.craig, dlawren, higginsm, mvertens, rfisher, sacks,

Matt found problems with handling of input files in CLM when in radians instead of degrees, and also for files on -180-180 versus 0-360. Previously I made sure all input files in CLM where 0-360 and in degree's as there were problems otherwise. There's also quite a few files here to think about. surface datasets, domain files, mapping files (both for model and for mksurdata_map), nitrogen-deposition and aerosol deposition files. I'm not sure if the entire modelling system can handle it if different parts of these files are on different grids or not. I believe all raw datasets for mksurfdata_map are on -180-180. If we create domain files on 0-360 does the mapping still work right? And if we create surface datasets on -180-180, do the aerosol and Nitrogen deposition files still work right?

CLM can certainly check that the input units are degrees and die if not. Or really converting between the two isn't a real issue. I'm NOT sure about the -180-180 conversion though...

ekluzek commented 6 years ago

Erik Kluzek < erik > - 2012-07-09 15:10:19 -0600

In clm4_0_44, Tony added a change that fixes a specific manifestation of this problem for the grid domain that was needed for WRF files. It only handles one case, but does allow more of this than was allowed before (which was zero).