Skip to content

Commit 88da77e

Browse files
Merge branch 'develop' into feature/16-Add-Functionality-for-Diurnal-Readings
2 parents a4810b8 + 2794367 commit 88da77e

File tree

11 files changed

+2021
-34
lines changed

11 files changed

+2021
-34
lines changed

.vscode/settings.json

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
{
2+
"python.terminal.activateEnvInCurrentTerminal": true,
3+
"quarto.path": "",
4+
"quarto.usePipQuarto": false
5+
}

data

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
/n/holylabs/LABS/cgolden_lab/Lab/projects/era5_database/era5_sandbox/data

notes/01_download_raw_data.ipynb

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@
6161
},
6262
{
6363
"cell_type": "code",
64-
"execution_count": 5,
64+
"execution_count": null,
6565
"metadata": {},
6666
"outputs": [],
6767
"source": [
@@ -71,6 +71,8 @@
7171
" )->bool:\n",
7272
" '''\n",
7373
" Check that the query is valid\n",
74+
" ###TODO Not a good idea to overwrite components of the query body because the user may believe something and the function may give somehting else back\n",
75+
" Better to just tell them something is wrong\n",
7476
" '''\n",
7577
"\n",
7678
" required_keys = ['product_type', 'variable', 'year', 'month', 'day', 'time', 'area', 'data_format', 'download_format']\n",
@@ -308,7 +310,8 @@
308310
"#| export\n",
309311
"@hydra.main(config_path=\"../../conf\", config_name=\"config\", version_base=None)\n",
310312
"def main(cfg: DictConfig) -> None:\n",
311-
" download_raw_era5(cfg=cfg)"
313+
" download_raw_era5(cfg=cfg)\n",
314+
" # better approach would be to have the function only use the specific arguments of the config\n"
312315
]
313316
},
314317
{

0 commit comments

Comments
 (0)