Skip to content
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

[FEATURE REQUEST] Expand IMI to other species such as CO2 #61

Open
msulprizio opened this issue Sep 19, 2022 · 5 comments
Open

[FEATURE REQUEST] Expand IMI to other species such as CO2 #61

msulprizio opened this issue Sep 19, 2022 · 5 comments
Milestone

Comments

@msulprizio
Copy link
Collaborator

As part of JPL's Earth Information System (EIS) there are plans to expand the IMI to include CO2 and additional observation operators.

@msulprizio
Copy link
Collaborator Author

I don't think this should be too difficult to do. To get started, you would need to:

  1. Add an option for species to the config.yml file (e.g. Species: CH4 as the default, but options would also include CO2)
  2. Add new code to these lines in template.sh to create a template run directory for CO2. For example:
    # Commands to feed to createRunDir.sh
    # Create a GEOS-FP 0.25x0.3125 nested NA CH4 run directory by default
    # (Grid and meteorology fields will be replaced below by the settings
    #  in config.yml)
    if ( $Species == "CH4" ); then
       cmd="3\n2\n4\n4\n2\n${RunDirs}\n${runDir}\nn\n"
    elif ( $Species == "CO2" ); then
       cmd="4\n2\n4\n4\n2\n${RunDirs}\n${runDir}\nn\n"
    else
       printf "ERROR: Species ${Species} is not currently supported by the IMI"
       exit 1
    fi

The values for cmd corresponds to the entries passed to createRunDir.sh in GCClassic.

  1. Modify the scripts in the src directory to replace CH4-specific code with options for other species. I recommend grepping the entire directory for CH4 to see where changes need to be made to allow for other species.

Also tagging @laestrada @djvaron @akurganskiy @hannahnesser for input.

@djvaron
Copy link
Collaborator

djvaron commented Aug 24, 2023

One more thing we'll need is a CO2 observation operator to replace the TROPOMI_operator.py for methane. The operator is called in jacobian.py.

Copy link

This issue has been automatically marked as stale because it has not had recent activity. If there are no updates within 7 days it will be closed. You can add the "never stale" tag to prevent the issue from closing this issue.

@msulprizio
Copy link
Collaborator Author

@hannahnesser is currently working on this

@msulprizio
Copy link
Collaborator Author

See draft PR #238

@msulprizio msulprizio added this to the IMI 3.0 milestone Sep 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants