Skip to content

Commit

Permalink
Update ARGOS_service_data_converter.py
Browse files Browse the repository at this point in the history
remove plot references for now as they rely on deprecated basemap code, not cartopy
  • Loading branch information
shaunwbell committed Jun 27, 2023
1 parent 9e7e36b commit 7a9b229
Showing 1 changed file with 7 additions and 5 deletions.
12 changes: 7 additions & 5 deletions ARGOS_service_data_converter.py
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@
import io_utils.ConfigParserLocal as ConfigParserLocal

from io_utils import ConfigParserLocal
from plots import ArgosDrifters
# from plots import ArgosDrifters

"""-----------------------------------------------------Data Classes----------------------------------------------------------"""

Expand Down Expand Up @@ -893,7 +893,9 @@ def pandas2netcdf(df=None, ofile="data.nc"):
pandas2netcdf(df=df, ofile=args.netcdf)

if args.plot:
driftermap = ArgosDrifters.ArgosPlot(df=df)
# (ax,fig1) = driftermap.make_map(param='doy')
(ax, fig1) = driftermap.make_map(param="sst")
fig1.savefig(args.sourcefile + ".png")
print("deprecated while cartopy is not yet written")
pass
# driftermap = ArgosDrifters.ArgosPlot(df=df)
# # (ax,fig1) = driftermap.make_map(param='doy')
# (ax, fig1) = driftermap.make_map(param="sst")
# fig1.savefig(args.sourcefile + ".png")

0 comments on commit 7a9b229

Please sign in to comment.