Changeset 92


Ignore:
Timestamp:
08/23/11 14:29:57 (13 years ago)
Author:
pinsard
Message:

try to make progress with idl8; homogenize doc

Location:
trunk/src
Files:
12 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/d2m_to_q2m_erai.pro

    r91 r92  
    99; Conversion of d2m to q2m on OAFLUX grid 
    1010; 
    11 ; :file:`${PROJECT_OD}/erai_d2m_19890101_20091231_oafluxgrid.nc` have been  
    12 ; produced by :ref:`interp_erai_dewt_1989_2009.pro`. 
    13 ; 
    14 ; :file:`${PROJECT_OD}/erai_t2m_19890101_20091231_oafluxgrid.nc` have been  
    15 ; produced by :ref:`interp_erai_t2m_1989_2009.pro`. 
    16 ; 
    17 ; :file:`${PROJECT_OD}/erai_msl_19890101_20091231_oafluxgrid.nc` have been  
     11; :file:`${PROJECT_OD}/erai_d2m_19890101_20091231_oafluxgrid.nc` 
     12; containing 
     13; ++ 
     14; has been produced by 
     15; :ref:`interp_erai_dewt_1989_2009.pro`. 
     16; 
     17; :file:`${PROJECT_OD}/erai_t2m_19890101_20091231_oafluxgrid.nc` 
     18; containing 
     19; ++ 
     20; has been produced by 
     21; :ref:`interp_erai_t2m_1989_2009.pro`. 
     22; 
     23; :file:`${PROJECT_OD}/erai_msl_19890101_20091231_oafluxgrid.nc` 
     24; containing 
     25; ++ 
     26; has been 
    1827; produced by :ref:`interp_erai_msl_1989_2009.pro`. 
    1928; 
    20 ; q2m on OAFLUX grid is written in 
     29; q2m on OAFLUX grid 
     30; is written in 
    2131; :file:`${PROJECT_OD}/erai_q2m_19890101_20091231_oafluxgrid.nc` 
    2232; if this file not already exists. 
    2333; 
    24 ; This file will be used by :ref:`q2m_correction_ncdf.pro`. 
     34; This file 
     35; :file:`${PROJECT_OD}/erai_q2m_19890101_20091231_oafluxgrid.nc` 
     36; will be used by :ref:`q2m_correction_ncdf.pro`. 
     37; 
     38; .. only:: man 
     39; 
     40;    Figure is visible on PDF and HTML documents only. 
     41; 
     42; .. only:: html or latex 
    2543; 
    2644;     .. graphviz:: 
     
    4563; ======== 
    4664; 
     65; :ref:`mooring_corrections` 
     66; 
    4767; [Gill:AP:1982]_ 
    4868; 
     
    5070; 
    5171; :ref:`project_profile.sh` 
    52 ; 
    53 ; :ref:`mooring_corrections` 
    5472; 
    5573; :ref:`interp_erai_dewt_1989_2009.pro` 
     
    94112; 
    95113; $Id$ 
    96 ;  
     114; 
    97115; $URL$ 
    98116; 
     
    174192; 
    175193; check if this file exists 
     194msg='iii : looking for ' + filename_d2m 
     195ras = report(msg) 
    176196fullfilename_d2m = isafile(iodirout + filename_d2m, NEW=0, /MUST_EXIST) 
    177197IF fullfilename_d2m[0] EQ '' THEN BEGIN 
     
    185205; 
    186206; check if this file exists 
     207msg='iii : looking for ' + filename_t2m 
     208ras = report(msg) 
    187209fullfilename_t2m = isafile(iodirout + filename_t2m, NEW=0, /MUST_EXIST) 
    188210IF fullfilename_t2m[0] EQ '' THEN BEGIN 
     
    196218; 
    197219; check if this file exists 
     220msg='iii : looking for ' + filename_msl 
     221ras = report(msg) 
    198222fullfilename_msl = isafile(iodirout + filename_msl, NEW=0, /MUST_EXIST) 
    199223IF fullfilename_msl[0] EQ '' THEN BEGIN 
     
    239263P=read_ncdf("msl", d1, d2, file=fullfilename_msl,/nostr) 
    240264help, P 
    241 ; ++ for debug ftp error  
     265; ++ for debug ftp error 
    242266; ++print,P(0:1,0,0) 
    243267; ++stop 
  • trunk/src/interp_erai_dewt_1989_2009.pro

    r91 r92  
    1212; Interpolation of d2 from ERA-I grid to OAFLUX grid 
    1313; 
    14 ; :file:`${PROJECT_ID}/20c3m_erai_d2_TROP_1989_2009.nc` containing d2 from ERA-I have been produced 
    15 ; by :ref:`compute_erai_daily_region_2d.sh`. 
    16 ; 
    17 ; :file:`${PROJECT_ID}/mask_oaflux_30N30S.nc` containing OAFLUX grid have been produced by :ref:`oaflux_mask_30N30S.pro`. 
    18 ; 
    19 ; Interpolated d2 is written in 
    20 ; :file:`${PROJECT_OD}/erai_d2m_19890101_20091231_oafluxgrid.nc` if this file not already exists. 
    21 ; 
    22 ; This output file :file:`${PROJECT_OD}/erai_d2m_19890101_20091231_oafluxgrid.nc` must be processed after by :ref:`d2m_to_q2m_erai.pro`. 
     14; :file:`${PROJECT_ID}/20c3m_erai_d2_TROP_1989_2009.nc` 
     15; containing 
     16; d2 from ERA-I 
     17; have been produced by 
     18; :ref:`compute_erai_daily_region_2d.sh`. 
     19; 
     20; :file:`${PROJECT_ID}/mask_oaflux_30N30S.nc` 
     21; containing OAFLUX grid 
     22; have been produced by 
     23; :ref:`oaflux_mask_30N30S.pro`. 
     24; 
     25; Interpolated d2 
     26; is written in 
     27; :file:`${PROJECT_OD}/erai_d2m_19890101_20091231_oafluxgrid.nc` 
     28; if this file not already exists. 
     29; 
     30; This output file 
     31; :file:`${PROJECT_OD}/erai_d2m_19890101_20091231_oafluxgrid.nc` 
     32; must be processed after by 
     33; :ref:`d2m_to_q2m_erai.pro`. 
     34; 
     35; .. only:: man 
     36; 
     37;    Figure is visible on PDF and HTML documents only. 
     38; 
     39; .. only:: html or latex 
    2340; 
    2441;     .. graphviz:: 
     
    4259; SEE ALSO 
    4360; ======== 
     61; 
     62; :ref:`interpolate_data` 
    4463; 
    4564; :ref:`project_profile.sh` 
     
    6988; make it work : pb on loholt1 idl8:: 
    7089; 
     90; reach end but bad values (all NaN) :: 
     91;   $ ncks -v d2m -d time,0,1 -d latitude,0,1 -d longitude,0,1 \ 
     92;     $PROJECT_ID/erai_d2m_19890101_200 1231_oafluxgrid.nc 
     93;     time[0]=14245.5 latitude[0]=-29.5 longitude[0]=30.5 d2m[0]=9.96921e+36 degK 
     94;     time[0]=14245.5 latitude[0]=-29.5 longitude[1]=31.5 d2m[1]=9.96921e+36 degK 
     95;     time[0]=14245.5 latitude[1]=-28.5 longitude[0]=30.5 d2m[350]=9.96921e+36 degK 
     96;     time[0]=14245.5 latitude[1]=-28.5 longitude[1]=31.5 d2m[351]=9.96921e+36 degK 
     97;     time[1]=14246.5 latitude[0]=-29.5 longitude[0]=30.5 d2m[21000]=9.96921e+36 degK 
     98;     time[1]=14246.5 latitude[0]=-29.5 longitude[1]=31.5 d2m[21001]=9.96921e+36 degK 
     99;     time[1]=14246.5 latitude[1]=-28.5 longitude[0]=30.5 d2m[21350]=9.96921e+36 degK 
     100;     time[1]=14246.5 latitude[1]=-28.5 longitude[1]=31.5 d2m[21351]=9.96921e+36 degK 
     101 
     102;     latitude[0]=-29.5 degrees_north 
     103;     latitude[1]=-28.5 degrees_north 
     104; 
     105;     longitude[0]=30.5 degrees_east 
     106;     longitude[1]=31.5 degrees_east 
     107 
     108;     time[0]=14245.5 days since 1950-01-01 00:00:00 
     109;     time[1]=14246.5 days since 1950-01-01 00:00:00 
     110; 
    71111;   d2m[longitude,latitude,time]=d2mout:d2m_attr; longitude[]=lon:lon_attr; latitude[]=lat:lat_attr; time[*time]=timein:time_attr  @ globattr 
    72112;   % NCDF_DIMDEF: 0 is not a valid cdfid. 
     
    82122;     /home/pinsard/tropflux_ws/src/interp_erai_dewt_1989_2009.pro 
    83123; 
     124; no such trouble on idl64 on cratos  
     125; 
    84126; check OUTMASK_IND and SET_OUTMSKVAL added to call_interp2d call 
    85127; 
     
    100142; 
    101143; $URL: svn+ssh://pinsard@forge.ipsl.jussieu.fr/ipsl/forge/projets/tropflux/svn/trunk/src/interp_erai_dewt_1989_2009.pro $ 
     144; 
     145; - pinsard 2011-08-23T09:09:16Z loholt1.ipsl.polytechnique.fr (Linux) 
     146; 
     147;   * retry on loholt1 with idl8 and idl6 
    102148; 
    103149; - fplod 20110808T094156Z cratos (Linux) 
     
    162208; 
    163209; check if this file exists 
     210msg='iii : looking for ' + filename_msk 
     211ras = report(msg) 
    164212fullfilename_msk = isafile(iodirin + filename_msk, NEW=0, /MUST_EXIST) 
    165213IF fullfilename_msk[0] EQ '' THEN BEGIN 
     
    173221; 
    174222; check if this file exists 
     223msg='iii : looking for ' + filename 
     224ras = report(msg) 
    175225fullfilename = isafile(iodirin + filename, NEW=0, /MUST_EXIST) 
    176226IF fullfilename[0] EQ '' THEN BEGIN 
     
    236286d2mout=fltarr(jpi,jpj,jptin) 
    237287for jt=0,jptin-1 do begin 
    238   print, 'Interpolation jt=',jt,' / ',jptin-1 
     288  ; ++ print, 'Interpolation jt=',jt,' / ',jptin-1 
    239289  tab=reform(d2min(*,*,jt)) 
    240290  d2mout(*,*,jt)=call_interp2d(tab,lonin,latin,mskin $ 
  • trunk/src/interp_erai_lwr_1989_2009.pro

    r91 r92  
    2929; :file:`${PROJECT_OD}/erai_lwr_19890102_20091231_oafluxgrid.nc`  
    3030; must be processed after by :ref:`add_198900101.sh`. 
     31; 
     32; .. only:: man 
     33; 
     34;    Figure is visible on PDF and HTML documents only. 
     35; 
     36; .. only:: html or latex 
    3137; 
    3238;     .. graphviz:: 
     
    5056; SEE ALSO 
    5157; ======== 
     58; 
     59; :ref:`interpolate_data` 
    5260; 
    5361; :ref:`project_profile.sh` 
     
    7785; make it work : pb on loholt1 idl8:: 
    7886; 
    79 ;  OUTMASK_IND     UNDEFINED = <Undefined> 
    80 ;  SET_OUTMSKVAL   UNDEFINED = <Undefined> 
    81  
    8287;  lwr[longitude,latitude,time]=lwrout:lwr_attr; longitude[]=xlon:lon_attr; latitude[]=ylat:lat_attr; tt[*time]=tt:time_attr  @ globattr 
    8388;  % NCDF_DIMDEF: 0 is not a valid cdfid. 
     
    8792; make it work : pb on loholt1 idl6:: 
    8893; 
    89 ;   OUTMASK_IND     UNDEFINED = <Undefined> 
    90 ;   SET_OUTMSKVAL   UNDEFINED = <Undefined> 
    9194;   lwr[longitude,latitude,time]=lwrout:lwr_attr; longitude[]=xlon:lon_attr; latitude[]=ylat:lat_attr; tt[*time]=tt:time_attr  @ globattr 
    9295;   % NCDF_VARPUT: Operation Failed, bad file (4) or variable (0) id ? 
     
    118121; 
    119122; $URL: svn+ssh://pinsard@forge.ipsl.jussieu.fr/ipsl/forge/projets/tropflux/svn/trunk/src/interp_erai_lwr_1989_2009.pro $ 
     123; 
     124; - pinsard 2011-08-23T09:09:16Z loholt1.ipsl.polytechnique.fr (Linux) 
     125; 
     126;   * retry on loholt1 with idl8 and idl6 
    120127; 
    121128; - fplod 20110819T084310Z aedon.locean-ipsl.upmc.fr (Darwin) 
     
    195202; 
    196203; check if this file exists 
     204msg='iii : looking for ' + filename_msk 
     205ras = report(msg) 
    197206fullfilename_msk = isafile(iodirin + filename_msk, NEW=0, /MUST_EXIST) 
    198207IF fullfilename_msk[0] EQ '' THEN BEGIN 
     
    208217; 
    209218; check if this file exists 
     219msg='iii : looking for ' + filename 
     220ras = report(msg) 
    210221fullfilename = isafile(iodirin + filename, NEW=0, /MUST_EXIST) 
    211222IF fullfilename[0] EQ '' THEN BEGIN 
     
    273284 
    274285for jt=0,jptin-1 do begin 
    275   print, 'Interpolation jt=',jt,' / ',jptin-1 
     286  ; ++print, 'Interpolation jt=',jt,' / ',jptin-1 
    276287 
    277288  tab=reform(lwrin(*,*,jt)) 
  • trunk/src/interp_erai_msl_1989_2009.pro

    r91 r92  
    1212; Interpolation of msl from ERA-I grid to OAFLUX grid 
    1313; 
    14 ; :file:`${PROJECT_ID}/20c3m_erai_msl_TROP_1989_2009.nc` containing msl from ERA-I have been produced 
    15 ; by :ref:`compute_erai_daily_region_2d.sh`. 
    16 ; 
    17 ; :file:`${PROJECT_ID}/mask_oaflux_30N30S.nc` containing OAFLUX grid have been produced by :ref:`oaflux_mask_30N30S.pro`. 
    18 ; 
    19 ; Interpolated msl is written in 
    20 ; :file:`${PROJECT_OD}/erai_msl_19890101_20091231_oafluxgrid.nc` if this file not already exists. 
    21 ; 
    22 ; This output file :file:`${PROJECT_OD}/erai_msl_19890101_20091231_oafluxgrid.nc` must be processed after by :ref:`d2m_to_q2m_erai.pro`. 
    23 ; 
     14; :file:`${PROJECT_ID}/20c3m_erai_msl_TROP_1989_2009.nc` 
     15; containing 
     16; msl from ERA-I 
     17; have been produced by 
     18; :ref:`compute_erai_daily_region_2d.sh`. 
     19; 
     20; :file:`${PROJECT_ID}/mask_oaflux_30N30S.nc` 
     21; containing 
     22; OAFLUX grid 
     23; have been produced by 
     24; :ref:`oaflux_mask_30N30S.pro`. 
     25; 
     26; Interpolated msl 
     27; is written in 
     28; :file:`${PROJECT_OD}/erai_msl_19890101_20091231_oafluxgrid.nc` 
     29; if this file not already exists. 
     30; 
     31; This output file 
     32; :file:`${PROJECT_OD}/erai_msl_19890101_20091231_oafluxgrid.nc` 
     33; must be processed after by 
     34; :ref:`d2m_to_q2m_erai.pro`. 
     35; 
     36; .. only:: man 
     37; 
     38;    Figure is visible on PDF and HTML documents only. 
     39; 
     40; .. only:: html or latex 
    2441; 
    2542;     .. graphviz:: 
     
    4461; ======== 
    4562; 
     63; :ref:`interpolate_data` 
     64; 
    4665; :ref:`project_profile.sh` 
    47 ; 
    48 ; :ref:`interpolate_data` 
    4966; 
    5067; :func:`report <saxo:report>` 
     
    7087; ==== 
    7188; 
     89; make it work loholt1 idl8:: 
     90; 
     91;    msl[longitude,latitude,time]=mslout:msl_attr; longitude[]=lon:lon_attr; latitude[]=lat:lat_attr; time[*time]=timein:time_attr  @ globattr 
     92;    % NCDF_VARPUT: Operation Failed, bad file (6) or variable (0) id ? 
     93;                   (NC_ERROR=-31) 
     94;    % Stop encountered: INTERP_ERAI_MSL_1989_2009    1 
     95;      /home/pinsard/tropflux_ws/src/interp_erai_msl_1989_2009.pro 
     96;     
     97; use real output of :ref:`compute_erai_daily_region_2d.sh`. 
     98; 
    7299; msl_attr={units:'milibars' .. millibar at least, hPa will be probably 
    73100; more SI 
     
    89116; 
    90117; $URL$ 
     118; 
     119; - pinsard 2011-08-23T09:09:16Z loholt1.ipsl.polytechnique.fr (Linux) 
     120; 
     121;   * retry on loholt1 with idl8 and idl6 
    91122; 
    92123; - fplod 20110811T113646Z aedon.locean-ipsl.upmc.fr (Darwin) 
     
    235266mslout=fltarr(jpi,jpj,jptin) 
    236267for jt=0,jptin-1 do begin 
    237   print, 'Interpolation jt=',jt,' / ',jptin-1 
     268  ; ++ print, 'Interpolation jt=',jt,' / ',jptin-1 
    238269  tab=reform(mslin(*,*,jt)) 
    239270  mslout(*,*,jt)=call_interp2d(tab,lonin,latin,mskin $ 
  • trunk/src/interp_erai_sst_1989_2009.pro

    r91 r92  
    1212; Interpolation of sst from ERA-I grid to OAFLUX grid 
    1313; 
    14 ; :file:`${PROJECT_ID}/20c3m_erai_sstk_TROP_1989_2009.nc` containing sst from ERA-I have been produced 
    15 ; by :ref:`compute_erai_daily_region_2d.sh`. 
    16 ; 
    17 ; :file:`${PROJECT_ID}/mask_oaflux_30N30S.nc` containing OAFLUX grid have been produced by :ref:`oaflux_mask_30N30S.pro`. 
    18 ; 
    19 ; Interpolated sst is written in 
    20 ; :file:`${PROJECT_OD}/erai_sst_19890101_20091231_oafluxgrid.nc` if this file not already exists. 
    21 ; 
    22 ; This output file :file:`${PROJECT_OD}/erai_sst_19890101_20091231_oafluxgrid.nc` must be processed after by :ref:`sst_correction_ncdf.pro`. 
    23 ; 
     14; :file:`${PROJECT_ID}/20c3m_erai_sstk_TROP_1989_2009.nc` 
     15; containing sst from ERA-I 
     16; have been produced by 
     17; :ref:`compute_erai_daily_region_2d.sh`. 
     18; 
     19; :file:`${PROJECT_ID}/mask_oaflux_30N30S.nc` 
     20; containing 
     21; OAFLUX grid 
     22; have been produced by 
     23; :ref:`oaflux_mask_30N30S.pro`. 
     24; 
     25; Interpolated sst 
     26; is written in 
     27; :file:`${PROJECT_OD}/erai_sst_19890101_20091231_oafluxgrid.nc` 
     28; if this file not already exists. 
     29; 
     30; This output file 
     31; :file:`${PROJECT_OD}/erai_sst_19890101_20091231_oafluxgrid.nc` 
     32; must be processed after by 
     33; :ref:`sst_correction_ncdf.pro`. 
     34; 
     35; .. only:: man 
     36; 
     37;    Figure is visible on PDF and HTML documents only. 
     38; 
     39; .. only:: html or latex 
    2440; 
    2541;     .. graphviz:: 
     
    4359; SEE ALSO 
    4460; ======== 
     61; 
     62; :ref:`interpolate_data` 
    4563; 
    4664; :ref:`project_profile.sh` 
     
    7290; make it work : pb on loholt1 idl8:: 
    7391; 
    74 ;  sst[longitude,latitude,time]=sstkout:sstk_attr; longitude[]=lon:lon_attr; latitude[]=lat:lat_attr; time[*time]=timein:time_attr  @ globattr 
    75 ;  % NCDF_DIMDEF: 0 is not a valid cdfid. 
    76 ;  % Stop encountered: INTERP_ERAI_SST_1989_2009    1 
    77 ;     /home/pinsard/tropflux_ws/src/interp_erai_sst_1989_2009.pro 
     92;    sst[longitude,latitude,time]=sstkout:sstk_attr; longitude[]=lon:lon_attr; latitude[]=lat:lat_attr; time[*time]=timein:time_attr  @ globattr 
     93;    % NCDF_VARPUT: Operation Failed, bad file (7) or variable (0) id ? 
     94;                   (NC_ERROR=-31) 
     95;    % Stop encountered: INTERP_ERAI_SST_1989_2009    1 
     96;      /home/pinsard/tropflux_ws/src/interp_erai_sst_1989_2009.pro 
    7897; 
    7998; but ok on loholt1 idl6 
     
    97116; 
    98117; $URL: svn+ssh://pinsard@forge.ipsl.jussieu.fr/ipsl/forge/projets/tropflux/svn/trunk/src/interp_erai_sst_1989_2009.pro $ 
     118; 
     119; - pinsard 2011-08-23T09:09:16Z loholt1.ipsl.polytechnique.fr (Linux) 
     120; 
     121;   * retry on loholt1 with idl8 and idl6 
    99122; 
    100123; - fplod 20110808T094156Z cratos (Linux) 
     
    159182; 
    160183; check if this file exists 
     184msg='iii : looking for ' + filename_msk 
     185ras = report(msg) 
    161186fullfilename_msk = isafile(iodirin + filename_msk, NEW=0, /MUST_EXIST) 
    162187IF fullfilename_msk[0] EQ '' THEN BEGIN 
     
    170195; 
    171196; check if this file exists 
     197msg='iii : looking for ' + filename 
     198ras = report(msg) 
    172199fullfilename = isafile(iodirin + filename, NEW=0, /MUST_EXIST) 
    173200IF fullfilename[0] EQ '' THEN BEGIN 
     
    234261sstkout=fltarr(jpi,jpj,jptin) 
    235262for jt=0,jptin-1 do begin 
    236   print, 'Interpolation jt=',jt,' / ',jptin-1 
     263  ; ++print, 'Interpolation jt=',jt,' / ',jptin-1 
    237264  tab=reform(sstkin(*,*,jt)) 
    238265  sstkout(*,*,jt)=call_interp2d(tab,lonin,latin,mskin $ 
  • trunk/src/interp_erai_t2m_1989_2009.pro

    r91 r92  
    1212; Interpolation of t2 from ERA-I grid to OAFLUX grid 
    1313; 
    14 ; :file:`${PROJECT_ID}/20c3m_erai_t2_TROP_1989_2009.nc` containing t2 from ERA-I have been produced 
    15 ; by :ref:`compute_erai_daily_region_2d.sh`. 
    16 ; 
    17 ; :file:`${PROJECT_ID}/mask_oaflux_30N30S.nc` containing OAFLUX grid have been produced by :ref:`oaflux_mask_30N30S.pro`. 
    18 ; 
    19 ; Interpolated t2 is written in 
    20 ; :file:`${PROJECT_OD}/erai_t2m_19890101_20091231_oafluxgrid.nc` if this file not already exists. 
    21 ; 
    22 ; This output file :file:`${PROJECT_OD}/erai_t2m_19890101_20091231_oafluxgrid.nc` must be processed after by :ref:`t2m_correction_ncdf.pro`. 
     14; :file:`${PROJECT_ID}/20c3m_erai_t2_TROP_1989_2009.nc` 
     15; containing 
     16; t2 from ERA-I 
     17; have been produced by 
     18; :ref:`compute_erai_daily_region_2d.sh`. 
     19; 
     20; :file:`${PROJECT_ID}/mask_oaflux_30N30S.nc` 
     21; containing OAFLUX grid 
     22; have been produced by 
     23; :ref:`oaflux_mask_30N30S.pro`. 
     24; 
     25; Interpolated t2 
     26; is written in 
     27; :file:`${PROJECT_OD}/erai_t2m_19890101_20091231_oafluxgrid.nc` 
     28; if this file not already exists. 
     29; 
     30; This output file 
     31; :file:`${PROJECT_OD}/erai_t2m_19890101_20091231_oafluxgrid.nc` 
     32; must be processed after by 
     33; :ref:`t2m_correction_ncdf.pro`. 
     34; 
     35; .. only:: man 
     36; 
     37;    Figure is visible on PDF and HTML documents only. 
     38; 
     39; .. only:: html or latex 
    2340; 
    2441;     .. graphviz:: 
     
    7794; make it work : pb on loholt1 idl8:: 
    7895; 
    79 ;  t2m[longitude,latitude,*time]=t2mout:t2m_attr; longitude[]=lon:lon_attr; latitude[]=lat:lat_attr; time[]=timein:time_attr  @globattr 
    80 ;  % NCDF_DIMDEF: 0 is not a valid cdfid. 
    81 ;  % Stop encountered: INTERP_ERAI_T2M_1989_2009    1 
    82 ;     /home/pinsard/tropflux_ws/src/interp_erai_t2m_1989_2009.pro 
    83 ; 
    84 ; loholt1 idl6 : end without error but looking with ncview all brown !  
     96;    t2m[longitude,latitude,*time]=t2mout:t2m_attr; longitude[]=lon:lon_attr; latitude[]=lat:lat_attr; time[]=timein:time_attr  @globattr 
     97;    % NCDF_VARPUT: Operation Failed, bad file (8) or variable (0) id ? 
     98;                   (NC_ERROR=-31) 
     99;    % Stop encountered: INTERP_ERAI_T2M_1989_2009    1 
     100;      /home/pinsard/tropflux_ws/src/interp_erai_t2m_1989_2009.pro 
     101; 
     102; loholt1 idl6 : end without error but looking with ncview all brown ! 
    85103; 
    86104; strange view (lat and lon shift with ncview) : check grid init 
     
    119137; 
    120138; $URL: svn+ssh://pinsard@forge.ipsl.jussieu.fr/ipsl/forge/projets/tropflux/svn/trunk/src/interp_erai_t2m_1989_2009.pro $ 
     139; 
     140; - pinsard 2011-08-23T09:09:16Z loholt1.ipsl.polytechnique.fr (Linux) 
     141; 
     142;   * retry on loholt1 with idl8 and idl6 
    121143; 
    122144; - pinsard 2011-08-08T16:11:48Z loholt1.ipsl.polytechnique.fr (Linux) 
     
    215237; 
    216238; check if this file exists 
     239msg='iii : looking for ' + filename_msk 
     240ras = report(msg) 
    217241fullfilename_msk = isafile(iodirin + filename_msk, NEW=0, /MUST_EXIST) 
    218242IF fullfilename_msk[0] EQ '' THEN BEGIN 
     
    226250; 
    227251; check if this file exists 
     252msg='iii : looking for ' + filename_t2 
     253ras = report(msg) 
    228254fullfilename_t2 = isafile(iodirin + filename_t2, NEW=0, /MUST_EXIST) 
    229255IF fullfilename_t2[0] EQ '' THEN BEGIN 
  • trunk/src/interp_erai_ws_1989_2009.pro

    r91 r92  
    1212; Interpolation of u10 and v10 from ERA-I grid to OAFLUX grid 
    1313; 
    14 ; :file:`${PROJECT_ID}/20c3m_erai_u10_TROP_1989_2009.nc` containing u10 from ERA-I have been produced 
    15 ; by :ref:`compute_erai_daily_region_2d.sh`. 
    16 ; 
    17 ; :file:`${PROJECT_ID}/20c3m_erai_v10_TROP_1989_2009.nc` containing u10 from ERA-I have been produced 
    18 ; 
    19 ; :file:`${PROJECT_ID}/mask_oaflux_30N30S.nc` containing OAFLUX grid have been produced by :ref:`oaflux_mask_30N30S.pro`. 
    20 ; 
    21 ; Interpolated u10 and v10 is written in 
    22 ; :file:`${PROJECT_OD}/erai_ws_19890101_20091231_oafluxgrid.nc` if this file not already exists. 
    23 ; 
    24 ; This output file :file:`${PROJECT_OD}/erai_ws_19890101_20091231_oafluxgrid.nc` must be processed after by :ref:`ws_correction_ncdf.pro`. 
     14; :file:`${PROJECT_ID}/20c3m_erai_u10_TROP_1989_2009.nc` 
     15; containing 
     16; u10 from ERA-I 
     17; have been produced by 
     18; :ref:`compute_erai_daily_region_2d.sh`. 
     19; 
     20; :file:`${PROJECT_ID}/20c3m_erai_v10_TROP_1989_2009.nc` 
     21; containing 
     22; v10 from ERA-I 
     23; have been produced by 
     24; :ref:`compute_erai_daily_region_2d.sh`. 
     25; 
     26; :file:`${PROJECT_ID}/mask_oaflux_30N30S.nc` 
     27; containing OAFLUX grid 
     28; have been produced by 
     29; :ref:`oaflux_mask_30N30S.pro`. 
     30; 
     31; Interpolated u10 and v10 are written in 
     32; :file:`${PROJECT_OD}/erai_ws_19890101_20091231_oafluxgrid.nc` 
     33; if this file not already exists. 
     34; 
     35; This output file 
     36; :file:`${PROJECT_OD}/erai_ws_19890101_20091231_oafluxgrid.nc` 
     37; must be processed after by 
     38; :ref:`ws_correction_ncdf.pro`. 
     39; 
     40; .. only:: man 
     41; 
     42;    Figure is visible on PDF and HTML documents only. 
     43; 
     44; .. only:: html or latex 
    2545; 
    2646;     .. graphviz:: 
     
    4565; SEE ALSO 
    4666; ======== 
     67; 
     68; :ref:`interpolate_data` 
    4769; 
    4870; :ref:`project_profile.sh` 
     
    7294; make it work : pb on loholt1 idl8:: 
    7395; 
    74 ;  Writing fields:  
    75 ;  u10[longitude,latitude,time]=u10out:u10_attr; v10[longitude,latitude,time]=v10out:v10_attr; longitude[]=xlon:lon_attr; latitude[]=ylat:lat_attr; tt[*time]=tt:time_attr  @ globattr 
    76 ;  % NCDF_DIMDEF: 0 is not a valid cdfid. 
    77 ;  % Stop encountered: INTERP_ERAI_WS_1989_2009    1 
    78 ;     /home/pinsard/tropflux_ws/src/interp_erai_ws_1989_2009.pro 
     96;    Writing fields:  
     97;    u10[longitude,latitude,time]=u10out:u10_attr; v10[longitude,latitude,time]=v10out:v10_attr; longitude[]=xlon:lon_attr; latitude[]=ylat:lat_attr; tt[*time]=tt:time_attr  @ globattr 
     98;    % NCDF_VARPUT: Operation Failed, bad file (9) or variable (0) id ? 
     99;                   (NC_ERROR=-31) 
     100;    % Stop encountered: INTERP_ERAI_WS_1989_2009    1 
     101;      /home/pinsard/tropflux_ws/src/interp_erai_ws_1989_2009.pro 
    79102; 
    80103; make it work : pb on loholt1 idl6:: 
    81104; 
    82 ;   Writing fields:  
     105;   Writing fields: 
    83106;   u10[longitude,latitude,time]=u10out:u10_attr; v10[longitude,latitude,time]=v10out:v10_attr; longitude[]=xlon:lon_attr; latitude[]=ylat:lat_attr; tt[*time]=tt:time_attr  @ globattr 
    84107;   % NCDF_VARPUT: Operation Failed, bad file (6) or variable (0) id ? 
     
    104127; 
    105128; $URL: svn+ssh://pinsard@forge.ipsl.jussieu.fr/ipsl/forge/projets/tropflux/svn/trunk/src/interp_erai_ws_1989_2009.pro $ 
     129; 
     130; - pinsard 2011-08-23T09:09:16Z loholt1.ipsl.polytechnique.fr (Linux) 
     131; 
     132;   * retry on loholt1 with idl8 and idl6 
    106133; 
    107134; - fplod 20110808T094156Z cratos (Linux) 
     
    166193; 
    167194; check if this file exists 
     195msg='iii : looking for ' + filename_msk 
     196ras = report(msg) 
    168197fullfilename_msk = isafile(iodirin + filename_msk, NEW=0, /MUST_EXIST) 
    169198IF fullfilename_msk[0] EQ '' THEN BEGIN 
     
    179208; 
    180209; check if this file exists 
     210msg='iii : looking for ' + filename 
     211ras = report(msg) 
    181212fullfilename = isafile(iodirin + filename, NEW=0, /MUST_EXIST) 
    182213IF fullfilename[0] EQ '' THEN BEGIN 
     
    226257; 
    227258; check if this file exists 
     259msg='iii : looking for ' + filename 
     260ras = report(msg) 
    228261fullfilename = isafile(iodirin + filename, NEW=0, /MUST_EXIST) 
    229262IF fullfilename[0] EQ '' THEN BEGIN 
     
    259292 
    260293for jt=0,jptin-1 do begin 
    261   print, 'Interpolation jt=',jt,' / ',jptin-1 
     294  ; ++print, 'Interpolation jt=',jt,' / ',jptin-1 
    262295  tab=reform(u10in(*,*,jt)) 
    263296  u10out(*,*,jt)=call_interp2d(tab,lonin,latin,mskin $ 
     
    293326u10_attr={units:'m/s',missing_value:valmask,long_name:'10 metre u wind component',short_name:'u10',axis:'TYX'} 
    294327v10_attr={units:'m/s',missing_value:valmask,long_name:'10 metre v wind component',short_name:'v10',axis:'TYX'} 
    295 time_attr={units:'days since 1950-01-01 00:00:00',long_name:'Time axis',time_origin:' 1950-JAN-01 00:00:00'} 
    296328globattr={source:'Tropical ocean winds obtained from ERA Interim',timerange:cda0+' - '+cda1} 
    297329 
  • trunk/src/lwr_correction_ncdf.pro

    r90 r92  
    99; Correction of lwr on OAFLUX grid 
    1010; 
    11 ; :file:`${PROJECT_OD}/erai_lwr_19890101_20091231_oafluxgrid.nc`  
     11; :file:`${PROJECT_OD}/erai_lwr_19890101_20091231_oafluxgrid.nc` 
    1212; containing 
    1313; ++ 
    14 ; have been produced by  
     14; have been produced by 
    1515; :ref:`add_19890101.sh`. 
    1616; 
    17 ; Corrected lwr on OAFLUX grid  
     17; Corrected lwr on OAFLUX grid 
    1818; is written in 
    1919; :file:`${PROJECT_OD}/TropFlux_lwr_19890101_20091231.nc` 
    2020; if this file not already exists. 
    2121; 
    22 ; This file will be used by :ref:`TropFlux_19890101_20091231.pro`. 
     22; This output file 
     23; :file:`${PROJECT_OD}/TropFlux_lwr_19890101_20091231.nc` 
     24; will be used by :ref:`TropFlux_19890101_20091231.pro`. 
     25; 
     26; .. only:: man 
     27; 
     28;    Figure is visible on PDF and HTML documents only. 
     29; 
     30; .. only:: html or latex 
    2331; 
    2432;     .. graphviz:: 
     
    156164; 
    157165; check if this file exists 
     166msg='iii : looking for ' + filename 
     167ras = report(msg) 
    158168fullfilename = isafile(iodirout + filename, NEW=0, /MUST_EXIST) 
    159169IF fullfilename[0] EQ '' THEN BEGIN 
  • trunk/src/q2m_correction_ncdf.pro

    r90 r92  
    1212; Correction of q2m on OAFLUX grid 
    1313; 
    14 ; :file:`${PROJECT_OD}/erai_q2m_19890101_20091231_oafluxgrid.nc` have been 
    15 ; produced by :ref:`d2m_to_q2m_erai.pro`. 
    16 ; 
    17 ; Corrected q2m on OAFLUX grid is written in 
     14; :file:`${PROJECT_OD}/erai_q2m_19890101_20091231_oafluxgrid.nc` 
     15; containing 
     16; ++ 
     17; has been produced by 
     18; :ref:`d2m_to_q2m_erai.pro`. 
     19; 
     20; Corrected q2m on OAFLUX grid 
     21; is written in 
    1822; :file:`${PROJECT_OD}/TropFlux_q2m_19890101_20091231.nc` 
    1923; if this file not already exists. 
    2024; 
    2125; This file will be used by :ref:`TropFlux_19890101_20091231.pro`. 
     26; 
     27; .. only:: man 
     28; 
     29;    Figure is visible on PDF and HTML documents only. 
     30; 
     31; .. only:: html or latex 
    2232; 
    2333;     .. graphviz:: 
     
    6575; work on cratos idl7 even if NaNf values in erai_q2m_19890101_20091231_oafluxgrid.nc written by 
    6676; d2m_to_q2m.pro. 
    67 ;  
     77; 
    6878; No way ... NaNf also in this output !! 
    6979; 
  • trunk/src/sst_correction_ncdf.pro

    r91 r92  
    99; Correction of sst on OAFLUX grid 
    1010; 
    11 ; :file:`${PROJECT_OD}/erai_sst_19890101_20091231_oafluxgrid.nc` have been 
    12 ; produced by :ref:`interp_erai_sst_1989_2009.pro`. 
    13 ; 
    14 ; Corrected sst on OAFLUX grid is written in 
     11; :file:`${PROJECT_OD}/erai_sst_19890101_20091231_oafluxgrid.nc` 
     12; containing 
     13; ++ 
     14; has been produced by 
     15; :ref:`interp_erai_sst_1989_2009.pro`. 
     16; 
     17; Corrected sst on OAFLUX grid 
     18; is written in 
    1519; :file:`${PROJECT_OD}/TropFlux_sst_19890101_20091231.nc` 
    1620; if this file not already exists. 
    1721; 
    18 ; This file will be used by :ref:`cronin_gustiness_ncdf.pro` and  
     22; This output file 
     23; :file:`${PROJECT_OD}/TropFlux_sst_19890101_20091231.nc` 
     24; will be used by :ref:`cronin_gustiness_ncdf.pro` 
     25; and 
    1926; :ref:`TropFlux_19890101_20091231.pro`. 
     27; 
     28; .. only:: man 
     29; 
     30;    Figure is visible on PDF and HTML documents only. 
     31; 
     32; .. only:: html or latex 
    2033; 
    2134;     .. graphviz:: 
     
    6881;   9.9692100e+36   9.9692100e+36   9.9692100e+36   9.9692100e+36       2454616.5 
    6982;       2454617.5 
    70 ;  
     83; 
    7184; while :: 
    7285; 
    7386;   $ ncks -H -C -v time -d time,7080,7090 ${PROJECT_ID}/20c3m_erai_sstk_TROP_1989_2009.nc 
    74 ;   time[7080]=450432  
    75 ;   time[7081]=450456  
    76 ;   time[7082]=450480  
    77 ;   time[7083]=450504  
    78 ;   time[7084]=450528  
    79 ;   time[7085]=450552  
    80 ;   time[7086]=450576  
    81 ;   time[7087]=450600  
    82 ;   time[7088]=450624  
    83 ;   time[7089]=450648  
    84 ;   time[7090]=450672  
    85 ; 
    86 ; and  
    87 ;   ncks -H -C -v time -d time,7080,7090 ${PROJECT_OD}/erai_sst_19890101_20091231_oafluxgrid.nc  
    88 ;   time[7080]=21325  
    89 ;   time[7081]=21326  
    90 ;   time[7082]=21327  
    91 ;   time[7083]=9.96920996839e+36  
    92 ;   time[7084]=9.96920996839e+36  
    93 ;   time[7085]=9.96920996839e+36  
    94 ;   time[7086]=9.96920996839e+36  
    95 ;   time[7087]=9.96920996839e+36  
    96 ;   time[7088]=9.96920996839e+36  
    97 ;   time[7089]=21334  
    98 ;   time[7090]=21335  
    99 ;    
     87;   time[7080]=450432 
     88;   time[7081]=450456 
     89;   time[7082]=450480 
     90;   time[7083]=450504 
     91;   time[7084]=450528 
     92;   time[7085]=450552 
     93;   time[7086]=450576 
     94;   time[7087]=450600 
     95;   time[7088]=450624 
     96;   time[7089]=450648 
     97;   time[7090]=450672 
     98; 
     99; and 
     100;   ncks -H -C -v time -d time,7080,7090 ${PROJECT_OD}/erai_sst_19890101_20091231_oafluxgrid.nc 
     101;   time[7080]=21325 
     102;   time[7081]=21326 
     103;   time[7082]=21327 
     104;   time[7083]=9.96920996839e+36 
     105;   time[7084]=9.96920996839e+36 
     106;   time[7085]=9.96920996839e+36 
     107;   time[7086]=9.96920996839e+36 
     108;   time[7087]=9.96920996839e+36 
     109;   time[7088]=9.96920996839e+36 
     110;   time[7089]=21334 
     111;   time[7090]=21335 
     112; 
    100113; and :: 
    101114; 
    102115;   fplod@cratos$ ncks -H -C -v time -d time,7080,7090 ${PROJECT_OD}/erai_sst_19890101_20091231_oafluxgrid.nc 
    103 ;   time[7080]=21325  
    104 ;   time[7081]=21326  
    105 ;   time[7082]=21327  
    106 ;   time[7083]=21328  
    107 ;   time[7084]=21329  
    108 ;   time[7085]=21330  
    109 ;   time[7086]=21331  
    110 ;   time[7087]=21332  
    111 ;   time[7088]=21333  
    112 ;   time[7089]=21334  
    113 ;   time[7090]=21335  
     116;   time[7080]=21325 
     117;   time[7081]=21326 
     118;   time[7082]=21327 
     119;   time[7083]=21328 
     120;   time[7084]=21329 
     121;   time[7085]=21330 
     122;   time[7086]=21331 
     123;   time[7087]=21332 
     124;   time[7088]=21333 
     125;   time[7089]=21334 
     126;   time[7090]=21335 
    114127 
    115128; coding rules 
     
    195208; 
    196209; check if this file exists 
     210msg='iii : looking for ' + filename 
     211ras = report(msg) 
    197212fullfilename = isafile(iodirout + filename, NEW=0, /MUST_EXIST) 
    198213IF fullfilename[0] EQ '' THEN BEGIN 
     
    221236tt=time & jpt=n_elements(time) 
    222237caldat, time,mon,day,yea 
    223 ;  
     238; 
    224239; debug to understand some time value 9.9692100e+36 on idl 6 lohloht1 
    225240print, time[7080:7090] 
  • trunk/src/t2m_correction_ncdf.pro

    r90 r92  
    1111; 
    1212; :file:`${PROJECT_ID}/erai_t2m_19890101_20091231_oafluxgrid.nc` 
     13; containing 
     14; air temperature at 2 m height from ERA-I interpolated on OAFLUX grid 
    1315; has been produced by 
    1416; :ref:`interp_erai_t2m_1989_2009.pro`. 
    15 ; It contains air temperature at 2 m height from ERA-I interpolated on OAFLUX grid. 
    1617; 
    1718; Corrected air temperature at 2 m height 
     
    2021; if this file not already exists. 
    2122; 
    22 ; This file will be used by :ref:`TropFlux_19890101_20091231.pro`. 
     23; This output file 
     24; :file:`${PROJECT_OD}/TropFlux_t2m_19890101_20091231.nc` 
     25; will be used by :ref:`TropFlux_19890101_20091231.pro`. 
     26; 
     27; .. only:: man 
     28; 
     29;    Figure is visible on PDF and HTML documents only. 
     30; 
     31; .. only:: html or latex 
    2332; 
    2433;     .. graphviz:: 
     
    195204; 
    196205; check if this file exists 
     206msg='iii : looking for ' + filename_t2_uncor 
     207ras = report(msg) 
    197208fullfilename_t2_uncor = isafile(iodirout + filename_t2_uncor, NEW=0, /MUST_EXIST) 
    198209IF fullfilename_t2_uncor[0] EQ '' THEN BEGIN 
  • trunk/src/ws_correction_ncdf.pro

    r91 r92  
    99; Correction of ws on OAFLUX grid 
    1010; 
    11 ; :file:`${PROJECT_OD}/erai_ws_19890101_20091231_oafluxgrid.nc` have been 
    12 ; produced by :ref:`interp_erai_ws_1989_2009.pro`. 
     11; :file:`${PROJECT_OD}/erai_ws_19890101_20091231_oafluxgrid.nc` 
     12; containing 
     13; ++ 
     14; have been produced by 
     15; :ref:`interp_erai_ws_1989_2009.pro`. 
    1316; 
    1417; Corrected ws on OAFLUX grid is written in 
     
    1619; if this file not already exists. 
    1720; 
    18 ; This file will be used by :ref:`TropFlux_19890101_20091231.pro`. 
     21; This output file 
     22; :file:`${PROJECT_OD}/TropFlux_ws_19890101_20091231.nc` 
     23; will be used by :ref:`TropFlux_19890101_20091231.pro`. 
     24; 
     25; .. only:: man 
     26; 
     27;    Figure is visible on PDF and HTML documents only. 
     28; 
     29; .. only:: html or latex 
    1930; 
    2031;     .. graphviz:: 
     
    141152; 
    142153; check if this file exists 
     154msg='iii : looking for ' + filename 
     155ras = report(msg) 
    143156fullfilename = isafile(iodirout + filename, NEW=0, /MUST_EXIST) 
    144157IF fullfilename[0] EQ '' THEN BEGIN 
Note: See TracChangeset for help on using the changeset viewer.