From e147a499afdf4840bb4abefa2c126fbbdaed477a Mon Sep 17 00:00:00 2001 From: Donatello Elia Date: Mon, 18 Sep 2023 22:11:16 +0200 Subject: [PATCH] Update example.ipynb --- examples/example.ipynb | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/examples/example.ipynb b/examples/example.ipynb index a9f81ba..14ed832 100644 --- a/examples/example.ipynb +++ b/examples/example.ipynb @@ -46,7 +46,7 @@ "metadata": {}, "outputs": [], "source": [ - "myCube1 = Cube.importnc2(src_path='tasmax_day_CMCC-ESM2_ssp585_r1i1p1f1_gn_20900101-21001231.nc', measure='tasmax', imp_dim='time', description='Max Temperatures', host_partition='test_partition', nfrag=16, nhost=4, ncores=2, nthreads=8)" + "myCube1 = Cube.importnc2(src_path='tasmin_day_CMCC-ESM2_ssp585_r1i1p1f1_gn_20900101-21001231.nc', measure='tasmin', imp_dim='time', description='Min Temperatures', host_partition='test_partition', nthreads=64)" ] }, { @@ -62,7 +62,7 @@ "metadata": {}, "outputs": [], "source": [ - "myCube2 = myCube1.apply(query=\"oph_predicate2(measure,'x-293.15','>0','1','0')\", measure_type='auto', ncores=2, nthreads=8)" + "myCube2 = myCube1.apply(query=\"oph_predicate2(measure,'x-293.15','>0','1','0')\", measure_type='auto', nthreads=64)" ] }, { @@ -78,7 +78,7 @@ "metadata": {}, "outputs": [], "source": [ - "myCube3 = myCube2.reduce2(operation='sum', dim='time', concept_level='y', ncores=2, nthreads=8)" + "myCube3 = myCube2.reduce2(operation='sum', dim='time', concept_level='y', nthreads=64)" ] }, { @@ -126,7 +126,7 @@ "metadata": {}, "outputs": [], "source": [ - "pythonData.tasmax.plot(cmap=\"Oranges\", cbar_kwargs={\"label\": \"Tropical Nights count\"}, figsize=(16,8))" + "pythonData.tasmin.plot(cmap=\"Oranges\", cbar_kwargs={\"label\": \"Tropical Nights count\"}, figsize=(16,8))" ] }, {