Skip to content

Commit

Permalink
Remove 230 m values in shallow water of North Sea in stoqs_denmark2024
Browse files Browse the repository at this point in the history
  • Loading branch information
MBARIMike committed Nov 23, 2024
1 parent afb2a37 commit 4741c06
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions stoqs/loaders/CANON/toNetCDF/lrauvNc4ToNetcdf.py
Original file line number Diff line number Diff line change
Expand Up @@ -1371,6 +1371,8 @@ def processResampleNc4File(self, in_file, out_file, parm, resampleFreq, rad_to_d
value = value.mask(value > 1000, np.nan) # Remove the 5 depth values greater than 1000 m
if 'triton/missionlogs/2023/20230909_20230918/20230918T035454/202309180355_202309181709' in in_file:
value = value.mask(value > 20, np.nan) # Remove 477.49 m value in shallow water of Lake Erie
if 'makai/missionlogs/2024/20240607_20240615/20240611T082709/202406110827_202406111026' in in_file:
value = value.mask(value > 20, np.nan) # Remove 230 m values in shallow water of North Sea in stoqs_denmark2024

i = self.interpolate(value, t_resample.index)
if key == 'time':
Expand Down

0 comments on commit 4741c06

Please sign in to comment.