Skip to content

Commit

Permalink
added test for unstructured meshes
Browse files Browse the repository at this point in the history
  • Loading branch information
boryasbora authored Dec 22, 2023
1 parent 628512a commit 870f6e9
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions test/tests.sh
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,18 @@ fint ${FILE} ${MESH} ${INFL} -t 0 -d 500:3000 --interp nn --target mask.nc
# Don't apply shapely mask
fint ${FILE} ${MESH} ${INFL} -t 0 -d 500:3000 --interp nn --target mask.nc --no_shape_mask

# interpolate to a fesom (unstructured) grid
export TARGET="/work/ab0995/a270226/swift.dkrz.de/core2/"
fint ${FILE} ${MESH} ${INFL} -d -1 --target ${TARGET} --to_fesom_mesh
fint ${FILE} ${MESH} ${INFL} -t 0 -d 0:10 --target ${TARGET} --to_fesom_mesh --interp mtri_linear
fint ${FILE} ${MESH} ${INFL} -d 0:50 --target ${TARGET} --to_fesom_mesh --interp cdo_remapcon
fint ${FILE} ${MESH} ${INFL} -d 0:100 --target ${TARGET} --to_fesom_mesh --interp cdo_remaplaf

export FILE="./test/data/v.fesom.1948.nc"
fint ${FILE} ${MESH} ${INFL} -d -1 --target ${TARGET} --to_fesom_mesh
fint ${FILE} ${MESH} ${INFL} -d 0:50 --target ${TARGET} --to_fesom_mesh --interp cdo_remapcon
fint ${FILE} ${MESH} ${INFL} -d 0:100 --target ${TARGET} --to_fesom_mesh --interp cdo_remaplaf

# Different variables
FILE="./test/data/u.fesom.1948.nc"
fint ${FILE} ${MESH} ${INFL} -t 0:3 -d -1
Expand Down

0 comments on commit 870f6e9

Please sign in to comment.