Changeset 3679
- Timestamp:
- Mar 11, 2025, 11:57:01 AM (3 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LMDZ.PLUTO/util/startarchive2icosa/icosa_finalize.bash
r3670 r3679 13 13 module load nco 14 14 15 # save start*nc from lmdz grid16 15 17 16 #conversion to netcdf 3 in order to rename and add variables, not properly done with netcdf4 files … … 22 21 ncrename -v lon,longitude -v lat,latitude -d cell,physical_points\ 23 22 startphy_icosa_nc3.nc startphy_nc3.nc 24 #Temporay soildepth array from Dynamico restartfi25 ncks -A -v soildepth restartfi.nc startphy_nc3.nc #You have to adapt to your own path26 # ncks -A -v subslope_dist restartfi.nc startphy_nc3.nc27 # ncks -A -v def_slope restartfi.nc startphy_nc3.nc23 #Temporay soildepth array from Dynamico startphy_icosa_ref 24 ncks -A -v soildepth startphy_icosa_ref.nc startphy_nc3.nc #You have to adapt to your own path 25 # ncks -A -v subslope_dist startphy_icosa_ref.nc startphy_nc3.nc 26 # ncks -A -v def_slope startphy_icosa_ref.nc startphy_nc3.nc 28 27 29 28 nccopy -k 4 startphy_nc3.nc startfi.nc 29 cp startfi.nc startfi_before_finalize.nc 30 30 31 31 #Temporary Time variable from start2archive; should be added with xios 32 32 ncks -O -x -v time_counter startfi.nc startfi.nc_tmp 33 33 ncks -A -v Time start.nc startfi.nc_tmp 34 # ncks -A -v flux_geo restartfi.nc startfi.nc_tmp35 # ncks -A -v wstar restartfi.nc startfi.nc_tmp36 # ncks -A -v hmons restartfi.nc startfi.nc_tmp37 # ncks -A -v summit restartfi.nc startfi.nc_tmp38 # ncks -A -v base restartfi.nc startfi.nc_tmp34 # ncks -A -v flux_geo startphy_icosa_ref.nc startfi.nc_tmp 35 # ncks -A -v wstar startphy_icosa_ref.nc startfi.nc_tmp 36 # ncks -A -v hmons startphy_icosa_ref.nc startfi.nc_tmp 37 # ncks -A -v summit startphy_icosa_ref.nc startfi.nc_tmp 38 # ncks -A -v base startphy_icosa_ref.nc startfi.nc_tmp 39 39 cp startfi.nc_tmp startfi.nc 40 40 … … 54 54 start_icosa_ref.nc start_icosa.nc 55 55 56 ncks -A -v W,geopot,q,nq start_icosa_ref.nc start_icosa.nc56 ncks -A -v q,nq start_icosa_ref.nc start_icosa.nc 57 57 58 ncks -A -v latitude,longitude startphy_icosa_ref.nc startfi.nc 59 ncks -A -v latitude,longitude startphy.nc startfi.nc 58 60 # In the current version of Dynamico, the variable q for tracer is needed but unused. 59 61 # To create this unused variable simply run this short python code
Note: See TracChangeset
for help on using the changeset viewer.