Skip to content

Commit

Permalink
Delete data associated with NaN lat/long coordinates
Browse files Browse the repository at this point in the history
  • Loading branch information
xhoenner committed Sep 6, 2024
1 parent 7c93cbc commit d9e72a5
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions AODN/AODN-WAVE-NRT/ARDC_API_NRT/ardc_nrt/ardc_sofar_nrt.py
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,7 @@ def process_wave_source_id(source_id, incoming_path=None):
return

if data is not None:
data = data[data['latitude'].notnull()]
template_dirpath = config.conf_dirpath
process_wave_dataframe(data, source_id, template_dirpath, OUTPUT_PATH, incoming_path)

Expand Down

0 comments on commit d9e72a5

Please sign in to comment.