Satellite Diagnostic not currently compatible with Carbon Simulation #2368
Labels
category: Bug
Something isn't working
topic: Carbon Gases Simulations
Related to simulations with carbon gases (carbon, CO2, CH4, tagCH4, tagCO)
topic: Diagnostics
Related to output diagnostic data
Milestone
Your name
Jared Brewer
Your affiliation
University of Minnesota
What happened? What did you expect to happen?
Hi GCST,
So, I'm working with GC 14.1.1 right now and I'm trying to use the satellite diagnostic with the Carbon Simulation. I've posted about this before in relation to ##2017 but I'm now moderately confident that I'm looking at two separate issues.
By default, the run directory created for the carbon sim doesn't include SatDiagn as an option. To add the Satellite Diagnostics to HISTORY.rc, I have simply added the line
'SatDiagn',
to the Collections declaration in HISTORY.rc and then copied theSatDiagn COLLECTION
section from the fullchem version of the model, with the SatDiagnConc species changed to match my carbon sim (e.g., SatDiagnConc_CH4, etc.).What are the steps to reproduce the bug?
There are two separate presentations here, which I believe correspond to two separate bugs.
SatDiagnConc_XXX
species as outputs in HISTORY.rc, I get a replica of the issue specified in SatDiagn problems in gcclassic fullchemistry run (v14.1) #2017:IF ( State_Diag%SatDiagnCount > 0 ) THEN 1 Error: IF clause at (1) requires a scalar LOGICAL expression
, implying that SatDiagnCount is not a single number value. Bob has already suggested a fix in his response to issue 2017, but when I apply that fix, I find that that I still get a segfault for aninvalid memory reference
on the lineWHERE( State_Diag%SatDiagnCount > 0 )
.This error triggers at the end of the first day of the run.
SatDiagn
outputs other thanSatDiagnConc_XXX
in HISTORY.rc. If I instead add some of the other SatDiagn outputs that I need (e.g.SatDiagnAirDen
,SatDiagnRH
, etc.) the error changes. It triggers on the first timestep of the first day, rather then at the end of the day, and gives the following error:If I comment out the responsible warning (GeosCore/diagnostics_mod.F90:1334), the code runs without issue, but the only variables added to the SatDiagn that gets written out are lat_bnds, lon_bnds, and AREA. (hyam, hybm, hai, and hybi are also written but all values are 0s).
I'm not certain what to do with this, but it definitely seems to me that the SatDiagn as currently written may just not be compatible with the Carbon Sim. If there's an easy way to make these things talk to each other, I'd love to do that. Otherwise, maybe this should be a 'feature request' rather than an 'issue report'.
Thanks,
Jared
What GEOS-Chem version were you using?
14.1.1
What environment were you running GEOS-Chem on?
Local cluster
What compiler and version were you using?
gcc 8.2.0
Will you be addressing this bug yourself?
Yes, but I will need some help
In what configuration were you running GEOS-Chem?
GCClassic
What simulation were you running?
Carbon
As what resolution were you running GEOS-Chem?
2x2.5
What meterology fields did you use?
MERRA-2
The text was updated successfully, but these errors were encountered: