Conversation
…der experiment/scenario set, remove some defaults that result in unituitive results, add some failure points where needed, add naive approach for scenario handling
|
I haven't run the tests yet and I can already see that the linters are failing here (it worked locally for me though). I just wanted to make sure that you have access to the latest version and can look into the changes. And I think it would be good to merge current changes before I continue adapting the downloader further. With those changes all my cmip6 test cases are now working (6/6), so that's already a big step :D |
…sgf.py. split up raw and model vars. remove unused constants.
…g. update attribute handling of class. rewrite some if-else blocks. unify model and raw input vars handling. update constants. rename emission handling funcs. add comments for attributes in downloader class.
|
Pushed my updates for review/testing.
Let me know what you thinks and if you find any bugs/typos of problems! |
|
Code looks all good, thank you so much! Here a summary of my tests: Data can be retrieved from:
I will add a commit to fix a typo in the CO2 configs, and update the configs for future reference of issues listed here. Collecting the issues I have found, that will be separated out into issues though (and delete them from this comment here). Issue 1: (highest priority) bc_historical.yaml is downloading all SSP scenario data (+historical data) instead of only historical data. The same is happening for bc_ssp.yaml (all instead of just the one ssp scenario). The same is happening for the CH4 config files. Same for the SO2 configs. Same for CO2. Issue 2: Make sure failed data retrieval (Result len 0; or no overlap between requested and avail ensemble members) is not failing silently
Issue 3: Result len 0, when all inputs say it should actually be available?
Issue 4: Try out the abstract downloader classes by setting it up for omip and cmip6plus (looking at the code, it should be really easy now!) Issue 5: Far in the future: Add year span in downloader. |
I am creating a pull request, so the branches are not splitting up too much over time.
Current state:
The other future_cases are not working yet and have not been implemented yet. Please ignore those.
Next immediate steps: (Input4Mips handling)
Other next steps:
Backlog: