Skip to content

Commit

Permalink
cast arrays to strings for the moment pt2
Browse files Browse the repository at this point in the history
  • Loading branch information
garciampred committed Nov 12, 2024
1 parent 35fa5f0 commit 70b1700
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 7 deletions.
14 changes: 7 additions & 7 deletions cdsobs/data/insitu-observations-ndacc/service_definition.yml
Original file line number Diff line number Diff line change
Expand Up @@ -187,7 +187,7 @@ sources:
units: Emolec cm-2
methane_total_column_averaging_kernel:
description: Total vertical column averaging kernel for CH4 derived from mixing ratio averaging kernel.
dtype: float32
dtype: object
units: '1'
methane_volume_mixing_ratio:
description: Vertical CH4 profile from solar absorption measurements.
Expand Down Expand Up @@ -365,7 +365,7 @@ sources:
units: Emolec cm-2
carbon_monoxide_total_column_averaging_kernel:
description: Total vertical column averaging kernel for CO derived from mixing ratio averaging kernel.
dtype: float32
dtype: object
units: '1'
carbon_monoxide_volume_mixing_ratio:
description: Vertical CO profile from solar absorption measurements.
Expand All @@ -377,7 +377,7 @@ sources:
units: ppmv
carbon_monoxide_volume_mixing_ratio_averaging_kernel:
description: Averaging kernel matrix (AVK) of the retrieved vertical CO profile, in VMR/VMR (Volume Mixing Ratio) units.
dtype: float32
dtype: object
units: '1'
carbon_monoxide_volume_mixing_ratio_random_covariance:
description: Total random error covariance matrix associated with the retrieved CO vertical profiles, in VMR (Volume Mixing Ratio) units.
Expand Down Expand Up @@ -691,7 +691,7 @@ sources:
units: Emolec cm-2
ozone_total_column_averaging_kernel:
description: Total vertical column averaging kernel for O3 derived from mixing ratio averaging kernel.
dtype: float32
dtype: object
units: '1'
ozone_volume_mixing_ratio:
description: Vertical O3 profile from solar absorption measurements.
Expand All @@ -703,7 +703,7 @@ sources:
units: ppmv
ozone_volume_mixing_ratio_averaging_kernel:
description: Averaging kernel matrix (AVK) of the retrieved vertical O3 profile, in VMR/VMR (Volume Mixing Ratio) units.
dtype: float32
dtype: object
units: '1'
ozone_volume_mixing_ratio_random_covariance:
description: Total random error covariance matrix associated with the retrieved O3 vertical profiles, in VMR (Volume Mixing Ratio) units.
Expand Down Expand Up @@ -1158,7 +1158,7 @@ sources:
dtype: float32
ozone_volume_mixing_ratio_averaging_kernel:
description: Averaging kernel matrix (AVK) of the retrieved vertical O3 profile, in VMR/VMR (volume mixin ratio) units.
dtype: float32
dtype: object
units: '1'
pressure:
description: Effective air pressure at each altitude.
Expand Down Expand Up @@ -1529,7 +1529,7 @@ sources:
units: Pmolec cm-2
ozone_total_column_averaging_kernel:
description: Averaging kernel matrix associated with the total tropospheric vertical column of the target gas retrieved from zenith DOAS measurements.
dtype: float32
dtype: object
units: '1'
ozone_volume_mixing_ratio_apriori:
description: A-priori target vertical profile associated with the profile retrieval from zenith DOAS measurements.
Expand Down
5 changes: 5 additions & 0 deletions tests/scripts/upgrade_service_definition.py
Original file line number Diff line number Diff line change
Expand Up @@ -497,6 +497,11 @@ def get_dtype(cdm_name) -> str:
"cloud_conditions",
"height_level_boundaries",
"methane_volume_mixing_ratio_averaging_kernel",
"ozone_volume_mixing_ratio_averaging_kernel",
"ozone_total_column_averaging_kernel",
"methane_total_column_averaging_kernel",
"carbon_monoxide_total_column_averaging_kernel",
"carbon_monoxide_volume_mixing_ratio_averaging_kernel",
]
vars_datetime = [
"report_timestamp",
Expand Down

0 comments on commit 70b1700

Please sign in to comment.