-
Notifications
You must be signed in to change notification settings - Fork 731
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
bug fix: initialize lat/lon with zeros only for nested fire runs #1434
Conversation
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.
changes confined to fire code
@masih-e @dudhia @janmandel @pedro-jm |
The number of grid cells is not causing the error. It is the value of XLAT exceeding 85 that triggers the error. The error is called in an interpolation subroutine only for nested domains. Therefore, a single domain run should be fine regardless. I hope that answers the question @davegill |
Changes to be committed: modified: module_fr_fire_util.F
@masih-e @janmandel @pedro-jm Basically, I am just bothered by the half-way solution.
|
|
@pedro-jm @janmandel @masih-e |
@pedro-jm @janmandel @dudhia @weiwangncar @masih-e
Later, should anyone want to fix this, the projection information is defined in module_initialize_fire.F:
This current routine would make a great way to initialize the lat lons for many of the 3d idealized cases. |
…-model#1434) TYPE: bug fix KEYWORDS: idealized fire nested domain simulation SOURCE: Found by Masih Eghdami (NCAR), Pedro Jimenez (NCAR) DESCRIPTION OF CHANGES: Problem: The atmospheric coordinates (lat/lons) are initialized with spatial coordinates, this will create a fatal error when the model is run with nested domains. The error is because lat>90 in share/interp_fcn.F: ``` CALL wrf_error_fatal ( 'Nest over the pole, single input domain, longitudes will be wrong' ) ``` Solution: The lat/lon are initialized with zeros similar to LES idealized cases only if the model has 2 domains to prevent the error. If the model is run with 1 domain, the lat/lon are written with spatial coordinates allowing easier post-processing. ISSUE: This PR addresses the discussion in wrf-model#1412 with @pedro-jm and @janmandel. LIST OF MODIFIED FILES: module_initialize_fire.F TESTS CONDUCTED: 1. Yes, the nested idealized fire case runs without the error described above. 2. They are passing.
TYPE: bug fix
KEYWORDS: idealized fire nested domain simulation
SOURCE: Found by Masih Eghdami (NCAR), Pedro Jimenez (NCAR)
DESCRIPTION OF CHANGES:
Problem:
The atmospheric coordinates (lat/lons) are initialized with spatial coordinates, this will create a fatal error when the
model is run with nested domains. The error is because lat>90 in share/interp_fcn.F:
Solution:
The lat/lon are initialized with zeros similar to LES idealized cases only if the model has 2 domains to prevent the error. If the model is run with 1 domain, the lat/lon are written with spatial coordinates allowing easier post-processing.
ISSUE: This PR addresses the discussion in #1412 with @pedro-jm and @janmandel.
LIST OF MODIFIED FILES:
module_initialize_fire.F
TESTS CONDUCTED: