Changeset 36 for trunk


Ignore:
Timestamp:
11/26/07 18:05:07 (16 years ago)
Author:
pinsard
Message:

add a KML file to see Argentine Bassin coordinates

Location:
trunk
Files:
1 added
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/condmag_output.pro

    r19 r36  
    1818; 
    1919; @param title {in}{required}{type=string} 
    20 ; title must belong_name  'Conductance' or 'Magnetic_field' ++ 
     20; title must belong_name 'Conductance' or 'Magnetic_field' ++ 
    2121; 
    2222; @param long_name {in}{required}{type=string} 
     
    3030; must be greater than 1 
    3131; 
    32 ; @param jpjo  {in}{required}{type=integer} 
     32; @param jpjo {in}{required}{type=integer} 
    3333; y dimension of the 3d array to be written 
    3434; must be greater than 1 
     
    6666; @examples 
    6767; IDL> .run condmag_on_orca 
    68 ; IDL> condmag_output, 'ORCA2', 'cond_sed','Conductance','Conductance','siemens',jpio,jpjo,olon,olat, values 
     68; IDL> condmag_output, 'ORCA2', 'cond_sed', 'Conductance', 'Conductance', 'siemens', jpio, jpjo, olon, olat, values 
    6969; 
    7070; @history 
     
    7878; 
    7979;- 
    80 PRO condmag_output, orcares, variable, title, long_name, units, jpio, jpjo, olon,olat,values 
     80PRO condmag_output, orcares, variable, title, long_name, units, jpio, jpjo, olon, olat, values 
    8181; 
    8282  compile_opt idl2, strictarrsubs 
     
    205205; 
    206206; check jpio 
    207   IF jpio LT 1 THEN BEGIN 
     207  IF (jpio LT 1) THEN BEGIN 
    208208     msg = ' eee : invalid jpio parameter = ' + STRING(jpio) 
    209209     ras = report(msg) 
     
    217217; 
    218218; check jpjo 
    219   IF jpjo LT 1 THEN BEGIN 
     219  IF (jpjo LT 1) THEN BEGIN 
    220220     msg = ' eee : invalid jpjo parameter = ' + STRING(jpjo) 
    221221     ras = report(msg) 
  • trunk/forcagequimarche.pro

    r30 r36  
    2727; 
    2828; @todo 
    29 ; validation of ORCA2 processing (now some nan in output files !) 
     29; validation of ORCA2 processing (now some NaN in output files !) 
    3030; add ORCA025 
    3131; provide tools to plot output files 
     
    4747; 
    4848; @history 
     49; fplod 2007-09-19T15:41:28Z aedon.locean-ipsl.upmc.fr (Darwin) 
     50; externalisation of outputs see <progeomag>forcage_output</progeomag> ++ 
    4951; fplod 2007-07-30T10:12:38Z aedon.locean-ipsl.upmc.fr (Darwin) 
    5052; restore divfred call instead of div ("official" saxo divergence module) 
     
    6466;- 
    6567; 
    66 PRO forcagequimarche,orcares,iyear,ian,DRAKKAR_EXP = drakkar_exp 
     68PRO forcagequimarche, orcares, iyear, ian, DRAKKAR_EXP = drakkar_exp 
    6769; 
    6870;---- 
     
    159161  file_V=e_exp+'_5d_'+ian+'0101_'+ian+'1231_grid_V.nc' 
    160162  file_T=e_exp+'_5d_'+ian+'0101_'+ian+'1231_grid_T.nc' 
    161   file_Sed= geomag_id_env+'cond_sed_ORCA2.nc' 
    162   file_Br= geomag_id_env+'Br_ORCA2.nc' 
     163jpt = 73 ;time counter des fichiers ci-dessus 
    163164     END 
    164165  ENDCASE 
     166  file_Sed= geomag_id_env+'cond_sed_'+orcares+'.nc' 
     167  file_Br= geomag_id_env+'Br_'+orcares + '.nc' 
    165168; 
    166169; title 
     
    169172ioORLN2 = geomag_id_env 
    170173; 
    171 ;facteur d'echelle vertical  for partial steps 
     174;facteur d'echelle vertical for partial steps 
    172175e3v3d=read_ncdf('e3v_ps',0,/timestep,iodir=ioORLN2,/nostruct,/tout,filename='meshmask_bab.nc') 
    173176e3u3d=read_ncdf('e3u_ps',0,/timestep,iodir=ioORLN2,/nostruct,/tout,filename='meshmask_bab.nc') 
     
    185188          endfor                      &$ 
    186189        endfor 
    187 jpt = 73 
    188190; 
    189191;vud = make_array(jpi,jpj,jpt) 
    190192;vvd = make_array(jpi, jpj, jpt) 
    191193divBustar = make_array(jpi, jpj, jpt) 
    192 diver3=replicate(0.,182,149,1,73) 
    193 sigma3=replicate(0.,182,149,1,73) 
     194diver3=replicate(0.,182,149,1,jpt) 
     195sigma3=replicate(0.,182,149,1,jpt) 
    194196; 
    195197FOR jt = 0, jpt-1 DO BEGIN &$ 
     
    233235  Bu_star= BR_u*u_cond_u/SIGMA_u 
    234236  Bv_star= BR_v*v_cond_v/SIGMA_v 
     237 
     238; Transport horizontal 
     239  T_u=total( vu*e3u3d*umask(),3) 
     240  T_v=total( vv*e3v3d*vmask(),3) 
     241 
    235242; 
    236243; Divergence du champ 
     
    314321 
    315322; Creation de la longitude 
     323 
     324print,glamt[0:20,0]    ; ++ debug pb nav_lon 
     325print,glamt[30:50,0] 
     326print,glamt[50:70,0] 
     327 
    316328   NCDF_VARPUT, idout, id0, glamt 
    317329; Creation de la latitude 
     
    330342 
    331343   NCDF_CLOSE, idout 
     344; ++ l'équivalent avec forcage_output 
     345forcage_output, orcares, variable, 'Divergence', long_name, jpiglo, jpjglo, gphit, glamt,diver3 
     346 
    332347;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; 
    333348;;;;meme topo pour SIGMA 
  • trunk/initocemeshmask.pro

    r24 r36  
    1 ; + 
     1;+ 
    22; 
    33; @file_comments 
     
    3030; IDL> myfile=getenv('GEOMAG_OD') + 'cond_sed_ORCA025.nc' 
    3131; IDL> xxx, myfile, 'initocemeshmask', '''ORCA025''',DRAKKAR_EXP='G42',format='(i5)' 
    32  
    3332; @history 
    3433; reee522 2007-06-08T15:35:17Z rhodes (IRIX64) 
     
    212211; 
    213212key_stride = [1, 1, 1] 
    214 ncdf_meshlec, fullfilename_oce[0], glamboundary = [20, 380], _extra = ex 
     213;++ncdf_meshlec, fullfilename_oce[0], glamboundary = [20, 380], _EXTRA = ex 
     214ncdf_meshlec, fullfilename_oce[0], GLAMBOUNDARY = [80, 380], _EXTRa = ex 
    215215;------------------------------------------------------------- 
    216216domdef 
Note: See TracChangeset for help on using the changeset viewer.