From e08f918dd2a3dd12b94ac0805eee3f92353e9ae9 Mon Sep 17 00:00:00 2001 From: bpasquer Date: Tue, 11 Feb 2025 11:23:27 +1100 Subject: [PATCH] Revert "Wave- 7 buoys;sofar+smart moorings" --- .../config/sofar/sources_id_metadata.json | 307 +----------------- .../config/sofar/template_sa-dew.json | 186 ----------- .../ardc_nrt/lib/common/netcdf.py | 4 +- 3 files changed, 8 insertions(+), 489 deletions(-) delete mode 100644 AODN/AODN-WAVE-NRT/ARDC_API_NRT/ardc_nrt/config/sofar/template_sa-dew.json diff --git a/AODN/AODN-WAVE-NRT/ARDC_API_NRT/ardc_nrt/config/sofar/sources_id_metadata.json b/AODN/AODN-WAVE-NRT/ARDC_API_NRT/ardc_nrt/config/sofar/sources_id_metadata.json index 036c81c5..8c531539 100644 --- a/AODN/AODN-WAVE-NRT/ARDC_API_NRT/ardc_nrt/config/sofar/sources_id_metadata.json +++ b/AODN/AODN-WAVE-NRT/ARDC_API_NRT/ardc_nrt/config/sofar/sources_id_metadata.json @@ -183,8 +183,8 @@ "deployment_start_date": "2024-12-17T00:00:00.000Z", "institution": "IMOS Coastal Wave Buoys", "institution_code": "IMOS", - "abstract": "Near real time integral wave parameters from wave buoys collected by IMOS using a SOFAR Spotter-V3 at Collaroy", - "title": "Near real time integral wave parameters from wave buoys collected by IMOS using a SOFAR Spotter-V3 at Collaroy", + "abstract": "Near real time integral wave parameters from wave buoys collected by the New South Wales Department of Climate Change, Energy, the Environment and Water using a SOFAR Spotter-V3 at Collaroy", + "title": "Near real time integral wave parameters from wave buoys collected by the New South Wales Department of Climate Change, Energy, the Environment and Water using a SOFAR Spotter-V3 at Collaroy", "instrument": "SOFAR Spotter-V1", "instrument_burst_interval": 1800, "instrument_burst_duration": 1800, @@ -329,11 +329,11 @@ "site_name": "Central", "latitude_nominal": -38.06, "longitude_nominal": 144.87, - "deployment_start_date": "2025-02-05T00:30:00.000Z", - "institution": "IMOS Coastal Wave Buoys" , + "deployment_start_date": "2024-06-02T02:30:00.000Z", + "institution": "Deakin University" , "institution_code": "VIC", - "abstract": "Near real time integral wave parameters from wave buoys collected by IMOS using a SOFAR Spotter-V3 at Central", - "title": "Near real time integral wave parameters from wave buoys collected by IMOS using a SOFAR Spotter-V3 at Central", + "abstract": "Near real time integral wave parameters from wave buoys collected by the Deakin University using a SOFAR Spotter-V3 at Central", + "title": "Near real time integral wave parameters from wave buoys collected by the Deakin University using a SOFAR Spotter-V3 at Central", "instrument": "SOFAR Spotter-V3", "instrument_burst_interval": 1800, "instrument_burst_duration": 1800, @@ -659,298 +659,5 @@ "water_depth": 30, "water_depth_units": "m", "wave_buoy_type": "directional" - }, - "SPOT-30961C": - { - "spotter_id": "SPOT-30961C", - "site_name": "Jurien Bay Offshore", - "latitude_nominal": -30.3142, - "longitude_nominal": 114.9224, - "institution": "University of Western Australia", - "institution_code": "UWA-SMART", - "deployment_start_date": "2025-01-20T00:00:00.000Z", - "abstract": "Near real time integral wave parameters from wave buoys collected by UWA using a SOFAR Smart Mooring-V3 at Jurien Bay Offshore", - "title": "Near real time integral wave parameters from wave buoys collected by UWA using a SOFAR Smart Mooring-V3 at Jurien Bay Offshore", - "project": "IMOS", - "instrument": "SOFAR Smart Mooring-V3", - "instrument_burst_interval": 1800, - "instrument_burst_duration": 1800, - "instrument_burst_units": "s", - "instrument_sampling_interval": 0.4, - "platform": "moored surface buoy", - "wave_motion_sensor_type": "GPS", - "wave_sensor_serial_number": "SPOT-30961C", - "hull_serial_number": " ", - "transmission": "Iridium/Cellular", - "water_depth": 39, - "water_depth_units": "m", - "wave_buoy_type": "directional", - "comment": "For access to temperature data collected at this location, please contact info@aodn.org.au." - }, - "SPOT-31139C": - { - "spotter_id": "SPOT-31139C", - "site_name": "Exmouth Gulf South", - "latitude_nominal": -22.1682, - "longitude_nominal": 114.338, - "institution": "University of Western Australia", - "institution_code": "UWA-SMART", - "deployment_start_date": "2025-01-20T00:00:00.000Z", - "abstract": "Near real time integral wave parameters from wave buoys collected by the University of Western Australia using a SOFAR Smart Mooring-V3 at Exmouth Gulf South", - "title": "Near real time integral wave parameters from wave buoys collected by the University of Western Australia using a SOFAR Smart Mooring-V3 at Exmouth Gulf South", - "project": "IMOS", - "instrument": "SOFAR Smart Mooring-V3", - "instrument_burst_interval": 1800, - "instrument_burst_duration": 1800, - "instrument_burst_units": "s", - "instrument_sampling_interval": 0.4, - "platform": "moored surface buoy", - "wave_motion_sensor_type": "GPS", - "wave_sensor_serial_number": "SPOT-31139C", - "hull_serial_number": "01-103383H", - "transmission": "Iridium/Cellular", - "water_depth": 8, - "water_depth_units": "m", - "wave_buoy_type": "directional", - "comment": "For access to temperature data collected at this location, please contact info@aodn.org.au." - }, - "SPOT-31131C": - { - "spotter_id": "SPOT-31131C", - "site_name": "Exmouth Gulf North", - "latitude_nominal": -21.80, - "longitude_nominal": 114.2661, - "institution": "University of Western Australia", - "institution_code": "UWA-SMART", - "deployment_start_date": "2025-01-20T00:00:00.000Z", - "abstract": "Near real time integral wave parameters from wave buoys collected by the University of Western Australia using a SOFAR Smart Mooring-V3 at Exmouth Gulf North", - "title": "Near real time integral wave parameters from wave buoys collected by the University of Western Australia using a SOFAR Smart Mooring-V3 at Exmouth Gulf North", - "project": "IMOS", - "instrument": "SOFAR Smart Mooring-V3", - "instrument_burst_interval": 1800, - "instrument_burst_duration": 1800, - "instrument_burst_units": "s", - "instrument_sampling_interval": 0.4, - "platform": "moored surface buoy", - "wave_motion_sensor_type": "GPS", - "wave_sensor_serial_number": "SPOT-31131C", - "hull_serial_number": "01-103119H", - "transmission": "Iridium/Cellular", - "water_depth": 21, - "water_depth_units": "m", - "wave_buoy_type": "directional", - "comment": "For access to temperature data collected at this location, please contact info@aodn.org.au." - }, - "SPOT-30958C": - { - "spotter_id": "SPOT-30958C", - "site_name": "Dongara Inshore", - "latitude_nominal": -29.186, - "longitude_nominal": 114.8625, - "institution": "University of Western Australia", - "institution_code": "UWA-SMART", - "deployment_start_date": "2025-01-20T00:00:00.000Z", - "abstract": "Near real time integral wave parameters from wave buoys collected by the University of Western Australia using a SOFAR Smart Mooring-V3 at Dongara Inshore", - "title": "Near real time integral wave parameters from wave buoys collected by the University of Western Australia using a SOFAR Smart Mooring-V3 at Dongara Inshore", - "project": "IMOS", - "instrument": "SOFAR Smart Mooring-V3", - "instrument_burst_interval": 1800, - "instrument_burst_duration": 1800, - "instrument_burst_units": "s", - "instrument_sampling_interval": 0.4, - "platform": "moored surface buoy", - "wave_motion_sensor_type": "GPS", - "wave_sensor_serial_number": "SPOT-30958C", - "hull_serial_number": "01-103184H", - "transmission": "Iridium/Cellular", - "water_depth": 21, - "water_depth_units": "m", - "wave_buoy_type": "directional", - "comment": "For access to temperature data collected at this location, please contact info@aodn.org.au." - }, - "SPOT-31140C": - { - "spotter_id": "SPOT-31140C", - "site_name": "Cygnet Bay", - "latitude_nominal": -16.5028, - "longitude_nominal": 123.0342, - "institution": "University of Western Australia", - "institution_code": "UWA-SMART", - "deployment_start_date": "2025-01-20T00:00:00.000Z", - "abstract": "Near real time integral wave parameters from wave buoys collected by the University of Western Australia using a SOFAR Smart Mooring-V3 at Cygnet Bay", - "title": "Near real time integral wave parameters from wave buoys collected by the University of Western Australia using a SOFAR Smart Mooring-V3 at Cygnet Bay", - "project": "IMOS", - "instrument": "SOFAR Smart Mooring-V3", - "instrument_burst_interval": 1800, - "instrument_burst_duration": 1800, - "instrument_burst_units": "s", - "instrument_sampling_interval": 0.4, - "platform": "moored surface buoy", - "wave_motion_sensor_type": "GPS", - "wave_sensor_serial_number": "SPOT-31140C", - "hull_serial_number": "", - "transmission": "Iridium/Cellular", - "water_depth": 18, - "water_depth_units": "m", - "wave_buoy_type": "directional", - "comment": "For access to temperature data collected at this location, please contact info@aodn.org.au." - }, - "SPOT-31132C": - { - "spotter_id": "SPOT-31132C", - "site_name": "Cable Beach", - "latitude_nominal": -17.9008, - "longitude_nominal": 112.1332, - "institution": "University of Western Australia", - "institution_code": "UWA-SMART", - "deployment_start_date": "2025-01-20T00:00:00.000Z", - "abstract": "Near real time integral wave parameters from wave buoys collected by the University of Western Australia using a SOFAR Smart Mooring-V3 at Cable Beach", - "title": "Near real time integral wave parameters from wave buoys collected by the University of Western Australia using a SOFAR Smart Mooring-V3 at Cable Beach", - "project": "IMOS", - "instrument": "SOFAR Smart Mooring-V3", - "instrument_burst_interval": 1800, - "instrument_burst_duration": 1800, - "instrument_burst_units": "s", - "instrument_sampling_interval": 0.4, - "platform": "moored surface buoy", - "wave_motion_sensor_type": "GPS", - "wave_sensor_serial_number": "SPOT-31132C", - "hull_serial_number": "", - "transmission": "Iridium/Cellular", - "water_depth": 18, - "water_depth_units": "m", - "wave_buoy_type": "directional", - "comment": "For access to temperature data collected at this location, please contact info@aodn.org.au." - }, - "SPOT-31894C": - { - "spotter_id": "SPOT-31894C", - "site_name": "Wooli", - "latitude_nominal": -29.8574, - "longitude_nominal": 153.3139, - "institution": "IMOS Coastal Wave Buoys", - "institution_code": "IMOS", - "deployment_start_date": "2025-01-20T00:00:00.000Z", - "abstract": "Near real time integral wave parameters from wave buoys collected by IMOS using a SOFAR Spotter-V3 at Wooli", - "title": "Near real time integral wave parameters from wave buoys collected by IMOS using a SOFAR Spotter-V3 at Wooli", - "project": "IMOS", - "instrument": "SOFAR Spotter-V3", - "instrument_burst_interval": 1800, - "instrument_burst_duration": 1800, - "instrument_burst_units": "s", - "instrument_sampling_interval": 0.4, - "platform": "moored surface buoy", - "wave_motion_sensor_type": "GPS", - "wave_sensor_serial_number": "SPOT-31894C", - "hull_serial_number": "", - "transmission": "Cellular", - "water_depth": 30, - "water_depth_units": "m", - "wave_buoy_type": "directional" - }, - "SPOT-31913C": - { - "spotter_id": "SPOT-31913C", - "site_name": "Semaphore", - "latitude_nominal": -34.85, - "longitude_nominal": 138.35, - "institution": "Department for Environment and Water", - "institution_code": "SA-DEW", - "deployment_start_date": "2025-01-15T00:00:00.000Z", - "abstract": "Near real time integral wave parameters from wave buoys collected by the Department for Environment and Water, South Australia using a SOFAR Spotter-V3 at Semaphore", - "title": "Near real time integral wave parameters from wave buoys collected by Department for Environment and Water, South Australian Government using a SOFAR Spotter-V3 at Semaphore", - "project": "IMOS", - "instrument": "SOFAR Spotter-V3", - "instrument_burst_interval": 1800, - "instrument_burst_duration": 1800, - "instrument_burst_units": "s", - "instrument_sampling_interval": 0.4, - "platform": "moored surface buoy", - "wave_motion_sensor_type": "GPS", - "wave_sensor_serial_number": "SPOT-31913C", - "hull_serial_number": " ", - "transmission": "Iridium/Cellular", - "water_depth": 7, - "water_depth_units": "m", - "wave_buoy_type": "directional" - }, - "SPOT-31916C": - { - "spotter_id": "SPOT-31916C", - "site_name": "North Haven", - "latitude_nominal": -34.8, - "longitude_nominal": 138.48, - "institution": "Department for Environment and Water", - "institution_code": "SA-DEW", - "deployment_start_date": "2025-01-15T00:00:00.000Z", - "abstract": "Near real time integral wave parameters from wave buoys collected by the Department for Environment and Water, South Australian Government using a SOFAR Spotter-V3 at North Haven", - "title": "Near real time integral wave parameters from wave buoys collected by the Department for Environment and Water, South Australian Government using a SOFAR Spotter-V3 at North Haven", - "project": "IMOS", - "instrument": "SOFAR Spotter-V3", - "instrument_burst_interval": 1800, - "instrument_burst_duration": 1800, - "instrument_burst_units": "s", - "instrument_sampling_interval": 0.4, - "platform": "moored surface buoy", - "wave_motion_sensor_type": "GPS", - "wave_sensor_serial_number": "SPOT-31916C", - "hull_serial_number": " ", - "transmission": "Iridium/Cellular", - "water_depth": 7, - "water_depth_units": "m", - "wave_buoy_type": "directional" - }, - "SPOT-31920C": - { - "spotter_id": "SPOT-31920C", - "site_name": "West Beach", - "latitude_nominal": -34.95, - "longitude_nominal": 138.48, - "institution": "Department for Environment and Water", - "institution_code": "SA-DEW", - "deployment_start_date": "2025-01-15T00:00:00.000Z", - "abstract": "Near real time integral wave parameters from wave buoys collected by the Department for Environment and Water, South Australian Government using a SOFAR Spotter-V3 at West Beach", - "title": "Near real time integral wave parameters from wave buoys collected by the Department for Environment and Water, South Australian Government using a SOFAR Spotter-V3 at West Beach", - "project": "IMOS", - "instrument": "SOFAR Spotter-V3", - "instrument_burst_interval": 1800, - "instrument_burst_duration": 1800, - "instrument_burst_units": "s", - "instrument_sampling_interval": 0.4, - "platform": "moored surface buoy", - "wave_motion_sensor_type": "GPS", - "wave_sensor_serial_number": "SPOT-31920C", - "hull_serial_number": " ", - "transmission": "Iridium/Cellular", - "water_depth": 7, - "water_depth_units": "m", - "wave_buoy_type": "directional" - }, - "SPOT-31911C": - { - "spotter_id": "SPOT-31911C", - "site_name": "Tantabiddi", - "latitude_nominal": -21.8972, - "longitude_nominal": 113.9292, - "institution": "University of Western Australia", - "institution_code": "UWA", - "deployment_start_date": "2025-01-15T00:00:00.000Z", - "abstract": "Near real time integral wave parameters from wave buoys collected by the University of Western Australia using a SOFAR Spotter-V3 at Tantabiddi", - "title": "Near real time integral wave parameters from wave buoys collected by the University of Western Australia using a SOFAR Spotter-V3 at Tantabiddi", - "project": "IMOS", - "instrument": "SOFAR Spotter-V3", - "instrument_burst_interval": 1800, - "instrument_burst_duration": 1800, - "instrument_burst_units": "s", - "instrument_sampling_interval": 0.4, - "platform": "moored surface buoy", - "wave_motion_sensor_type": "GPS", - "wave_sensor_serial_number": "SPOT-31911C", - "hull_serial_number": " ", - "transmission": "Iridium/Cellular", - "water_depth": 44.5, - "water_depth_units": "m", - "wave_buoy_type": "directional" - } - + } } diff --git a/AODN/AODN-WAVE-NRT/ARDC_API_NRT/ardc_nrt/config/sofar/template_sa-dew.json b/AODN/AODN-WAVE-NRT/ARDC_API_NRT/ardc_nrt/config/sofar/template_sa-dew.json deleted file mode 100644 index ad0ef16e..00000000 --- a/AODN/AODN-WAVE-NRT/ARDC_API_NRT/ardc_nrt/config/sofar/template_sa-dew.json +++ /dev/null @@ -1,186 +0,0 @@ -{ - "_dimensions": { - "TIME": null, - "timeSeries": 1 - }, - "_variables": { - "timeSeries": { - "_datatype": "int16", - "_dimensions": ["timeSeries"], - "long_name": "unique identifier for each feature instance", - "cf_role": "timeseries_id" - }, - "TIME": { - "_datatype": "float64", - "_dimensions": ["TIME"], - "units": "days since 1950-01-01 00:00:00 UTC", - "calendar": "gregorian", - "standard_name": "time", - "long_name": "time", - "axis": "T", - "valid_min": 0.0, - "valid_max": 90000.0 - }, - "LATITUDE": { - "_FillValue": -9999.0, - "_datatype": "float64", - "_dimensions": ["TIME"], - "standard_name": "latitude", - "long_name": "latitude", - "units": "degrees_north", - "axis": "Y", - "valid_min": -90.0, - "valid_max": 90.0, - "reference_datum": "WGS84 coordinate reference system; EPSG:4326" - }, - "LONGITUDE": { - "_FillValue": -9999.0, - "_datatype": "float64", - "_dimensions": ["TIME"], - "standard_name": "longitude", - "long_name": "longitude", - "units": "degrees_east", - "axis": "X", - "valid_min": -180.0, - "valid_max": 180.0, - "reference_datum": "WGS84 coordinate reference system; EPSG:4326" - }, - "WPFM": { - "_dimensions": ["TIME"], - "_datatype": "float64", - "standard_name": "sea_surface_wave_mean_period_from_variance_spectral_density_first_frequency_moment", - "long_name": "sea surface wave spectral mean period", - "units": "s", - "_FillValue": -9999.0, - "valid_min": 0.0, - "valid_max": 50.0, - "method": "Spectral analysis method", - "ancillary_variable": "WAVE_quality_control", - "coordinates": "TIME LATITUDE LONGITUDE" - }, - "WPPE": { - "_dimensions": ["TIME"], - "_datatype": "float64", - "standard_name": "sea_surface_wave_period_at_variance_spectral_density_maximum", - "long_name": "peak wave spectral period", - "units": "s", - "_FillValue": -9999.0, - "valid_min": 0.0, - "valid_max": 50.0, - "method": "Spectral analysis method", - "coordinates": "TIME LATITUDE LONGITUDE", - "ancillary_variable": "WAVE_quality_control", - "comment": "Period of the peak of the energy spectrum" - }, - "SSWMD": { - "_dimensions": ["TIME"], - "_datatype": "float64", - "standard_name": "sea_surface_wave_from_direction", - "long_name": "spectral sea surface wave mean direction", - "units": "Degrees", - "magnetic_declination": 12.86, - "compass_correction_applied": 13, - "positive": "clockwise", - "reference_datum": "true north", - "method": "Spectral analysis method", - "_FillValue": -9999.0, - "valid_min": 0.0, - "valid_max": 360.0, - "comment": "Direction (related to the magnetic north) from which the mean period waves are coming from", - "ancillary_variable": "WAVE_quality_control", - "coordinates": "TIME LATITUDE LONGITUDE" - }, - "WPDI": { - "_dimensions": ["TIME"], - "_datatype": "float64", - "standard_name": "sea_surface_wave_from_direction_at_variance_spectral_density_maximum", - "long_name": "spectral peak wave direction", - "units": "Degrees", - "magnetic_declination": 12.86, - "compass_correction_applied": 13, - "reference_datum": "true north", - "positive": "clockwise", - "_FillValue": -9999.0, - "valid_min": 0.0, - "valid_max": 360.0, - "method": "Spectral analysis method", - "comment": "Direction (related to the magnetic north) from which the peak period waves are coming from", - "ancillary_variable": "WAVE_quality_control", - "coordinates": "TIME LATITUDE LONGITUDE" - }, - "WMDS": { - "_dimensions": ["TIME"], - "_datatype": "float64", - "standard_name": "sea_surface_wave_directional_spread", - "long_name": "spectral sea surface wave mean directional spread", - "units": "Degrees", - "positive": "clockwise", - "_FillValue": -9999.0, - "valid_min": 0.0, - "valid_max": 360.0, - "method": "Spectral analysis method", - "ancillary_variable": "WAVE_quality_control", - "coordinates": "TIME LATITUDE LONGITUDE" - }, - "WPDS": { - "_dimensions": ["TIME"], - "_datatype": "float64", - "standard_name": "sea_surface_wave_directional_spread_at_variance_spectral_density_maximum", - "long_name": "spectral sea surface wave peak directional spread", - "units": "Degrees", - "_FillValue": -9999.0, - "valid_min": 0.0, - "valid_max": 360.0, - "reference_datum": "true north", - "positive": "clockwise", - "method": "Spectral analysis method", - "ancillary_variable": "WAVE_quality_control", - "coordinates": "TIME LATITUDE LONGITUDE" - }, - "WSSH": { - "_dimensions": ["TIME"], - "_datatype": "float64", - "standard_name": "sea_surface_wave_significant_height", - "long_name": "sea surface wave spectral significant height", - "units": "m", - "_FillValue": -9999.0, - "valid_min": 0.0, - "valid_max": 100.0, - "method": "Spectral analysis method", - "ancillary_variable": "WAVE_quality_control", - "coordinates": "TIME LATITUDE LONGITUDE" - }, - "WAVE_quality_control": { - "_dimensions": [ - "TIME" - ], - "_datatype": "b", - "long_name": "primary Quality Control flag for wave variables", - "_FillValue": -127, - "valid_min": 1, - "valid_max": 9, - "flag_values": [1,2,3,4,9], - "flag_meanings": "good not_evaluated questionable bad missing", - "quality_control_convention": "Ocean Data Standards, UNESCO 2013 - IOC Manuals and Guides, 54, Volume 3 Version 1" - } - }, - "Conventions": "CF-1.6", - "abstract": "Near real-time in-situ wave data collected by Sofar Spotter wave buoys along the south australian coast.", - "acknowledgement": "Any users of IMOS data are required to clearly acknowledge the source of the material in the format: \\\"Data was sourced from Australia’s Integrated Marine Observing System (IMOS) - IMOS is enabled by the National Collaborative Research Infrastructure Strategy (NCRIS)\\\". This wave data was collected and quality controlled by the University of Western Australia. This dataset is an output from the Catching Oz Waves project, which received investment (https://doi.org/10.47486/DP748) from the Australian Research Data Commons (ARDC). The ARDC is funded by the National Collaborative Research Infrastructure Strategy (NCRIS).", - "citation": "The citation to be used in publications using the dataset should follow the format: “ Department for Environment and Water [year-of-data-downloaded], Wave buoys Observations - Australia - near real-time, Downloaded from [url] on [date-of-download]", - "author": "AODN", - "author_email": "info@aodn.org.au", - "data_centre": "Australian Ocean Data Network (AODN)", - "data_centre_email": "info@aodn.org.au", - "disclaimer": "Although every effort has been made to ensure the correctness and accuracy of the Dataset, the Department for Environment and Water (DEW) makes no representations, either express or implied, as to the accuracy, currency, completeness or suitability for any particular purpose of the information and accepts no liability for any use of the Dataset or any responsibility for any reliance placed on that information. The use of the Dataset is at the user’s sole risk and that the information contained in the Dataset may be subject to change without notice.", - "license": "http://creativecommons.org/licenses/by/4.0/", - "references": "http://www.imos.org.au", - "standard_name_vocabulary": "NetCDF Climate and Forecast CF Standard Name Table Version 78", - "project": "Coast Unit|Environment, Heritage and Sustainability Division", - "principal_investigator": "Doubell, Mark ", - "principal_investigator_email": "Mark.Doubell@sa.gov.au", - "geospatial_lat_units": "degrees_north", - "geospatial_lon_units": "degrees-east", - "platform":"moored surface buoy", - "cdm_data_type": "Station" -} diff --git a/AODN/AODN-WAVE-NRT/ARDC_API_NRT/ardc_nrt/lib/common/netcdf.py b/AODN/AODN-WAVE-NRT/ARDC_API_NRT/ardc_nrt/lib/common/netcdf.py index 8e62341f..b42d0c8e 100644 --- a/AODN/AODN-WAVE-NRT/ARDC_API_NRT/ardc_nrt/lib/common/netcdf.py +++ b/AODN/AODN-WAVE-NRT/ARDC_API_NRT/ardc_nrt/lib/common/netcdf.py @@ -98,9 +98,7 @@ def convert_wave_data_to_netcdf(self, true_dates=False): elif template.global_attributes['institution_code'].lower() == 'vic' and \ not re.match('^IMOS', template.global_attributes['institution'].upper()): template.global_attributes.update({'institution_code': 'VIC-DEAKIN-UNI'}) - elif template.global_attributes['institution_code'].lower() == 'uwa-smart': - template.global_attributes.update({'institution_code': 'UWA'}) - elif re.match('^IMOS/', template.global_attributes['institution'].upper()) and \ + elif re.match('^IMOS/', template.global_attributes['institution'].upper()) and \ not template.global_attributes['institution_code'].lower() == 'imos': # rename VIC and UWA operated buoys from IMOS-NTP facility template.global_attributes.update({'institution_code': 'IMOS_NTP-WAVE'})