- Timestamp:
- 11/26/07 18:05:07 (16 years ago)
- Location:
- trunk
- Files:
-
- 1 added
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/condmag_output.pro
r19 r36 18 18 ; 19 19 ; @param title {in}{required}{type=string} 20 ; title must belong_name 20 ; title must belong_name 'Conductance' or 'Magnetic_field' ++ 21 21 ; 22 22 ; @param long_name {in}{required}{type=string} … … 30 30 ; must be greater than 1 31 31 ; 32 ; @param jpjo 32 ; @param jpjo {in}{required}{type=integer} 33 33 ; y dimension of the 3d array to be written 34 34 ; must be greater than 1 … … 66 66 ; @examples 67 67 ; IDL> .run condmag_on_orca 68 ; IDL> condmag_output, 'ORCA2', 'cond_sed', 'Conductance','Conductance','siemens',jpio,jpjo,olon,olat, values68 ; IDL> condmag_output, 'ORCA2', 'cond_sed', 'Conductance', 'Conductance', 'siemens', jpio, jpjo, olon, olat, values 69 69 ; 70 70 ; @history … … 78 78 ; 79 79 ;- 80 PRO condmag_output, orcares, variable, title, long_name, units, jpio, jpjo, olon, olat,values80 PRO condmag_output, orcares, variable, title, long_name, units, jpio, jpjo, olon, olat, values 81 81 ; 82 82 compile_opt idl2, strictarrsubs … … 205 205 ; 206 206 ; check jpio 207 IF jpio LT 1THEN BEGIN207 IF (jpio LT 1) THEN BEGIN 208 208 msg = ' eee : invalid jpio parameter = ' + STRING(jpio) 209 209 ras = report(msg) … … 217 217 ; 218 218 ; check jpjo 219 IF jpjo LT 1THEN BEGIN219 IF (jpjo LT 1) THEN BEGIN 220 220 msg = ' eee : invalid jpjo parameter = ' + STRING(jpjo) 221 221 ras = report(msg) -
trunk/forcagequimarche.pro
r30 r36 27 27 ; 28 28 ; @todo 29 ; validation of ORCA2 processing (now some nanin output files !)29 ; validation of ORCA2 processing (now some NaN in output files !) 30 30 ; add ORCA025 31 31 ; provide tools to plot output files … … 47 47 ; 48 48 ; @history 49 ; fplod 2007-09-19T15:41:28Z aedon.locean-ipsl.upmc.fr (Darwin) 50 ; externalisation of outputs see <progeomag>forcage_output</progeomag> ++ 49 51 ; fplod 2007-07-30T10:12:38Z aedon.locean-ipsl.upmc.fr (Darwin) 50 52 ; restore divfred call instead of div ("official" saxo divergence module) … … 64 66 ;- 65 67 ; 66 PRO forcagequimarche, orcares,iyear,ian,DRAKKAR_EXP = drakkar_exp68 PRO forcagequimarche, orcares, iyear, ian, DRAKKAR_EXP = drakkar_exp 67 69 ; 68 70 ;---- … … 159 161 file_V=e_exp+'_5d_'+ian+'0101_'+ian+'1231_grid_V.nc' 160 162 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' 163 jpt = 73 ;time counter des fichiers ci-dessus 163 164 END 164 165 ENDCASE 166 file_Sed= geomag_id_env+'cond_sed_'+orcares+'.nc' 167 file_Br= geomag_id_env+'Br_'+orcares + '.nc' 165 168 ; 166 169 ; title … … 169 172 ioORLN2 = geomag_id_env 170 173 ; 171 ;facteur d'echelle vertical 174 ;facteur d'echelle vertical for partial steps 172 175 e3v3d=read_ncdf('e3v_ps',0,/timestep,iodir=ioORLN2,/nostruct,/tout,filename='meshmask_bab.nc') 173 176 e3u3d=read_ncdf('e3u_ps',0,/timestep,iodir=ioORLN2,/nostruct,/tout,filename='meshmask_bab.nc') … … 185 188 endfor &$ 186 189 endfor 187 jpt = 73188 190 ; 189 191 ;vud = make_array(jpi,jpj,jpt) 190 192 ;vvd = make_array(jpi, jpj, jpt) 191 193 divBustar = make_array(jpi, jpj, jpt) 192 diver3=replicate(0.,182,149,1, 73)193 sigma3=replicate(0.,182,149,1, 73)194 diver3=replicate(0.,182,149,1,jpt) 195 sigma3=replicate(0.,182,149,1,jpt) 194 196 ; 195 197 FOR jt = 0, jpt-1 DO BEGIN &$ … … 233 235 Bu_star= BR_u*u_cond_u/SIGMA_u 234 236 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 235 242 ; 236 243 ; Divergence du champ … … 314 321 315 322 ; Creation de la longitude 323 324 print,glamt[0:20,0] ; ++ debug pb nav_lon 325 print,glamt[30:50,0] 326 print,glamt[50:70,0] 327 316 328 NCDF_VARPUT, idout, id0, glamt 317 329 ; Creation de la latitude … … 330 342 331 343 NCDF_CLOSE, idout 344 ; ++ l'équivalent avec forcage_output 345 forcage_output, orcares, variable, 'Divergence', long_name, jpiglo, jpjglo, gphit, glamt,diver3 346 332 347 ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; 333 348 ;;;;meme topo pour SIGMA -
trunk/initocemeshmask.pro
r24 r36 1 ; 1 ;+ 2 2 ; 3 3 ; @file_comments … … 30 30 ; IDL> myfile=getenv('GEOMAG_OD') + 'cond_sed_ORCA025.nc' 31 31 ; IDL> xxx, myfile, 'initocemeshmask', '''ORCA025''',DRAKKAR_EXP='G42',format='(i5)' 32 33 32 ; @history 34 33 ; reee522 2007-06-08T15:35:17Z rhodes (IRIX64) … … 212 211 ; 213 212 key_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 214 ncdf_meshlec, fullfilename_oce[0], GLAMBOUNDARY = [80, 380], _EXTRa = ex 215 215 ;------------------------------------------------------------- 216 216 domdef
Note: See TracChangeset
for help on using the changeset viewer.