eurec4a / eurec4a-intake

Intake catalogue for EUREC4A field campaign datasets
17 stars 19 forks source link

mislabeled meteograms #103

Closed suessspeise closed 2 years ago

suessspeise commented 2 years ago

Two meteograms with DOM02 data are mislabeled as DOM01 in the description. See output of the following script:

import eurec4a
import xarray as xr

ctrl = eurec4a.get_intake_catalog().simulations.ICON.LES_CampaignDomain_control
labels, times = [],[]
for d in ctrl:
    try:
        labels.append(ctrl[d].description)
        times.append(ctrl[d].to_dask().time.values)
    except:
        print(f'FAILED for {d}')

labels.sort()
# print(len(list(set(x))) == len(x))  
for i, e in enumerate(labels):
    unique_set = labels.copy()
    del unique_set[i]
    if e in unique_set:
        print(f'double entry: {e}')

produces:

FAILED for pressure_level_DOM01
double entry: DOM01 meteogram at the HALO circle easternmost position
double entry: DOM01 meteogram at the HALO circle easternmost position
double entry: DOM01 meteogram at the HALO circle northernmost position
double entry: DOM01 meteogram at the HALO circle northernmost position
observingClouds commented 2 years ago

Thanks @suessspeise for finding this mistake and proposing a correction 🚀