# ---
# jupyter:
#   jupytext:
#     text_representation:
#       extension: .py
#       format_name: light
#       format_version: '1.5'
#       jupytext_version: 1.14.4
#   kernelspec:
#     display_name: Python 3 (ipykernel)
#     language: python
#     name: python3
# ---

# + tags=[]
# Uncomment below to install `intake-xarray` if not already installed
# # !pip install intake intake-xarray
# -

# ## Import catalog and parameters
#
# All of the available datasets for the `swot_adac_ogcms` project are cataloged in a parameterized `intake` catalog. The catalog itself and all valid parameterizations for each entry can be imported as follows:

from validate_catalog import all_params
params_dict, cat = all_params()

# ## Inspect available models
#
# Each of the following model names is an item in our catalog.
#
# > **NOTE**: INALT60 data in not currently cataloged, pending provisioning of the private cloud bucket requested by the data provider.

params_dict.keys()

# ## Choose a model, inspect available parametrizations

item = "FIO-COM32"
params_dict[item]

# ## Select params from available options

params = params_dict[item][0]
print(item, params)

# + [markdown] tags=[]
# ## Load data
#
# -

print(item, params)
ds = cat[item](**params).to_dask()
ds



StarcoderdataJupyterScriptsDedupFiltered