Re: not able to change the lat lon values properly

From: Mary Haley <haley_at_nyahnyahspammersnyahnyah>
Date: Tue Mar 20 2012 - 09:17:38 MDT

Dear Bidyut,

I don't know what you mean about "not being able to change the lat lon values properly".

Do you mean that the plot is not correct? Your "var" variable looks like it has valid lat/lon coordinate arrays, and they have the correct "units", so gsn_csm_contour_map should be plotting your variable correctly.

One thing that is curious is that your longitude values go from 0 to 360.263. This could be a potential problem. Can you provide the file? If so, please visit this URL for ftp information:

http://www.ncl.ucar.edu/report_bug.shtml#HowToFTP

--Mary

On Mar 20, 2012, at 6:40 AM, Bidyut Bikash Goswami wrote:

> Dear ALL,
>
> I am using the attached script and not being able to change the lat lon values properly. I use the Version 5.1.1.
>
> The script doesn't give any error while running! Plot has been attached.
>
> Probably missing something...Kindly help.
>
> Regards,
> Bidyut
>
> Information about the file I use
> *********************************
> Variable: atts
> Type: string
> Total Size: 72 bytes
> 9 values
> Number of Dimensions: 1
> Dimensions and sizes: [9]
> Coordinates:
> (0) long_name
> (1) GridType
> (2) units
> (3) Dj
> (4) Di
> (5) Lo2
> (6) La2
> (7) Lo1
> (8) La1
>
>
> Variable: dims
> Type: string
> Total Size: 8 bytes
> 1 values
> Number of Dimensions: 1
> Dimensions and sizes: [1]
> Coordinates:
> (0) g0_lon_1
>
>
> Variable: var
> Type: float
> Total Size: 2654208 bytes
> 663552 values
> Number of Dimensions: 2
> Dimensions and sizes: [g0_lat_0 | 576] x [g0_lon_1 | 1152]
> Coordinates:
> g0_lat_0: [90..-89.975]
> g0_lon_1: [ 0..360.263]
> Number Of Attributes: 12
> center : US National Weather Service - NCEP (WMC)
> long_name : Precipitation rate
> units : kg/m^2/s
> _FillValue : 1e+20
> level_indicator : 1
> gds_grid_type : 0
> parameter_table_version : 2
> parameter_number : 59
> model : Spectral Statistical Interpolation (SSI) analysis from "Final" run.
> forecast_time : 0
> forecast_time_units : days
> initial_time : 02/03/1956 (00:00)
>
>
> Variable: lon
> Type: float
> Total Size: 4608 bytes
> 1152 values
> Number of Dimensions: 1
> Dimensions and sizes: [g0_lon_1 | 1152]
> Coordinates:
> g0_lon_1: [ 0..360.263]
> Number Of Attributes: 9
> long_name : longitude
> GridType : Cylindrical Equidistant Projection Grid
> units : degrees_east
> Dj : 0.313
> Di : 0.313
> Lo2 : 360.263
> La2 : -89.975
> Lo1 : 0
> La1 : 90
>
>
> Variable: lat
> Type: float
> Total Size: 2304 bytes
> 576 values
> Number of Dimensions: 1
> Dimensions and sizes: [g0_lat_0 | 576]
> Coordinates:
> g0_lat_0: [90..-89.975]
> Number Of Attributes: 9
> long_name : latitude
> GridType : Cylindrical Equidistant Projection Grid
> units : degrees_north
> Dj : 0.313
> Di : 0.313
> Lo2 : 360.263
> La2 : -89.975
> Lo1 : 0
> La1 : 90
> *********************************************<Rainfall.ps><plot_pgb1.ncl>_______________________________________________
> ncl-talk mailing list
> List instructions, subscriber options, unsubscribe:
> http://mailman.ucar.edu/mailman/listinfo/ncl-talk

_______________________________________________
ncl-talk mailing list
List instructions, subscriber options, unsubscribe:
http://mailman.ucar.edu/mailman/listinfo/ncl-talk
Received on Tue Mar 20 09:17:48 2012

This archive was generated by hypermail 2.1.8 : Tue Mar 20 2012 - 15:27:15 MDT