Skip to content

Commit b8bd478

Browse files
author
“hscannell”
committed
fixed small typo
1 parent ac53bf1 commit b8bd478

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

01_gsw_tools.ipynb

+1-2
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,6 @@
6565
"data_path = '/glade/scratch/scanh/RG-argo-climatology/*'\n",
6666
"dask.config.set({\"array.slicing.split_large_chunks\": False})\n",
6767
"ds = xr.open_mfdataset(data_path, decode_times=False)\n",
68-
"# ds = ds.loc[dict(LATITUDE=slice(10, 65), LONGITUDE=slice(180, 260))]\n",
6968
"dyr = ds.TIME\n",
7069
"dates = np.arange('2004-01', '2021-01', dtype='datetime64[M]')\n",
7170
"ds = ds.assign(TIME = dates)"
@@ -238,7 +237,7 @@
238237
"SA_tot = np.empty(s_tot.shape) \n",
239238
"SA_tot[:] = np.nan\n",
240239
"\n",
241-
"# Compute AbsolutPRESSUREty\n",
240+
"# Compute Absolute Salinity\n",
242241
"for la in np.arange(0, ds.LATITUDE.shape[0]): \n",
243242
" for lo in np.arange(0, ds.LONGITUDE.shape[0]): \n",
244243
" SA_tot[:,:,la,lo] = gsw.SA_from_SP(s_tot[:,:,la,lo].values, ds.PRESSURE[:].values, 360-ds.LONGITUDE[lo].values, ds.LATITUDE[la].values)\n"

0 commit comments

Comments
 (0)