Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
36 changes: 17 additions & 19 deletions cmip6_downscaling/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,43 +3,41 @@

_defaults = {
'auth': {
"tf_azure_storage_key": "$TF_AZURE_STORAGE_KEY",
"tf_azure_storage_key": "$TF_AZURE_STORAGE_KEY", # this will fail on azure
},
'chunk_dims': {'full_space': ('time',), 'full_time': ('lat', 'lon')},
'storage': {
'top_level': {
'uri': 'az://',
'storage_options': {"connection_string": "$AZURE_STORAGE_CONNECTION_STRING"},
'uri': 's3://',
'storage_options': {},
},
'intermediate': {
'uri': 'az://scratch/intermediates',
'storage_options': {"connection_string": "$AZURE_STORAGE_CONNECTION_STRING"},
'uri': 's3://carbonplan-scratch/cmip6-downscaling/intermediates',
'storage_options': {},
},
'results': {
'uri': 'az://flow-outputs/results',
'storage_options': {"connection_string": "$AZURE_STORAGE_CONNECTION_STRING"},
'uri': 's3://carbonplan-cmip6/flow-outputs/results',
'storage_options': {},
},
'temporary': {
'uri': 'az://flow-outputs/temporary',
'storage_options': {"connection_string": "$AZURE_STORAGE_CONNECTION_STRING"},
'uri': 's3://carbonplan-cmip6/flow-outputs/temporary',
'storage_options': {},
},
'static': {
'uri': 'az://static',
'storage_options': {"connection_string": "$AZURE_STORAGE_CONNECTION_STRING"},
'uri': 's3://carbonplan-cmip6/static',
'storage_options': {},
},
'scratch': {
'uri': 'az://scratch',
'storage_options': {"connection_string": "$AZURE_STORAGE_CONNECTION_STRING"},
'uri': 's3://carbonplan-scratch/cmip6-downscaling',
},
'web_results': {
'blob': 'analysis_notebooks',
'storage_options': {"connection_string": "$AZURE_STORAGE_CONNECTION_STRING"},
'blob': 'analysis_notebooks', # this will fail on s3
'storage_options': {},
},
},
"data_catalog": {
"cmip": {
'uri': "https://cmip6downscaling.blob.core.windows.net/cmip6/pangeo-cmip6.json",
'storage_options': {"account_name": "cmip6downscaling"},
'uri': "https://cmip6-pds.s3.amazonaws.com/pangeo-cmip6.json",
},
"era5": {
'uri': "https://cmip6downscaling.blob.core.windows.net/cmip6/ERA5_daily/",
Expand All @@ -62,7 +60,7 @@
},
"runtime": {
"cloud": {
"storage_prefix": "az://",
"storage_prefix": "s3://carbonplan-cmip6",
"storage_options": {
'container': 'prefect',
},
Expand All @@ -80,7 +78,7 @@
"storage_options": {'directory': './'},
},
"pangeo": {
"storage_prefix": "az://",
"storage_prefix": "s3://carbonplan-cmip6/",
"storage_options": {'directory': './'},
'n_workers': 8,
'threads_per_worker': 1,
Expand Down
2 changes: 1 addition & 1 deletion cmip6_downscaling/data/catalog.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ sources:
url: 'https://pangeo-data.github.io/pangeo-cmip6-cloud/'
driver: intake_esm.esm_datastore
args:
esmcol_obj: 'https://cmip6downscaling.blob.core.windows.net/cmip6/pangeo-cmip6.json'
esmcol_obj: 'https://cmip6-pds.s3.amazonaws.com/pangeo-cmip6.json'

era5:
description: 'ERA5 Reanalysis'
Expand Down