Changeset 88 for trunk/src


Ignore:
Timestamp:
08/19/11 17:40:14 (13 years ago)
Author:
pinsard
Message:

progress on coare correction

Location:
trunk/src
Files:
1 added
22 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/TropFlux_19890101_20091231.pro

    • Property svn:keywords set to Id
    r85 r88  
    6363; 
    6464; net heat flux components are written 
    65 ; in :file:`${PROJECT_OD}/TropFlux_19890101_20091231.nc` 
     65; in :file:`${PROJECT_OD}/TropFlux_19890101_20091231_coarev3.nc` 
    6666; if this file not already exists. 
    6767; 
     68; This output file :file:`${PROJECT_OD}/TropFlux_19890101_20091231_coarev3.nc` 
     69; will be used by :ref:`TropFlux_NRT_ncdf.pro`. 
     70; 
    6871;     .. graphviz:: 
    6972; 
    7073;        digraph tropflux_19890101_20091231 { 
    71 ;           graph [ 
    72 ;           rankdir="LR", 
    73 ;           ] 
    7474; 
    7575;           mask [shape=ellipse,fontname=Courier,label="${PROJECT_ID}/mask_oaflux_30N30S.nc"]; 
     
    8282;           file_q2m [shape=ellipse,fontname=Courier,label="${PROJECT_OD}/TropFlux_q2m_19890101_20091231.nc"]; 
    8383; 
    84 ;           file_out[shape=ellipse,fontname=Courier,label="${PROJECT_OD}/TropFlux_19890101_20091231.nc"]; 
     84;           file_out[shape=ellipse,fontname=Courier,label="${PROJECT_OD}/TropFlux_19890101_20091231_coarev3.nc"]; 
    8585; 
    8686;           tropflux_19890101_20091231 [shape=box, 
     
    109109; :func:`ncdf_quickwrite <saxo:ncdf_quickwrite>` 
    110110; 
     111; :func:`qsee` 
     112; :func:`calc_claud_vlat`  
    111113; :func:`cor30a` 
    112114; 
     
    122124; ==== 
    123125; 
    124 ; no ${PROJECT_OD}/TropFlux_swr_19890101_20091231_BLND.nc yet because of pb in 
    125 ; TropFlux_swr_BLND_19890101_20091231.pro 
     126; missing lwnet_clark:: 
     127; 
     128;    % Variable is undefined: LWNET_CLARK. 
     129;    % Execution halted at: TROPFLUX_19890101_20091231  434 /.autofs/home/fplod/incas/tropflux/tropflux_ws/src/TropFlux_19890101_20091231.pr 
     130;      o 
     131;    %                      $MAIN$           
     132;    % Program caused arithmetic error: Floating overflow 
     133;    % Program caused arithmetic error: Floating illegal operand 
     134; 
     135; check if K or °C in input  
     136; 
     137; get rid of:: 
     138; 
     139;   % date 1: 19880101 is not found in the time axis. 
     140; 
     141; why :: 
     142; 
     143;   da1=19880101 
     144; 
     145; 1st date 19890101 no ?  
     146; 
     147; why da1-1 (with da1=19880101) when reading gustiness file :: 
     148; 
     149;   wg=read_ncdf('wg',da1-1,da2,file=fullfilename_wg,/nostr) 
    126150; 
    127151; avoid mix lower/uppercase in pro name to avoid compile 
     
    141165; 
    142166; $URL$ 
     167; 
     168; - fplod 20110819T144332Z aedon.locean-ipsl.upmc.fr (Darwin) 
     169; 
     170;   * add _coarev3 to filename output 
     171;   * check if filename output exists 
    143172; 
    144173; - fplod 20110809T110911Z aedon.locean-ipsl.upmc.fr (Darwin) 
     
    330359IF fullfilename_wg[0] EQ '' THEN BEGIN 
    331360   msg = 'eee : the file ' + fullfilename_wg + ' was not found.' 
     361   ras = report(msg) 
     362   STOP 
     363ENDIF 
     364; 
     365; build output filename 
     366filename_out = 'TropFlux_19890101_20091231_coarev3.nc' 
     367fullfilename_out = iodirout + filename_out 
     368; in order to avoid unexpected overwritten 
     369IF (FILE_TEST(fullfilename_out) EQ 1) THEN BEGIN 
     370   msg = 'eee : the file ' + fullfilename_out  + ' already exists.' 
    332371   ras = report(msg) 
    333372   STOP 
     
    426465xlon=reform(glamt(*,0) ) & ylat=reform(gphit(0,*)) 
    427466 
    428 ncfile='!${PROJECT_OD}/TropFlux_19890101_20091231.nc' 
     467ncfile='!' + fullfilename_out 
    429468lon_attr={units:'degrees_east',long_name:'Longitude'} 
    430469lat_attr={units:'degrees_north',long_name:'Latitude'} 
  • trunk/src/TropFlux_NRT_ncdf.pro

    • Property svn:keywords set to Id
    r81 r88  
    77; ===================== 
    88; 
     9; :file:`${PROJECT_OD}/TropFlux_swr_19890101_20091231_BLND.nc` 
     10; containing 
     11; ws corrected on OAFLUX grid 
     12; has been produced by 
     13; :ref:`TropFlux_swr_BLND_19890101_20091231.pro`. 
     14; 
     15; :file:`${PROJECT_OD}/TropFlux_lwr_19890101_20091231.nc` 
     16; containing 
     17; lwr corrected on OAFLUX grid 
     18; has been produced by 
     19; :ref:`lwr_correction_ncdf.pro`. 
     20; 
     21; :file:`${PROJECT_OD}/TropFlux_19890101_20091231_coare3.nc` 
     22; containing 
     23; ++ 
     24; has been produced by 
     25; :ref:`TropFlux_19890101_20091231.pro`. 
     26; 
     27; ++ are written 
     28; in :file:`${PROJECT_OD}/TropFlux_19890101_20091231.nc` 
     29; if this file not already exists. 
     30; 
    931;     .. graphviz:: 
    1032; 
    1133;        digraph tropflux_nrt_ncdf { 
    12 ;           graph [ 
    13 ;           rankdir="LR", 
    14 ;           ] 
    15 ;           file1 [shape=ellipse,fontname=Courier,label="/Users/pkb/data/TropFlux/TropFlux_swr_19890101_20091231_BLND.nc"]; 
    16 ;           file2 [shape=ellipse,fontname=Courier,label="/Users/pkb/data/TropFlux/TropFlux_lwr_19890101_20091231_v50.nc"]; 
    17 ;           file3 [shape=ellipse,fontname=Courier,label="/Users/pkb/data/TropFlux/TropFlux_19890101_20091231_v51.nc"]; 
    18 ;           ncfile [shape=ellipse,fontname=Courier,label="/Users/pkb/data/TropFlux/TropFlux_19890101_20091231.nc"]; 
     34; 
     35;           file_swr [shape=ellipse,fontname=Courier,label="${PROJECT_OD}/TropFlux_swr_19890101_20091231_BLND.nc"]; 
     36;           file_lwr [shape=ellipse,fontname=Courier,label="${PROJECT_OD}/TropFlux_lwr_19890101_200912310.nc"]; 
     37;           file_coare [shape=ellipse,fontname=Courier,label="${PROJECT_OD}/TropFlux_19890101_20091231_coarev3.nc"]; 
     38;           file_out [shape=ellipse,fontname=Courier,label="${PROJECT_OD}/TropFlux_19890101_20091231.nc"]; 
    1939; 
    2040;           tropflux_nrt_ncdf [shape=box, 
     
    2444;           label="${PROJECT}/src/TropFlux_NRT_ncdf.pro" ]; 
    2545; 
    26 ;           {file1 file2 file3} -> {tropflux_nrt_ncdf} -> {ncfile} 
    27 ;          } 
     46;           {file_swr file_lwr file_coare} -> {tropflux_nrt_ncdf} -> {file_out} 
     47; 
     48;        } 
    2849; 
    2950; SEE ALSO 
     
    4667; ==== 
    4768; 
    48 ; hard coded directory - usage of ${PROJECT_ID} 
     69; no yet tested because pb in TropFlux_19890101_20091231.pro 
    4970; 
    5071; coding rules 
     
    6283; 
    6384;   * remove v50 from pro name and in the graph 
     85;   * add coarev3 to the file coming from TropFlux_19890101_20091231.pro 
     86;   * use $PROJECT_OD 
    6487; 
    6588; - fplod 20101214T112526Z aedon.locean-ipsl.upmc.fr (Darwin) 
     
    77100;- 
    78101pro TropFlux_NRT_ncdf 
    79 @common 
    80  
    81 dir="/Users/pkb/data/TropFlux/" 
    82 file=dir+"TropFlux_swr_19890101_20091231_BLND.nc" 
    83 initncdf, file 
     102; 
     103@cm_4cal 
     104@cm_4data 
     105@cm_4mesh 
     106@cm_4data 
     107@cm_project 
     108; 
     109; 
     110; test if ${PROJECT_OD} defined 
     111CASE project_od_env OF 
     112  '' : BEGIN 
     113         msg = 'eee : ${PROJECT_OD} is not defined' 
     114         ras = report(msg) 
     115       STOP 
     116       END 
     117  ELSE: BEGIN 
     118          msg = 'iii : ${PROJECT_OD} is ' + project_od_env 
     119          ras = report(msg) 
     120        END 
     121 ENDCASE 
     122; 
     123; check if output data will be possible 
     124iodirout = isadirectory(project_od_env) 
     125; 
     126; existence and protection for reading 
     127IF (FILE_TEST(iodirout, /DIRECTORY, /EXECUTABLE, /READ) EQ 0) THEN BEGIN 
     128   msg = 'eee : the directory' + iodirout  + ' is not accessible.' 
     129   ras = report(msg) 
     130   STOP 
     131ENDIF 
     132; 
     133; existence and protection for writing 
     134IF (FILE_TEST(iodirout, /DIRECTORY, /WRITE) EQ 0) THEN BEGIN 
     135    msg = 'eee : the directory' + iodirout  + ' was not found.' 
     136    ras = report(msg) 
     137    STOP 
     138ENDIF 
     139; 
     140; build SWR blnd data filename 
     141filename_swr_blnd="TropFlux_swr_19890101_20091231_BLND.nc" 
     142; 
     143; check if this file exists 
     144msg='iii : looking for ' + filename_swr_blnd 
     145ras = report(msg) 
     146fullfilename_swr_blnd = isafile(iodirout + filename_swr_blnd, NEW=0, /MUST_EXIST) 
     147IF fullfilename_swr_blnd[0] EQ '' THEN BEGIN 
     148   msg = 'eee : the file ' + fullfilename_swr_blnd + ' was not found.' 
     149   ras = report(msg) 
     150   STOP 
     151ENDIF 
     152; 
     153; build LWR data filename 
     154filename_lwr="TropFlux_lwr_19890101_20091231.nc" 
     155; 
     156; check if this file exists 
     157msg='iii : looking for ' + filename_lwr 
     158ras = report(msg) 
     159fullfilename_lwr = isafile(iodirout + filename_lwr, NEW=0, /MUST_EXIST) 
     160IF fullfilename_lwr[0] EQ '' THEN BEGIN 
     161   msg = 'eee : the file ' + fullfilename_lwr + ' was not found.' 
     162   ras = report(msg) 
     163   STOP 
     164ENDIF 
     165; 
     166;  build COARE data filename 
     167filename_coare="TropFlux_19890101_20091231_coarev3.nc" 
     168; 
     169; check if this file exists 
     170msg='iii : looking for ' + filename_lwr 
     171ras = report(msg) 
     172fullfilename_coare = isafile(iodirout + filename_coare, NEW=0, /MUST_EXIST) 
     173IF fullfilename_coare[0] EQ '' THEN BEGIN 
     174   msg = 'eee : the file ' + fullfilename_coare + ' was not found.' 
     175   ras = report(msg) 
     176   STOP 
     177ENDIF 
     178; 
     179filename_out='TropFlux_19890101_20091231.nc' 
     180fullfilename_out = iodirout + filename_out 
     181; in order to avoid unexpected overwritten 
     182IF (FILE_TEST(fullfilename_out) EQ 1) THEN BEGIN 
     183   msg = 'eee : the file ' + fullfilename_out  + ' already exists.' 
     184   ras = report(msg) 
     185   STOP 
     186ENDIF 
     187; 
    84188st=19800101 & en=20101231 
    85189 
    86 swr=read_ncdf("swr", st, en, file=file,/nostr) 
    87  
    88 file=dir+"TropFlux_lwr_19890101_20091231_v50.nc" 
    89 initncdf, file 
    90 lwr=read_ncdf("lwr", st, en, file=file,/nostr) 
    91  
    92 file=dir+"TropFlux_19890101_20091231_v51.nc" 
    93 initncdf, file 
    94 lhf=read_ncdf("lhf", st, en, file=file,/nostr) 
    95 shf=read_ncdf("shf", st, en, file=file,/nostr) 
     190initncdf, fullfilename_swr_blnd 
     191 
     192swr=read_ncdf("swr", st, en, file=fullfilename_swr_blnd,/nostr) 
     193 
     194initncdf, fullfilename_lwr 
     195lwr=read_ncdf("lwr", st, en, file=fullfilename_lwr,/nostr) 
     196 
     197initncdf, fullfilename_coare 
     198lhf=read_ncdf("lhf", st, en, file=fullfilename_coare,/nostr) 
     199shf=read_ncdf("shf", st, en, file=fullfilename_coare,/nostr) 
    96200 
    97201help, swr, lwr, lhf, shf 
  • trunk/src/TropFlux_swr_BLND_19890101_20091231.pro

    • Property svn:keywords set to Id
    r85 r88  
    2828; if this file not already exists. 
    2929; 
    30 ; This file will be used by :ref:`TropFlux_NRT_cfd.pro`. 
     30; This file will be used by :ref:`TropFlux_NRT_ncdf.pro`. 
    3131; 
    3232;     .. graphviz:: 
     
    6363; :func:`ncdf_quickwrite <saxo:ncdf_quickwrite>` 
    6464; 
    65 ; :ref:`Tropflux_NRT_cdf.pro` 
     65; :ref:`Tropflux_NRT_ncdf.pro` 
    6666; 
    6767; EXAMPLES 
     
    7676; ==== 
    7777; 
    78 ; resolve crash on cratos idl7:: 
    79 ; 
    80 ;   % Attempt to subscript SWR_DT with JT is out of range. 
    81 ; 
    82 ; line:: 
    83 ; 
    84 ;    for jt=0,jpt-1 do swr_merged(*,*,jt)=swr_dt(*,*,jt)*a(jt)+(1-a(jt))*swr_nrt(*,*,jt) 
     78; submit read_ncdf with 19890101 pb to saxo-dev 
    8579; 
    8680; avoid mix lower/uppercase in pro name to avoid compile 
     
    9084; complete description 
    9185; 
    92 ; why different date1 and date2 when readind dt and nrt 
    93 ; 
    94 ; why two read_ncdf for nrt 
    95 ; 
    96 ; according to pk 20110811 we can include this process in TropFlux_swr_NRT_19890101_20091231.pro 
     86; why 20080100, 20100112 as  date1 and date2 when readind nrt 
     87; 
     88; why two read_ncdf for nrt  
     89; 
     90; according to pk 20110811 we can include this process in  
     91; TropFlux_swr_NRT_19890101_20091231.pro ... later 
    9792; 
    9893; KNOWN ISSUES 
     
    109104; $URL$ 
    110105; 
     106; - fplod 20110819T120412Z aedon.locean-ipsl.upmc.fr (Darwin) 
     107; 
     108;   * change 19890101 to 19890100 to read 6939 timesteps in DT file 
     109;     even if uggly and understanted SAXO strange behaviour 
     110; 
     111;     this resolve crash on cratos idl7:: 
     112; 
     113;       % Attempt to subscript SWR_DT with JT is out of range. 
     114; 
     115;     line:: 
     116; 
     117;        for jt=0,jpt-1 do swr_merged(*,*,jt)=swr_dt(*,*,jt)*a(jt)+(1-a(jt))*swr_nrt(*,*,jt) 
     118; 
     119;     problably because  6938+731=7669 and not 7670 when 
     120;     :samp:`dt=read_ncdf("swr", 19890101, 20071231, file=fullfilename_dt,/nostr)` 
     121;     was used :: 
     122; 
     123;        DT              FLOAT     = Array[350, 60, 6938] 
     124;        NRT             FLOAT     = Array[350, 60, 731] 
     125;        SWR_DT          FLOAT     = Array[350, 60, 7669] 
     126;        SWR_NRT         FLOAT     = Array[350, 60, 7670] 
     127; 
     128;     nb jours 19890101-20071231:: 
     129; 
     130;        IDL>  print, julday(12,31,2007) - julday(01, 01, 1989) +1 
     131;        6939 
     132; 
     133;     et ncdump -h $PROJECT_OD/TropFlux_swr_19890101_20071231_DT.nc time = UNLIMITED ; // (6939 currently) 
     134; 
     135;     nb jours 19890101-20091231:: 
     136; 
     137;        IDL>  print, julday(12,31,2009) - julday(01, 01, 1989) +1 
     138;        7670 
     139; 
     140;     strange behaviour of read_ncdf ... see:: 
     141; 
     142;        IDL> fullfilename_dt='TropFlux_swr_19890101_20071231_DT.nc' 
     143;        IDL> dt=read_ncdf("swr", 19890100, 20071231, file=fullfilename_dt,/nostr) 
     144;        IDL> print, 'first time step (should crash with invalid date)', jul2date(time[0])    
     145;        first time step (should be 19890101)       19890101. 
     146;        IDL> dt=read_ncdf("swr", 19890101, 20071231, file=fullfilename_dt,/nostr) 
     147;        IDL> print, 'first time step (should be 19890101)', jul2date(time[0])    
     148;        first time step (should be 19890101)       19890102. 
     149; 
     150;   * correction for reading gustiness file 
     151;  
    111152; - fplod 20110809T115747Z aedon.locean-ipsl.upmc.fr (Darwin) 
    112153; 
     
    135176@cm_4data 
    136177@cm_project 
    137 ; 
    138178; 
    139179; test if ${PROJECT_OD} defined 
     
    217257; 
    218258initncdf, fullfilename_dt 
    219 dt=read_ncdf("swr", 19890101, 20071231, file=fullfilename_dt,/nostr) 
     259dt=read_ncdf("swr", 19890100, 20071231, file=fullfilename_dt,/nostr) 
     260print, 'www : should crash with invalide date 19890100' 
    220261help, dt 
     262print, 'first time step (should be 19890101)', jul2date(time[0]) 
     263print, 'last time step (should be 20071231)', jul2date(time[jpt-1]) 
    221264 
    222265initncdf, fullfilename_nrt 
     
    227270 
    228271swr_dt=[[[dt]],[[nrt]]] 
    229 help, swr_dt, swr_nrt 
     272help, nrt, swr_dt, swr_nrt 
    230273 
    231274swr_merged=swr_dt*0. 
     
    235278a=interpol([1.,0.],[julday(10,01,2007),julday(12,31,2007)],time) 
    236279a=((a > 0.) < 1.) 
    237 for jt=0,jpt-1 do swr_merged(*,*,jt)=swr_dt(*,*,jt)*a(jt)+(1-a(jt))*swr_nrt(*,*,jt) 
    238  
    239 initncdf, file_wg 
     280for jt=0,jpt-1 do begin 
     281    swr_merged(*,*,jt)=swr_dt(*,*,jt)*a(jt)+(1-a(jt))*swr_nrt(*,*,jt) 
     282endfor 
     283 
     284initncdf, fullfilename_wg 
    240285time=timegen(7670, units='days', start=julday(1,1,1989,0)) & jpt=n_elements(time) 
    241286lat=reform(gphit(0,0:jpj-1)) 
  • trunk/src/TropFlux_swr_DT_19890101_20071231.pro

    • Property svn:keywords set to Id
  • trunk/src/TropFlux_swr_NRT_19890101_20091231.pro

    • Property svn:keywords set to Id
  • trunk/src/calc_cloud_vlat.pro

    r87 r88  
    1  
     1;+ 
     2;- 
    23 function calc_cloud_vlat, jday,SWR,XLAT 
    34 
  • trunk/src/compute_erai_daily_region_2d.sh

    r67 r88  
    77# .. _compute_erai_daily_region_2d.sh: 
    88# 
    9 # ========================================================================== 
    10 # compute_erai_daily_region_2d.sh - get ERA-I uninterpolated reference files 
    11 # ========================================================================== 
     9# =============================== 
     10# compute_erai_daily_region_2d.sh  
     11# =============================== 
    1212# 
    1313# SYNOPSIS 
     
    2323# .. option:: --diff_cmd <arg> 
    2424# 
    25 #    By default :samp:`ncflint` command is used to compute difference between NetCDF files 
     25#    By default :samp:`ncflint` command is used to compute difference  
     26#    between NetCDF files 
    2627# 
    2728#    If :samp:`cdo` is specified here, this command will be used instead. 
     
    3435# .. option:: -e end date <yyyymmdd> 
    3536# 
    36 # Put in ${PROJECT_ID} ERA-Intermin reference files. 
     37# Put in ${PROJECT_ID} ERA-Intermin uninterpolated reference files. 
    3738# 
    3839# Log file is written on :file:`${PROJECT_LOG}/compute_erai_daily_region_2d.log.{YYYYMMDDTHHMMSSZ}` 
     
    4142# 
    4243#        digraph compute_erai_daily_region_2d { 
    43 #           graph [ 
    44 #           rankdir="LR", 
    45 #           ] 
     44# 
    4645#           filein_str [shape=ellipse,fontname=Courier,label="/bdd/ERAI/NETCDF/GLOBAL_075/4xdaily/FC_SF/yyyy/mm/str.yyyymmdd.fshei.GLOBAL_075.nc"]; 
    4746#           filein_msl [shape=ellipse,fontname=Courier,label="/bdd/ERAI/NETCDF/GLOBAL_075/4xdaily/AN_SF/yyyy/msl.yyyymm.ashei.GLOBAL_075.nc"]; 
     
    9190# ======== 
    9291# 
    93 # :ref:`guide data ERA-I <data_in_erai>` 
     92# :ref:`data_in_erai` 
    9493# 
    9594# http://climserv.ipsl.polytechnique.fr/fr/les-donnees/era-interim-4.html 
     
    160159# EVOLUTIONS 
    161160# ========== 
     161# 
     162# $Id$ 
    162163# 
    163164# $URL$ 
  • trunk/src/cronin_gustiness_ncdf.pro

    r81 r88  
    6161; coding rules 
    6262; 
    63 ; why writing more than 1 timestep ? 
     63; why da1=19880101 & da2=20101231 ? should be 19890101 and 20091231 or better 
     64; deduce from reading sst 
    6465; 
    6566; KNOWN ISSUES 
     
    135136; 
    136137da1=19880101 & da2=20101231 
    137 date1=19890101 & date2=20081231 
    138138; 
    139139; build data filename 
  • trunk/src/interp_erai_dewt_1989_2009.pro

    • Property svn:keywords changed from URL to Id
    r73 r88  
    102102; $Id$ 
    103103; 
    104 ; $URL$ 
     104; $URL: svn+ssh://pinsard@forge.ipsl.jussieu.fr/ipsl/forge/projets/tropflux/svn/trunk/src/interp_erai_dewt_1989_2009.pro $ 
    105105; 
    106106; - fplod 20110808T094156Z cratos (Linux) 
  • trunk/src/interp_erai_lwr_1989_2009.pro

    • Property svn:keywords changed from URL to Id
    r78 r88  
    1212; Interpolation of str from ERA-I grid to OAFLUX grid 
    1313; 
    14 ; :file:`${PROJECT_ID}/20c3m_erai_str_TROP_1989_2009.nc` containing str from ERA-I have been produced 
     14; :file:`${PROJECT_ID}/20c3m_erai_str_TROP_1989_2009.nc`  
     15; containing str from ERA-I  
     16; have been produced 
    1517; by :ref:`compute_erai_daily_region_2d.sh`. 
    1618; 
    17 ; :file:`${PROJECT_ID}/mask_oaflux_30N30S.nc` containing OAFLUX grid have been produced by :ref:`oaflux_mask_30N30S.pro`. 
     19; :file:`${PROJECT_ID}/mask_oaflux_30N30S.nc`  
     20; containing OAFLUX mask 
     21; have been produced by  
     22; :ref:`oaflux_mask_30N30S.pro`. 
    1823; 
    1924; Interpolated str is written in 
    20 ; :file:`${PROJECT_OD}/erai_lwr_19890101_20091231_oafluxgrid.nc` if this file not already exists. 
    21 ; 
    22 ; This output file :file:`${PROJECT_OD}/erai_lwr_19890101_20091231_oafluxgrid.nc` must be processed after by :ref:`lwr_correction_ncdf.pro`. 
     25; :file:`${PROJECT_OD}/erai_lwr_19890102_20091231_oafluxgrid.nc`  
     26; if this file not already exists. 
     27; 
     28; This output file  
     29; :file:`${PROJECT_OD}/erai_lwr_19890102_20091231_oafluxgrid.nc`  
     30; must be processed after by :ref:`add_198900101.sh`. 
    2331; 
    2432;     .. graphviz:: 
     
    5765; :func:`ncdf_quickwrite <saxo:ncdf_quickwrite>` 
    5866; 
    59 ; :ref:`lwr_correction_ncdf.pro` 
     67; :ref:`add_198900101.sh` 
    6068; 
    6169; EXAMPLES 
     
    94102; use real output of :ref:`compute_erai_daily_region_2d.sh`. 
    95103; 
     104; remove hard coded time 
     105; 
    96106; 19890101 is not provided in ERA-Intermim file str : a possible workaround is to copy 19890102 
    97107; dataset to 19890101 using nco after this processing. see :ref:`compute_erai_daily_region_2d.sh` 
     
    110120; $Id$ 
    111121; 
    112 ; $URL$ 
     122; $URL: svn+ssh://pinsard@forge.ipsl.jussieu.fr/ipsl/forge/projets/tropflux/svn/trunk/src/interp_erai_lwr_1989_2009.pro $ 
     123; 
     124; - fplod 20110819T084310Z aedon.locean-ipsl.upmc.fr (Darwin) 
     125; 
     126;   * replace next step :ref:`lwr_correction_ncdf.pro` by :ref:`add_19890101.sh` 
     127;   * fix output file name to erai_lwr_19890102_20091231_oafluxgrid.nc 
    113128; 
    114129; - pinsard 2011-08-08T16:03:48Z loholt1.ipsl.polytechnique.fr (Linux) 
     
    227242; 
    228243; build output filename 
    229 filename_out = 'erai_lwr_19890101_20091231_oafluxgrid.nc' 
     244filename_out = 'erai_lwr_19890102_20091231_oafluxgrid.nc' 
    230245fullfilename_out = iodirout + filename_out 
    231246; in order to avoid unexpected overwritten 
     
    267282      , lonout,latout,method='bilinear' $ 
    268283      , OUTMASK_IND=mskout, SET_OUTMSKVAL=mskout) 
    269   help, OUTMASK_IND 
    270   help, SET_OUTMSKVAL 
    271284  lwrout(*,*,jt)=lwrout(*,*,jt)*mskout+(1.-mskout)*1.e20 
    272285 
  • trunk/src/interp_erai_msl_1989_2009.pro

    • Property svn:keywords set to Id
  • trunk/src/interp_erai_sst_1989_2009.pro

    • Property svn:keywords changed from URL to Id
    r77 r88  
    9999; $Id$ 
    100100; 
    101 ; $URL$ 
     101; $URL: svn+ssh://pinsard@forge.ipsl.jussieu.fr/ipsl/forge/projets/tropflux/svn/trunk/src/interp_erai_sst_1989_2009.pro $ 
    102102; 
    103103; - fplod 20110808T094156Z cratos (Linux) 
  • trunk/src/interp_erai_t2m_1989_2009.pro

    • Property svn:keywords changed from URL to Id
    r73 r88  
    121121; $Id$ 
    122122; 
    123 ; $URL$ 
     123; $URL: svn+ssh://pinsard@forge.ipsl.jussieu.fr/ipsl/forge/projets/tropflux/svn/trunk/src/interp_erai_t2m_1989_2009.pro $ 
    124124; 
    125125; - pinsard 2011-08-08T16:11:48Z loholt1.ipsl.polytechnique.fr (Linux) 
  • trunk/src/interp_erai_ws_1989_2009.pro

    • Property svn:keywords changed from URL to Id
    r73 r88  
    106106; $Id$ 
    107107; 
    108 ; $URL$ 
     108; $URL: svn+ssh://pinsard@forge.ipsl.jussieu.fr/ipsl/forge/projets/tropflux/svn/trunk/src/interp_erai_ws_1989_2009.pro $ 
    109109; 
    110110; - fplod 20110808T094156Z cratos (Linux) 
  • trunk/src/interp_olr_30n30s_1989_2009.pro

    • Property svn:keywords set to Id
  • trunk/src/lwr_correction_ncdf.pro

    • Property svn:keywords set to Id
    r85 r88  
    99; Correction of lwr on OAFLUX grid 
    1010; 
    11 ; :file:`${PROJECT_OD}/erai_lwr_19890101_20091231_oafluxgrid.nc` have been 
    12 ; produced by :ref:`interp_erai_lwr_1989_2009.pro`. 
    13 ; 
    14 ; Corrected lwr on OAFLUX grid is written in 
     11; :file:`${PROJECT_OD}/erai_lwr_19890101_20091231_oafluxgrid.nc`  
     12; containing 
     13; ++ 
     14; have been produced by  
     15; :ref:`add_19890101.sh`. 
     16; 
     17; Corrected lwr on OAFLUX grid  
     18; is written in 
    1519; :file:`${PROJECT_OD}/TropFlux_lwr_19890101_20091231.nc` 
    1620; if this file not already exists. 
     
    2125; 
    2226;        digraph lwr_correction_ncdf { 
    23 ;           graph [ 
    24 ;           rankdir="LR", 
    25 ;           ] 
    2627; 
    2728;           file_in [shape=ellipse,fontname=Courier,label="${PROJECT_OD}/erai_lwr_19890101_20091231_oafluxgrid.nc"]; 
     
    4546; :ref:`mooring_corrections` 
    4647; 
    47 ; :ref:`interp_erai_lwr_1989_2009.pro` 
     48; :ref:`add_19890101.sh` 
    4849; 
    4950; :func:`initncdf <saxo:initncdf>` 
     
    6869; lwr long name 'Air Temperature at 2m" : ??? 
    6970; 
    70 ; 19890101 is not provided in ERA-Intermim file str : a possible workaround is 
    71 ; to copy 19890102 
    72 ; dataset to 19890101 using nco before processing. 
    73 ; 
    74 ; here is the sequence used by pk wher erai_lwr_19890102_20091231_oafluxgrid.nc is the regridded (interpolated output) 
    75 ;  
    76 ;   $ ncks -d time,0,0 erai_lwr_19890102_20091231_oafluxgrid.nc erai_lwr_step0.nc 
    77 ; 
    78 ; This will combine the two files :: 
    79 ; 
    80 ;   $ ncrcat erai_lwr_step0.nc erai_lwr_19890102_20091231_oafluxgrid.nc erai_lwr_19890101_20091231_oafluxgrid.nc. 
    81 ; 
    82 ; must be put in a shell script or find IDL equivalent 
    83 ; 
    84 ; here I (fp) replace hard coded date 19890102 by 19890101. must check 
    85 ; consistency with this module and interp_erai_lwr_1989_2009.pro. 
     71; remove hard doded time 
     72; 
     73; add_19890101.sh sould not be the previous step in a near future 
    8674; 
    8775; KNOWN ISSUES 
     
    9785; 
    9886; $URL$ 
     87; 
     88; - fplod 20110819T105050Z aedon.locean-ipsl.upmc.fr (Darwin) 
     89; 
     90;   * replace previous step :ref:`interp_erai_lwr_1989_2009.pro` 
     91;     by :ref:`add_19890101.sh` 
     92;   * change 19890102 to 19890101 
    9993; 
    10094; - fplod 20110808T120234Z cratos (Linux) 
     
    215209lat=reform(gphit(0,0:jpj-1)) 
    216210lon=reform(glamt(0:jpi-1,0)) 
    217 time=timegen(7669, units='days', start=julday(1,2,1989)) & jpt=n_elements(time) 
     211time=timegen(7670, units='days', start=julday(1,1,1989)) & jpt=n_elements(time) 
    218212 
    219213cda0=string(jul2date(time(0)),format='(i8.8)') 
  • trunk/src/paper01/fig7/air_validation_scatter_2000_2009_basin.pro

    r85 r88  
    1212; 
    1313;    digraph air_validation_scatter_2000_2009_basin { 
    14 , 
     14; 
    1515;       air_erai [shape=ellipse,fontname=Courier,label="${PROJECT_ID}/air_2000_2009_erai_*.txt"]; 
    1616;       air_tropflux [shape=ellipse,fontname=Courier,label="${PROJECT_OD}/air_2000_2009_trop_*.txt"]; 
  • trunk/src/q2m_correction_ncdf.pro

    • Property svn:keywords set to Id
  • trunk/src/qsee.pro

    r87 r88  
    1 ;-------------------------------------------------------- 
     1;+ 
     2;- 
    23function qsee, sst,Ps 
    34; 
     
    56; sst: SST (degC) 
    67; Ps : surface pressure (mb) 
    7 ;-------------------------------------------------------- 
    88x=sst 
    99p=Ps 
     
    1414 
    1515end 
    16 ;-------------------------------------------------------- 
  • trunk/src/sst_correction_ncdf.pro

    • Property svn:keywords set to Id
  • trunk/src/t2m_correction_ncdf.pro

    • Property svn:keywords set to Id
  • trunk/src/ws_correction_ncdf.pro

    • Property svn:keywords set to Id
Note: See TracChangeset for help on using the changeset viewer.