- Timestamp:
- 08/04/22 14:40:17 (21 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
TOOLS/CPLRESTART/CreateRestartAtm4Oasis.bash
r5157 r6226 181 181 // 182 182 *fract_oce_plus_sic = double(fract_oce + fract_sic) ; // ocean fraction 183 *fract_oce_norm[y,x] = 0.0d ; fract_sic_norm[y,x] = 0.0d ;184 where (fract_oce_plus_sic > 0.0d ) *fract_oce_norm = double(fract_oce)/fract_oce_plus_sic ; // free ocean vs. total ocen fraction185 where (fract_oce_plus_sic > 0.0d ) *fract_sic_norm = double(fract_sic)/fract_oce_plus_sic ; // sea ice vs. total ocean fraction183 *fract_oce_norm[y,x] = 0.0d ; *fract_sic_norm[y,x] = 0.0d ; 184 where (fract_oce_plus_sic > 0.0d ) fract_oce_norm = double(fract_oce)/fract_oce_plus_sic ; // free ocean vs. total ocean fraction 185 where (fract_oce_plus_sic > 0.0d ) fract_sic_norm = double(fract_sic)/fract_oce_plus_sic ; // sea ice vs. total ocean fraction 186 186 // 187 187 COTOTRAI[y,x] = double(precip-snow) ; // Liquid precip … … 216 216 EOF 217 217 ncap2 --overwrite --fl_fmt=${FL_FMT} --history --script-file create_flxat.nco flxat_fields_notime.nc tmp_flxat.nc 218 218 219 219 ncks --fl_fmt=${FL_FMT} --overwrite --history --variable lon,lat tmp_flxat.nc flxat.nc 220 220 [[ ${IsUnstructured} = yes ]] && ncks --fl_fmt=${FL_FMT} --history --append --variable bounds_lon,bounds_lat tmp_flxat.nc flxat.nc
Note: See TracChangeset
for help on using the changeset viewer.