[Thread Prev][Thread Next][Index]

[ferret_users] how to get Pressure(mb) axis data in reverse order



Hello Ferret Users,

I want to change sigma level z-axis with pressure(mb) values so I wrote a script.

!++++++++++++++++++++

set data q.nc

let press =\
{0.0,7.76486715808502,19.1474920954818,\
5.5095334329671,57.7252298204432,86.0958233667092,\
120.320114961464,159.597308168984,205.375139312848,\
269.693181583253,363.907443320277,480.335709752363,\
600.936070971621,710.819107916518,802.135476614033,\
872.668797870758,923.727954421369,958.711821388422,\
982.300930711410,999.956798673119}

define axis/z/units=mb zpressure=press

let q2=q[gz=zpressure@ASN]

fill m2[l=1,x=-170]
!++++++++++++++++++++++

The defined 'press' values are monotonic increasing order. Monotonic decreasing order definition not working.

Here the fill plot which I get has the y-axis in reverse order, means, 0 in lower and 1000 mb in upper part of axis range.

I tried to change the order of defined pressure values 'press', I kept it in monotonic decreasing order but ferret complains .....**NOT A monotonic order.

I tried to keep 'DEPTH' qualifier but problem did not solved and tried 'vlimits' to reverse it but the whole map reverses with the reversing y-axis pressure values.

Can any body help, how to reverse only the pressure values on y-axis, or if any thing wrong in my script.

Many thanks for your help.

Regards,
Yogesh

--

===========================================
Yogesh Tiwari,
Max-Planck Institute for Biogeochemistry,
Hans-Knoell Strasse 10,
D-07745 Jena,
Germany

Office : 0049 3641 576 376
Home : 0049 3641 223 163
Fax : 0049 3641 577 300
Cell : 0049 1520 4591 008
e-mail : yogesh.tiwari@bgc-jena.mpg.de
===========================================



[Thread Prev][Thread Next][Index]

Dept of Commerce / NOAA / OAR / PMEL / TMAP

Contact Us | Privacy Policy | Disclaimer | Accessibility Statement