This notebook creates daily forcing files for the sea surface height (hourly frequency) at Neah Bay. This can be used to create "obs" or "hindcast" forcing files for nowcasts in the event of a automation system error.
Observations: NOAA
Tidal predictions: calculated with t_tide based on NOAA time series. Tidal predictions do not include the long period constituents (Sa,Ssa,etc).
SEA note to self: use env py36
%matplotlib inline
import matplotlib.pyplot as plt
import netCDF4 as NC
import numpy as np
import arrow
from dateutil import tz
import datetime
from salishsea_tools import nc_tools
from nowcast.figures import figures, shared
import os
import csv
/home/sallen/anaconda/envs/py36/lib/python3.6/site-packages/matplotlib/font_manager.py:280: UserWarning: Matplotlib is building the font cache using fc-list. This may take a moment. 'Matplotlib is building the font cache using fc-list. '
Begin by loading Neah Bay water level observations and tidal predictions.
https://tidesandcurrents.noaa.gov/waterlevels.html?id=9443090
def get_obs_tides(station, start_date, end_date):
station_no = figures.SITES[station]['stn_no']
obs = figures.get_NOAA_wlevels(station_no, start_date, end_date)
tide = shared.get_tides(station, path='../tidal_predictions/')
print(obs.time[0], obs.time[-1])
return obs, tide
def plot_obs_tides(ax, date, obs, tide):
ax.plot(obs.time, obs.wlev, 'o',label='obs')
ax.plot(tide.time, tide.pred_all,'r',lw=2,label='tides')
ax.legend(loc=0)
ax.set_ylabel('Water level [m]')
ax.axis([date, date +datetime.timedelta(days=1),-3,3,])
def inter_hourly(date, obs, tide):
#create houly times
t1 = date.replace(tzinfo=tz.tzutc())
t2 = t1 + datetime.timedelta(days=1)
hourlys = [t1 + datetime.timedelta(hours=hour) for hour in np.arange(0,(t2-t1).total_seconds()/3600)]
print(hourlys[0], hourlys[-1])
obs_interp = shared.interp_to_model_time(hourlys, obs.wlev, obs.time)
obs_interp = np.array(obs_interp)
tides_interp = shared.interp_to_model_time(hourlys, tide.pred_all, tide.time)
tides_interp = np.array(tides_interp)
anom = obs_interp-tides_interp
return hourlys, obs_interp, tides_interp, anom
def plot_hourlys(ax, hourlys, obs_interp, tides_interp, anom):
ax.plot(hourlys, obs_interp, 'o',label='obs')
ax.plot(hourlys, tides_interp, 'r', lw=2,label='tides')
ax.plot(hourlys, anom,'-k',label='anom')
ax.legend(loc=0)
ax.set_ylabel('Water level [m]')
# Use this cell to test against a nowcast generated file
testfile = NC.Dataset('/results/forcing/sshNeahBay/obs/ssh_y2017m06d17.nc', 'r')
ssh = testfile.variables['sossheig'][:]
testfile.close()
print(ssh.shape)
plt.plot(ssh[:, 0, 5])
plt.plot(anom[:])
plt.plot(ssh[:, 0, 5] - anom[:])
(24, 1, 87)
--------------------------------------------------------------------------- NameError Traceback (most recent call last) <ipython-input-6-6fc0848e9b3d> in <module>() 6 7 plt.plot(ssh[:, 0, 5]) ----> 8 plt.plot(anom[:]) 9 plt.plot(ssh[:, 0, 5] - anom[:]) NameError: name 'anom' is not defined
Follow Susan's SSH notebook for this. Make a new netcdf file for this day. I will save the anom at each point along the western boundary.
Get some preliminary data first: bathymetry, indices of the edges.
startj = 384
endj = 471
lengthj = endj-startj
r = 1
fB = NC.Dataset('/results/nowcast-sys/NEMO-forcing/grid/bathymetry_201702.nc','r')
lat = fB.variables['nav_lat'][:]
lon = fB.variables['nav_lon'][:]
fB.close()
print(lat.shape)
(898, 398)
A function for saving the netcdf file.
def prepare_netcdf(ssh_file, count, ssh, date):
filename = date.strftime('ssh_y%Ym%md%d.nc')
# dataset attributes
nc_tools.init_dataset_attrs(
ssh_file,
title='Juan de Fuca SSH hourly values',
notebook_name='SSH_NeahBay',
nc_filepath='/results/forcing/sshNeahBay/hindcast/' + filename,
comment='Neah Bay observed anomaly. Done in hindcast.')
#dimensions
ssh_file.createDimension('xbT', lengthj*r)
ssh_file.createDimension('yb', 1)
ssh_file.createDimension('time_counter', None)
# variables
# time_counter
time_counter = ssh_file.createVariable('time_counter', 'float32', ('time_counter'))
time_counter.long_name = 'Time axis'
time_counter.axis = 'T'
time_counter.units = 'hour since 00:00:00 on {}'.format(date.strftime('%d/%m/%Y'))
# nav_lat and nav_lon
nav_lat = ssh_file.createVariable('nav_lat','float32',('yb','xbT'))
nav_lat.long_name = 'Latitude'
nav_lat.units = 'degrees_north'
nav_lon = ssh_file.createVariable('nav_lon','float32',('yb','xbT'))
nav_lon.long_name = 'Longitude'
nav_lon.units = 'degrees_east'
# ssh
sossheig = ssh_file.createVariable('sossheig', 'float32',
('time_counter','yb','xbT'), zlib=True)
sossheig.units = 'm'
sossheig.long_name = 'Sea surface height'
sossheig.coordinates = 'nav_lon nav_lat time_counter'
sossheig.grid = 'SalishSea2'
# vobtcrtx, vobtcrty
vobtcrtx = ssh_file.createVariable('vobtcrtx', 'float32',
('time_counter','yb','xbT'), zlib=True)
vobtcrtx.units = 'm/s'
vobtcrtx.long_name = 'Barotropic U Velocity- ZEROD'
vobtcrtx.grid = 'SalishSea2'
vobtcrty = ssh_file.createVariable('vobtcrty', 'float32',
('time_counter','yb','xbT'), zlib=True)
vobtcrty.units = 'm/s'
vobtcrty.long_name = 'Barotropic V Velocity- ZEROD'
vobtcrty.grid = 'SalishSea2'
# nbidta, ndjdta, ndrdta
nbidta = ssh_file.createVariable('nbidta', 'int32' , ('yb','xbT'), zlib=True)
nbidta.long_name = 'i grid position'
nbidta.units = 1
nbjdta = ssh_file.createVariable('nbjdta', 'int32' , ('yb','xbT'), zlib=True)
nbjdta.long_name = 'j grid position'
nbjdta.units = 1
nbrdta = ssh_file.createVariable('nbrdta', 'int32' , ('yb','xbT'), zlib=True)
nbrdta.long_name = 'position from boundary'
nbrdta.units = 1
for ir in range(0,r):
nav_lat[0,ir*lengthj:(ir+1)*lengthj] = lat[startj:endj,ir]
nav_lon[0,ir*lengthj:(ir+1)*lengthj] = lon[startj:endj,ir]
nbidta[0,ir*lengthj:(ir+1)*lengthj] = ir
nbjdta[0,ir*lengthj:(ir+1)*lengthj] = range(startj,endj)
nbrdta[0,ir*lengthj:(ir+1)*lengthj] = ir
for ib in range(0,lengthj*r):
sossheig[0:count,0,ib] = ssh[0:count]
time_counter[0:count] = range(1,count+1)
vobtcrtx[0:count,0,ib] = 0*np.ones(count)
vobtcrty[0:count,0,ib] = 0*np.ones(count)
#ssh_file.close()
station = 'Neah Bay'; nhours = 24
start_date = arrow.get(2016, 11, 1)
end_date = arrow.get(2017, 1, 31)
print (start_date.format('DD-MMM-YYYY'), end_date.format('DD-MMM-YYYY'))
for day in arrow.Arrow.range('day', start_date, end_date):
date = day.format('DD-MMM-YYYY')
obs, tide = get_obs_tides(station, date, date)
hourlys, obs_interp, tides_interp, anom = inter_hourly(day.datetime, obs, tide)
filename = day.datetime.strftime('ssh_y%Ym%md%d.nc')
ssh_file = NC.Dataset(filename, 'w', zlib=True)
prepare_netcdf(ssh_file, nhours, anom, day.datetime)
ssh_file.close()
fig, axs = plt.subplots(1,2, figsize=(10, 5))
plot_obs_tides(axs[0], day.datetime, obs, tide)
plot_hourlys(axs[1], hourlys, obs_interp, tides_interp, anom)
01-Nov-2016 31-Jan-2017 2016-11-01 00:00:00+00:00 2016-11-01 23:54:00+00:00 2016-11-01 00:00:00+00:00 2016-11-01 23:00:00+00:00 file format: NETCDF4 Conventions: CF-1.6 title: Juan de Fuca SSH hourly values institution: Dept of Earth, Ocean & Atmospheric Sciences, University of British Columbia source: https://bitbucket.org/salishsea/salishseanowcast/src/tip/SSH_NeahBay.ipynb references: REQUIRED history: [2017-06-26 17:53:41] Created netCDF4 zlib=True dataset. comment: Neah Bay observed anomaly. Done in hindcast. 2016-11-02 00:00:00+00:00 2016-11-02 23:54:00+00:00 2016-11-02 00:00:00+00:00 2016-11-02 23:00:00+00:00 file format: NETCDF4 Conventions: CF-1.6 title: Juan de Fuca SSH hourly values institution: Dept of Earth, Ocean & Atmospheric Sciences, University of British Columbia source: https://bitbucket.org/salishsea/salishseanowcast/src/tip/SSH_NeahBay.ipynb references: REQUIRED history: [2017-06-26 17:53:48] Created netCDF4 zlib=True dataset. comment: Neah Bay observed anomaly. Done in hindcast. 2016-11-03 00:00:00+00:00 2016-11-03 23:54:00+00:00 2016-11-03 00:00:00+00:00 2016-11-03 23:00:00+00:00 file format: NETCDF4 Conventions: CF-1.6 title: Juan de Fuca SSH hourly values institution: Dept of Earth, Ocean & Atmospheric Sciences, University of British Columbia source: https://bitbucket.org/salishsea/salishseanowcast/src/tip/SSH_NeahBay.ipynb references: REQUIRED history: [2017-06-26 17:53:54] Created netCDF4 zlib=True dataset. comment: Neah Bay observed anomaly. Done in hindcast. 2016-11-04 00:00:00+00:00 2016-11-04 23:54:00+00:00 2016-11-04 00:00:00+00:00 2016-11-04 23:00:00+00:00 file format: NETCDF4 Conventions: CF-1.6 title: Juan de Fuca SSH hourly values institution: Dept of Earth, Ocean & Atmospheric Sciences, University of British Columbia source: https://bitbucket.org/salishsea/salishseanowcast/src/tip/SSH_NeahBay.ipynb references: REQUIRED history: [2017-06-26 17:54:01] Created netCDF4 zlib=True dataset. comment: Neah Bay observed anomaly. Done in hindcast. 2016-11-05 00:00:00+00:00 2016-11-05 23:54:00+00:00 2016-11-05 00:00:00+00:00 2016-11-05 23:00:00+00:00 file format: NETCDF4 Conventions: CF-1.6 title: Juan de Fuca SSH hourly values institution: Dept of Earth, Ocean & Atmospheric Sciences, University of British Columbia source: https://bitbucket.org/salishsea/salishseanowcast/src/tip/SSH_NeahBay.ipynb references: REQUIRED history: [2017-06-26 17:54:08] Created netCDF4 zlib=True dataset. comment: Neah Bay observed anomaly. Done in hindcast. 2016-11-06 00:00:00+00:00 2016-11-06 23:54:00+00:00 2016-11-06 00:00:00+00:00 2016-11-06 23:00:00+00:00 file format: NETCDF4 Conventions: CF-1.6 title: Juan de Fuca SSH hourly values institution: Dept of Earth, Ocean & Atmospheric Sciences, University of British Columbia source: https://bitbucket.org/salishsea/salishseanowcast/src/tip/SSH_NeahBay.ipynb references: REQUIRED history: [2017-06-26 17:54:15] Created netCDF4 zlib=True dataset. comment: Neah Bay observed anomaly. Done in hindcast. 2016-11-07 00:00:00+00:00 2016-11-07 23:54:00+00:00 2016-11-07 00:00:00+00:00 2016-11-07 23:00:00+00:00 file format: NETCDF4 Conventions: CF-1.6 title: Juan de Fuca SSH hourly values institution: Dept of Earth, Ocean & Atmospheric Sciences, University of British Columbia source: https://bitbucket.org/salishsea/salishseanowcast/src/tip/SSH_NeahBay.ipynb references: REQUIRED history: [2017-06-26 17:54:22] Created netCDF4 zlib=True dataset. comment: Neah Bay observed anomaly. Done in hindcast. 2016-11-08 00:00:00+00:00 2016-11-08 23:54:00+00:00 2016-11-08 00:00:00+00:00 2016-11-08 23:00:00+00:00 file format: NETCDF4 Conventions: CF-1.6 title: Juan de Fuca SSH hourly values institution: Dept of Earth, Ocean & Atmospheric Sciences, University of British Columbia source: https://bitbucket.org/salishsea/salishseanowcast/src/tip/SSH_NeahBay.ipynb references: REQUIRED history: [2017-06-26 17:54:29] Created netCDF4 zlib=True dataset. comment: Neah Bay observed anomaly. Done in hindcast. 2016-11-09 00:00:00+00:00 2016-11-09 23:54:00+00:00 2016-11-09 00:00:00+00:00 2016-11-09 23:00:00+00:00 file format: NETCDF4 Conventions: CF-1.6 title: Juan de Fuca SSH hourly values institution: Dept of Earth, Ocean & Atmospheric Sciences, University of British Columbia source: https://bitbucket.org/salishsea/salishseanowcast/src/tip/SSH_NeahBay.ipynb references: REQUIRED history: [2017-06-26 17:54:36] Created netCDF4 zlib=True dataset. comment: Neah Bay observed anomaly. Done in hindcast. 2016-11-10 00:00:00+00:00 2016-11-10 23:54:00+00:00 2016-11-10 00:00:00+00:00 2016-11-10 23:00:00+00:00 file format: NETCDF4 Conventions: CF-1.6 title: Juan de Fuca SSH hourly values institution: Dept of Earth, Ocean & Atmospheric Sciences, University of British Columbia source: https://bitbucket.org/salishsea/salishseanowcast/src/tip/SSH_NeahBay.ipynb references: REQUIRED history: [2017-06-26 17:54:42] Created netCDF4 zlib=True dataset. comment: Neah Bay observed anomaly. Done in hindcast. 2016-11-11 00:00:00+00:00 2016-11-11 23:54:00+00:00 2016-11-11 00:00:00+00:00 2016-11-11 23:00:00+00:00 file format: NETCDF4 Conventions: CF-1.6 title: Juan de Fuca SSH hourly values institution: Dept of Earth, Ocean & Atmospheric Sciences, University of British Columbia source: https://bitbucket.org/salishsea/salishseanowcast/src/tip/SSH_NeahBay.ipynb references: REQUIRED history: [2017-06-26 17:54:50] Created netCDF4 zlib=True dataset. comment: Neah Bay observed anomaly. Done in hindcast. 2016-11-12 00:00:00+00:00 2016-11-12 23:54:00+00:00 2016-11-12 00:00:00+00:00 2016-11-12 23:00:00+00:00 file format: NETCDF4 Conventions: CF-1.6 title: Juan de Fuca SSH hourly values institution: Dept of Earth, Ocean & Atmospheric Sciences, University of British Columbia source: https://bitbucket.org/salishsea/salishseanowcast/src/tip/SSH_NeahBay.ipynb references: REQUIRED history: [2017-06-26 17:54:57] Created netCDF4 zlib=True dataset. comment: Neah Bay observed anomaly. Done in hindcast. 2016-11-13 00:00:00+00:00 2016-11-13 23:54:00+00:00 2016-11-13 00:00:00+00:00 2016-11-13 23:00:00+00:00 file format: NETCDF4 Conventions: CF-1.6 title: Juan de Fuca SSH hourly values institution: Dept of Earth, Ocean & Atmospheric Sciences, University of British Columbia source: https://bitbucket.org/salishsea/salishseanowcast/src/tip/SSH_NeahBay.ipynb references: REQUIRED history: [2017-06-26 17:55:04] Created netCDF4 zlib=True dataset. comment: Neah Bay observed anomaly. Done in hindcast. 2016-11-14 00:00:00+00:00 2016-11-14 23:54:00+00:00 2016-11-14 00:00:00+00:00 2016-11-14 23:00:00+00:00 file format: NETCDF4 Conventions: CF-1.6 title: Juan de Fuca SSH hourly values institution: Dept of Earth, Ocean & Atmospheric Sciences, University of British Columbia source: https://bitbucket.org/salishsea/salishseanowcast/src/tip/SSH_NeahBay.ipynb references: REQUIRED history: [2017-06-26 17:55:10] Created netCDF4 zlib=True dataset. comment: Neah Bay observed anomaly. Done in hindcast. 2016-11-15 00:00:00+00:00 2016-11-15 23:54:00+00:00 2016-11-15 00:00:00+00:00 2016-11-15 23:00:00+00:00 file format: NETCDF4 Conventions: CF-1.6 title: Juan de Fuca SSH hourly values institution: Dept of Earth, Ocean & Atmospheric Sciences, University of British Columbia source: https://bitbucket.org/salishsea/salishseanowcast/src/tip/SSH_NeahBay.ipynb references: REQUIRED history: [2017-06-26 17:55:17] Created netCDF4 zlib=True dataset. comment: Neah Bay observed anomaly. Done in hindcast. 2016-11-16 00:00:00+00:00 2016-11-16 23:54:00+00:00 2016-11-16 00:00:00+00:00 2016-11-16 23:00:00+00:00 file format: NETCDF4 Conventions: CF-1.6 title: Juan de Fuca SSH hourly values institution: Dept of Earth, Ocean & Atmospheric Sciences, University of British Columbia source: https://bitbucket.org/salishsea/salishseanowcast/src/tip/SSH_NeahBay.ipynb references: REQUIRED history: [2017-06-26 17:55:25] Created netCDF4 zlib=True dataset. comment: Neah Bay observed anomaly. Done in hindcast. 2016-11-17 00:00:00+00:00 2016-11-17 23:54:00+00:00 2016-11-17 00:00:00+00:00 2016-11-17 23:00:00+00:00 file format: NETCDF4 Conventions: CF-1.6 title: Juan de Fuca SSH hourly values institution: Dept of Earth, Ocean & Atmospheric Sciences, University of British Columbia source: https://bitbucket.org/salishsea/salishseanowcast/src/tip/SSH_NeahBay.ipynb references: REQUIRED history: [2017-06-26 17:55:31] Created netCDF4 zlib=True dataset. comment: Neah Bay observed anomaly. Done in hindcast. 2016-11-18 00:00:00+00:00 2016-11-18 23:54:00+00:00 2016-11-18 00:00:00+00:00 2016-11-18 23:00:00+00:00 file format: NETCDF4 Conventions: CF-1.6 title: Juan de Fuca SSH hourly values institution: Dept of Earth, Ocean & Atmospheric Sciences, University of British Columbia source: https://bitbucket.org/salishsea/salishseanowcast/src/tip/SSH_NeahBay.ipynb references: REQUIRED history: [2017-06-26 17:55:38] Created netCDF4 zlib=True dataset. comment: Neah Bay observed anomaly. Done in hindcast. 2016-11-19 00:00:00+00:00 2016-11-19 23:54:00+00:00 2016-11-19 00:00:00+00:00 2016-11-19 23:00:00+00:00 file format: NETCDF4 Conventions: CF-1.6 title: Juan de Fuca SSH hourly values institution: Dept of Earth, Ocean & Atmospheric Sciences, University of British Columbia source: https://bitbucket.org/salishsea/salishseanowcast/src/tip/SSH_NeahBay.ipynb references: REQUIRED history: [2017-06-26 17:55:45] Created netCDF4 zlib=True dataset. comment: Neah Bay observed anomaly. Done in hindcast. 2016-11-20 00:00:00+00:00 2016-11-20 23:54:00+00:00 2016-11-20 00:00:00+00:00 2016-11-20 23:00:00+00:00 file format: NETCDF4 Conventions: CF-1.6 title: Juan de Fuca SSH hourly values institution: Dept of Earth, Ocean & Atmospheric Sciences, University of British Columbia source: https://bitbucket.org/salishsea/salishseanowcast/src/tip/SSH_NeahBay.ipynb references: REQUIRED history: [2017-06-26 17:55:52] Created netCDF4 zlib=True dataset. comment: Neah Bay observed anomaly. Done in hindcast. 2016-11-21 00:00:00+00:00 2016-11-21 23:54:00+00:00 2016-11-21 00:00:00+00:00 2016-11-21 23:00:00+00:00 file format: NETCDF4 Conventions: CF-1.6 title: Juan de Fuca SSH hourly values institution: Dept of Earth, Ocean & Atmospheric Sciences, University of British Columbia source: https://bitbucket.org/salishsea/salishseanowcast/src/tip/SSH_NeahBay.ipynb references: REQUIRED history: [2017-06-26 17:55:58] Created netCDF4 zlib=True dataset. comment: Neah Bay observed anomaly. Done in hindcast. 2016-11-22 00:00:00+00:00 2016-11-22 23:54:00+00:00 2016-11-22 00:00:00+00:00 2016-11-22 23:00:00+00:00 file format: NETCDF4 Conventions: CF-1.6 title: Juan de Fuca SSH hourly values institution: Dept of Earth, Ocean & Atmospheric Sciences, University of British Columbia source: https://bitbucket.org/salishsea/salishseanowcast/src/tip/SSH_NeahBay.ipynb references: REQUIRED history: [2017-06-26 17:56:05] Created netCDF4 zlib=True dataset. comment: Neah Bay observed anomaly. Done in hindcast. 2016-11-23 00:00:00+00:00 2016-11-23 23:54:00+00:00 2016-11-23 00:00:00+00:00 2016-11-23 23:00:00+00:00 file format: NETCDF4 Conventions: CF-1.6 title: Juan de Fuca SSH hourly values institution: Dept of Earth, Ocean & Atmospheric Sciences, University of British Columbia source: https://bitbucket.org/salishsea/salishseanowcast/src/tip/SSH_NeahBay.ipynb references: REQUIRED history: [2017-06-26 17:56:12] Created netCDF4 zlib=True dataset. comment: Neah Bay observed anomaly. Done in hindcast. 2016-11-24 00:00:00+00:00 2016-11-24 23:54:00+00:00 2016-11-24 00:00:00+00:00 2016-11-24 23:00:00+00:00 file format: NETCDF4 Conventions: CF-1.6 title: Juan de Fuca SSH hourly values institution: Dept of Earth, Ocean & Atmospheric Sciences, University of British Columbia source: https://bitbucket.org/salishsea/salishseanowcast/src/tip/SSH_NeahBay.ipynb references: REQUIRED history: [2017-06-26 17:56:19] Created netCDF4 zlib=True dataset. comment: Neah Bay observed anomaly. Done in hindcast. 2016-11-25 00:00:00+00:00 2016-11-25 23:54:00+00:00 2016-11-25 00:00:00+00:00 2016-11-25 23:00:00+00:00 file format: NETCDF4 Conventions: CF-1.6 title: Juan de Fuca SSH hourly values institution: Dept of Earth, Ocean & Atmospheric Sciences, University of British Columbia source: https://bitbucket.org/salishsea/salishseanowcast/src/tip/SSH_NeahBay.ipynb references: REQUIRED history: [2017-06-26 17:56:26] Created netCDF4 zlib=True dataset. comment: Neah Bay observed anomaly. Done in hindcast. 2016-11-26 00:00:00+00:00 2016-11-26 23:54:00+00:00 2016-11-26 00:00:00+00:00 2016-11-26 23:00:00+00:00 file format: NETCDF4 Conventions: CF-1.6 title: Juan de Fuca SSH hourly values institution: Dept of Earth, Ocean & Atmospheric Sciences, University of British Columbia source: https://bitbucket.org/salishsea/salishseanowcast/src/tip/SSH_NeahBay.ipynb references: REQUIRED history: [2017-06-26 17:56:32] Created netCDF4 zlib=True dataset. comment: Neah Bay observed anomaly. Done in hindcast. 2016-11-27 00:00:00+00:00 2016-11-27 23:54:00+00:00 2016-11-27 00:00:00+00:00 2016-11-27 23:00:00+00:00 file format: NETCDF4 Conventions: CF-1.6 title: Juan de Fuca SSH hourly values institution: Dept of Earth, Ocean & Atmospheric Sciences, University of British Columbia source: https://bitbucket.org/salishsea/salishseanowcast/src/tip/SSH_NeahBay.ipynb references: REQUIRED history: [2017-06-26 17:56:39] Created netCDF4 zlib=True dataset. comment: Neah Bay observed anomaly. Done in hindcast. 2016-11-28 00:00:00+00:00 2016-11-28 23:54:00+00:00 2016-11-28 00:00:00+00:00 2016-11-28 23:00:00+00:00 file format: NETCDF4 Conventions: CF-1.6 title: Juan de Fuca SSH hourly values institution: Dept of Earth, Ocean & Atmospheric Sciences, University of British Columbia source: https://bitbucket.org/salishsea/salishseanowcast/src/tip/SSH_NeahBay.ipynb references: REQUIRED history: [2017-06-26 17:56:46] Created netCDF4 zlib=True dataset. comment: Neah Bay observed anomaly. Done in hindcast. 2016-11-29 00:00:00+00:00 2016-11-29 23:54:00+00:00 2016-11-29 00:00:00+00:00 2016-11-29 23:00:00+00:00 file format: NETCDF4 Conventions: CF-1.6 title: Juan de Fuca SSH hourly values institution: Dept of Earth, Ocean & Atmospheric Sciences, University of British Columbia source: https://bitbucket.org/salishsea/salishseanowcast/src/tip/SSH_NeahBay.ipynb references: REQUIRED history: [2017-06-26 17:56:53] Created netCDF4 zlib=True dataset. comment: Neah Bay observed anomaly. Done in hindcast. 2016-11-30 00:00:00+00:00 2016-11-30 23:54:00+00:00 2016-11-30 00:00:00+00:00 2016-11-30 23:00:00+00:00 file format: NETCDF4 Conventions: CF-1.6 title: Juan de Fuca SSH hourly values institution: Dept of Earth, Ocean & Atmospheric Sciences, University of British Columbia source: https://bitbucket.org/salishsea/salishseanowcast/src/tip/SSH_NeahBay.ipynb references: REQUIRED history: [2017-06-26 17:57:00] Created netCDF4 zlib=True dataset. comment: Neah Bay observed anomaly. Done in hindcast. 2016-12-01 00:00:00+00:00 2016-12-01 23:54:00+00:00 2016-12-01 00:00:00+00:00 2016-12-01 23:00:00+00:00 file format: NETCDF4 Conventions: CF-1.6 title: Juan de Fuca SSH hourly values institution: Dept of Earth, Ocean & Atmospheric Sciences, University of British Columbia source: https://bitbucket.org/salishsea/salishseanowcast/src/tip/SSH_NeahBay.ipynb references: REQUIRED history: [2017-06-26 17:57:07] Created netCDF4 zlib=True dataset. comment: Neah Bay observed anomaly. Done in hindcast. 2016-12-02 00:00:00+00:00 2016-12-02 23:54:00+00:00 2016-12-02 00:00:00+00:00 2016-12-02 23:00:00+00:00 file format: NETCDF4 Conventions: CF-1.6 title: Juan de Fuca SSH hourly values institution: Dept of Earth, Ocean & Atmospheric Sciences, University of British Columbia source: https://bitbucket.org/salishsea/salishseanowcast/src/tip/SSH_NeahBay.ipynb references: REQUIRED history: [2017-06-26 17:57:13] Created netCDF4 zlib=True dataset. comment: Neah Bay observed anomaly. Done in hindcast. 2016-12-03 00:00:00+00:00 2016-12-03 23:54:00+00:00 2016-12-03 00:00:00+00:00 2016-12-03 23:00:00+00:00 file format: NETCDF4 Conventions: CF-1.6 title: Juan de Fuca SSH hourly values institution: Dept of Earth, Ocean & Atmospheric Sciences, University of British Columbia source: https://bitbucket.org/salishsea/salishseanowcast/src/tip/SSH_NeahBay.ipynb references: REQUIRED history: [2017-06-26 17:57:20] Created netCDF4 zlib=True dataset. comment: Neah Bay observed anomaly. Done in hindcast. 2016-12-04 00:00:00+00:00 2016-12-04 23:54:00+00:00 2016-12-04 00:00:00+00:00 2016-12-04 23:00:00+00:00 file format: NETCDF4 Conventions: CF-1.6 title: Juan de Fuca SSH hourly values institution: Dept of Earth, Ocean & Atmospheric Sciences, University of British Columbia source: https://bitbucket.org/salishsea/salishseanowcast/src/tip/SSH_NeahBay.ipynb references: REQUIRED history: [2017-06-26 17:57:27] Created netCDF4 zlib=True dataset. comment: Neah Bay observed anomaly. Done in hindcast. 2016-12-05 00:00:00+00:00 2016-12-05 23:54:00+00:00 2016-12-05 00:00:00+00:00 2016-12-05 23:00:00+00:00 file format: NETCDF4 Conventions: CF-1.6 title: Juan de Fuca SSH hourly values institution: Dept of Earth, Ocean & Atmospheric Sciences, University of British Columbia source: https://bitbucket.org/salishsea/salishseanowcast/src/tip/SSH_NeahBay.ipynb references: REQUIRED history: [2017-06-26 17:57:34] Created netCDF4 zlib=True dataset. comment: Neah Bay observed anomaly. Done in hindcast. 2016-12-06 00:00:00+00:00 2016-12-06 23:54:00+00:00 2016-12-06 00:00:00+00:00 2016-12-06 23:00:00+00:00 file format: NETCDF4 Conventions: CF-1.6 title: Juan de Fuca SSH hourly values institution: Dept of Earth, Ocean & Atmospheric Sciences, University of British Columbia source: https://bitbucket.org/salishsea/salishseanowcast/src/tip/SSH_NeahBay.ipynb references: REQUIRED history: [2017-06-26 17:57:41] Created netCDF4 zlib=True dataset. comment: Neah Bay observed anomaly. Done in hindcast. 2016-12-07 00:00:00+00:00 2016-12-07 23:54:00+00:00 2016-12-07 00:00:00+00:00 2016-12-07 23:00:00+00:00 file format: NETCDF4 Conventions: CF-1.6 title: Juan de Fuca SSH hourly values institution: Dept of Earth, Ocean & Atmospheric Sciences, University of British Columbia source: https://bitbucket.org/salishsea/salishseanowcast/src/tip/SSH_NeahBay.ipynb references: REQUIRED history: [2017-06-26 17:57:48] Created netCDF4 zlib=True dataset. comment: Neah Bay observed anomaly. Done in hindcast. 2016-12-08 00:00:00+00:00 2016-12-08 23:54:00+00:00 2016-12-08 00:00:00+00:00 2016-12-08 23:00:00+00:00 file format: NETCDF4 Conventions: CF-1.6 title: Juan de Fuca SSH hourly values institution: Dept of Earth, Ocean & Atmospheric Sciences, University of British Columbia source: https://bitbucket.org/salishsea/salishseanowcast/src/tip/SSH_NeahBay.ipynb references: REQUIRED history: [2017-06-26 17:57:55] Created netCDF4 zlib=True dataset. comment: Neah Bay observed anomaly. Done in hindcast. 2016-12-09 00:00:00+00:00 2016-12-09 23:54:00+00:00 2016-12-09 00:00:00+00:00 2016-12-09 23:00:00+00:00 file format: NETCDF4 Conventions: CF-1.6 title: Juan de Fuca SSH hourly values institution: Dept of Earth, Ocean & Atmospheric Sciences, University of British Columbia source: https://bitbucket.org/salishsea/salishseanowcast/src/tip/SSH_NeahBay.ipynb references: REQUIRED history: [2017-06-26 17:58:01] Created netCDF4 zlib=True dataset. comment: Neah Bay observed anomaly. Done in hindcast. 2016-12-10 00:00:00+00:00 2016-12-10 23:54:00+00:00 2016-12-10 00:00:00+00:00 2016-12-10 23:00:00+00:00 file format: NETCDF4 Conventions: CF-1.6 title: Juan de Fuca SSH hourly values institution: Dept of Earth, Ocean & Atmospheric Sciences, University of British Columbia source: https://bitbucket.org/salishsea/salishseanowcast/src/tip/SSH_NeahBay.ipynb references: REQUIRED history: [2017-06-26 17:58:08] Created netCDF4 zlib=True dataset. comment: Neah Bay observed anomaly. Done in hindcast. 2016-12-11 00:00:00+00:00 2016-12-11 23:54:00+00:00 2016-12-11 00:00:00+00:00 2016-12-11 23:00:00+00:00 file format: NETCDF4 Conventions: CF-1.6 title: Juan de Fuca SSH hourly values institution: Dept of Earth, Ocean & Atmospheric Sciences, University of British Columbia source: https://bitbucket.org/salishsea/salishseanowcast/src/tip/SSH_NeahBay.ipynb references: REQUIRED history: [2017-06-26 17:58:15] Created netCDF4 zlib=True dataset. comment: Neah Bay observed anomaly. Done in hindcast. 2016-12-12 00:00:00+00:00 2016-12-12 23:54:00+00:00 2016-12-12 00:00:00+00:00 2016-12-12 23:00:00+00:00 file format: NETCDF4 Conventions: CF-1.6 title: Juan de Fuca SSH hourly values institution: Dept of Earth, Ocean & Atmospheric Sciences, University of British Columbia source: https://bitbucket.org/salishsea/salishseanowcast/src/tip/SSH_NeahBay.ipynb references: REQUIRED history: [2017-06-26 17:58:21] Created netCDF4 zlib=True dataset. comment: Neah Bay observed anomaly. Done in hindcast. 2016-12-13 00:00:00+00:00 2016-12-13 23:54:00+00:00 2016-12-13 00:00:00+00:00 2016-12-13 23:00:00+00:00 file format: NETCDF4 Conventions: CF-1.6 title: Juan de Fuca SSH hourly values institution: Dept of Earth, Ocean & Atmospheric Sciences, University of British Columbia source: https://bitbucket.org/salishsea/salishseanowcast/src/tip/SSH_NeahBay.ipynb references: REQUIRED history: [2017-06-26 17:58:28] Created netCDF4 zlib=True dataset. comment: Neah Bay observed anomaly. Done in hindcast. 2016-12-14 00:00:00+00:00 2016-12-14 23:54:00+00:00 2016-12-14 00:00:00+00:00 2016-12-14 23:00:00+00:00 file format: NETCDF4 Conventions: CF-1.6 title: Juan de Fuca SSH hourly values institution: Dept of Earth, Ocean & Atmospheric Sciences, University of British Columbia source: https://bitbucket.org/salishsea/salishseanowcast/src/tip/SSH_NeahBay.ipynb references: REQUIRED history: [2017-06-26 17:58:35] Created netCDF4 zlib=True dataset. comment: Neah Bay observed anomaly. Done in hindcast. 2016-12-15 00:00:00+00:00 2016-12-15 23:54:00+00:00 2016-12-15 00:00:00+00:00 2016-12-15 23:00:00+00:00 file format: NETCDF4 Conventions: CF-1.6 title: Juan de Fuca SSH hourly values institution: Dept of Earth, Ocean & Atmospheric Sciences, University of British Columbia source: https://bitbucket.org/salishsea/salishseanowcast/src/tip/SSH_NeahBay.ipynb references: REQUIRED history: [2017-06-26 17:58:41] Created netCDF4 zlib=True dataset. comment: Neah Bay observed anomaly. Done in hindcast. 2016-12-16 00:00:00+00:00 2016-12-16 23:54:00+00:00 2016-12-16 00:00:00+00:00 2016-12-16 23:00:00+00:00 file format: NETCDF4 Conventions: CF-1.6 title: Juan de Fuca SSH hourly values institution: Dept of Earth, Ocean & Atmospheric Sciences, University of British Columbia source: https://bitbucket.org/salishsea/salishseanowcast/src/tip/SSH_NeahBay.ipynb references: REQUIRED history: [2017-06-26 17:58:48] Created netCDF4 zlib=True dataset. comment: Neah Bay observed anomaly. Done in hindcast. 2016-12-17 00:00:00+00:00 2016-12-17 23:54:00+00:00 2016-12-17 00:00:00+00:00 2016-12-17 23:00:00+00:00 file format: NETCDF4 Conventions: CF-1.6 title: Juan de Fuca SSH hourly values institution: Dept of Earth, Ocean & Atmospheric Sciences, University of British Columbia source: https://bitbucket.org/salishsea/salishseanowcast/src/tip/SSH_NeahBay.ipynb references: REQUIRED history: [2017-06-26 17:58:55] Created netCDF4 zlib=True dataset. comment: Neah Bay observed anomaly. Done in hindcast. 2016-12-18 00:00:00+00:00 2016-12-18 23:54:00+00:00 2016-12-18 00:00:00+00:00 2016-12-18 23:00:00+00:00 file format: NETCDF4 Conventions: CF-1.6 title: Juan de Fuca SSH hourly values institution: Dept of Earth, Ocean & Atmospheric Sciences, University of British Columbia source: https://bitbucket.org/salishsea/salishseanowcast/src/tip/SSH_NeahBay.ipynb references: REQUIRED history: [2017-06-26 17:59:02] Created netCDF4 zlib=True dataset. comment: Neah Bay observed anomaly. Done in hindcast. 2016-12-19 00:00:00+00:00 2016-12-19 23:54:00+00:00 2016-12-19 00:00:00+00:00 2016-12-19 23:00:00+00:00 file format: NETCDF4 Conventions: CF-1.6 title: Juan de Fuca SSH hourly values institution: Dept of Earth, Ocean & Atmospheric Sciences, University of British Columbia source: https://bitbucket.org/salishsea/salishseanowcast/src/tip/SSH_NeahBay.ipynb references: REQUIRED history: [2017-06-26 17:59:08] Created netCDF4 zlib=True dataset. comment: Neah Bay observed anomaly. Done in hindcast. 2016-12-20 00:00:00+00:00 2016-12-20 23:54:00+00:00 2016-12-20 00:00:00+00:00 2016-12-20 23:00:00+00:00 file format: NETCDF4 Conventions: CF-1.6 title: Juan de Fuca SSH hourly values institution: Dept of Earth, Ocean & Atmospheric Sciences, University of British Columbia source: https://bitbucket.org/salishsea/salishseanowcast/src/tip/SSH_NeahBay.ipynb references: REQUIRED history: [2017-06-26 17:59:15] Created netCDF4 zlib=True dataset. comment: Neah Bay observed anomaly. Done in hindcast. 2016-12-21 00:00:00+00:00 2016-12-21 23:54:00+00:00 2016-12-21 00:00:00+00:00 2016-12-21 23:00:00+00:00 file format: NETCDF4 Conventions: CF-1.6 title: Juan de Fuca SSH hourly values institution: Dept of Earth, Ocean & Atmospheric Sciences, University of British Columbia source: https://bitbucket.org/salishsea/salishseanowcast/src/tip/SSH_NeahBay.ipynb references: REQUIRED history: [2017-06-26 17:59:22] Created netCDF4 zlib=True dataset. comment: Neah Bay observed anomaly. Done in hindcast. 2016-12-22 00:00:00+00:00 2016-12-22 23:54:00+00:00 2016-12-22 00:00:00+00:00 2016-12-22 23:00:00+00:00 file format: NETCDF4 Conventions: CF-1.6 title: Juan de Fuca SSH hourly values institution: Dept of Earth, Ocean & Atmospheric Sciences, University of British Columbia source: https://bitbucket.org/salishsea/salishseanowcast/src/tip/SSH_NeahBay.ipynb references: REQUIRED history: [2017-06-26 17:59:29] Created netCDF4 zlib=True dataset. comment: Neah Bay observed anomaly. Done in hindcast. 2016-12-23 00:00:00+00:00 2016-12-23 23:54:00+00:00 2016-12-23 00:00:00+00:00 2016-12-23 23:00:00+00:00 file format: NETCDF4 Conventions: CF-1.6 title: Juan de Fuca SSH hourly values institution: Dept of Earth, Ocean & Atmospheric Sciences, University of British Columbia source: https://bitbucket.org/salishsea/salishseanowcast/src/tip/SSH_NeahBay.ipynb references: REQUIRED history: [2017-06-26 17:59:35] Created netCDF4 zlib=True dataset. comment: Neah Bay observed anomaly. Done in hindcast. 2016-12-24 00:00:00+00:00 2016-12-24 23:54:00+00:00 2016-12-24 00:00:00+00:00 2016-12-24 23:00:00+00:00 file format: NETCDF4 Conventions: CF-1.6 title: Juan de Fuca SSH hourly values institution: Dept of Earth, Ocean & Atmospheric Sciences, University of British Columbia source: https://bitbucket.org/salishsea/salishseanowcast/src/tip/SSH_NeahBay.ipynb references: REQUIRED history: [2017-06-26 17:59:42] Created netCDF4 zlib=True dataset. comment: Neah Bay observed anomaly. Done in hindcast. 2016-12-25 00:00:00+00:00 2016-12-25 23:54:00+00:00 2016-12-25 00:00:00+00:00 2016-12-25 23:00:00+00:00 file format: NETCDF4 Conventions: CF-1.6 title: Juan de Fuca SSH hourly values institution: Dept of Earth, Ocean & Atmospheric Sciences, University of British Columbia source: https://bitbucket.org/salishsea/salishseanowcast/src/tip/SSH_NeahBay.ipynb references: REQUIRED history: [2017-06-26 17:59:49] Created netCDF4 zlib=True dataset. comment: Neah Bay observed anomaly. Done in hindcast. 2016-12-26 00:00:00+00:00 2016-12-26 23:54:00+00:00 2016-12-26 00:00:00+00:00 2016-12-26 23:00:00+00:00 file format: NETCDF4 Conventions: CF-1.6 title: Juan de Fuca SSH hourly values institution: Dept of Earth, Ocean & Atmospheric Sciences, University of British Columbia source: https://bitbucket.org/salishsea/salishseanowcast/src/tip/SSH_NeahBay.ipynb references: REQUIRED history: [2017-06-26 17:59:55] Created netCDF4 zlib=True dataset. comment: Neah Bay observed anomaly. Done in hindcast. 2016-12-27 00:00:00+00:00 2016-12-27 23:54:00+00:00 2016-12-27 00:00:00+00:00 2016-12-27 23:00:00+00:00 file format: NETCDF4 Conventions: CF-1.6 title: Juan de Fuca SSH hourly values institution: Dept of Earth, Ocean & Atmospheric Sciences, University of British Columbia source: https://bitbucket.org/salishsea/salishseanowcast/src/tip/SSH_NeahBay.ipynb references: REQUIRED history: [2017-06-26 18:00:02] Created netCDF4 zlib=True dataset. comment: Neah Bay observed anomaly. Done in hindcast. 2016-12-28 00:00:00+00:00 2016-12-28 23:54:00+00:00 2016-12-28 00:00:00+00:00 2016-12-28 23:00:00+00:00 file format: NETCDF4 Conventions: CF-1.6 title: Juan de Fuca SSH hourly values institution: Dept of Earth, Ocean & Atmospheric Sciences, University of British Columbia source: https://bitbucket.org/salishsea/salishseanowcast/src/tip/SSH_NeahBay.ipynb references: REQUIRED history: [2017-06-26 18:00:09] Created netCDF4 zlib=True dataset. comment: Neah Bay observed anomaly. Done in hindcast. 2016-12-29 00:00:00+00:00 2016-12-29 23:54:00+00:00 2016-12-29 00:00:00+00:00 2016-12-29 23:00:00+00:00 file format: NETCDF4 Conventions: CF-1.6 title: Juan de Fuca SSH hourly values institution: Dept of Earth, Ocean & Atmospheric Sciences, University of British Columbia source: https://bitbucket.org/salishsea/salishseanowcast/src/tip/SSH_NeahBay.ipynb references: REQUIRED history: [2017-06-26 18:00:16] Created netCDF4 zlib=True dataset. comment: Neah Bay observed anomaly. Done in hindcast. 2016-12-30 00:00:00+00:00 2016-12-30 23:54:00+00:00 2016-12-30 00:00:00+00:00 2016-12-30 23:00:00+00:00 file format: NETCDF4 Conventions: CF-1.6 title: Juan de Fuca SSH hourly values institution: Dept of Earth, Ocean & Atmospheric Sciences, University of British Columbia source: https://bitbucket.org/salishsea/salishseanowcast/src/tip/SSH_NeahBay.ipynb references: REQUIRED history: [2017-06-26 18:00:23] Created netCDF4 zlib=True dataset. comment: Neah Bay observed anomaly. Done in hindcast. 2016-12-31 00:00:00+00:00 2016-12-31 23:54:00+00:00 2016-12-31 00:00:00+00:00 2016-12-31 23:00:00+00:00 file format: NETCDF4 Conventions: CF-1.6 title: Juan de Fuca SSH hourly values institution: Dept of Earth, Ocean & Atmospheric Sciences, University of British Columbia source: https://bitbucket.org/salishsea/salishseanowcast/src/tip/SSH_NeahBay.ipynb references: REQUIRED history: [2017-06-26 18:00:30] Created netCDF4 zlib=True dataset. comment: Neah Bay observed anomaly. Done in hindcast. 2017-01-01 00:00:00+00:00 2017-01-01 23:54:00+00:00 2017-01-01 00:00:00+00:00 2017-01-01 23:00:00+00:00 file format: NETCDF4 Conventions: CF-1.6 title: Juan de Fuca SSH hourly values institution: Dept of Earth, Ocean & Atmospheric Sciences, University of British Columbia source: https://bitbucket.org/salishsea/salishseanowcast/src/tip/SSH_NeahBay.ipynb references: REQUIRED history: [2017-06-26 18:00:36] Created netCDF4 zlib=True dataset. comment: Neah Bay observed anomaly. Done in hindcast. 2017-01-02 00:00:00+00:00 2017-01-02 23:54:00+00:00 2017-01-02 00:00:00+00:00 2017-01-02 23:00:00+00:00 file format: NETCDF4 Conventions: CF-1.6 title: Juan de Fuca SSH hourly values institution: Dept of Earth, Ocean & Atmospheric Sciences, University of British Columbia source: https://bitbucket.org/salishsea/salishseanowcast/src/tip/SSH_NeahBay.ipynb references: REQUIRED history: [2017-06-26 18:00:43] Created netCDF4 zlib=True dataset. comment: Neah Bay observed anomaly. Done in hindcast. 2017-01-03 00:00:00+00:00 2017-01-03 23:54:00+00:00 2017-01-03 00:00:00+00:00 2017-01-03 23:00:00+00:00 file format: NETCDF4 Conventions: CF-1.6 title: Juan de Fuca SSH hourly values institution: Dept of Earth, Ocean & Atmospheric Sciences, University of British Columbia source: https://bitbucket.org/salishsea/salishseanowcast/src/tip/SSH_NeahBay.ipynb references: REQUIRED history: [2017-06-26 18:00:50] Created netCDF4 zlib=True dataset. comment: Neah Bay observed anomaly. Done in hindcast. 2017-01-04 00:00:00+00:00 2017-01-04 23:54:00+00:00 2017-01-04 00:00:00+00:00 2017-01-04 23:00:00+00:00 file format: NETCDF4 Conventions: CF-1.6 title: Juan de Fuca SSH hourly values institution: Dept of Earth, Ocean & Atmospheric Sciences, University of British Columbia source: https://bitbucket.org/salishsea/salishseanowcast/src/tip/SSH_NeahBay.ipynb references: REQUIRED history: [2017-06-26 18:00:57] Created netCDF4 zlib=True dataset. comment: Neah Bay observed anomaly. Done in hindcast. 2017-01-05 00:00:00+00:00 2017-01-05 23:54:00+00:00 2017-01-05 00:00:00+00:00 2017-01-05 23:00:00+00:00 file format: NETCDF4 Conventions: CF-1.6 title: Juan de Fuca SSH hourly values institution: Dept of Earth, Ocean & Atmospheric Sciences, University of British Columbia source: https://bitbucket.org/salishsea/salishseanowcast/src/tip/SSH_NeahBay.ipynb references: REQUIRED history: [2017-06-26 18:01:04] Created netCDF4 zlib=True dataset. comment: Neah Bay observed anomaly. Done in hindcast. 2017-01-06 00:00:00+00:00 2017-01-06 23:54:00+00:00 2017-01-06 00:00:00+00:00 2017-01-06 23:00:00+00:00 file format: NETCDF4 Conventions: CF-1.6 title: Juan de Fuca SSH hourly values institution: Dept of Earth, Ocean & Atmospheric Sciences, University of British Columbia source: https://bitbucket.org/salishsea/salishseanowcast/src/tip/SSH_NeahBay.ipynb references: REQUIRED history: [2017-06-26 18:01:11] Created netCDF4 zlib=True dataset. comment: Neah Bay observed anomaly. Done in hindcast. 2017-01-07 00:00:00+00:00 2017-01-07 23:54:00+00:00 2017-01-07 00:00:00+00:00 2017-01-07 23:00:00+00:00 file format: NETCDF4 Conventions: CF-1.6 title: Juan de Fuca SSH hourly values institution: Dept of Earth, Ocean & Atmospheric Sciences, University of British Columbia source: https://bitbucket.org/salishsea/salishseanowcast/src/tip/SSH_NeahBay.ipynb references: REQUIRED history: [2017-06-26 18:01:17] Created netCDF4 zlib=True dataset. comment: Neah Bay observed anomaly. Done in hindcast. 2017-01-08 00:00:00+00:00 2017-01-08 23:54:00+00:00 2017-01-08 00:00:00+00:00 2017-01-08 23:00:00+00:00 file format: NETCDF4 Conventions: CF-1.6 title: Juan de Fuca SSH hourly values institution: Dept of Earth, Ocean & Atmospheric Sciences, University of British Columbia source: https://bitbucket.org/salishsea/salishseanowcast/src/tip/SSH_NeahBay.ipynb references: REQUIRED history: [2017-06-26 18:01:24] Created netCDF4 zlib=True dataset. comment: Neah Bay observed anomaly. Done in hindcast. 2017-01-09 00:00:00+00:00 2017-01-09 23:54:00+00:00 2017-01-09 00:00:00+00:00 2017-01-09 23:00:00+00:00 file format: NETCDF4 Conventions: CF-1.6 title: Juan de Fuca SSH hourly values institution: Dept of Earth, Ocean & Atmospheric Sciences, University of British Columbia source: https://bitbucket.org/salishsea/salishseanowcast/src/tip/SSH_NeahBay.ipynb references: REQUIRED history: [2017-06-26 18:01:31] Created netCDF4 zlib=True dataset. comment: Neah Bay observed anomaly. Done in hindcast. 2017-01-10 00:00:00+00:00 2017-01-10 23:54:00+00:00 2017-01-10 00:00:00+00:00 2017-01-10 23:00:00+00:00 file format: NETCDF4 Conventions: CF-1.6 title: Juan de Fuca SSH hourly values institution: Dept of Earth, Ocean & Atmospheric Sciences, University of British Columbia source: https://bitbucket.org/salishsea/salishseanowcast/src/tip/SSH_NeahBay.ipynb references: REQUIRED history: [2017-06-26 18:01:38] Created netCDF4 zlib=True dataset. comment: Neah Bay observed anomaly. Done in hindcast. 2017-01-11 00:00:00+00:00 2017-01-11 23:54:00+00:00 2017-01-11 00:00:00+00:00 2017-01-11 23:00:00+00:00 file format: NETCDF4 Conventions: CF-1.6 title: Juan de Fuca SSH hourly values institution: Dept of Earth, Ocean & Atmospheric Sciences, University of British Columbia source: https://bitbucket.org/salishsea/salishseanowcast/src/tip/SSH_NeahBay.ipynb references: REQUIRED history: [2017-06-26 18:01:45] Created netCDF4 zlib=True dataset. comment: Neah Bay observed anomaly. Done in hindcast. 2017-01-12 00:00:00+00:00 2017-01-12 23:54:00+00:00 2017-01-12 00:00:00+00:00 2017-01-12 23:00:00+00:00 file format: NETCDF4 Conventions: CF-1.6 title: Juan de Fuca SSH hourly values institution: Dept of Earth, Ocean & Atmospheric Sciences, University of British Columbia source: https://bitbucket.org/salishsea/salishseanowcast/src/tip/SSH_NeahBay.ipynb references: REQUIRED history: [2017-06-26 18:01:52] Created netCDF4 zlib=True dataset. comment: Neah Bay observed anomaly. Done in hindcast. 2017-01-13 00:00:00+00:00 2017-01-13 23:54:00+00:00 2017-01-13 00:00:00+00:00 2017-01-13 23:00:00+00:00 file format: NETCDF4 Conventions: CF-1.6 title: Juan de Fuca SSH hourly values institution: Dept of Earth, Ocean & Atmospheric Sciences, University of British Columbia source: https://bitbucket.org/salishsea/salishseanowcast/src/tip/SSH_NeahBay.ipynb references: REQUIRED history: [2017-06-26 18:01:58] Created netCDF4 zlib=True dataset. comment: Neah Bay observed anomaly. Done in hindcast. 2017-01-14 00:00:00+00:00 2017-01-14 23:54:00+00:00 2017-01-14 00:00:00+00:00 2017-01-14 23:00:00+00:00 file format: NETCDF4 Conventions: CF-1.6 title: Juan de Fuca SSH hourly values institution: Dept of Earth, Ocean & Atmospheric Sciences, University of British Columbia source: https://bitbucket.org/salishsea/salishseanowcast/src/tip/SSH_NeahBay.ipynb references: REQUIRED history: [2017-06-26 18:02:05] Created netCDF4 zlib=True dataset. comment: Neah Bay observed anomaly. Done in hindcast. 2017-01-15 00:00:00+00:00 2017-01-15 23:54:00+00:00 2017-01-15 00:00:00+00:00 2017-01-15 23:00:00+00:00 file format: NETCDF4 Conventions: CF-1.6 title: Juan de Fuca SSH hourly values institution: Dept of Earth, Ocean & Atmospheric Sciences, University of British Columbia source: https://bitbucket.org/salishsea/salishseanowcast/src/tip/SSH_NeahBay.ipynb references: REQUIRED history: [2017-06-26 18:02:12] Created netCDF4 zlib=True dataset. comment: Neah Bay observed anomaly. Done in hindcast. 2017-01-16 00:00:00+00:00 2017-01-16 23:54:00+00:00 2017-01-16 00:00:00+00:00 2017-01-16 23:00:00+00:00 file format: NETCDF4 Conventions: CF-1.6 title: Juan de Fuca SSH hourly values institution: Dept of Earth, Ocean & Atmospheric Sciences, University of British Columbia source: https://bitbucket.org/salishsea/salishseanowcast/src/tip/SSH_NeahBay.ipynb references: REQUIRED history: [2017-06-26 18:02:19] Created netCDF4 zlib=True dataset. comment: Neah Bay observed anomaly. Done in hindcast. 2017-01-17 00:00:00+00:00 2017-01-17 23:54:00+00:00 2017-01-17 00:00:00+00:00 2017-01-17 23:00:00+00:00 file format: NETCDF4 Conventions: CF-1.6 title: Juan de Fuca SSH hourly values institution: Dept of Earth, Ocean & Atmospheric Sciences, University of British Columbia source: https://bitbucket.org/salishsea/salishseanowcast/src/tip/SSH_NeahBay.ipynb references: REQUIRED history: [2017-06-26 18:02:26] Created netCDF4 zlib=True dataset. comment: Neah Bay observed anomaly. Done in hindcast. 2017-01-18 00:00:00+00:00 2017-01-18 23:54:00+00:00 2017-01-18 00:00:00+00:00 2017-01-18 23:00:00+00:00 file format: NETCDF4 Conventions: CF-1.6 title: Juan de Fuca SSH hourly values institution: Dept of Earth, Ocean & Atmospheric Sciences, University of British Columbia source: https://bitbucket.org/salishsea/salishseanowcast/src/tip/SSH_NeahBay.ipynb references: REQUIRED history: [2017-06-26 18:02:32] Created netCDF4 zlib=True dataset. comment: Neah Bay observed anomaly. Done in hindcast. 2017-01-19 00:00:00+00:00 2017-01-19 23:54:00+00:00 2017-01-19 00:00:00+00:00 2017-01-19 23:00:00+00:00 file format: NETCDF4 Conventions: CF-1.6 title: Juan de Fuca SSH hourly values institution: Dept of Earth, Ocean & Atmospheric Sciences, University of British Columbia source: https://bitbucket.org/salishsea/salishseanowcast/src/tip/SSH_NeahBay.ipynb references: REQUIRED history: [2017-06-26 18:02:39] Created netCDF4 zlib=True dataset. comment: Neah Bay observed anomaly. Done in hindcast. 2017-01-20 00:00:00+00:00 2017-01-20 23:54:00+00:00 2017-01-20 00:00:00+00:00 2017-01-20 23:00:00+00:00 file format: NETCDF4 Conventions: CF-1.6 title: Juan de Fuca SSH hourly values institution: Dept of Earth, Ocean & Atmospheric Sciences, University of British Columbia source: https://bitbucket.org/salishsea/salishseanowcast/src/tip/SSH_NeahBay.ipynb references: REQUIRED history: [2017-06-26 18:02:46] Created netCDF4 zlib=True dataset. comment: Neah Bay observed anomaly. Done in hindcast. 2017-01-21 00:00:00+00:00 2017-01-21 23:54:00+00:00 2017-01-21 00:00:00+00:00 2017-01-21 23:00:00+00:00 file format: NETCDF4 Conventions: CF-1.6 title: Juan de Fuca SSH hourly values institution: Dept of Earth, Ocean & Atmospheric Sciences, University of British Columbia source: https://bitbucket.org/salishsea/salishseanowcast/src/tip/SSH_NeahBay.ipynb references: REQUIRED history: [2017-06-26 18:02:53] Created netCDF4 zlib=True dataset. comment: Neah Bay observed anomaly. Done in hindcast. 2017-01-22 00:00:00+00:00 2017-01-22 23:54:00+00:00 2017-01-22 00:00:00+00:00 2017-01-22 23:00:00+00:00 file format: NETCDF4 Conventions: CF-1.6 title: Juan de Fuca SSH hourly values institution: Dept of Earth, Ocean & Atmospheric Sciences, University of British Columbia source: https://bitbucket.org/salishsea/salishseanowcast/src/tip/SSH_NeahBay.ipynb references: REQUIRED history: [2017-06-26 18:03:00] Created netCDF4 zlib=True dataset. comment: Neah Bay observed anomaly. Done in hindcast. 2017-01-23 00:00:00+00:00 2017-01-23 23:54:00+00:00 2017-01-23 00:00:00+00:00 2017-01-23 23:00:00+00:00 file format: NETCDF4 Conventions: CF-1.6 title: Juan de Fuca SSH hourly values institution: Dept of Earth, Ocean & Atmospheric Sciences, University of British Columbia source: https://bitbucket.org/salishsea/salishseanowcast/src/tip/SSH_NeahBay.ipynb references: REQUIRED history: [2017-06-26 18:03:06] Created netCDF4 zlib=True dataset. comment: Neah Bay observed anomaly. Done in hindcast. 2017-01-24 00:00:00+00:00 2017-01-24 23:54:00+00:00 2017-01-24 00:00:00+00:00 2017-01-24 23:00:00+00:00 file format: NETCDF4 Conventions: CF-1.6 title: Juan de Fuca SSH hourly values institution: Dept of Earth, Ocean & Atmospheric Sciences, University of British Columbia source: https://bitbucket.org/salishsea/salishseanowcast/src/tip/SSH_NeahBay.ipynb references: REQUIRED history: [2017-06-26 18:03:13] Created netCDF4 zlib=True dataset. comment: Neah Bay observed anomaly. Done in hindcast. 2017-01-25 00:00:00+00:00 2017-01-25 23:54:00+00:00 2017-01-25 00:00:00+00:00 2017-01-25 23:00:00+00:00 file format: NETCDF4 Conventions: CF-1.6 title: Juan de Fuca SSH hourly values institution: Dept of Earth, Ocean & Atmospheric Sciences, University of British Columbia source: https://bitbucket.org/salishsea/salishseanowcast/src/tip/SSH_NeahBay.ipynb references: REQUIRED history: [2017-06-26 18:03:20] Created netCDF4 zlib=True dataset. comment: Neah Bay observed anomaly. Done in hindcast. 2017-01-26 00:00:00+00:00 2017-01-26 23:54:00+00:00 2017-01-26 00:00:00+00:00 2017-01-26 23:00:00+00:00 file format: NETCDF4 Conventions: CF-1.6 title: Juan de Fuca SSH hourly values institution: Dept of Earth, Ocean & Atmospheric Sciences, University of British Columbia source: https://bitbucket.org/salishsea/salishseanowcast/src/tip/SSH_NeahBay.ipynb references: REQUIRED history: [2017-06-26 18:03:27] Created netCDF4 zlib=True dataset. comment: Neah Bay observed anomaly. Done in hindcast. 2017-01-27 00:00:00+00:00 2017-01-27 23:54:00+00:00 2017-01-27 00:00:00+00:00 2017-01-27 23:00:00+00:00 file format: NETCDF4 Conventions: CF-1.6 title: Juan de Fuca SSH hourly values institution: Dept of Earth, Ocean & Atmospheric Sciences, University of British Columbia source: https://bitbucket.org/salishsea/salishseanowcast/src/tip/SSH_NeahBay.ipynb references: REQUIRED history: [2017-06-26 18:03:33] Created netCDF4 zlib=True dataset. comment: Neah Bay observed anomaly. Done in hindcast. 2017-01-28 00:00:00+00:00 2017-01-28 23:54:00+00:00 2017-01-28 00:00:00+00:00 2017-01-28 23:00:00+00:00 file format: NETCDF4 Conventions: CF-1.6 title: Juan de Fuca SSH hourly values institution: Dept of Earth, Ocean & Atmospheric Sciences, University of British Columbia source: https://bitbucket.org/salishsea/salishseanowcast/src/tip/SSH_NeahBay.ipynb references: REQUIRED history: [2017-06-26 18:03:40] Created netCDF4 zlib=True dataset. comment: Neah Bay observed anomaly. Done in hindcast. 2017-01-29 00:00:00+00:00 2017-01-29 23:54:00+00:00 2017-01-29 00:00:00+00:00 2017-01-29 23:00:00+00:00 file format: NETCDF4 Conventions: CF-1.6 title: Juan de Fuca SSH hourly values institution: Dept of Earth, Ocean & Atmospheric Sciences, University of British Columbia source: https://bitbucket.org/salishsea/salishseanowcast/src/tip/SSH_NeahBay.ipynb references: REQUIRED history: [2017-06-26 18:03:47] Created netCDF4 zlib=True dataset. comment: Neah Bay observed anomaly. Done in hindcast. 2017-01-30 00:00:00+00:00 2017-01-30 23:54:00+00:00 2017-01-30 00:00:00+00:00 2017-01-30 23:00:00+00:00 file format: NETCDF4 Conventions: CF-1.6 title: Juan de Fuca SSH hourly values institution: Dept of Earth, Ocean & Atmospheric Sciences, University of British Columbia source: https://bitbucket.org/salishsea/salishseanowcast/src/tip/SSH_NeahBay.ipynb references: REQUIRED history: [2017-06-26 18:03:54] Created netCDF4 zlib=True dataset. comment: Neah Bay observed anomaly. Done in hindcast. 2017-01-31 00:00:00+00:00 2017-01-31 23:54:00+00:00 2017-01-31 00:00:00+00:00 2017-01-31 23:00:00+00:00 file format: NETCDF4 Conventions: CF-1.6 title: Juan de Fuca SSH hourly values institution: Dept of Earth, Ocean & Atmospheric Sciences, University of British Columbia source: https://bitbucket.org/salishsea/salishseanowcast/src/tip/SSH_NeahBay.ipynb references: REQUIRED history: [2017-06-26 18:04:01] Created netCDF4 zlib=True dataset. comment: Neah Bay observed anomaly. Done in hindcast.
Check the NetCDF files
A quick check that the data is saved in the netcdf file as expected.
f= NC.Dataset(filename,'r');
for dim in f.dimensions.values():
print (dim)
ssh=f.variables['sossheig'];
us=f.variables['vobtcrtx'];
vs=f.variables['vobtcrty'];
print( us.shape)
print (us[1,0,:])
print (vs[:,0,:])
mn = ssh[:].min(); print (mn)
mx = ssh[:].max(); print (mx)
fig, ((ax_net,ax_data)) = plt.subplots(1, 2, figsize=(14,4))
ax_net.plot(ssh[:,0,0])
ax_net.set_xlabel(filename)
ax_data.plot(hourlys,anom)
print(ssh.shape)
<class 'netCDF4._netCDF4.Dimension'>: name = 'xbT', size = 87 <class 'netCDF4._netCDF4.Dimension'>: name = 'yb', size = 1 <class 'netCDF4._netCDF4.Dimension'> (unlimited): name = 'time_counter', size = 24 (24, 1, 87) [ 0. 0. 0. 0. 0. 0. 0. 0. 0. 0. 0. 0. 0. 0. 0. 0. 0. 0. 0. 0. 0. 0. 0. 0. 0. 0. 0. 0. 0. 0. 0. 0. 0. 0. 0. 0. 0. 0. 0. 0. 0. 0. 0. 0. 0. 0. 0. 0. 0. 0. 0. 0. 0. 0. 0. 0. 0. 0. 0. 0. 0. 0. 0. 0. 0. 0. 0. 0. 0. 0. 0. 0. 0. 0. 0. 0. 0. 0. 0. 0. 0. 0. 0. 0. 0. 0. 0.] [[ 0. 0. 0. ..., 0. 0. 0.] [ 0. 0. 0. ..., 0. 0. 0.] [ 0. 0. 0. ..., 0. 0. 0.] ..., [ 0. 0. 0. ..., 0. 0. 0.] [ 0. 0. 0. ..., 0. 0. 0.] [ 0. 0. 0. ..., 0. 0. 0.]] -0.127386 -0.052613 (24, 1, 87)
This looks good so let's move the files out of my working directory and into the forcing directory.
srcdir='.'
dstdir='/results/forcing/sshNeahBay/hindcast/'
import shutil
for basename in os.listdir(srcdir):
if basename.endswith('.nc'):
pathname = os.path.join(srcdir, basename)
if os.path.isfile(pathname):
shutil.copy2(pathname, dstdir)
You can delete the copy in your working directory now.