Skip to content

Commit

Permalink
Load only auv-python 1S.nc files, not the Dorado389 ones
Browse files Browse the repository at this point in the history
  • Loading branch information
MBARIMike committed Nov 29, 2023
1 parent 40fd63f commit b31aad8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion stoqs/loaders/LRAUV/load_lrauv.template
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ except KeyboardInterrupt:
if Activity.objects.using(cl.dbAlias):
# Only add Dorado missions if we have LRAUV Activities
try:
cl.loadDorado(sdate, edate, build_attrs=True, plankton_proxies=True)
cl.loadDorado(sdate, edate, build_attrs=True, file_patterns=(r".*netcdf/dorado_.*1S.nc", )
except KeyboardInterrupt:
# Likely purposfully terminated return with 0 return code so that we don't drop the database
print("KeyboardInterrupt: exiting dorado section with 0 return code")
Expand Down

0 comments on commit b31aad8

Please sign in to comment.