[89] | 1 | |
---|
| 2 | <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" |
---|
| 3 | "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
---|
| 4 | |
---|
| 5 | <!-- Generated by IDLdoc 2.0 --> |
---|
| 6 | |
---|
| 7 | <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> |
---|
| 8 | <head> |
---|
[104] | 9 | <title>get_gridparams.pro (SAXO Documentation)</title> |
---|
[89] | 10 | |
---|
| 11 | |
---|
| 12 | <link rel="stylesheet" type="text/css" media="all" href="./../main_files.css" /> |
---|
| 13 | <link rel="stylesheet" type="text/css" media="print" href="./../main_files_print.css" /> |
---|
| 14 | |
---|
| 15 | |
---|
| 16 | <script type="text/javascript"> |
---|
| 17 | function setTitle() { |
---|
[104] | 18 | parent.document.title="get_gridparams.pro (SAXO Documentation)"; |
---|
[89] | 19 | } |
---|
| 20 | </script> |
---|
| 21 | </head> |
---|
| 22 | |
---|
| 23 | <body onload="setTitle();"> |
---|
| 24 | |
---|
| 25 | <div id="navbar_title"> |
---|
[104] | 26 | <h1>SAXO Documentation</h1> |
---|
[89] | 27 | </div> |
---|
| 28 | |
---|
| 29 | |
---|
| 30 | <div id="main_navbar"> |
---|
| 31 | |
---|
| 32 | <table cellspacing="0"> |
---|
| 33 | <tr> |
---|
| 34 | |
---|
| 35 | <td><a href="./../overview.html?format=raw" title="Overview of library">Overview</a></td> |
---|
| 36 | |
---|
| 37 | |
---|
| 38 | |
---|
| 39 | <td >Directory</td> |
---|
| 40 | |
---|
| 41 | |
---|
| 42 | |
---|
| 43 | <td><a href="./../idldoc-categories.html?format=raw" title="Browse library by category">Categories</a></td> |
---|
| 44 | |
---|
| 45 | |
---|
| 46 | |
---|
| 47 | <td><a href="./../idldoc-index.html?format=raw" title="Index of files, routines, and parameters">Index</a></td> |
---|
| 48 | |
---|
| 49 | |
---|
| 50 | |
---|
| 51 | <td><a href="./../search-page.html?format=raw" title="Search library">Search</a></td> |
---|
| 52 | |
---|
| 53 | |
---|
| 54 | <td id="selected">File</td> |
---|
| 55 | |
---|
| 56 | |
---|
| 57 | <td >Source</td> |
---|
| 58 | |
---|
| 59 | |
---|
| 60 | |
---|
| 61 | <td><a href="./../idldoc-help.html?format=raw" title="Help on IDLdoc">Help</a></td> |
---|
| 62 | |
---|
| 63 | |
---|
| 64 | <td >Etc</td> |
---|
| 65 | |
---|
| 66 | <td id="flexible">Developer documentation</td> |
---|
| 67 | </tr> |
---|
| 68 | </table> |
---|
| 69 | |
---|
| 70 | </div> |
---|
| 71 | |
---|
| 72 | <div id="secondary_navbar"> |
---|
| 73 | |
---|
| 74 | <a href="fromreg.html"><<prev file</a> | <a href="imoms3.html">next file >></a> <a href="get_gridparams.html" target="_TOP">view single page</a> | <a href="./../index.html?format=raw" target="_TOP">view frames</a> summary: fields | routine details: <a href="#routine_details">routine</a> |
---|
| 75 | |
---|
| 76 | </div> |
---|
| 77 | |
---|
| 78 | |
---|
| 79 | <div id="container"> |
---|
| 80 | |
---|
| 81 | <h1 class="directory"><a href="directory-overview.html?format=raw">Interpolation/</a></h1> |
---|
| 82 | <h2 class="pro_file">get_gridparams.pro</h2> |
---|
| 83 | |
---|
| 84 | <div id="file_attr"> |
---|
| 85 | <dl> |
---|
| 86 | </dl> |
---|
| 87 | </div> |
---|
| 88 | |
---|
[101] | 89 | <div id="file_comments"> |
---|
| 90 | 1) extract from a NetCDF file the longitude, latidude, and their dimensions |
---|
| 91 | and make sure it is 1D or 2D arrays |
---|
| 92 | |
---|
| 93 | or 2) given longitude and latitude arrays get their dimensions and make sure |
---|
| 94 | they are 1D or 2D arrays |
---|
| 95 | </div> |
---|
[89] | 96 | |
---|
| 97 | |
---|
| 98 | |
---|
| 99 | |
---|
| 100 | |
---|
| 101 | |
---|
| 102 | |
---|
| 103 | |
---|
| 104 | |
---|
| 105 | <div id="routine_details"> |
---|
| 106 | |
---|
| 107 | |
---|
| 108 | <div class="routine_details" id="_get_gridparams"> |
---|
| 109 | |
---|
[101] | 110 | <h2><a class="top" href="#container">top</a>get_gridparams <span class="categories"> interpolation |
---|
| 111 | </span></h2> |
---|
[89] | 112 | |
---|
| 113 | <p class="header"> |
---|
| 114 | get_gridparams<span class="result">, <a href="#_get_gridparams_param_in1">in1</a>, <a href="#_get_gridparams_param_in2">in2</a>, <a href="#_get_gridparams_param_in3">in3</a>, <a href="#_get_gridparams_param_in4">in4</a>, <a href="#_get_gridparams_param_in5">in5</a>, <a href="#_get_gridparams_param_in6">in6</a>, <a href="#_get_gridparams_param_in7">in7</a>, <a href="#_get_gridparams_param_in8">in8</a></span>, <a href="#_get_gridparams_keyword_DOUBLE">DOUBLE</a>=<span class="result">DOUBLE</span></p> |
---|
| 115 | |
---|
| 116 | <div class="comments"> |
---|
[101] | 117 | </div> |
---|
[89] | 118 | |
---|
| 119 | |
---|
| 120 | |
---|
| 121 | |
---|
| 122 | <h3>Parameters</h3> |
---|
| 123 | |
---|
| 124 | |
---|
| 125 | <h4 id="_get_gridparams_param_in1">in1 |
---|
[101] | 126 | <span class="attr">in</span> |
---|
| 127 | <span class="attr">out</span> |
---|
[89] | 128 | |
---|
[101] | 129 | <span class="attr">required</span> |
---|
[89] | 130 | |
---|
| 131 | |
---|
| 132 | |
---|
| 133 | |
---|
| 134 | </h4> |
---|
| 135 | |
---|
[101] | 136 | <div class="comments"> the name of the netcdf file |
---|
[103] | 137 | 1d or 2D arrays defining longitudes and latitudes. |
---|
[101] | 138 | the variable that will contain the longitudes</div> |
---|
[89] | 139 | |
---|
| 140 | <h4 id="_get_gridparams_param_in2">in2 |
---|
[101] | 141 | <span class="attr">in</span> |
---|
| 142 | <span class="attr">out</span> |
---|
[89] | 143 | |
---|
[101] | 144 | <span class="attr">required</span> |
---|
[89] | 145 | |
---|
| 146 | |
---|
| 147 | |
---|
| 148 | |
---|
| 149 | </h4> |
---|
| 150 | |
---|
[101] | 151 | <div class="comments"> the name of the variable that contains the longitude in the NetCDF file |
---|
[103] | 152 | 1d or 2D arrays defining longitudes and latitudes. |
---|
| 153 | Note that these arrays are also outputs and can therefore be modified. |
---|
| 154 | |
---|
[101] | 155 | the variable that will contain the latitudes</div> |
---|
[89] | 156 | |
---|
| 157 | <h4 id="_get_gridparams_param_in3">in3 |
---|
[101] | 158 | <span class="attr">in</span> |
---|
[89] | 159 | |
---|
[103] | 160 | |
---|
[101] | 161 | <span class="attr">required</span> |
---|
[89] | 162 | |
---|
| 163 | |
---|
| 164 | |
---|
| 165 | |
---|
| 166 | </h4> |
---|
| 167 | |
---|
[101] | 168 | <div class="comments"> the name of the variable that contains the latitude in the NetCDF file |
---|
| 169 | the number of points in the longitudinal direction</div> |
---|
[89] | 170 | |
---|
| 171 | <h4 id="_get_gridparams_param_in4">in4 |
---|
[103] | 172 | <span class="attr">in</span> |
---|
[101] | 173 | <span class="attr">out</span> |
---|
[89] | 174 | |
---|
| 175 | |
---|
| 176 | |
---|
| 177 | |
---|
| 178 | |
---|
| 179 | |
---|
| 180 | </h4> |
---|
| 181 | |
---|
[101] | 182 | <div class="comments"> the number of points in the longitudinal direction |
---|
| 183 | the number of points in the latitudinal direction</div> |
---|
[89] | 184 | |
---|
| 185 | <h4 id="_get_gridparams_param_in5">in5 |
---|
[103] | 186 | <span class="attr">in</span> |
---|
[101] | 187 | <span class="attr">out</span> |
---|
[89] | 188 | |
---|
| 189 | |
---|
| 190 | |
---|
| 191 | |
---|
| 192 | |
---|
| 193 | |
---|
| 194 | </h4> |
---|
| 195 | |
---|
[101] | 196 | <div class="comments"> the number of points in the latitudinal direction |
---|
| 197 | 1 or 2 to specify if lon and lat should be 1D (jpi or jpj) |
---|
| 198 | arrays or 2D arrays (jpi,jpj). Note that of n_dimensions = 1, then the |
---|
| 199 | grid must be regular (each longitudes must be the same for all latitudes |
---|
| 200 | and each latitudes should be the sae for all longitudes). |
---|
| 201 | </div> |
---|
[89] | 202 | |
---|
| 203 | <h4 id="_get_gridparams_param_in6">in6 |
---|
| 204 | |
---|
[101] | 205 | <span class="attr">out</span> |
---|
[89] | 206 | |
---|
| 207 | |
---|
| 208 | |
---|
| 209 | |
---|
| 210 | |
---|
| 211 | |
---|
| 212 | </h4> |
---|
| 213 | |
---|
[101] | 214 | <div class="comments"> the variable that will contain the longitudes</div> |
---|
[89] | 215 | |
---|
| 216 | <h4 id="_get_gridparams_param_in7">in7 |
---|
| 217 | |
---|
[101] | 218 | <span class="attr">out</span> |
---|
[89] | 219 | |
---|
| 220 | |
---|
| 221 | |
---|
| 222 | |
---|
| 223 | |
---|
| 224 | |
---|
| 225 | </h4> |
---|
| 226 | |
---|
[101] | 227 | <div class="comments"> the variable that will contain the latitudes</div> |
---|
[89] | 228 | |
---|
| 229 | <h4 id="_get_gridparams_param_in8">in8 |
---|
| 230 | |
---|
[101] | 231 | <span class="attr">out</span> |
---|
[89] | 232 | |
---|
| 233 | |
---|
| 234 | |
---|
| 235 | |
---|
| 236 | |
---|
| 237 | |
---|
| 238 | </h4> |
---|
| 239 | |
---|
[101] | 240 | <div class="comments"> 1 or 2 to specify if lon and lat should be 1D (jpi or jpj) |
---|
| 241 | |
---|
| 242 | or |
---|
| 243 | |
---|
| 244 | 2) </div> |
---|
[89] | 245 | |
---|
| 246 | |
---|
| 247 | |
---|
| 248 | |
---|
| 249 | |
---|
| 250 | |
---|
| 251 | <h3>Keywords</h3> |
---|
| 252 | |
---|
| 253 | <h4 id="_get_gridparams_keyword_DOUBLE">DOUBLE |
---|
| 254 | |
---|
| 255 | |
---|
| 256 | |
---|
| 257 | |
---|
| 258 | |
---|
| 259 | |
---|
| 260 | |
---|
| 261 | |
---|
| 262 | </h4> |
---|
| 263 | |
---|
| 264 | <div class="comments"></div> |
---|
| 265 | |
---|
| 266 | |
---|
| 267 | |
---|
[101] | 268 | <h3>Examples</h3><div class="value"> |
---|
| 269 | |
---|
| 270 | 1) get_gridparams, file, lonname, latname, lon, lat, jpi, jpj, n_dimensions |
---|
| 271 | |
---|
| 272 | or |
---|
| 273 | |
---|
| 274 | 2) get_gridparams, lon, lat, jpi, jpj, n_dimensions |
---|
| 275 | |
---|
| 276 | 1) |
---|
| 277 | |
---|
| 278 | |
---|
| 279 | 1) ncdf_get_gridparams, 'coordinates_ORCA_R05.nc', 'glamt', 'gphit' $ |
---|
| 280 | , olon, olat, jpio, jpjo, 2 |
---|
| 281 | |
---|
| 282 | 2) ncdf_get_gridparams, olon, olat, jpio, jpjo, 2 |
---|
| 283 | </div> |
---|
| 284 | <h3>Version history</h3> |
---|
[89] | 285 | |
---|
| 286 | |
---|
[101] | 287 | <h4>History</h4><div class="value"> |
---|
| 288 | November 2005: Sebastien Masson (smasson@lodyc.jussieu.fr) |
---|
| 289 | </div> |
---|
[89] | 290 | |
---|
| 291 | |
---|
| 292 | |
---|
| 293 | |
---|
| 294 | |
---|
| 295 | |
---|
| 296 | |
---|
| 297 | |
---|
| 298 | |
---|
| 299 | |
---|
| 300 | |
---|
| 301 | |
---|
| 302 | |
---|
| 303 | |
---|
| 304 | |
---|
| 305 | |
---|
| 306 | |
---|
| 307 | |
---|
| 308 | </div> |
---|
| 309 | |
---|
| 310 | </div> |
---|
| 311 | |
---|
| 312 | |
---|
| 313 | |
---|
| 314 | <div id="tagline">Produced by IDLdoc 2.0.</div> |
---|
| 315 | |
---|
| 316 | </div> |
---|
| 317 | |
---|
| 318 | </body> |
---|
| 319 | </html> |
---|