Open rgieseke opened 4 months ago
FWIW, @swillner figured out that if we request the simpleNbox.NBP
data without a date we can get the data without an error with Pyhector, the same as in the command line Hector outputstream.
In [2]: pyhector.run(pyhector.ssp126, outputs=["simpleNbox.NBP"])
Out[2]:
simpleNbox.NBP
1745 0.000993
1746 -0.080203
1747 -0.076254
1748 -0.073284
I am still a bit confused about whether and when the 1745 data makes sense to report or whether it should be discarded as part of spin-up.
There have been a few issues about this already (e.g. #354, #556, #177)
The documentation currently states:
https://jgcri.github.io/hector/articles/outputstream.html?#output-stream-categories
As discussed in the linked issues, for NBP (formerly 'atm_land_flux') in simpleNbox it's not possible to retrieve a value for 1745 using RHector.
With
I get (as expected and documented):
However, in the command line outputstream I do get a value for 1745:
For the Pyhector v3 update (https://github.com/openclimatedata/pyhector/pull/63) I need to find a way to handle NBP not reporting for 1745, which in my current setup requests all years for all variables and errors with the same error as RHector above . I can surely work around this somehow, but was wondering why the command line version reports a value for 1745. Also, is NBP the only value for which the start year (1745) is not being reported?
[Edited: I had 1746 in some places instead of 1745, sorry!]