Open bearecinos opened 5 months ago
@bearecinos I think the best way forward would be to stop working on the sandbox but open a PR to OGGM directly. We want to start maintaining more complex MB models withing OGGM for now, and the MB sandbox could be updated but may not. Happy to discuss offline if you want.
Sure, should I close all the issues I opened in the MB sandbox ? I can re post this in the OGGM/oggm repo ? Probably needs a more detailed issue with a list of the functions that you are planning to bring into oggm ... Anyway maybe is better to leave this for tomorrow ... Happy to discuss further at the hydro meeting tomorrow..
Many pytests, docs and notebooks make use of the default oggm mass balance which now is
TIMonthly
notPastMassBalance
. Changing this is where it got out of hand for me and I stopped as I need to understand what is the most urgent tasks/scripts/functions that need changing.There are also calls to functions that are not there anymore like
oggm.core.climate.historical_climate_qc
If I fix some of the issues that I posted before (variable names, datetime, append) I'm down to this upgrade with only 3 test failing, which I think is down to the structural changes that happened in OGGM.
mb_calib.json
which is now required to run TIMonthly. I started with the changes in the notebooks here but quickly realize that maybe I'm missing something. This cell is meant to output a same time series which now looks like this (probably down to how I calibrated things with geodetic SMB vs how it was done with WGMS data??):plt.xlabel('year') plt.ylabel('SMB (kg m−2^{-2} yr−1^{-1})');