Changeset 1225 for trunk/libIGCM/AA_metrics_NEMO
- Timestamp:
- 08/26/15 12:28:19 (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/libIGCM/AA_metrics_NEMO
r1224 r1225 142 142 # Rename variables 143 143 #================================== 144 ncrename -v votemper,t -v thetao,to -v vosaline,so -v somxl010,mldpt -v mldr10_1,mldpt -v sosstsst,tos -v sossheig,zos -v sosaline,sos -v sowaflup,wfo ${config_UserChoices_JobName}_SE_${YEARS}_1M_grid_T.nc144 IGCM_sys_ncrename -v votemper,t -v thetao,to -v vosaline,so -v somxl010,mldpt -v mldr10_1,mldpt -v sosstsst,tos -v sossheig,zos -v sosaline,sos -v sowaflup,wfo ${config_UserChoices_JobName}_SE_${YEARS}_1M_grid_T.nc 145 145 146 146 #================================== 147 147 # Interpolate vertical levels 148 148 #================================== 149 cdo intlevel,50,100,250,500,1000 -selvar,to,so ${config_UserChoices_JobName}_SE_${YEARS}_1M_grid_T.nc ${config_UserChoices_JobName}_SE_${YEARS}_1MVertLevels_grid_T.nc149 IGCM_sys_cdo intlevel,50,100,250,500,1000 -selvar,to,so ${config_UserChoices_JobName}_SE_${YEARS}_1M_grid_T.nc ${config_UserChoices_JobName}_SE_${YEARS}_1MVertLevels_grid_T.nc 150 150 151 151 #================================== … … 153 153 #================================== 154 154 if [ ${RESOL_ORCA} = 'eORCA1' ] ; then 155 orca_grid _file='/ccc/scratch/cont003/dsm/p86mart/ORCA1_BLD/DOMSK/eORCA1.0/IPSL.eORCA1.0_gridCF.nc'155 orca_grid='/ccc/scratch/cont003/dsm/p86mart/ORCA1_BLD/DOMSK/eORCA1.0/IPSL.eORCA1.0_gridCF.nc' 156 156 elif [ ${RESOL_ORCA} = 'ORCA1' ] ; then 157 orca_grid _file='/ccc/work/cont003/dsm/p86ipsl/database/grids/NEMO1_grid.nc'157 orca_grid='/ccc/work/cont003/dsm/p86ipsl/database/grids/NEMO1_grid.nc' 158 158 elif [ ${RESOL_ORCA} = 'ORCA2' ] ; then 159 orca_grid _file='/ccc/work/cont003/dsm/p86ipsl/database/grids/ORCA2_lon_lat_bounds_for_metrics.nc'159 orca_grid='/ccc/work/cont003/dsm/p86ipsl/database/grids/ORCA2_lon_lat_bounds_for_metrics.nc' 160 160 fi 161 161 162 ncks --append -v bounds_lat,bounds_lon ${orca_grid_file} ${config_UserChoices_JobName}_SE_${YEARS}_1M_grid_T.nc163 ncatted -O -a bounds,nav_lat,o,c,bounds_lat ${config_UserChoices_JobName}_SE_${YEARS}_1M_grid_T.nc164 ncatted -O -a bounds,nav_lon,o,c,bounds_lon ${config_UserChoices_JobName}_SE_${YEARS}_1M_grid_T.nc165 166 ncks --append -v bounds_lat,bounds_lon ${orca_grid_file} ${config_UserChoices_JobName}_SE_${YEARS}_1MVertLevels_grid_T.nc167 ncatted -O -a bounds,nav_lat,o,c,bounds_lat ${config_UserChoices_JobName}_SE_${YEARS}_1MVertLevels_grid_T.nc168 ncatted -O -a bounds,nav_lon,o,c,bounds_lon ${config_UserChoices_JobName}_SE_${YEARS}_1MVertLevels_grid_T.nc162 IGCM_sys_ncks --append -v bounds_lat,bounds_lon ${orca_grid} ${config_UserChoices_JobName}_SE_${YEARS}_1M_grid_T.nc 163 IGCM_sys_ncatted -O -a bounds,nav_lat,o,c,bounds_lat ${config_UserChoices_JobName}_SE_${YEARS}_1M_grid_T.nc 164 IGCM_sys_ncatted -O -a bounds,nav_lon,o,c,bounds_lon ${config_UserChoices_JobName}_SE_${YEARS}_1M_grid_T.nc 165 166 IGCM_sys_ncks --append -v bounds_lat,bounds_lon ${orca_grid} ${config_UserChoices_JobName}_SE_${YEARS}_1MVertLevels_grid_T.nc 167 IGCM_sys_ncatted -O -a bounds,nav_lat,o,c,bounds_lat ${config_UserChoices_JobName}_SE_${YEARS}_1MVertLevels_grid_T.nc 168 IGCM_sys_ncatted -O -a bounds,nav_lon,o,c,bounds_lon ${config_UserChoices_JobName}_SE_${YEARS}_1MVertLevels_grid_T.nc 169 169 170 170 #================================== … … 176 176 # Group of metrics we will compute 177 177 #================================== 178 #GroupsOfMetrics='NEMO_PCMDI NEMO_LatBandsAndRegions NEMO_VertLevels' 179 GroupsOfMetrics='NEMO_PCMDI NEMO_LatBandsAndRegions' 178 GroupsOfMetrics='NEMO_PCMDI NEMO_LatBandsAndRegions NEMO_VertLevels' 180 179 MP_Version=v2.12 181 180 … … 190 189 # Configure template for grid_T.nc 191 190 #================================== 192 IGCM_comp_modifyFile template.py path_and_filename \'./${config_UserChoices_JobName}_SE_${YEARS}_1M_grid_T.nc\' 193 IGCM_comp_modifyFile template.py filename \'${config_UserChoices_JobName}_SE_${YEARS}_1M_grid_T.nc\' 191 192 if [ ${metricsGroupName} != "NEMO_VertLevels" ] ; then 193 IGCM_comp_modifyFile template.py path_and_filename \'./${config_UserChoices_JobName}_SE_${YEARS}_1M_grid_T.nc\' 194 IGCM_comp_modifyFile template.py filename \'${config_UserChoices_JobName}_SE_${YEARS}_1M_grid_T.nc\' 195 else 196 IGCM_comp_modifyFile template.py path_and_filename \'./${config_UserChoices_JobName}_SE_${YEARS}_1MVertLevels_grid_T.nc\' 197 IGCM_comp_modifyFile template.py filename \'${config_UserChoices_JobName}_SE_${YEARS}_1MVertLevels_grid_T.nc\' 198 fi 194 199 IGCM_comp_modifyFile template.py attributes_provided \'IPSL_Extended\' 195 200 IGCM_comp_modifyFile template.py Login \'${LOGIN}\'
Note: See TracChangeset
for help on using the changeset viewer.