Closed cisaacstern closed 2 years ago
Check out this pull request on
See visual diffs & provide feedback on Jupyter Notebooks.
Powered by ReviewNB
Sorry for my belated response. I just came back from vacation.
@roxyboy, I'm about to push updates to the catalog for the new FESOM data...
...so going to merge this so we can keep moving forward.
If you have lingering questions related to https://github.com/pangeo-data/swot_adac_ogcms/pull/5#discussion_r690548779 let's open a new issue to discuss.
@roxyboy, lots of cool developments here.
validate_catalog.py
so that it actually validates every one of our datasets. (And running it caught a few mistakes I'd made in the catalog, which I then corrected!)intake_demo.ipynb
to take advantage of the parametrization logic invalidate_catalog.py
.A bit more about the
intake_demo.ipynb
rewrite. Valid intake catalog parameters vary somewhat from model to model. FESOM doesn't have aregion
parameter, for example, and not all models have agrid
on the cloud. This could be because some params are truly irrelevant for a particular model, or in certain cases it's just because we haven't gotten the data yet.So to make it crystal clear, I've taken advantage of the existing logic in
validate_catalog.py
to import a nested dictionary intointake_demo.ipynb
which tells you exactly the set of catalog parameters that are valid for each model. Instead of manually entering the catalog params, you can now load directly using one of these pre-defined parameterizations.Does the new
intake_demo.ipynb
make sense? Happy to rework to make the loading more intuitive based on your feedback.