openghg / openghg_inversions

University of Bristol Atmospheric Chemistry Research Group RHIME Inversion code (with openghg dependency)
MIT License
5 stars 0 forks source link

Use xarray dimensions in postprocessing #126

Open hdelongueville opened 1 month ago

hdelongueville commented 1 month ago

Modify inversion_pymc to use xarray instead of numpy arrays. This would allow to rely on the name of coordinates (eg, 'time') instead of their order, which can be different in some cases (eg, ['time', 'lat', 'lon'] or ['lat', 'lon', 'time'] for fluxes).