Ignore:
Timestamp:
2019-06-28T11:42:05+02:00 (5 years ago)
Author:
josefine.ghattas
Message:

Corrected error in script.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/TOOLS/NUDGING_FILE/Job_moistc_yearly_files.sh

    r6073 r6078  
    5454  # Remove dimension soiltyp (which is now 1) by averaging over the dimension. Put all variables in the same file. 
    5555  for soiltyp in 1 2 3 ; do 
    56     ncwa -A -a soiltyp  moistc${soiltyp}_${year}_sechiba_out_2.nc moistc_allsoil_${year}_sechiba_out_2.nc  
     56    ncwa -A -a soiltyp  moistc${soiltyp}_${year}_sechiba_out_2.nc moistc_daily_${year}.nc  
    5757  done 
    5858  ncatted -a long_name,moistc_1,m,c,"Soil Moisture profile for soil tile 1" moistc_daily_${year}.nc  
    5959  ncatted -a long_name,moistc_2,m,c,"Soil Moisture profile for soil tile 2" moistc_daily_${year}.nc  
    6060  ncatted -a long_name,moistc_3,m,c,"Soil Moisture profile for soil tile 3" moistc_daily_${year}.nc  
     61 
     62  let year=${year}+1 
     63 
    6164done 
    6265 
Note: See TracChangeset for help on using the changeset viewer.