Skip to content
Snippets Groups Projects
Commit 03484302 authored by Nils-Arne Dreier's avatar Nils-Arne Dreier
Browse files

ci: fix icon levante test

parent c935dcf5
No related branches found
No related tags found
1 merge request!44Remove CLI for hiopy.configure
Pipeline #98064 passed
......@@ -104,13 +104,26 @@ hiopy-levante:
- |
DATASET=$(pwd -P)/dataset.zarr
hiopy-configure ${DATASET} create-healpix-hierarchic-dataset 1979-01-01T00:00:00 1979-01-01T06:00:00 900 4
hiopy-configure ${DATASET} add-height full_level 47
hiopy-configure ${DATASET} add-variable temp atmo_output icon_atmos_grid --zaxis full_level --chunk-shape 8 16 2000
hiopy-configure ${DATASET} add-variable pres atmo_output icon_atmos_grid --zaxis full_level --chunk-shape 4 16 2000
hiopy-configure ${DATASET} add-variable pres_sfc atmo_output icon_atmos_grid --chunk-shape 1 20
hiopy-configure ${DATASET} consolidate
hiopy-configure ${DATASET} info --tree
python << EOF
import zarr
import hiopy.configure as hc
z = zarr.open("${DATASET}")
hc.add_healpix_hierarchy(z, order=4)
hc.add_time(z, "1979-01-01T00:00:00", "1979-01-01T06:00:00", 900)
hc.add_height(z, "full_level", 47)
hc.add_variable(z, "temp", "atmo_output", "icon_atmos_grid",
zaxis="full_level", chunk_shape=(8, 16, 2000))
hc.add_variable(z, "pres", "atmo_output", "icon_atmos_grid",
zaxis="full_level", chunk_shape=(8, 16, 2000))
hc.add_variable(z, "pres_sfc", "atmo_output", "icon_atmos_grid",
chunk_shape=(1, 20))
zarr.consolidate_metadata(z.store)
print(z.info)
print(z.tree())
EOF
- |
MPMD=`pwd -P`/mpmd.conf
cd ${ICON_DIR}/build
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment