[Thread Prev][Thread Next][Index]

[ferret_users] Error while defining irregular depth axis



Dear Ferret users,
I am trying to convert ASCII to NC. I am getting an error while defining an irregular depth axis. My depths consisting of 100 npoints have attached the file below (zaxis). 

My code and error message is; 

define axis/x=65.0:65.0/npoints=1/unit=degree lon
define axis/y=8.0:8.0/npoints=1/unit=degree lat
!define axis/z=0:500:5/npoints=100/DEPTH/unit=meter depth
file/var=depth/format=(F700.2) zaxis
define axis/z/depth/npoints=100/unit=meter/name=depth/from_data depth

 **ERROR: improper grid or axis definition: data for DEFINE AXIS/FROM_VARIABLE is not monotonically increasing at index 2
define axis/z/depth/npoints=100/unit=meter/name=depth/from_data depth
Command file, command group, or REPEAT execution aborted


Where I am doing wrong? How can I define these types of irregular depths? I have already gone through previous similar threads in the forum, but nothing solved my problem.

Many thanks in advance.

Thanks and regards,
Akash. S 


Attachment: zaxis
Description: Binary data


[Thread Prev][Thread Next][Index]
Contact Us
Dept of Commerce / NOAA / OAR / PMEL / Ferret

Privacy Policy | Disclaimer | Accessibility Statement