geoschem / HEMCO

The Harmonized Emissions Component (HEMCO), developed by the GEOS-Chem Support Team.
https://hemco.readthedocs.io
Other
16 stars 32 forks source link

Updates from GMAO: HCOIO_IsValid #256

Closed lizziel closed 7 months ago

lizziel commented 8 months ago

Name and Institution (Required)

Name: Lizzie Lundgren Institution: Harvard University

Describe the update

This PR pulls in the latest updates developed by GMAO into the standard model. From Christoph Keller (@christophkeller):

HCOIO_IsValid is a wrapper routine to check if a HEMCO container has a valid field attached to it. In an ESMF environment, there are edge cases where the fields can change from defined to undefined over the course of a simulation. This routine returns the validity of a field as determined by ESMF routine ESMFL_field_is_undefined. In a non-ESMF environment, this routine simply returns whether the queried field name has a corresponding data container or not.

Expected changes

This is a zero diff update.

Reference(s)

None

Related Github Issue(s)

https://github.com/GEOS-ESM/HEMCO/pull/11

lizziel commented 8 months ago

I changed this to draft status pending results of my integration tests.

lizziel commented 7 months ago

It turns out this update requires a newer version of MAPL than we use in GCHP. We do not plan to update MAPL in the near future so I will close this PR and make a new one when the time comes to bring this in.