Sectional Map Method

Reformat NetCDF4 File for Function Call
NetCDF Compatible Function
Helper Functions
BokehSec Function
Regulate Function
Testing Space
#TESTS NETCDF-COMPATIBLE FUNCTION
xFile = xr.open_dataset('http://3.88.71.225:80/thredds/dodsC/las/id-a1d60eba44/data_usr_local_tomcat_content_cbiomes_20190510_20_darwin_v0.2_cs510_darwin_v0.2_cs510_nutrients.nc.jnl')
tables = [xFile] # see catalog.csv for the complete list of tables and variable names
variabels = ['O2'] # see catalog.csv for the complete list of tables and variable name
dt1 = '2016-04-22' # PISCES is a weekly model, and here we are using monthly climatology of Darwin model
dt2 = '2016-04-22'
lat1, lat2 = 23, 55
lon1, lon2 = -159, -157
depth1, depth2 = 0, 3597
fname = 'sectional'
exportDataFlag = False # True if you you want to download data
xarraySectionMap(tables, variabels, dt1, dt2, lat1, lat2, lon1, lon2, depth1, depth2, fname, exportDataFlag)