-
Notifications
You must be signed in to change notification settings - Fork 153
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
reduce memory required by MERRA2 data #757
Conversation
* switch aerin and aer_pres to r*4. time and space bilinear interp will be done on r*4 variables and type promotion to r*8 will occur there
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks @DeniseWorthen for this simple yet powerful change. If I understand you correctly, then the regression tests using MERRA2 will not change results, correct (Intel/GNU in Prod/Debug)?
The regression tests baselines will change, but only because I'd like to correct the |
It is good to know the results are the same with improved the speed. Approved. |
@AnningCheng-NOAA This change is not expected to impact the speed of the model. |
…ompson Remove Noah-WRFv4, bug fix in Thompson MP inner loop, contains "reduce memory required by MERRA2 data" (#757)
MERRA2 data is stored as float (r4) in the source files. When read in it is immediately promoted to double precision before being interpolated in time and space to the ATM model grid and timestep. The size of the associated (x,y,z,t,ntra) arrays in double precision causes the coupled model at C384mx025 to fail on Cheyenne.intel.
If the ingested arrays are retained as single precision until they are interpolated in
aerinterpol
, there is no change in model forecast file fields but all tests are able to run on Cheyenne.intel.Associated ufs-weather-model issue #698
Required for ufs-weather-model PR #866