Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
C
coyote
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Container Registry
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
nils
coyote
Commits
03484302
Commit
03484302
authored
2 months ago
by
Nils-Arne Dreier
Browse files
Options
Downloads
Patches
Plain Diff
ci: fix icon levante test
parent
c935dcf5
No related branches found
Branches containing commit
No related tags found
Tags containing commit
1 merge request
!44
Remove CLI for hiopy.configure
Pipeline
#98064
passed
2 months ago
Stage: lint
Stage: build
Stage: test
Stage: verify
Changes
1
Pipelines
2
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
.gitlab-ci.yml
+20
-7
20 additions, 7 deletions
.gitlab-ci.yml
with
20 additions
and
7 deletions
.gitlab-ci.yml
+
20
−
7
View file @
03484302
...
...
@@ -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
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment