| \n", " | Time | \n", "SST | \n", "Quality | \n", "
|---|---|---|---|
| Date | \n", "\n", " | \n", " | \n", " |
| 1988-05-16 | \n", "1200 | \n", "27.37 | \n", "1 | \n", "
| 1988-06-16 | \n", "1200 | \n", "27.01 | \n", "1 | \n", "
| 1988-07-16 | \n", "1200 | \n", "27.03 | \n", "1 | \n", "
| 1988-08-16 | \n", "1200 | \n", "26.71 | \n", "1 | \n", "
| 1988-09-16 | \n", "1200 | \n", "26.41 | \n", "1 | \n", "
| ... | \n", "... | \n", "... | \n", "... | \n", "
| 2020-10-16 | \n", "1200 | \n", "26.52 | \n", "2 | \n", "
| 2022-10-16 | \n", "1200 | \n", "26.59 | \n", "2 | \n", "
| 2022-11-16 | \n", "1200 | \n", "26.87 | \n", "2 | \n", "
| 2022-12-16 | \n", "1200 | \n", "26.90 | \n", "2 | \n", "
| 2023-01-16 | \n", "1200 | \n", "26.60 | \n", "2 | \n", "
341 rows × 3 columns
\n", "| \n", " | Time | \n", "SST | \n", "Quality | \n", "
|---|---|---|---|
| Date | \n", "\n", " | \n", " | \n", " |
| 2010-01-16 | \n", "1200 | \n", "30.05 | \n", "1 | \n", "
| 2010-02-15 | \n", "1200 | \n", "29.60 | \n", "1 | \n", "
| 2010-03-16 | \n", "1200 | \n", "29.22 | \n", "1 | \n", "
| 2010-04-16 | \n", "1200 | \n", "28.97 | \n", "1 | \n", "
| \n", " | Time | \n", "SST | \n", "Quality | \n", "
|---|---|---|---|
| Date | \n", "\n", " | \n", " | \n", " |
| 2010-01-16 | \n", "1200 | \n", "30.05 | \n", "1 | \n", "
| 2010-02-15 | \n", "1200 | \n", "29.60 | \n", "1 | \n", "
| 2010-03-16 | \n", "1200 | \n", "29.22 | \n", "1 | \n", "
| 2010-04-16 | \n", "1200 | \n", "28.97 | \n", "1 | \n", "
| 2010-05-16 | \n", "1200 | \n", "27.95 | \n", "1 | \n", "
| 2010-06-16 | \n", "1200 | \n", "27.83 | \n", "1 | \n", "
| 2010-07-16 | \n", "1200 | \n", "27.35 | \n", "1 | \n", "
| 2010-08-16 | \n", "1200 | \n", "26.19 | \n", "1 | \n", "
| 2010-09-16 | \n", "1200 | \n", "26.14 | \n", "1 | \n", "
| 2010-10-16 | \n", "1200 | \n", "25.91 | \n", "1 | \n", "
| 2010-11-16 | \n", "1200 | \n", "26.09 | \n", "1 | \n", "
| 2010-12-16 | \n", "1200 | \n", "25.63 | \n", "1 | \n", "
"
],
"metadata": {
"id": "JL1IPVn6zLp1"
}
},
{
"cell_type": "code",
"source": [
"import matplotlib.pyplot as plt"
],
"metadata": {
"id": "_yXBSniGy3Mt"
},
"execution_count": 32,
"outputs": []
},
{
"cell_type": "code",
"source": [
"# With a Pandas Series, plotting is as simple as specifying a column of data\n",
"plt.plot(data['SST'])"
],
"metadata": {
"colab": {
"base_uri": "https://localhost:8080/",
"height": 282
},
"id": "oeHuJ7JGy6Q7",
"outputId": "3abbb131-b5cf-46c8-e68b-34a2a956f5ab"
},
"execution_count": 33,
"outputs": [
{
"output_type": "execute_result",
"data": {
"text/plain": [
"[| \n", " | Unnamed: 0 | \n", "0 | \n", "
|---|---|---|
| 0 | \n", "1870-01-15 | \n", "25.58 | \n", "
| 1 | \n", "1870-02-15 | \n", "25.57 | \n", "
| 2 | \n", "1870-03-15 | \n", "26.43 | \n", "
| 3 | \n", "1870-04-15 | \n", "26.96 | \n", "
| 4 | \n", "1870-05-15 | \n", "26.59 | \n", "
| ... | \n", "... | \n", "... | \n", "
| 1807 | \n", "2020-08-15 | \n", "26.46 | \n", "
| 1808 | \n", "2020-09-15 | \n", "NaN | \n", "
| 1809 | \n", "2020-10-15 | \n", "NaN | \n", "
| 1810 | \n", "2020-11-15 | \n", "NaN | \n", "
| 1811 | \n", "2020-12-15 | \n", "NaN | \n", "
1812 rows × 2 columns
\n", "<xarray.Dataset>\n",
"Dimensions: (lat: 720, lon: 1440, time: 12, nbnds: 2)\n",
"Coordinates:\n",
" * lat (lat) float32 -89.88 -89.62 -89.38 ... 89.38 89.62 89.88\n",
" * lon (lon) float32 0.125 0.375 0.625 ... 359.4 359.6 359.9\n",
" * time (time) object 0001-01-01 00:00:00 ... 0001-12-01 00:0...\n",
"Dimensions without coordinates: nbnds\n",
"Data variables:\n",
" climatology_bounds (time, nbnds) datetime64[ns] ...\n",
" sst (time, lat, lon) float32 ...\n",
" valid_yr_count (time, lat, lon) float32 ...\n",
"Attributes:\n",
" Conventions: CF-1.5\n",
" title: NOAA/NCEI 1/4 Degree Daily Optimum Interp...\n",
" institution: NOAA/National Centers for Environmental I...\n",
" source: NOAA/NCEI https://www.ncei.noaa.gov/data/...\n",
" References: https://www.psl.noaa.gov/data/gridded/dat...\n",
" dataset_title: NOAA Daily Optimum Interpolation Sea Surf...\n",
" version: Version 2.1\n",
" comment: Reynolds, et al.(2007) Daily High-Resolut...\n",
" not_missing_threshold_percent: minimum 3% values input to have non-missi...<xarray.DataArray 'sst' (time: 12, lat: 720, lon: 1440)>\n",
"[12441600 values with dtype=float32]\n",
"Coordinates:\n",
" * lat (lat) float32 -89.88 -89.62 -89.38 -89.12 ... 89.38 89.62 89.88\n",
" * lon (lon) float32 0.125 0.375 0.625 0.875 ... 359.1 359.4 359.6 359.9\n",
" * time (time) object 0001-01-01 00:00:00 ... 0001-12-01 00:00:00\n",
"Attributes:\n",
" long_name: Long Term Mean Monthly Mean of Sea Surface Temperature\n",
" units: degC\n",
" valid_range: [-3. 45.]\n",
" precision: 2.0\n",
" dataset: NOAA High-resolution Blended Analysis\n",
" var_desc: Sea Surface Temperature\n",
" level_desc: Surface\n",
" statistic: Long Term Mean\n",
" parent_stat: Monthly Mean\n",
" standard_name: sea_surface_temperature\n",
" actual_range: [-1.7969891 34.213223 ]<xarray.DataArray 'sst' (time: 1, lat: 80)>\n",
"[80 values with dtype=float32]\n",
"Coordinates:\n",
" * lat (lat) float32 -9.875 -9.625 -9.375 -9.125 ... 9.375 9.625 9.875\n",
" lon float32 179.6\n",
" * time (time) object 0001-06-01 00:00:00\n",
"Attributes:\n",
" long_name: Long Term Mean Monthly Mean of Sea Surface Temperature\n",
" units: degC\n",
" valid_range: [-3. 45.]\n",
" precision: 2.0\n",
" dataset: NOAA High-resolution Blended Analysis\n",
" var_desc: Sea Surface Temperature\n",
" level_desc: Surface\n",
" statistic: Long Term Mean\n",
" parent_stat: Monthly Mean\n",
" standard_name: sea_surface_temperature\n",
" actual_range: [-1.7969891 34.213223 ]<xarray.DataArray 'sst' (lat: 720, lon: 1440)>\n",
"[1036800 values with dtype=float32]\n",
"Coordinates:\n",
" * lat (lat) float32 -89.88 -89.62 -89.38 -89.12 ... 89.38 89.62 89.88\n",
" * lon (lon) float32 0.125 0.375 0.625 0.875 ... 359.1 359.4 359.6 359.9\n",
" time object 0001-06-01 00:00:00\n",
"Attributes:\n",
" long_name: Long Term Mean Monthly Mean of Sea Surface Temperature\n",
" units: degC\n",
" valid_range: [-3. 45.]\n",
" precision: 2.0\n",
" dataset: NOAA High-resolution Blended Analysis\n",
" var_desc: Sea Surface Temperature\n",
" level_desc: Surface\n",
" statistic: Long Term Mean\n",
" parent_stat: Monthly Mean\n",
" standard_name: sea_surface_temperature\n",
" actual_range: [-1.7969891 34.213223 ]<xarray.DataArray 'sst' ()>\n",
"array(28.989391, dtype=float32)\n",
"Coordinates:\n",
" lon float32 179.6