geoschem / integrated_methane_inversion

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

Bugfix/get num statevector elements #124

Closed laestrada closed 1 year ago

laestrada commented 1 year ago

This PR replaces the ncmax and ncmin functions (addressing #123) and puts them in the common.sh file. The behavior of the updated function is the same except that it uses python instead of ncap2. ncap2 requires significantly more memory and caused a constraint on the amount of memory that could be used to run the IMI.

Additionally, I remove the setup_imi.sh file because this is a vestigial file. Setup is now handled by src/components/setup_component/setup.sh.

laestrada commented 1 year ago

Tested on AWS and confirmed no differences (except for the removal of some trailing whitespace)