Changeset 493 for trunk/SRC/Computation
- Timestamp:
- 04/08/14 11:28:29 (10 years ago)
- Location:
- trunk/SRC/Computation
- Files:
-
- 8 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/SRC/Computation/bsf.pro
r462 r493 22 22 ; 23 23 ; @keyword REFVALUE {type=scalar} {default=0.} 24 ; the bsf value that we want to spe ficy at the position defined by refpoint24 ; the bsf value that we want to specify at the position defined by refpoint 25 25 ; 26 26 ; @keyword TRANSPORT {type=scalar: 0 or 1} {default=0.} … … 79 79 umsk = (umask())[firstx:lastx, firsty:lasty, firstz:lastz] 80 80 IF total(umsk[*, *, nz-1]) NE 0 THEN return, report('The bottom of the box (defined by lastzt) must be set to land value (=0)') 81 IF total(umsk[*, 0, *]) NE 0 THEN return, report('southern bou dary must be land point if you want to compute the bsf with this function')81 IF total(umsk[*, 0, *]) NE 0 THEN return, report('southern boundary must be land point if you want to compute the bsf with this function') 82 82 ; 83 83 un = litchamp(z3d) -
trunk/SRC/Computation/e3_3d.pro
r445 r493 10 10 ; @keyword e1 {default=0}{type=scalar: 0 or 1} 11 11 ; activate to compute e1 * e3 instead of e3 12 ; note that of both keywords e1 and e2 are acti cated we compute e1 * e2 * e3 instead of e312 ; note that of both keywords e1 and e2 are activated we compute e1 * e2 * e3 instead of e3 13 13 ; 14 14 ; @keyword e2 {default=0}{type=scalar: 0 or 1} 15 15 ; activate to compute e2 * e3 instead of e3 16 ; note that of both keywords e1 and e2 are acti cated we compute e1 * e2 * e3 instead of e316 ; note that of both keywords e1 and e2 are activated we compute e1 * e2 * e3 instead of e3 17 17 ; 18 18 ; @returns -
trunk/SRC/Computation/e3t_3d.pro
r454 r493 9 9 ; @keyword e1 {default=0}{type=scalar: 0 or 1} 10 10 ; activate to compute e1t * e3t instead of e3t 11 ; note that of both keywords e1 and e2 are acti cated we compute e1t * e2t * e3t instead of e3t11 ; note that of both keywords e1 and e2 are activated we compute e1t * e2t * e3t instead of e3t 12 12 ; 13 13 ; @keyword e2 {default=0}{type=scalar: 0 or 1} 14 14 ; activate to compute e2t * e3t instead of e3t 15 ; note that of both keywords e1 and e2 are acti cated we compute e1t * e2t * e3t instead of e3t15 ; note that of both keywords e1 and e2 are activated we compute e1t * e2t * e3t instead of e3t 16 16 ; 17 17 ; @returns -
trunk/SRC/Computation/e3u_3d.pro
r454 r493 9 9 ; @keyword e1 {default=0}{type=scalar: 0 or 1} 10 10 ; activate to compute e1u * e3u instead of e3u 11 ; note that of both keywords e1 and e2 are acti cated we compute e1u * e2u * e3u instead of e3u11 ; note that of both keywords e1 and e2 are activated we compute e1u * e2u * e3u instead of e3u 12 12 ; 13 13 ; @keyword e2 {default=0}{type=scalar: 0 or 1} 14 14 ; activate to compute e2u * e3u instead of e3u 15 ; note that of both keywords e1 and e2 are acti cated we compute e1u * e2u * e3u instead of e3u15 ; note that of both keywords e1 and e2 are activated we compute e1u * e2u * e3u instead of e3u 16 16 ; 17 17 ; @returns -
trunk/SRC/Computation/e3v_3d.pro
r454 r493 9 9 ; @keyword e1 {default=0}{type=scalar: 0 or 1} 10 10 ; activate to compute e1v * e3v instead of e3v 11 ; note that of both keywords e1 and e2 are acti cated we compute e1v * e2v * e3v instead of e3v11 ; note that of both keywords e1 and e2 are activated we compute e1v * e2v * e3v instead of e3v 12 12 ; 13 13 ; @keyword e2 {default=0}{type=scalar: 0 or 1} 14 14 ; activate to compute e2v * e3v instead of e3v 15 ; note that of both keywords e1 and e2 are acti cated we compute e1v * e2v * e3v instead of e3v15 ; note that of both keywords e1 and e2 are activated we compute e1v * e2v * e3v instead of e3v 16 16 ; 17 17 ; @returns -
trunk/SRC/Computation/e3w_3d.pro
r454 r493 9 9 ; @keyword e1 {default=0}{type=scalar: 0 or 1} 10 10 ; activate to compute e1t * e3w instead of e3w 11 ; note that of both keywords e1 and e2 are acti cated we compute e1t * e2t * e3w instead of e3w11 ; note that of both keywords e1 and e2 are activated we compute e1t * e2t * e3w instead of e3w 12 12 ; 13 13 ; @keyword e2 {default=0}{type=scalar: 0 or 1} 14 14 ; activate to compute e2t * e3w instead of e3w 15 ; note that of both keywords e1 and e2 are acti cated we compute e1t * e2t * e3w instead of e3w15 ; note that of both keywords e1 and e2 are activated we compute e1t * e2t * e3w instead of e3w 16 16 ; 17 17 ; @returns -
trunk/SRC/Computation/msf.pro
r462 r493 12 12 ; 13 13 ; @param mask2d {in} {type=2D xy array} {optional} {default=1 everywhere} 14 ; land/sea (0/1) mask to be applied (in add tion to the 3D mask14 ; land/sea (0/1) mask to be applied (in addition to the 3D mask 15 15 ; of the model) to mask some parts of the domain (and keep for example 16 16 ; the northend atlantic). … … 22 22 ; @keyword INDEXBOXZOOM 23 23 ; Set this keyword to a named variable in which msf will return the x 24 ; and y indexes defini g the zoom-box that should be used by pltz to do24 ; and y indexes defining the zoom-box that should be used by pltz to do 25 25 ; the plot (see example) 26 26 ; … … 96 96 IF total(msk[*, *, nz-1]) NE 0 THEN return, report('The bottom of the box (defined by lastzt) must be set to land value (=0)') 97 97 IF (total(msk[0, *, *]) NE 0 OR total(msk[nx-1, *, *]) NE 0) AND NOT (keyword_set(key_periodic) AND nx EQ jpi) THEN $ 98 return, report('for non-periodic domains, eastern and western bo ndaries must be land point')98 return, report('for non-periodic domains, eastern and western boundaries must be land point') 99 99 IF keyword_set(key_partialstep) AND total(msk[*, ny-1, *]) NE 0 THEN flagdata = 1 100 100 ; -
trunk/SRC/Computation/norm.pro
r371 r493 259 259 ; We recover the complete grid to establish a big mask extent in the four 260 260 ; direction to cover pointsfor which a land point has been 261 ; considerate d(make a small drawing)261 ; considerate (make a small drawing) 262 262 ;---------------------------------------------------------------------------- 263 263 mask = tmask[indice2d+jpi*jpj*firstzt] … … 425 425 ; We recover the complete grid to establish a big mask extent in the four 426 426 ; direction to cover pointsfor which a land point has been 427 ; considerate d(make a small drawing)427 ; considerate (make a small drawing) 428 428 ;---------------------------------------------------------------------------- 429 429 mask = tmask[indice2d+jpi*jpj*firstzt]
Note: See TracChangeset
for help on using the changeset viewer.