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/ISSUE] Negative values error in FLUXNO stops nested grid simulation #380
Comments
@msulprizio looked into this issue with the following results and recommendations: I found there are negative NO concentrations coming into PARANOX in your simulation for some reason. I added the following print statements to hcox_paranox_mod.F90:
and got:
FNO_NOx is computed using NO and NO2, so having a negative FNO_NOx led me to look at those species concentrations. I'm still digging into why there's a negative NO value for those two grid boxes. I'm finding the differences are coming in during transport, always at the same timestep. I will check the met fields. I've added a bunch of print statements in the transport code. I printed out minimum values of NO before and after different subroutines to see where the negative values were coming in. Negative values seem to come in several timesteps before the model actually crashes, so I'm not sure if there's a correction later on that addresses them. I also printed out the values of met fields used in tpcore (where the negative values seem to be coming in) and don't see anything especially strange. U and V (for wind) have negative values, but that's to be expected with those fields. I'm not sure where to go from here because the tpcore code is essentially a black box. I think you have a few options: (1) Contact the nested model leaders to see if they have any advice; (2) add a fix in main.F after transport to set negative species concentration values to 0 or some low value like 1e-20, (3) add a fix in PARANOX to check for negative value. For the third option you could for example change the .OR. to a .AND. in this IF statement:
|
Regarding recommdation #3, to change FNO_NOx calculation from using an @christophkeller, do you recall why this code block has an
|
In routine Evolve_Plume (in HEMCO module src/Extensions/paranox_mod.F90), we need to make sure that both NO and NO2 are nonzero before computing FNO_NOx. This involves changing an .or. to an .and. in the IF block. Otherwise, set FNO_NOx = 1.0. This commit resolves the issue brought up in: #380 We will make a corresponding commit in the HEMCO repository. Signed-off-by: Bob Yantosca <yantosca@seas.harvard.edu>
This issue is now resolved by commit ff0a547. We have changed the |
In routine Evolve_Plume (in HEMCO module src/Extensions/paranox_mod.F90), we need to make sure that both NO and NO2 are nonzero before computing FNO_NOx. This involves changing an .or. to an .and. in the IF block. Otherwise, set FNO_NOx = 1.0. This commit resolves the issue brought up in: geoschem/geos-chem#380 This update corresponds to commit ff0a547 in geoschem/geos-chem. Signed-off-by: Bob Yantosca <yantosca@seas.harvard.edu>
A "negative values found" error in FLUXNO stopped my nested grid run on day 342 (Dec 8) of 2013. This issue was first reported by Eimy Bonilla.
HEMCO.log
GC.log
The text was updated successfully, but these errors were encountered: