<<prev file | next file >>    view single page | view frames    summary: fields | routine    details: routine

ToBeReviewed/GRILLE/

domdef.pro

Allows to extract a subdomain of study by providing parameters needed for drawings (see outputs)

topdomdef

domdef[, x1][, x2][, y1][, y2][, z1][, z2], FINDALWAYS=FINDALWAYS, GRIDTYPE=GRIDTYPE, MEMEINDICES=MEMEINDICES, XINDEX=XINDEX, YINDEX=YINDEX, ZINDEX=ZINDEX, ENDPOINTS=ENDPOINTS, TYPE=TYPE, INDEX=INDEX, _extra=_extra

Parameters

x1        in optional

Define the minimum longitude. (All levels are selected)

x2        in optional

Define the maximum longitude. (All levels are selected)

y1        in optional

Define the minimum latitude. (All levels are selected)

y2        in optional

Define the maximum latitude. (All levels are selected)

z1        in optional

For a 3d domain whose the horizontal part cover all glam

z2        in optional

For a 3d domain whose the horizontal part cover all gphi

Keywords

FINDALWAYS       

Force to redefine a box even when none point is find in the box. In this case, we select all the grid.

GRIDTYPE       

It is a string or a vector of strings containing the grids's name (Only determinated by 'T','U','V','W','F') for which the calculation must be done. For example: 'T' ou ['T','U']

MEMEINDICES       

It is possible that points t,u,v and F correspond to a same geographic box which do not concern the same array indexes. This is sometimes a problem (or at least serious complications) in programs where several type of grid interven (see norme, curl...). Activate MEMEINDICE to force domdef to take same indexes -those of the grid T- for all other grids.

XINDEX       

We activate it if we want that all elements passed in input of domdef and concerning the X dimension refer to indexes of glam arrays rather than to values of these arrays.

YINDEX       

We activate it if we want that all elements passed in input of domdef and concerning the X dimension refer to indexes of gphi arrays rather than to values of these arrays.

ZINDEX       

We activate it if we want that all elements passed in input of domdef and concerning the X dimension refer to indexes of gdep arrays rather than to values of these arrays. OUTPUTS:on recupere pour les 4 grilles t,u,v,f -nxt,u,v:entier qui contient le nombre de pts en longitude de la grille reduite au domaine -nyt,u,v:entier qui contient le nombre de pts en latitude de la grille reduite au domaine -nzt,w:entier qui contient le nombre de pts en profondeur de la grille reduite au domaine 3D -firstxt,u,v,f: le first indice qui delimite le sous domaine suivant x -firstyt,u,v,f: le first indice qui delimite le sous domaine suivant y -firstzt,w: le first indice qui delimite le sous domaine suivant z -lastxt,u,v,f: le last indice qui delimite le sous domaine suivant x -lastyt,u,v,f: le last indice qui delimite le sous domaine suivant y -lastzt,w: le last indice qui delimite le sous domaine suivant z

ENDPOINTS       

A four elements vector [x1,y1,x2,y2] used to specify that domdef must define the box used to make a plot (pltz, pltt, plt1d) done strictly along the line (that can have any direction) starting at (x1, y1) ending at (x2, y2). When defining endpoints, you must also define TYPE which define the type of plots ('pltz', 'xt', 'yt', 'zt', 'x', 'y', 'z', 't') will used ENDPOINTS keywords

TYPE       

INDEX       

We activate it if we want that all elements passed in input of domdef refer to indexes of glam, gphi and gdep arrays rather than to values of these arrays.

_extra       

Version history

Version

$Id: domdef.pro 142 2006-07-21 12:47:49Z navarro $

History

Known issues

Todo items

seb: output pas clair/ pas d'input required?

Other attributes

Uses routines

common.pro
Produced by IDLdoc 2.0.