[Thread Prev][Thread Next][Index]

[ferret_users] Irregular depth from delimited file



Dear ferret users,
I have to generate a time series vertical plot of nutrient or any data.
In which I need y=depth and x=collection dates/numbers.
My delimited data set contains 5 columns such as depth, collection,
data1, data2, data3.
My collection is regular from 1 to 18 but the depths of each
collection were irregular.
I have tried with some earlier queries and methods.
I can define time axis (regular), but I can't find a solution for
depth (irregular).
Kindly help me.

Thanks
My data is attached here.

I have followed these methods,


yes? FILE/FORMAT=DELIM/type=numeric/SKIP=1/VAR="a1,a2,a3,a4,a5" M1_Ratio.csv
yes? sh da
     currently SET data sets:
    1> ./M1_Ratio.csv  (default)
 name     title                             I         J         K         L
 A1       a1                               1:71      ...       ...       ...
 A2       a2                               1:71      ...       ...       ...
 A3       a3                               1:71      ...       ...       ...
 A4       a4                               1:71      ...       ...       ...
 A5       a5                               1:71      ...       ...       ...

yes? list/x=1:3 a1,a2,a3,a4,a5
             DATA SET: ./M1_Ratio.csv
             X: 1 to 3
 Column  1: A1 is a1
 Column  2: A2 is a2
 Column  3: A3 is a3
 Column  4: A4 is a4
 Column  5: A5 is a5
            A1    A2      A3       A4      A5
1   / 1:  0.000  1.000  0.1960  0.007000  27.22
2   / 2:  1.000  1.000  0.1700  0.007000  23.28
3   / 3:  2.000  1.000  0.2320  0.010000  22.16
yes? DEFINE AXIS/T/UNITS=days/T0=1-jan-2017 tax = a2
           *** NOTE: Axis has repeated values -- micro-adjusting ...
yes? SHOW AXIS tax
 name       axis              # pts   start                end
 TAX       TIME                70 i   02-JAN-2017 00:00    19-JAN-2017 00:00
T0 = 1-JAN-2017
   Axis span (to cell edges) = 17.00007

yes? def axis/depth/z/units=meters/name=depth/from_data a1

 **ERROR: improper grid or axis definition: data for DEFINE
AXIS/FROM_VARIABLE is not monotonically increasing at index 7

Help me to solve this issue.

Regards,
C. Karnan, CSIR - SRF
Ph. D Research Scholar
National Institute of Oceanography (CSIR)
Regional Centre, Dr Salim Ali Road
Kochi - 682 018.
India.
Mobile No. +91 9633032345; +91 9941811608
Depth,Collection,N:P,N:Si,Si:P
0,1,0.196,0.007,27.216
1,1,0.170,0.007,23.283
2,1,0.232,0.010,22.161
3,1,0.877,0.044,19.877
4,1,1.163,0.048,24.070
5,1,2.621,0.168,15.603
0,2,0.226,0.006,35.194
1,2,1.711,0.049,34.921
2,2,0.171,0.005,31.857
3,2,2.585,0.071,36.463
4,2,5.291,0.193,27.364
5,2,5.987,0.226,26.493
0,3,ND,ND,24.735
2,3,0.300,0.012,24.588
4,3,0.356,0.023,15.620
6,3,1.606,0.242,6.640
0,4,3.913,0.087,44.864
2,4,5.093,0.147,34.744
4,4,2.608,0.089,29.463
6,4,1.655,0.086,19.165
0,5,0.160,0.016,9.915
2,5,1.250,0.077,16.281
4,5,0.290,0.029,10.016
6,5,0.055,0.006,8.582
0,6,0.000,0.000,18.600
2,6,0.000,0.000,10.385
4,6,0.089,0.006,15.833
6,6,3.709,0.152,24.364
0,7,4.373,0.097,45.241
3,7,0.419,0.038,10.965
6,7,1.537,0.087,17.710
0,8,2.599,0.157,16.560
2,8,6.558,0.785,8.354
4,8,7.613,0.536,14.212
6,8,5.951,0.250,23.785
0,9,ND,ND,ND
0,10,0.059,0.002,35.222
2,10,0.050,0.004,11.910
4,10,5.574,0.494,11.294
6,10,4.713,0.721,6.536
0,11,0.038,0.007,5.493
2,11,0.025,0.009,2.727
4,11,2.654,0.396,6.706
6,11,4.285,0.546,7.842
0,12,3.821,0.322,11.862
3,12,3.920,0.293,13.372
6,12,4.302,0.470,9.145
0,13,0.159,0.036,4.376
2,13,0.186,0.031,6.061
4,13,0.720,0.121,5.974
6,13,1.256,0.387,3.243
0,14,-0.044,-0.036,1.222
2,14,0.757,0.623,1.215
4,14,2.930,1.320,2.219
6,14,3.914,1.387,2.822
0,15,4.826,0.315,15.303
2,15,2.152,0.212,10.154
4,15,4.014,0.334,12.004
6,15,3.938,0.542,7.263
0,16,0.768,0.380,2.023
2,16,0.363,0.175,2.076
4,16,0.255,0.102,2.507
6,16,0.076,0.036,2.135
0,17,5.050,0.300,16.826
3,17,6.740,0.494,13.648
6,17,11.97,0.526,22.761
0,18,4.980,0.516,9.651
2,18,2.198,0.129,16.983
4,18,0.463,0.008,56.464
6,18,0.570,0.021,27.477

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

Privacy Policy | Disclaimer | Accessibility Statement