Skip to content

interpolated files with the wrong size

Looking at tos we see that the grid size is:

dmanuben@bscearth309:/esarchive/exp/ecearth/t016> ncdump -h /esarchive/exp/ecearth/t016/monthly_mean/tos_f6h/tos_Omon_EC-EARTH3_t016_S19900101_r1i1p1_199001-199001.nc
netcdf tos_Omon_EC-EARTH3_t016_S19900101_r1i1p1_199001-199001 {
dimensions:
	lon = 768 ;
	lat = 384 ;

whereas it is expected:

	lon = 512 ;
	lat = 256 ;

Having IFSGRID defined as T255L91 (see proj_t016.conf) and in plugin plot.sh:

  if [[ $MODEL == 'ecearth' ]] || [[ $MODEL == 'ifs' ]] ; then
    case ${IFSGRID} in
     'T159L62') GRID='320x160' ; GRID2='t106grid' ;; # For cdo, the T159 is the t106 
               # Correspondance betweeen reduced and regular gaussian grid
     'T255L91'|'T255L62') GRID='512x256' ; GRID2='t170grid' ;;
     'T511L91') GRID='1024x512' ; GRID2='t340grid' ;;
     'T799L62'|'T799L91') echo "Is the mask ready for this configuration?" ; stop ;;
    esac
  fi