Closed JinZheeee closed 1 year ago
Thanks @JinZheeee for reporting this. Could you tell us the path where you downloaded the ObsPack data file is? We can try to replicate that error. I wonder if the name of the species in the file does not match the name of the GEOS-Chem species or something like that.
Hello,
I think this issue is from a bug in input_mod:
!------------------------------------------------------------------------
! Species names
!------------------------------------------------------------------------
key = "extra_diagnostics%obspack%output_species"
a_str = MISSING_STR
CALL QFYAML_Add_Get( Config, TRIM( key ), v_str, "", RC )
IF ( RC /= GC_SUCCESS ) THEN
errMsg = 'Error parsing ' // TRIM( key ) // '!'
CALL GC_Error( errMsg, RC, thisLoc )
RETURN
ENDIF
Should be as follows:
!------------------------------------------------------------------------
! Species names
!------------------------------------------------------------------------
key = "extra_diagnostics%obspack%output_species"
a_str = MISSING_STR
CALL QFYAML_Add_Get( Config, TRIM( key ), a_str, "", RC, dynamic_size=.TRUE. )
IF ( RC /= GC_SUCCESS ) THEN
errMsg = 'Error parsing ' // TRIM( key ) // '!'
CALL GC_Error( errMsg, RC, thisLoc )
RETURN
ENDIF
Obspack worked for me after I applied this change.
Thanks @yantosca for your reply. I downloaded the obspack data from https://gml.noaa.gov/ccgg/obspack/data.php. The current data version provided is v8.0 (obspack_co2_1_GLOBALVIEWplus_v8.0_2022-08-27), and the version I used is v7.0 (obspack_co2_1_GLOBALVIEWplus_v7.0_2021-08-18).
Thanks @sabourbaray and @JinZheeee. I'll look into this error in input_mod.F90
.
@sabourbaray: I confirmed that your fix worked. I'll push a bug fix branch.
I've opened a PR #1554 for this issue. It will go into 14.1.0 pending successful integration tests.
We are now aiming to get this into 14.2.0. In the meantime, users can apply the simple fix shown above.
This fix has been merged into 14.1.0. We can now close this issue.
Hi, The model version I used is 14.0.1, and I'm trying to run the CO2 simulation with ObsPack diagnostic. The CO2 simulation can run successfully if I turn off ObsPack diagnostic. But the ObsPack diagnostic cannot run successfully, the error report is:
This is my geoschem_config.yml:
Look forward to hearing from you.
Thanks.