[ncl-talk] coordinates conformity

Amadou Coulibaly mpapin24 at gmail.com
Sat May 14 06:06:22 MDT 2016


Hello NCL users,

Using Unstaggers an input variable along a specified dimension, I have been
able to have adv_u and adv_v in same nlon and nlat as u and v. Is this
method correct?

adv_u1     = wrf_user_unstagger(adv_u,adv_u at stagger)
adv_v1     = wrf_user_unstagger(adv_v,adv_v at stagger)

Best regards

On 14 May 2016 at 12:50, Amadou Coulibaly <mpapin24 at gmail.com> wrote:

> Dear NCL users,
>
> I want to have the same coordinates for the following parameters:
> Variable: u
> Type: float
> Total Size: 397184 bytes
>             99296 values
> Number of Dimensions: 3
> Dimensions and sizes:    [time | 8] x [lat | 107] x [lon | 116]
> Coordinates:
>             time: [17280..18540]
>             lat: [-2.317024..11.94772]
>             lon: [-7.181778..8.389778]
> Number Of Attributes: 6
>   coordinates :    XLONG XLAT XTIME
>   stagger :
>   units :    m s-1
>   description :    U at 10 M
>   MemoryOrder :    XY
>   FieldType :    104
>
> Variable: v
> Type: float
> Total Size: 397184 bytes
>             99296 values
> Number of Dimensions: 3
> Dimensions and sizes:    [time | 8] x [lat | 107] x [lon | 116]
> Coordinates:
>             time: [17280..18540]
>             lat: [-2.317024..11.94772]
>             lon: [-7.181778..8.389778]
> Number Of Attributes: 6
>   coordinates :    XLONG XLAT XTIME
>   stagger :
>   units :    m s-1
>   description :    V at 10 M
>   MemoryOrder :    XY
>   FieldType :    104
>
> Variable: lon
> Type: float
> Total Size: 464 bytes
>             116 values
> Number of Dimensions: 1
> Dimensions and sizes:    [lon | 116]
> Coordinates:
> Number Of Attributes: 6
>   FieldType :    104
>   MemoryOrder :    XY
>   description :    LONGITUDE, WEST IS NEGATIVE
>   units :    degree_east
>   stagger :
>   coordinates :    XLONG XLAT
>
> Variable: lat
> Type: float
> Total Size: 428 bytes
>             107 values
> Number of Dimensions: 1
> Dimensions and sizes:    [lat | 107]
> Coordinates:
> Number Of Attributes: 6
>   FieldType :    104
>   MemoryOrder :    XY
>   description :    LATITUDE, SOUTH IS NEGATIVE
>   units :    degree_north
>   stagger :
>   coordinates :    XLONG XLAT
>
> Variable: adv_u
> Type: float
> Total Size: 19629792 bytes
>             4907448 values
> Number of Dimensions: 4
> Dimensions and sizes:    [Time | 8] x [bottom_top | 49] x [south_north |
> 107] x [west_east_stag | 117]
> Coordinates:
> Number Of Attributes: 6
>   coordinates :    XLONG_U XLAT_U XTIME
>   stagger :    X
>   units :
>   description :    u-advection tendency
>   MemoryOrder :    XYZ
>   FieldType :    104
>
> Variable: adv_v
> Type: float
> Total Size: 19643904 bytes
>             4910976 values
> Number of Dimensions: 4
> Dimensions and sizes:    [Time | 8] x [bottom_top | 49] x
> [south_north_stag | 108] x [west_east | 116]
> Coordinates:
> Number Of Attributes: 6
>   coordinates :    XLONG_V XLAT_V XTIME
>   stagger :    Y
>   units :
>   description :    v-advection tendency
>   MemoryOrder :    XYZ
>
> We can see that the variables adv_u and adv_v have different longitude and
> latitude number compare to u and v. So it there any function to change
> adv_u in (nlon=116) and adv_v (nlat=107) as u and v?
>
> Best regards
>
>
> --
> * COULIBALY   AMADOU   *
> PhD  Student  on  West  African  Climate  System (WACS)
> FUTA - Federal  University  of  Technology of Akure, Nigeria
>
> *Visiting Student - *
> *University of Cologne, Germany**Institute of Geophysics and Meteorology*
> Pohligstr. 3 / Office 3.102
> D-50969 Köln
>
> *Project*: WASCAL (West African Science Service Centre on Climate Change
> and Adapted Land Use)
> Phone:(+234) 812 965 3659 /(+223) 90 08 26 71 /(+226) 64 57 37 27 /+49
> 15218352574
>
> E-mail: mpapin24 at gmail.com / coulibalya68 at yahoo.com
>
> "*The time is always right to do right": Nelson Mandela*
>
> *"Character is like a tree and reputation like a shadow.  The shadow is
> what we think of it; the tree is the real thing" : Abraham Lincoln*
>
> *"Do what you can, with what you have, where you are" Theodore Roosevelt*
>
>
>
>
>
>



-- 
* COULIBALY   AMADOU   *
PhD  Student  on  West  African  Climate  System (WACS)
FUTA - Federal  University  of  Technology of Akure, Nigeria

*Visiting Student - *
*University of Cologne, Germany**Institute of Geophysics and Meteorology*
Pohligstr. 3 / Office 3.102
D-50969 Köln

*Project*: WASCAL (West African Science Service Centre on Climate Change
and Adapted Land Use)
Phone:(+234) 812 965 3659 /(+223) 90 08 26 71 /(+226) 64 57 37 27 /+49
15218352574

E-mail: mpapin24 at gmail.com / coulibalya68 at yahoo.com

"*The time is always right to do right": Nelson Mandela*

*"Character is like a tree and reputation like a shadow.  The shadow is
what we think of it; the tree is the real thing" : Abraham Lincoln*

*"Do what you can, with what you have, where you are" Theodore Roosevelt*
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.ucar.edu/pipermail/ncl-talk/attachments/20160514/819c6435/attachment.html 


More information about the ncl-talk mailing list