openghg / openghg_inversions

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

basis functions read in from fp_basis_case now work correctly again #94

Open aliceramsden opened 4 months ago

aliceramsden commented 4 months ago

The option to use a fixed basis function (specified by the fp_basis_case variable) wasn't working in the previous commit, because the code now looks for a sector coordinate in the basis function file.

I've solved this issue (in a slightly fudge-y fix) by adding the sector coordinate to the simple basis function file. Then there is a matching basis function grid available for all sectors.

Also, changed the combine datasets method from ffill to nearest as ffill was adding nans at the start of the combined datasets.

I'll rename/move the co2_updates eric branch, once this merge is complete.