Looking at JEMS data
import matplotlib.pyplot as plt
import numpy as np
import pandas as pd
import os
import datetime
import netCDF4 as nc
import seaborn as sns
import glob
import JEMS
from salishsea_tools import tidetools, viz_tools
%matplotlib inline
sns.set_style('darkgrid')
sdt = datetime.datetime(2014,10,27)
edt = datetime.datetime(2015,12,31)
grid_B = nc.Dataset('/data/nsoontie/MEOPAR/NEMO-forcing/grid/bathy_meter_SalishSea2.nc')
nowcasts= '/data/dlatorne/MEOPAR/SalishSea/nowcast/'
Dotted lines are mean +- 2 standard deviations.
figmap, fig = JEMS.compare_JEMS_model('ADM001', sdt,edt, grid_B, nowcasts,smin=25)
figmap, fig = JEMS.compare_JEMS_model('ADM002', sdt,edt, grid_B, nowcasts,smin=30, smax=33)
figmap, fig = JEMS.compare_JEMS_model('BLL009', sdt,edt, grid_B, nowcasts,smin=20, tmin=7)
figmap, fig = JEMS.compare_JEMS_model('GRG002', sdt,edt, grid_B, nowcasts, smin=15)
Deep water is too fresh but, in general, the profiles have a similar structure.
figmap, fig = JEMS.compare_JEMS_model('PSS019', sdt,edt, grid_B, nowcasts,smin=15, tmax=13)
These comaprisons look very good.
figmap, fig = JEMS.compare_JEMS_model('SEQ002', sdt,edt, grid_B, nowcasts,smin=30,smax=34,tmin=5,tmax=10)
Is there something off with the salinity observation?
figmap, fig = JEMS.compare_JEMS_model('SKG003', sdt,edt, grid_B, nowcasts,smin=10,tmin=6,tmax=15)
There is a lot of diurnal variability in the salinity at this station, at all depths. Are there rivers close by?