[ncl-talk] Y axis ticks

Soma Roy somaroy892 at gmail.com
Thu Jun 28 10:26:33 MDT 2018


Hello,

I am trying to calculate daily mean values from daily 4 time steps and plot
a date vs latitude plot.

Date on Y-axis is not coming clearly.

PrintVarSummary of the data is as follows;

Variable: tem
Type: float
Total Size: 6416172 bytes
            1604043 values
Number of Dimensions: 3
Dimensions and sizes:   [time | 123] x [latitude | 161] x [longitude | 81]
Coordinates:
            time: [969336..970068]
            latitude: [ 0..40]
            longitude: [65..85]
Number Of Attributes: 6
  missing_value :       -32767
  missing_value_original :      -32767
  _FillValue :  -32767
  _FillValue_original : -32767
  long_name :   2 metre temperature
  units :       K

Variable: cd_date
Type: double
Total Size: 1992 bytes
            249 values
Number of Dimensions: 1
Dimensions and sizes:   [249]
Coordinates:
Number Of Attributes: 2
  units :       days since 1990-01-01 00:00:00
  calendar :    gregorian


Variable: cd_date
Type: double
Total Size: 1992 bytes
            249 values
Number of Dimensions: 1
Dimensions and sizes:   [249]
Coordinates:
Number Of Attributes: 2
  units :       days since 1990-01-01 00:00:00
  calendar :    gregorian
(0)     2010080100
(1)     2010080106
(2)     2010080112
(3)     2010080118
(4)     2010080200
(5)     2010080206
(6)     2010080212
(7)     2010080218
........................................
(120)   2010083100
(121)   2010083106
(122)   2010083112
(123)   2010083118

(124)   2010080103
(125)   2010080109
(126)   2010080115
(127)   2010080121
(128)   2010080203
(129)   2010080209
.........................................
(244)   2010083103
(245)   2010083109
(246)   2010083115
(247)   2010083121
(248)   2010090100

Variable: temp
Type: float
Total Size: 12988836 bytes
            3247209 values
Number of Dimensions: 3
Dimensions and sizes:   [time | 249] x [latitude | 161] x [longitude | 81]
Coordinates:
            time: [969336..970080]
            latitude: [ 0..40]
            longitude: [65..85]
Number Of Attributes: 6
  units :       K
  long_name :   2 metre temperature
  _FillValue_original : -32767
  _FillValue :  -32767
  missing_value_original :      -32767
  missing_value :       -32767

Variable: ts1
Type: short
Total Size: 6468336 bytes
            3234168 values
Number of Dimensions: 3
Dimensions and sizes:   [time | 248] x [latitude | 161] x [longitude | 81]
Coordinates:
            time: [969336..970077]
            latitude: [ 0..40]
            longitude: [65..85]
Number Of Attributes: 6
  scale_factor :        0.0008040587614255413
  add_offset :  289.9817757049943
  _FillValue :  -32767
  missing_value :       -32767
  units :       K
  long_name :   2 metre temperature

Variable: ts
Type: float
Total Size: 12936672 bytes
            3234168 values
Number of Dimensions: 3
Dimensions and sizes:   [time | 248] x [latitude | 161] x [longitude | 81]
Coordinates:
            time: [969336..970077]
            latitude: [ 0..40]
            longitude: [65..85]
Number Of Attributes: 1
  _FillValue :  -32767

Variable: tim
Type: integer
Total Size: 996 bytes
            249 values
Number of Dimensions: 1
Dimensions and sizes:   [time | 249]
Coordinates:
            time: [969336..970080]
Number Of Attributes: 3
  units :       hours since 1900-01-01 00:00:0.0
  long_name :   time
  calendar :    gregorian

Variable: xDay
Type: float
Total Size: 1617084 bytes
            404271 values
Number of Dimensions: 3
Dimensions and sizes:   [time | 31] x [latitude | 161] x [longitude | 81]
Coordinates:
            time: [969336..970056]
            latitude: [ 0..40]
            longitude: [65..85]
Number Of Attributes: 8
  _FillValue :  -32767
  missing_value :       -32767
  missing_value_original :      -32767
  _FillValue_original : -32767
  long_name :   2 metre temperature
  units :       K
  time :        969336
  NCL_tag :     calculate_daily_values: arith=avg

Output figure file and script are attached below.

Kindly inform me how to fix it.

Thanks,
Soma
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.ucar.edu/pipermail/ncl-talk/attachments/20180628/35c9abf8/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: time_lat.png
Type: image/png
Size: 120828 bytes
Desc: not available
URL: <http://mailman.ucar.edu/pipermail/ncl-talk/attachments/20180628/35c9abf8/attachment.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: test.ncl
Type: application/octet-stream
Size: 2687 bytes
Desc: not available
URL: <http://mailman.ucar.edu/pipermail/ncl-talk/attachments/20180628/35c9abf8/attachment.obj>


More information about the ncl-talk mailing list