Skip to content

Commit

Permalink
calibrate broken, rest works
Browse files Browse the repository at this point in the history
  • Loading branch information
RolfHut committed Oct 24, 2024
1 parent a656bc0 commit 696ef39
Show file tree
Hide file tree
Showing 2 changed files with 90 additions and 45 deletions.
74 changes: 57 additions & 17 deletions book/oneModel/calibration_HBV/example_calibrate_HBV.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@
"# general python\n",
"import warnings\n",
"warnings.filterwarnings(\"ignore\", category=UserWarning)\n",
"import shutil\n",
"\n",
"#general python\n",
"import numpy as np\n",
Expand Down Expand Up @@ -88,9 +89,20 @@
{
"cell_type": "code",
"execution_count": 4,
"id": "6a5da943-317d-4139-a0d7-2ca5e09f27f8",
"id": "edb8ab58-67c8-4474-b966-8b95ce4abfb3",
"metadata": {},
"outputs": [],
"outputs": [
{
"data": {
"text/plain": [
"PosixPath('/home/rhut/Forcing/camelsgb_73010/ERA5-prepared/work')"
]
},
"execution_count": 4,
"metadata": {},
"output_type": "execute_result"
}
],
"source": [
"forcing_path = Path.home() / \"Forcing\"\n",
"forcing_path.mkdir(exist_ok=True)\n",
Expand All @@ -101,12 +113,19 @@
"forcing_path_caravan = forcing_path_basin / \"caravan\"\n",
"forcing_path_caravan.mkdir(exist_ok=True)\n",
"\n",
"example_forcing_path_caravan = Path(\"/home/rhut/Forcing/camelsgb_73010/caravan\")\n",
"prepared_forcing_path_caravan_user = forcing_path_basin / \"caravan-prepared\"\n",
"prepared_forcing_path_caravan_user.mkdir(exist_ok=True)\n",
"\n",
"prepared_forcing_path_caravan_central = Path(\"/data/eurocsdms-storage/forcing/camelsgb_73010/caravan\")\n",
"shutil.copytree(prepared_forcing_path_caravan_central, prepared_forcing_path_caravan_user, dirs_exist_ok=True)\n",
"\n",
"forcing_path_ERA5 = forcing_path_basin / \"ERA5\"\n",
"forcing_path_ERA5.mkdir(exist_ok=True)\n",
"\n",
"example_forcing_path_ERA5 = Path(\"/home/rhut/Forcing/camelsgb_73010/ERA5\")"
"prepared_forcing_path_ERA5_user = forcing_path_basin / \"ERA5-prepared\"\n",
"\n",
"prepared_forcing_path_ERA5_central = Path(\"/data/eurocsdms-storage/forcing/camelsgb_73010/ERA5\")\n",
"shutil.copytree(prepared_forcing_path_ERA5_central / \"work\", prepared_forcing_path_ERA5_user / \"work\", dirs_exist_ok=True)"
]
},
{
Expand Down Expand Up @@ -154,7 +173,7 @@
"# camelsgb_forcing = ewatercycle.forcing.sources['CaravanForcing'].load(directory = forcing_path_caravan)\n",
"\n",
"# option three: load data someone else generated \n",
"camelsgb_forcing = ewatercycle.forcing.sources['CaravanForcing'].load(directory = example_forcing_path_caravan)"
"camelsgb_forcing = ewatercycle.forcing.sources['CaravanForcing'].load(directory = prepared_forcing_path_caravan_user)"
]
},
{
Expand All @@ -171,8 +190,8 @@
"<pre style=\"white-space:pre;overflow-x:auto;line-height:normal;font-family:Menlo,'DejaVu Sans Mono',consolas,'Courier New',monospace\"><span style=\"color: #800080; text-decoration-color: #800080; font-weight: bold\">CaravanForcing</span><span style=\"font-weight: bold\">(</span>\n",
" <span style=\"color: #808000; text-decoration-color: #808000\">start_time</span>=<span style=\"color: #008000; text-decoration-color: #008000\">'1997-08-01T00:00:00Z'</span>,\n",
" <span style=\"color: #808000; text-decoration-color: #808000\">end_time</span>=<span style=\"color: #008000; text-decoration-color: #008000\">'2000-08-31T00:00:00Z'</span>,\n",
" <span style=\"color: #808000; text-decoration-color: #808000\">directory</span>=<span style=\"color: #800080; text-decoration-color: #800080; font-weight: bold\">PosixPath</span><span style=\"font-weight: bold\">(</span><span style=\"color: #008000; text-decoration-color: #008000\">'/home/rhut/Forcing/camelsgb_73010/caravan'</span><span style=\"font-weight: bold\">)</span>,\n",
" <span style=\"color: #808000; text-decoration-color: #808000\">shape</span>=<span style=\"color: #800080; text-decoration-color: #800080; font-weight: bold\">PosixPath</span><span style=\"font-weight: bold\">(</span><span style=\"color: #008000; text-decoration-color: #008000\">'/home/rhut/Forcing/camelsgb_73010/caravan/camelsgb_73010.shp'</span><span style=\"font-weight: bold\">)</span>,\n",
" <span style=\"color: #808000; text-decoration-color: #808000\">directory</span>=<span style=\"color: #800080; text-decoration-color: #800080; font-weight: bold\">PosixPath</span><span style=\"font-weight: bold\">(</span><span style=\"color: #008000; text-decoration-color: #008000\">'/home/rhut/Forcing/camelsgb_73010/caravan-prepared'</span><span style=\"font-weight: bold\">)</span>,\n",
" <span style=\"color: #808000; text-decoration-color: #808000\">shape</span>=<span style=\"color: #800080; text-decoration-color: #800080; font-weight: bold\">PosixPath</span><span style=\"font-weight: bold\">(</span><span style=\"color: #008000; text-decoration-color: #008000\">'/home/rhut/Forcing/camelsgb_73010/caravan-prepared/camelsgb_73010.shp'</span><span style=\"font-weight: bold\">)</span>,\n",
" <span style=\"color: #808000; text-decoration-color: #808000\">filenames</span>=<span style=\"font-weight: bold\">{</span>\n",
" <span style=\"color: #008000; text-decoration-color: #008000\">'tasmax'</span>: <span style=\"color: #008000; text-decoration-color: #008000\">'camelsgb_73010_1997-08-01_2000-08-31_tasmax.nc'</span>,\n",
" <span style=\"color: #008000; text-decoration-color: #008000\">'Q'</span>: <span style=\"color: #008000; text-decoration-color: #008000\">'camelsgb_73010_1997-08-01_2000-08-31_Q.nc'</span>,\n",
Expand All @@ -188,8 +207,8 @@
"\u001b[1;35mCaravanForcing\u001b[0m\u001b[1m(\u001b[0m\n",
" \u001b[33mstart_time\u001b[0m=\u001b[32m'1997-08-01T00:00:00Z'\u001b[0m,\n",
" \u001b[33mend_time\u001b[0m=\u001b[32m'2000-08-31T00:00:00Z'\u001b[0m,\n",
" \u001b[33mdirectory\u001b[0m=\u001b[1;35mPosixPath\u001b[0m\u001b[1m(\u001b[0m\u001b[32m'/home/rhut/Forcing/camelsgb_73010/caravan'\u001b[0m\u001b[1m)\u001b[0m,\n",
" \u001b[33mshape\u001b[0m=\u001b[1;35mPosixPath\u001b[0m\u001b[1m(\u001b[0m\u001b[32m'/home/rhut/Forcing/camelsgb_73010/caravan/camelsgb_73010.shp'\u001b[0m\u001b[1m)\u001b[0m,\n",
" \u001b[33mdirectory\u001b[0m=\u001b[1;35mPosixPath\u001b[0m\u001b[1m(\u001b[0m\u001b[32m'/home/rhut/Forcing/camelsgb_73010/caravan-prepared'\u001b[0m\u001b[1m)\u001b[0m,\n",
" \u001b[33mshape\u001b[0m=\u001b[1;35mPosixPath\u001b[0m\u001b[1m(\u001b[0m\u001b[32m'/home/rhut/Forcing/camelsgb_73010/caravan-prepared/camelsgb_73010.shp'\u001b[0m\u001b[1m)\u001b[0m,\n",
" \u001b[33mfilenames\u001b[0m=\u001b[1m{\u001b[0m\n",
" \u001b[32m'tasmax'\u001b[0m: \u001b[32m'camelsgb_73010_1997-08-01_2000-08-31_tasmax.nc'\u001b[0m,\n",
" \u001b[32m'Q'\u001b[0m: \u001b[32m'camelsgb_73010_1997-08-01_2000-08-31_Q.nc'\u001b[0m,\n",
Expand Down Expand Up @@ -221,8 +240,8 @@
"<pre style=\"white-space:pre;overflow-x:auto;line-height:normal;font-family:Menlo,'DejaVu Sans Mono',consolas,'Courier New',monospace\"><span style=\"color: #800080; text-decoration-color: #800080; font-weight: bold\">CaravanForcing</span><span style=\"font-weight: bold\">(</span>\n",
" <span style=\"color: #808000; text-decoration-color: #808000\">start_time</span>=<span style=\"color: #008000; text-decoration-color: #008000\">'1997-08-01T00:00:00Z'</span>,\n",
" <span style=\"color: #808000; text-decoration-color: #808000\">end_time</span>=<span style=\"color: #008000; text-decoration-color: #008000\">'2000-08-31T00:00:00Z'</span>,\n",
" <span style=\"color: #808000; text-decoration-color: #808000\">directory</span>=<span style=\"color: #800080; text-decoration-color: #800080; font-weight: bold\">PosixPath</span><span style=\"font-weight: bold\">(</span><span style=\"color: #008000; text-decoration-color: #008000\">'/home/rhut/Forcing/camelsgb_73010/caravan'</span><span style=\"font-weight: bold\">)</span>,\n",
" <span style=\"color: #808000; text-decoration-color: #808000\">shape</span>=<span style=\"color: #800080; text-decoration-color: #800080; font-weight: bold\">PosixPath</span><span style=\"font-weight: bold\">(</span><span style=\"color: #008000; text-decoration-color: #008000\">'/home/rhut/Forcing/camelsgb_73010/caravan/camelsgb_73010.shp'</span><span style=\"font-weight: bold\">)</span>,\n",
" <span style=\"color: #808000; text-decoration-color: #808000\">directory</span>=<span style=\"color: #800080; text-decoration-color: #800080; font-weight: bold\">PosixPath</span><span style=\"font-weight: bold\">(</span><span style=\"color: #008000; text-decoration-color: #008000\">'/home/rhut/Forcing/camelsgb_73010/caravan-prepared'</span><span style=\"font-weight: bold\">)</span>,\n",
" <span style=\"color: #808000; text-decoration-color: #808000\">shape</span>=<span style=\"color: #800080; text-decoration-color: #800080; font-weight: bold\">PosixPath</span><span style=\"font-weight: bold\">(</span><span style=\"color: #008000; text-decoration-color: #008000\">'/home/rhut/Forcing/camelsgb_73010/caravan-prepared/camelsgb_73010.shp'</span><span style=\"font-weight: bold\">)</span>,\n",
" <span style=\"color: #808000; text-decoration-color: #808000\">filenames</span>=<span style=\"font-weight: bold\">{</span>\n",
" <span style=\"color: #008000; text-decoration-color: #008000\">'tasmax'</span>: <span style=\"color: #008000; text-decoration-color: #008000\">'camelsgb_73010_1997-08-01_2000-08-31_tasmax.nc'</span>,\n",
" <span style=\"color: #008000; text-decoration-color: #008000\">'Q'</span>: <span style=\"color: #008000; text-decoration-color: #008000\">'camelsgb_73010_1997-08-01_2000-08-31_Q.nc'</span>,\n",
Expand All @@ -238,8 +257,8 @@
"\u001b[1;35mCaravanForcing\u001b[0m\u001b[1m(\u001b[0m\n",
" \u001b[33mstart_time\u001b[0m=\u001b[32m'1997-08-01T00:00:00Z'\u001b[0m,\n",
" \u001b[33mend_time\u001b[0m=\u001b[32m'2000-08-31T00:00:00Z'\u001b[0m,\n",
" \u001b[33mdirectory\u001b[0m=\u001b[1;35mPosixPath\u001b[0m\u001b[1m(\u001b[0m\u001b[32m'/home/rhut/Forcing/camelsgb_73010/caravan'\u001b[0m\u001b[1m)\u001b[0m,\n",
" \u001b[33mshape\u001b[0m=\u001b[1;35mPosixPath\u001b[0m\u001b[1m(\u001b[0m\u001b[32m'/home/rhut/Forcing/camelsgb_73010/caravan/camelsgb_73010.shp'\u001b[0m\u001b[1m)\u001b[0m,\n",
" \u001b[33mdirectory\u001b[0m=\u001b[1;35mPosixPath\u001b[0m\u001b[1m(\u001b[0m\u001b[32m'/home/rhut/Forcing/camelsgb_73010/caravan-prepared'\u001b[0m\u001b[1m)\u001b[0m,\n",
" \u001b[33mshape\u001b[0m=\u001b[1;35mPosixPath\u001b[0m\u001b[1m(\u001b[0m\u001b[32m'/home/rhut/Forcing/camelsgb_73010/caravan-prepared/camelsgb_73010.shp'\u001b[0m\u001b[1m)\u001b[0m,\n",
" \u001b[33mfilenames\u001b[0m=\u001b[1m{\u001b[0m\n",
" \u001b[32m'tasmax'\u001b[0m: \u001b[32m'camelsgb_73010_1997-08-01_2000-08-31_tasmax.nc'\u001b[0m,\n",
" \u001b[32m'Q'\u001b[0m: \u001b[32m'camelsgb_73010_1997-08-01_2000-08-31_Q.nc'\u001b[0m,\n",
Expand Down Expand Up @@ -325,7 +344,7 @@
"# ERA5_forcing = ewatercycle.forcing.sources[\"LumpedMakkinkForcing\"].load(directory=load_location)\n",
"\n",
"# option three: load data someone else generated for you\n",
"load_location = example_forcing_path_ERA5 / \"work\" / \"diagnostic\" / \"script\" #this is needed because ERA5 forcing data is stored deep in a sub-directory\n",
"load_location = prepared_forcing_path_ERA5_user / \"work\" / \"diagnostic\" / \"script\" #this is needed because ERA5 forcing data is stored deep in a sub-directory\n",
"ERA5_forcing = ewatercycle.forcing.sources[\"LumpedMakkinkForcing\"].load(directory=load_location)"
]
},
Expand Down Expand Up @@ -470,14 +489,14 @@
"outputs": [
{
"ename": "PermissionError",
"evalue": "[Errno 13] Permission denied: '/home/rhut/Forcing/camelsgb_73010/ERA5/work/diagnostic/script/OBS6_ERA5_reanaly_1_day_pr_converted_1997-2000.nc'",
"evalue": "[Errno 13] Permission denied: '/home/rhut/Forcing/camelsgb_73010/ERA5-prepared/work/diagnostic/script/OBS6_ERA5_reanaly_1_day_pr_converted_1997-2000.nc'",
"output_type": "error",
"traceback": [
"\u001b[0;31m---------------------------------------------------------------------------\u001b[0m",
"\u001b[0;31mKeyError\u001b[0m Traceback (most recent call last)",
"File \u001b[0;32m/opt/conda/envs/ewatercycle2/lib/python3.12/site-packages/xarray/backends/file_manager.py:211\u001b[0m, in \u001b[0;36mCachingFileManager._acquire_with_cache_info\u001b[0;34m(self, needs_lock)\u001b[0m\n\u001b[1;32m 210\u001b[0m \u001b[38;5;28;01mtry\u001b[39;00m:\n\u001b[0;32m--> 211\u001b[0m file \u001b[38;5;241m=\u001b[39m \u001b[38;5;28;43mself\u001b[39;49m\u001b[38;5;241;43m.\u001b[39;49m\u001b[43m_cache\u001b[49m\u001b[43m[\u001b[49m\u001b[38;5;28;43mself\u001b[39;49m\u001b[38;5;241;43m.\u001b[39;49m\u001b[43m_key\u001b[49m\u001b[43m]\u001b[49m\n\u001b[1;32m 212\u001b[0m \u001b[38;5;28;01mexcept\u001b[39;00m \u001b[38;5;167;01mKeyError\u001b[39;00m:\n",
"File \u001b[0;32m/opt/conda/envs/ewatercycle2/lib/python3.12/site-packages/xarray/backends/lru_cache.py:56\u001b[0m, in \u001b[0;36mLRUCache.__getitem__\u001b[0;34m(self, key)\u001b[0m\n\u001b[1;32m 55\u001b[0m \u001b[38;5;28;01mwith\u001b[39;00m \u001b[38;5;28mself\u001b[39m\u001b[38;5;241m.\u001b[39m_lock:\n\u001b[0;32m---> 56\u001b[0m value \u001b[38;5;241m=\u001b[39m \u001b[38;5;28;43mself\u001b[39;49m\u001b[38;5;241;43m.\u001b[39;49m\u001b[43m_cache\u001b[49m\u001b[43m[\u001b[49m\u001b[43mkey\u001b[49m\u001b[43m]\u001b[49m\n\u001b[1;32m 57\u001b[0m \u001b[38;5;28mself\u001b[39m\u001b[38;5;241m.\u001b[39m_cache\u001b[38;5;241m.\u001b[39mmove_to_end(key)\n",
"\u001b[0;31mKeyError\u001b[0m: [<class 'netCDF4._netCDF4.Dataset'>, ('/home/rhut/Forcing/camelsgb_73010/ERA5/work/diagnostic/script/OBS6_ERA5_reanaly_1_day_pr_converted_1997-2000.nc',), 'a', (('clobber', True), ('diskless', False), ('format', 'NETCDF4'), ('persist', False)), 'a728866c-6799-4b08-bc85-a2c8d51fd880']",
"\u001b[0;31mKeyError\u001b[0m: [<class 'netCDF4._netCDF4.Dataset'>, ('/home/rhut/Forcing/camelsgb_73010/ERA5-prepared/work/diagnostic/script/OBS6_ERA5_reanaly_1_day_pr_converted_1997-2000.nc',), 'a', (('clobber', True), ('diskless', False), ('format', 'NETCDF4'), ('persist', False)), '75eca4fa-7d88-4241-8783-251b66d63587']",
"\nDuring handling of the above exception, another exception occurred:\n",
"\u001b[0;31mPermissionError\u001b[0m Traceback (most recent call last)",
"Cell \u001b[0;32mIn[17], line 9\u001b[0m\n\u001b[1;32m 6\u001b[0m ensemble\u001b[38;5;241m.\u001b[39mappend(HBVLocal(forcing\u001b[38;5;241m=\u001b[39mERA5_forcing))\n\u001b[1;32m 8\u001b[0m \u001b[38;5;66;03m#create the config_file for this specific model, make sure the right parameters get passed\u001b[39;00m\n\u001b[0;32m----> 9\u001b[0m config_file, _ \u001b[38;5;241m=\u001b[39m \u001b[43mensemble\u001b[49m\u001b[43m[\u001b[49m\u001b[43mcounter\u001b[49m\u001b[43m]\u001b[49m\u001b[38;5;241;43m.\u001b[39;49m\u001b[43msetup\u001b[49m\u001b[43m(\u001b[49m\n\u001b[1;32m 10\u001b[0m \u001b[43m \u001b[49m\u001b[43mparameters\u001b[49m\u001b[43m \u001b[49m\u001b[38;5;241;43m=\u001b[39;49m\u001b[43m \u001b[49m\u001b[43mparameters\u001b[49m\u001b[43m[\u001b[49m\u001b[43m:\u001b[49m\u001b[43m,\u001b[49m\u001b[43mcounter\u001b[49m\u001b[43m]\u001b[49m\u001b[43m,\u001b[49m\n\u001b[1;32m 11\u001b[0m \u001b[43m \u001b[49m\u001b[43minitial_storage\u001b[49m\u001b[38;5;241;43m=\u001b[39;49m\u001b[43ms_0\u001b[49m\u001b[43m,\u001b[49m\n\u001b[1;32m 12\u001b[0m \u001b[43m \u001b[49m\u001b[43mcfg_dir\u001b[49m\u001b[43m \u001b[49m\u001b[38;5;241;43m=\u001b[39;49m\u001b[43m \u001b[49m\u001b[38;5;124;43m\"\u001b[39;49m\u001b[38;5;124;43m/home/rhut/configFiles/\u001b[39;49m\u001b[38;5;124;43m\"\u001b[39;49m\u001b[43m \u001b[49m\u001b[38;5;241;43m+\u001b[39;49m\u001b[43m \u001b[49m\u001b[43mcamelsgb_id\u001b[49m\u001b[43m \u001b[49m\u001b[38;5;241;43m+\u001b[39;49m\u001b[43m \u001b[49m\u001b[38;5;124;43m\"\u001b[39;49m\u001b[38;5;124;43m_hbv_ensembleMember_\u001b[39;49m\u001b[38;5;124;43m\"\u001b[39;49m\u001b[43m \u001b[49m\u001b[38;5;241;43m+\u001b[39;49m\u001b[43m \u001b[49m\u001b[38;5;28;43mstr\u001b[39;49m\u001b[43m(\u001b[49m\u001b[43mcounter\u001b[49m\u001b[43m)\u001b[49m\u001b[43m,\u001b[49m\n\u001b[1;32m 13\u001b[0m \u001b[43m \u001b[49m\u001b[43m)\u001b[49m\n\u001b[1;32m 15\u001b[0m \u001b[38;5;66;03m#use this config file to initialize this ensemble member\u001b[39;00m\n\u001b[1;32m 16\u001b[0m ensemble[counter]\u001b[38;5;241m.\u001b[39minitialize(config_file)\n",
Expand All @@ -495,7 +514,7 @@
"File \u001b[0;32m/opt/conda/envs/ewatercycle2/lib/python3.12/site-packages/xarray/backends/file_manager.py:217\u001b[0m, in \u001b[0;36mCachingFileManager._acquire_with_cache_info\u001b[0;34m(self, needs_lock)\u001b[0m\n\u001b[1;32m 215\u001b[0m kwargs \u001b[38;5;241m=\u001b[39m kwargs\u001b[38;5;241m.\u001b[39mcopy()\n\u001b[1;32m 216\u001b[0m kwargs[\u001b[38;5;124m\"\u001b[39m\u001b[38;5;124mmode\u001b[39m\u001b[38;5;124m\"\u001b[39m] \u001b[38;5;241m=\u001b[39m \u001b[38;5;28mself\u001b[39m\u001b[38;5;241m.\u001b[39m_mode\n\u001b[0;32m--> 217\u001b[0m file \u001b[38;5;241m=\u001b[39m \u001b[38;5;28;43mself\u001b[39;49m\u001b[38;5;241;43m.\u001b[39;49m\u001b[43m_opener\u001b[49m\u001b[43m(\u001b[49m\u001b[38;5;241;43m*\u001b[39;49m\u001b[38;5;28;43mself\u001b[39;49m\u001b[38;5;241;43m.\u001b[39;49m\u001b[43m_args\u001b[49m\u001b[43m,\u001b[49m\u001b[43m \u001b[49m\u001b[38;5;241;43m*\u001b[39;49m\u001b[38;5;241;43m*\u001b[39;49m\u001b[43mkwargs\u001b[49m\u001b[43m)\u001b[49m\n\u001b[1;32m 218\u001b[0m \u001b[38;5;28;01mif\u001b[39;00m \u001b[38;5;28mself\u001b[39m\u001b[38;5;241m.\u001b[39m_mode \u001b[38;5;241m==\u001b[39m \u001b[38;5;124m\"\u001b[39m\u001b[38;5;124mw\u001b[39m\u001b[38;5;124m\"\u001b[39m:\n\u001b[1;32m 219\u001b[0m \u001b[38;5;66;03m# ensure file doesn't get overridden when opened again\u001b[39;00m\n\u001b[1;32m 220\u001b[0m \u001b[38;5;28mself\u001b[39m\u001b[38;5;241m.\u001b[39m_mode \u001b[38;5;241m=\u001b[39m \u001b[38;5;124m\"\u001b[39m\u001b[38;5;124ma\u001b[39m\u001b[38;5;124m\"\u001b[39m\n",
"File \u001b[0;32msrc/netCDF4/_netCDF4.pyx:2470\u001b[0m, in \u001b[0;36mnetCDF4._netCDF4.Dataset.__init__\u001b[0;34m()\u001b[0m\n",
"File \u001b[0;32msrc/netCDF4/_netCDF4.pyx:2107\u001b[0m, in \u001b[0;36mnetCDF4._netCDF4._ensure_nc_success\u001b[0;34m()\u001b[0m\n",
"\u001b[0;31mPermissionError\u001b[0m: [Errno 13] Permission denied: '/home/rhut/Forcing/camelsgb_73010/ERA5/work/diagnostic/script/OBS6_ERA5_reanaly_1_day_pr_converted_1997-2000.nc'"
"\u001b[0;31mPermissionError\u001b[0m: [Errno 13] Permission denied: '/home/rhut/Forcing/camelsgb_73010/ERA5-prepared/work/diagnostic/script/OBS6_ERA5_reanaly_1_day_pr_converted_1997-2000.nc'"
]
}
],
Expand All @@ -518,6 +537,27 @@
" ensemble[counter].initialize(config_file)\n"
]
},
{
"cell_type": "code",
"execution_count": 18,
"id": "eab0c444-ce8b-4ec8-9df2-b7e5867124f3",
"metadata": {},
"outputs": [
{
"data": {
"text/plain": [
"1"
]
},
"execution_count": 18,
"metadata": {},
"output_type": "execute_result"
}
],
"source": [
"counter"
]
},
{
"cell_type": "markdown",
"id": "eb0bf97c-5540-48c1-ab21-f56579d17413",
Expand Down
Loading

0 comments on commit 696ef39

Please sign in to comment.