geoschem / integrated_methane_inversion

Integrated Methane Inversion workflow repository.
https://imi.readthedocs.org
MIT License
29 stars 24 forks source link

Clean up overlap between the IMI preview and the prior simulation #245

Closed msulprizio closed 4 months ago

msulprizio commented 4 months ago

Name and Institution (Required)

Name: Melissa Sulprizio Institution: Harvard

Describe the update

With the prior (HEMCO standalone) run now enabled in the IMI, we can clean up the IMI code to:

  1. Remove the preview run directory. We no longer run a short GEOS-Chem preview simulation to generate prior emissions. These are now obtained from prior_run/OutputDir. Therefore, we can remove preview_run. We now rename the directory to simply preview since it will only contain output PNG and TXT files from the IMI preview.

  2. Use the prior_run output as input for the emission fields in generating the state vector. We previously used archived files saved out from HEMCO standalone simulations but these were for a fixed date (2019/01/01) and emissions configuration (from GEOS-Chem 14.4.1). Using the output from prior_run will allow the state vector to be generated with the actual emissions for the existing IMI setup.

  3. Remove PreviewDryRun and RestartFilePreviewPrefix from config files. These are no longer needed after implementing item 1 above. If users need to do a dry run to download data, they should use the production dry run option before running the prior simulation.

Also included here are minor fixes allowing users to run without specifying PointSourceDatasets and ForcedNativeResolutionElements