[Thread Prev][Thread Next][Index]

axis value in DODS served netCDF files



Hi,

I try to read NetCDF files served by DODS.

I use FERRET v5.41 under Linux.

My NetCDF files are served by the dods aggregation server (v 0.6 under
linux as well).

My dataset looks like (sending the dods request
:http://datacer.ifremer.fr:8080/dodsC/wam/Atl.dds):

Dataset {
    Grid {
     ARRAY:
        Int16 wave_height[time = 240][lat = 21][lon = 21];
     MAPS:
        Int32 time[time = 240];
        Float32 lat[lat = 21];
        Float32 lon[lon = 21];
    } wave_height;
...

If I send the dods request :
http://datacer.ifremer.fr:8080/dodsC/wam/Atl.ascii?lon[0:1:20]

I get :
Dataset {
    Float32 lon[lon = 21];
} wam/Atl;
---------------------------------------------
lon[21]
-40.0, -38.0, -36.0, -34.0, -32.0, -30.0, -28.0, -26.0, -24.0, -22.0,
-20.0, -18.0, -16.0, -14.0, -12.0, -10.0, -8.0, -6.0, -4.0, -2.0, 0.0

But I cannot get the axis value when I type the following commands in
ferret :
yes? set data "http://datacer.ifremer.fr:8080/dodsC/wam/Atl";
yes? list x[g=wave_height]                                  
             VARIABLE : X
                        axis LON
             FILENAME : Atl
             FILEPATH : http://datacer.ifremer.fr:8080/dodsC/wam/
             SUBSET   : 21 points (X)
 1    /  1:   1.00
 2    /  2:   2.00
 3    /  3:   3.00
 4    /  4:   4.00
 5    /  5:   5.00
 6    /  6:   6.00
 7    /  7:   7.00
 8    /  8:   8.00
 9    /  9:   9.00
 10   / 10:  10.00
...

I was waiting for the values standing in my "lon" table.

Do you have an idea which could help me.
Thanks,

Bye,

Thomas.


[Thread Prev][Thread Next][Index]

Dept of Commerce / NOAA / OAR / PMEL / TMAP

Contact Us | Privacy Policy | Disclaimer | Accessibility Statement