PDA

View Full Version : Need help on (In situ:ARGO data)


imuhammedad
25th November 2007, 02:51 PM
Dear Oceanographers,

I was trying to get some plots from ARGO data which was initially converted into matlab data file (.mat), but unfortunately i cannot! The structured format doesnt allow even matrix size checking.

I have colums of pressure,potential temp, lon, lat as the most needed ones.

I have attached the dataset and below is the copy of what i was doing in matlab with the dataset .

I would appreciate any help on this matter!

:sad10:

Thanks in advance!

Imuhammedad

=============================================
>> whos
Name Size Bytes Class
ans 89x1 712 double array
float 1x97 987756 struct array
format_type 1x8 16 char array
Grand total is 115598 elements using 988484 bytes
>> float
float =
1x97 struct array with fields:
profile_number
data_file
float
serial_date
decimal_year
lon
lat
npoints
p
p_qc
s
s_qc
t
t_qc
p_calibrate
s_calibrate
t_calibrate
p_calibrate_qc
s_calibrate_qc
t_calibrate_qc
>> size(float.s)
??? Error using ==> size
Too many input arguments.
>> pcolor(float.lon,float.lat,float.s)
??? Error using ==> pcolor
Too many input arguments.
====================================

jgarces
27th November 2007, 09:03 PM
Dear friend, try the attached script

imuhammedad
3rd December 2007, 08:24 PM
Excellent, Jgarces!

It worked, except that single notorious variable!

Thanks alot!

imuhammedad