Skip to content

Commit

Permalink
Update example.ipynb
Browse files Browse the repository at this point in the history
  • Loading branch information
eldoo authored Sep 18, 2023
1 parent 88b53fd commit e147a49
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions examples/example.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -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)"
]
},
{
Expand All @@ -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)"
]
},
{
Expand All @@ -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)"
]
},
{
Expand Down Expand Up @@ -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))"
]
},
{
Expand Down

0 comments on commit e147a49

Please sign in to comment.