emit-sds / emit-ghg

Mapping of greenhouse gases with EMIT.
Apache License 2.0
34 stars 14 forks source link

Per pixel uncertainty from dev #21

Open jfahlen opened 2 months ago

jfahlen commented 2 months ago

@pgbrodrick: This PR adds the uncertainty and sensitivity to the dev branch.

Adds the EMIT noise model emit_noise.txt to the repo

Changes to ghg_process.py: 1) Adds output paths to for the CO2 and CH4 uncertainty 2) Adds relative path to emit_noise.txt in the repo 3) CO2 and CH4 use the restricted wavelength range: '--wavelength_range', '500', '1340', '1500', '1790', '1950', '2450' 4) CO2 and CH4 have identical parallel_mf commands 5) CO2 and CH4 both by default will create uncertainty and sensitivity metrics

Changes to parallel_mf.py: 1) Adds logic to ensure that either both uncertainty and sensitivity output paths are provided or neither (can't do just one) 2) Add logic to ensure that if uncertainty and sensitivity are to be calculated that the noise model is also provided. 3) Calculates uncertainty and sensitivity

Testing: 1) I ran two different EMIT scenes for CH4 2) I ran one EMIT scene for CO2 3) I did NOT run any AVIRIS cases to ensure the chunking works