Code cleanup
This commit is contained in:
parent
86f881f09f
commit
5fae108133
|
|
@ -8,21 +8,17 @@ _AJMR
|
|||
|
||||
|
||||
import pandas as pd
|
||||
import matplotlib as mpl
|
||||
import matplotlib.pyplot as plt
|
||||
import matplotlib.dates as mdates
|
||||
from math import ceil, isnan
|
||||
import numpy as np
|
||||
import geopandas as gp
|
||||
gp.io.file.fiona.drvsupport.supported_drivers['KML'] = 'rw'
|
||||
|
||||
import scipy as sp
|
||||
import scipy.ndimage
|
||||
from astropy.convolution import convolve, Gaussian2DKernel, interpolate_replace_nans
|
||||
import cartopy.crs as ccrs
|
||||
from astropy.convolution import Gaussian2DKernel
|
||||
import contextily as ctx
|
||||
import os
|
||||
import datetime
|
||||
from shapely.geometry import Point
|
||||
|
||||
#%% read in data
|
||||
|
|
@ -486,7 +482,7 @@ for i, miles in enumerate(np.arange(0, 3, 0.5)):
|
|||
plotMaskDistance = (gdf_SpringSummerDat.miles_from_NC_mouth > miles) & (
|
||||
gdf_SpringSummerDat.miles_from_NC_mouth < miles + 0.5)
|
||||
plotMaskStation = (gdf_SpringSummerDat.subfacility_code == 'Newtown Creek')
|
||||
plotMaskVar = (gdf_SpringSummerDat.chemical_name == 'Temperature (field)') # Temperature (field)'
|
||||
plotMaskVar = (gdf_SpringSummerDat.chemical_name == 'Temperature (field)')# Temperature (field)'
|
||||
|
||||
plotMask = plotMaskDistance & plotMaskStation & plotMaskVar
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue