NOAA-EMC / GDASApp

Global Data Assimilation System Application
GNU Lesser General Public License v2.1
15 stars 31 forks source link

Prepare 10deg resource files for MOM6 #1388

Open guillaumevernieres opened 10 hours ago

guillaumevernieres commented 10 hours ago

See soca 346f0aef

#!/bin/bash

mkdir -p ./INPUT_small/
cp ./INPUT/hycom1_25.nc ./INPUT_small/
cp ./INPUT/layer_coord25.nc ./INPUT_small/
ncks -O -d nxp,0,144,2 -d nx,0,143,2 ./INPUT/ocean_hgrid.nc ./INPUT_small/ocean_hgrid_small.nc
ncks -O -d nx,0,71,2 ./INPUT/ocean_topog.nc ./INPUT_small/ocean_topog_small.nc
ncks -O -d lonh,0,71,2 -d lonq,0,71,2 ./INPUT/MOM.res.nc ./INPUT_small/MOM.res.nc
ncks -O -d xaxis_1,0,71,2 ./INPUT/cice.res.nc ./INPUT_small/cice.res.nc