openghg / openghg_inversions

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

added option to save or reload a merged data object #27

Closed aliceramsden closed 7 months ago

aliceramsden commented 7 months ago

I've added an option to get_data.data_processing_surface_notracer, to save the merged data object (fp_all) to a pickle file.

hbmcmc.fixedbasisMCMC then either reads a saved merged data object, or runs the get_data process, to extract all the input data for the inversion.

3 new variables have been added to the .ini file, to allow for this:

reload_merged_data, save_merged_dataand merged_data_dir

EricSaboya commented 7 months ago

Looks good to me! Thanks for doing this