-
Notifications
You must be signed in to change notification settings - Fork 159
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
Fix update for domain-added buffer in LDT #447
Conversation
Added new checks and code to address when a buffer is added around a subsetted parameter domain in relation to target LIS domain.
I found a problem when running with GFORTRAN with strict checks. A dimension mismatch occurs in ldt/core/LDT_fileIOMod.F90. I put in several lines to print out the dimensions in question: diff --git a/ldt/core/LDT_fileIOMod.F90 b/ldt/core/LDT_fileIOMod.F90 !- Initialize parameter read-in array:
And I see this: EMK: subpnc, subpnr = 474 234 GFORTRAN reports this error (note the line number is affected by the print statements I added): Fortran runtime error: Array bound mismatch for dimension 1 of array 'array' (46 Error termination. Backtrace: The code that trips the stack trace is this: !- Select grid spatial transform option: else endif The array and read_inputparm arrays must have the same dimensions, but they do not. I'm afraid more work is needed. |
To clarify, this occurs when I use the ldt.config_noahmp.nldasgrid_all file in the /discover/nobackup/projects/lis/Projects/LDT/LISF_Testcases/LDTDomain_Buffer/NLDAS |
- Added new checks for when to apply a buffer around a parameter file target subdomain. - Added new LDT config option for user to select whether to include a buffer for parameter domains or not. Default is buffer is turned on, but with checks in place to turn off if not needed. - Minor LDT log message updates to the HyMAP routines in LDT. - Documented new domain buffer option in LDT config.adoc file.
New updates have been made to fix the issues introduced with adding a buffer around a target parameter grid. New checks and a new LDT config option included, which is only turned on if the user includes the option in their ldt.config file. Thus, users do not need to include the new option in their ldt.config files. I updated the ldt.config.adoc documentation supporting this new option. Also, just made a minor change to an "error" LDT log statement in the HyMAP parameter reader routines in LDT. |
Thanks Kristi! I'm testing this now. |
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.
I'm satisfied with the test results and the code changes. I approve.
Thank you for testing the latest updates and approving the pull request. |
Added new checks and code to address when a buffer is added around
a subsetted parameter domain in relation to target LIS domain.
Addresses issue #446, as reported by S. Kumar