get_footprint(...)
is basically the same as search(...).retrieve(...)
where you're grabbing the data from the object store
get_footprint()
directly if you're using the ModelScenario
set up as this will do it for you. I was just saying if you actually grabbed the data you found through the search then you'd probably see this did contain the whole date range you'd added for the 2 footprints.
openghg.retrieve.get_bc()
function. If a start date and end date are specified when calling this function, are the boundary condition files that are closest to the start date retrieved from the objectstore? e.g. If only boundary condition files for "2012-01-01" are in the objectstore, a specified start_date="2019-01-01"
will retrieve the 2012 data in this case?
It looks like ModelScenario step works for me now! :-
In [2]: scenario=ModelScenario(site='WAO',inlet='20m',domain='EUROPE',species='co2',source='edgar-ukghg-ff',start_date='2018-01-01',end_date='2018
...: -01-31')
Adding obs_surface to model scenario
Updating any inputs based on observation data
site: wao, species: co2, inlet: 20m
Adding footprint to model scenario
Adding flux to model scenario
Adding boundary_conditions to model scenario
I deleted the data store and started again using the new code - I had to drop the date keyword from the standardise_flux stage, which I guess was the change you made. Thanks for all the help on this!
N.B. - I tried this requesting 30GB of memory, but it seems it wasn't enough. When I requested 50GB it worked. So, it is pretty memory hungry still!
search
but they had data_type=NaN
(indeed no results were given for search_bc
). Is there a way to change the datatype of these files or would this require having to remake the BC files and add them to the OS again?
standardise_bc
line run, file added etc.) that would be helpful for debugging.