Skip to content

Commit

Permalink
Update prep_meteo.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
lars2015 committed Jun 22, 2024
1 parent 4e3ec9e commit bfcffc6
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions projects/benchmarking/prep_meteo.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
#! /bin/bash

# Setup...
trac=../../src
metdir=/p/data1/slmet/datapub/hoffmann1/mptrac/projects/benchmarking/meteo

# Create directories...
Expand All @@ -16,8 +17,8 @@ cp /p/data1/slmet/model_data/mptrac/input/era5/2017/01/era5_2017_01_01_*.nc \

# Packing...
for f in $(ls $metdir/erai_nc/*nc) ; do
../../src/met_conv - "$f" 0 $metdir/erai_pck/$(basename "$f" .nc).pck 2
$trac/met_conv - "$f" 0 $metdir/erai_pck/$(basename "$f" .nc).pck 2
done
for f in $(ls $metdir/era5_nc/*nc) ; do
../../src/met_conv - "$f" 0 $metdir/era5_pck/$(basename "$f" .nc).pck 2
$trac/met_conv - "$f" 0 $metdir/era5_pck/$(basename "$f" .nc).pck 2
done

0 comments on commit bfcffc6

Please sign in to comment.