Changeset 4605


Ignore:
Timestamp:
07/04/19 18:56:39 (5 years ago)
Author:
oboucher
Message:

netcdf files are now on /bdd/input4MIPs/ZALT
volc.sh is modified accordingly
zalt files are now compulsory

Location:
TOOLS/CMIP6_FORCING/AER_STRAT
Files:
12 deleted
2 edited

Legend:

Unmodified
Added
Removed
  • TOOLS/CMIP6_FORCING/AER_STRAT/README

    r4473 r4605  
    2525zalt_zonmean_LR_l79_rev.nc = same as above but ferret'ized so that can be read in idl 
    2626 
    27 In September 2017 the processing idl routine was to v4 changed to rely on climatological LMDz altitudes 
     27In September 2017 the processing idl routine was changed to rely on climatological LMDz altitudes 
    2828that vary monthly and with latitude (based on GEOP variable Z=GEOP/RG/1000 [in km]).  
    29 Start from a file geop.nc with monthly GEOP variable 
     29Start from a file geop.nc with monthly GEOP variable (ideally from a 10-yr run) 
     30cdo ymonmean geop.nc geop_LR.nc 
    3031cdo divc,9810. geop_LR.nc zalt_LR_l79.nc 
    3132cdo zonmean zalt_LR_l79.nc zalt_zonmean_LR_l79.nc 
    3233ferret'ize file to make it readable by ferret : zalt_zonmean_LR_l79_rev.nc  
    33 We have files for LR, MR, HR model versions. 
     34for this an example is provided in example_convert.jnl 
     35We have files for VLR, LR, MR, HR model versions. 
    3436The variable is called GEOP but is now the altitude in km as required by the interpolation scheme. 
    3537 
     
    5254No additional interpolation between months is done.  
    5355 
     56v3 : original CMIP6 files  
     57v4 : corrected CMIP6 files (Pinatubo) and extended in time beyond 2014 
     58 
    5459Olivier Boucher  
    556027/07/2016 
     
    6065Revised 11/12/2018 
    6166Revised 06/2019 by Th. Lurton to add support for VLR-L39. 
     67Revised 03/07/2019 
  • TOOLS/CMIP6_FORCING/AER_STRAT/volc.sh

    r4473 r4605  
    11dirpwd=`pwd` 
    22 
     3#original CMIP6 files 
     4vv='v3' 
     5#corrected CMIP6 files + extended in time 
    36vv='v4' 
    47 
    58#--choose the resolution 
    69#--only LR and zoom works fully for now ! 
    7 #lmdz='VVLR' 
    8 #lmdz='VLR_L79' 
    9 #lmdz='VLR' 
    10 lmdz='LR' 
    11 #lmdz='MR' 
     10#lmdz='VVLR_l19' 
     11lmdz='VLR_l39' 
     12#lmdz='VLR_l79' 
     13#lmdz='LR_l79' 
     14#lmdz='MR_l79' 
    1215#--added for Frederique Cheruy 
    13 #lmdz='zoom_128x89' 
     16#lmdz='zoom_128x89_l79' 
    1417 
    1518dirout='/data/'${USER}'/CMIP6/VOLC/'${lmdz}'_'${vv}'/' 
     
    2629lmdz='${lmdz}' 
    2730; 
    28 if (lmdz eq 'VVLR') then begin 
     31if (lmdz eq 'VVLR_l19') then begin 
    2932dimlonlmdz=48 
    3033dimlatlmdz=37 
    3134dimz=19 
    32 output='/data/${USER}/CMIP6/VOLC/VVLR_${vv}/' 
     35output='/data/${USER}/CMIP6/VOLC/${lmdz}_${vv}/' 
    3336latfirst=90. 
    3437latinc=-180./float(dimlatlmdz-1) 
     
    3639endif 
    3740 
    38 if (lmdz eq 'VLR') then begin 
     41if (lmdz eq 'VLR_l39') then begin 
    3942dimlonlmdz=96 
    4043dimlatlmdz=96 
    4144dimz=39 
    42 output='/data/${USER}/CMIP6/VOLC/VLR_${vv}/' 
     45output='/data/${USER}/CMIP6/VOLC/${lmdz}_${vv}/' 
    4346latfirst=90. 
    4447latinc=-180./float(dimlatlmdz-1) 
     
    4649endif 
    4750 
    48 if (lmdz eq 'VLR_L79') then begin 
     51if (lmdz eq 'VLR_l79') then begin 
    4952dimlonlmdz=96 
    5053dimlatlmdz=96 
    5154dimz=79 
    52 output='/data/${USER}/CMIP6/VOLC/VLR_L79_${vv}/' 
     55output='/data/${USER}/CMIP6/VOLC/${lmdz}_${vv}/' 
    5356latfirst=90. 
    5457latinc=-180./float(dimlatlmdz-1) 
     
    5659endif 
    5760 
    58 if (lmdz eq 'LR') then begin 
     61if (lmdz eq 'LR_l79') then begin 
    5962dimlonlmdz=144 
    6063dimlatlmdz=143 
    6164dimz=79 
    62 output='/data/${USER}/CMIP6/VOLC/LR_${vv}/' 
     65output='/data/${USER}/CMIP6/VOLC/${lmdz}_${vv}/' 
    6366latfirst=90. 
    6467latinc=-180./float(dimlatlmdz-1) 
     
    6669endif 
    6770 
    68 if (lmdz eq 'MR') then begin 
     71if (lmdz eq 'MR_l79') then begin 
    6972dimlonlmdz=256 
    7073dimlatlmdz=257 
    7174dimz=79 
    72 output='/data/${USER}/CMIP6/VOLC/MR_${vv}/' 
     75output='/data/${USER}/CMIP6/VOLC/${lmdz}_${vv}/' 
    7376latfirst=90. 
    7477latinc=-180./float(dimlatlmdz-1) 
     
    7679endif 
    7780 
    78 if (lmdz eq 'zoom_128x89') then begin 
     81if (lmdz eq 'zoom_128x89_l79') then begin 
    7982dimlonlmdz=128 
    8083dimlatlmdz=89 
     
    152155zz=fltarr(dimz) 
    153156; 
    154 ;---approximate altitudes of LMDZ - L19 and L39 
    155 ;---NOT RECOMMENDED 
    156 ; 
    157 if (dimz eq 19) then begin 
    158 zz=[ 0.07125416, 0.2402302, 0.4865242, 0.8627044, 1.426484, 2.244528,    $ 
    159     3.394085, 4.952366, 6.950302, 9.26943, 11.59338, 13.71214, 15.83651, $ 
    160     18.27338, 21.16397, 24.63156, 28.9039, 34.57184, 44.51565] ; 
    161 endif 
    162 ; 
    163 if (dimz eq 39) then begin 
    164 zz=[0.0338988, 0.1106602, 0.2139233, 0.3609663, 0.5685416, 0.8534464,     $ 
    165     1.233232, 1.726868, 2.355076, 3.139813, 4.101937, 5.25541, 6.596076,  $ 
    166     8.085103, 9.636482, 11.13441, 12.50023, 13.75765, 15.00424, 16.32207, $ 
    167     17.74403, 19.27899, 20.93219, 22.70941, 24.61736, 26.66389, 28.85831, $ 
    168     31.21178, 33.73778, 36.45278, 39.37709, 42.53607, 45.96209, 49.69786, $ 
    169     53.80379, 58.37727, 63.61497, 70.07092, 80.52708] 
    170 endif 
    171 ; 
    172157;---exact altitudes of LMDZ -- L79 
    173 ;--only exists for LR, MR and zoom_128x89 at the moment 
    174 if (dimz eq 79) then begin 
    175   filename='./zalt_zonmean_${lmdz}_l79_rev.nc' 
    176   NETCDFREAD,filename,'GEOP',zz,dimzz 
    177   NETCDFREAD,filename,'LAT',zzlat,dimzzlat 
    178   NETCDFREAD,filename,'TIME_COUNTER',zztime,dimzztime 
    179   dimzzilat=dimzzlat[0] 
    180   dimzzitime=dimzztime[0] 
    181   ;--becareful zz comes with four dimensions 
    182   ;--lon lat k time  
    183   print, 'GEOP size=', size(zz) 
    184   ;--becareful zzlat comes with South Pole first 
    185   print, 'LAT from zalt field=', zzlat 
    186   if (dimzzilat ne dimlatlmdz) then begin 
    187     print , 'PB dimension latitude' 
    188   endif 
    189 endif 
    190 ; 
    191 if (dimz eq 39) then begin 
    192   filename='./zalt_zonmean_${lmdz}_l39_rev.nc' 
    193   NETCDFREAD,filename,'GEOP',zz,dimzz 
    194   NETCDFREAD,filename,'LAT',zzlat,dimzzlat 
    195   NETCDFREAD,filename,'TIME_COUNTER',zztime,dimzztime 
    196   dimzzilat=dimzzlat[0] 
    197   dimzzitime=dimzztime[0] 
    198   ;--becareful zz comes with four dimensions 
    199   ;--lon lat k time 
    200   print, 'GEOP size=', size(zz) 
    201   ;--becareful zzlat comes with South Pole first 
    202   print, 'LAT from zalt field=', zzlat 
    203   if (dimzzilat ne dimlatlmdz) then begin 
    204     print , 'PB dimension latitude' 
    205   endif 
     158;--only exists for VLR, LR, MR and zoom_128x89 at the moment 
     159; 
     160filename='/bdd/input4MIPs/ZALT/zalt_zonmean_${lmdz}_rev.nc' 
     161NETCDFREAD,filename,'GEOP',zz,dimzz 
     162NETCDFREAD,filename,'LAT',zzlat,dimzzlat 
     163NETCDFREAD,filename,'TIME_COUNTER',zztime,dimzztime 
     164dimzzilat=dimzzlat[0] 
     165dimzzitime=dimzztime[0] 
     166;--becareful zz comes with four dimensions 
     167;--lon lat k time  
     168print, 'GEOP size=', size(zz) 
     169;--becareful zzlat comes with South Pole first 
     170print, 'LAT from zalt field=', zzlat 
     171if (dimzzilat ne dimlatlmdz) then begin 
     172  print , 'PB dimension latitude' 
    206173endif 
    207174; 
     
    578545cd $dirpwd 
    579546 
    580 module load idl 
    581  
    582547idl << eof 
    583548.r netcdf  
Note: See TracChangeset for help on using the changeset viewer.