Created
July 25, 2024 05:34
-
-
Save dougiesquire/213a44aa3e61b530fe8b723c198f4d29 to your computer and use it in GitHub Desktop.
Demonstration of using the ACCESS-NRI intake catalog to find what CMIP6 ACCESS-ESM1.5 ice variables are available
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"cells": [ | |
{ | |
"cell_type": "code", | |
"execution_count": 1, | |
"id": "e663a0d4-04c6-4fc8-865e-36664d3f2b7f", | |
"metadata": {}, | |
"outputs": [], | |
"source": [ | |
"import intake" | |
] | |
}, | |
{ | |
"cell_type": "code", | |
"execution_count": 2, | |
"id": "205bae21-20cf-4a10-8ff9-51a6a610b9cb", | |
"metadata": {}, | |
"outputs": [], | |
"source": [ | |
"cat = intake.cat.access_nri" | |
] | |
}, | |
{ | |
"cell_type": "markdown", | |
"id": "cd827d23-cde0-4260-9a01-06dce0f84642", | |
"metadata": {}, | |
"source": [ | |
"### CMIP6 ACCESS-ESM1.5 sea ice variables at daily frequency" | |
] | |
}, | |
{ | |
"cell_type": "code", | |
"execution_count": 3, | |
"id": "9a3ba61f-90ed-4607-9215-f5528e52c1f6", | |
"metadata": {}, | |
"outputs": [ | |
{ | |
"data": { | |
"text/plain": [ | |
"['siconca']" | |
] | |
}, | |
"execution_count": 3, | |
"metadata": {}, | |
"output_type": "execute_result" | |
} | |
], | |
"source": [ | |
"cat.search(\n", | |
" name=\"cmip6_fs38\",\n", | |
" model=\"ACCESS-ESM1-5\",\n", | |
" realm=\"seaIce\",\n", | |
" frequency=\"1day\"\n", | |
").unique().variable" | |
] | |
}, | |
{ | |
"cell_type": "markdown", | |
"id": "9bfb80f1-4b99-46c1-aeb4-3e827c89477b", | |
"metadata": {}, | |
"source": [ | |
"### CMIP6 ACCESS-ESM1.5 sea ice variables at month frequency" | |
] | |
}, | |
{ | |
"cell_type": "code", | |
"execution_count": 4, | |
"id": "a366c964-472f-49e0-9150-1f1906d73ad1", | |
"metadata": {}, | |
"outputs": [ | |
{ | |
"data": { | |
"text/plain": [ | |
"['siextents',\n", | |
" 'siextentn',\n", | |
" 'simass',\n", | |
" 'sisnconc',\n", | |
" 'sivoln',\n", | |
" 'sithick',\n", | |
" 'sidmasstrany',\n", | |
" 'simassacrossline',\n", | |
" 'sidmasstranx',\n", | |
" 'siareaacrossline',\n", | |
" 'sisnmass',\n", | |
" 'siarean',\n", | |
" 'sivol',\n", | |
" 'sistrxubot',\n", | |
" 'sifllatstop',\n", | |
" 'snmassacrossline',\n", | |
" 'siconc',\n", | |
" 'siconca',\n", | |
" 'siflsensupbot',\n", | |
" 'sidivvel',\n", | |
" 'sisnthick',\n", | |
" 'siareas',\n", | |
" 'sndmasssnf',\n", | |
" 'sidmassevapsubl',\n", | |
" 'siv',\n", | |
" 'sistrydtop',\n", | |
" 'siflfwbot',\n", | |
" 'sipr',\n", | |
" 'sistrxdtop',\n", | |
" 'sistryubot',\n", | |
" 'sicompstren',\n", | |
" 'siu',\n", | |
" 'sispeed',\n", | |
" 'sivols']" | |
] | |
}, | |
"execution_count": 4, | |
"metadata": {}, | |
"output_type": "execute_result" | |
} | |
], | |
"source": [ | |
"cat.search(\n", | |
" name=\"cmip6_fs38\",\n", | |
" model=\"ACCESS-ESM1-5\",\n", | |
" realm=\"seaIce\",\n", | |
" frequency=\"1mon\"\n", | |
").unique().variable" | |
] | |
} | |
], | |
"metadata": { | |
"kernelspec": { | |
"display_name": "Python [conda env:analysis3-unstable]", | |
"language": "python", | |
"name": "conda-env-analysis3-unstable-py" | |
}, | |
"language_info": { | |
"codemirror_mode": { | |
"name": "ipython", | |
"version": 3 | |
}, | |
"file_extension": ".py", | |
"mimetype": "text/x-python", | |
"name": "python", | |
"nbconvert_exporter": "python", | |
"pygments_lexer": "ipython3", | |
"version": "3.10.14" | |
} | |
}, | |
"nbformat": 4, | |
"nbformat_minor": 5 | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment