Unidata - To provide the data services, tools, and cyberinfrastructure leadership that advance Earth system science, enhance educational opportunities, and broaden participation. Unidata
         
  advanced  
 

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

operator not implemented



Hi all,
 I am trying to use constraint expressions to obtain a part of netCDF dataset, and the dap_nc_handler is giving an unimplemented operator error. Can you help me with this?

 I obtained the dataset from:
ftp://ftp.cdc.noaa.gov/Datasets/icoads/2degree/std/air.mean.nc

The DDS for this dataset is:
gkabra2@elephant:~> dap_nc_handler -o dds test_data/air.mean.nc
HTTP/1.0 200 OK
XDODS-Server: 3.6.0
XOPeNDAP-Server: 3.6.0
XDAP: 3.0
Date: Sat, 03 Jun 2006 17:13:15 GMT
Last-Modified: Wed, 31 May 2006 19:43:00 GMT
Content-Type: text/plain
Content-Description: dods_dds
 
Dataset {
    Float32 lat[lat = 90];
    Float32 lon[lon = 180];
    Float64 time[time = 2472];
    Grid {
      Array:
        Int16 air[time = 2472][lat = 90][lon = 180];
      Maps:
        Float64 time[time = 2472];
        Float32 lat[lat = 90];
        Float32 lon[lon = 180];
    } air;
} air.mean.nc;


 When I try directly using dap_nc_handler, I get an unsupported operator error:
gkabra2@elephant:~> dap_nc_handler -o DataDDS -e 'air.air&time<657075' test_data/air.mean.nc
HTTP/1.0 200 OK
XDODS-Server: 3.6.0
XOPeNDAP-Server: 3.6.0
XDAP: 3.0
Date: Sat, 03 Jun 2006 17:23:56 GMT
Last-Modified: Wed, 31 May 2006 19:43:00 GMT
Content-Type: application/octet-stream
Content-Description: dods_data
 
Dataset {
    Int16 air[time = 2472][lat = 90][lon = 180];
} air.mean.nc;
Data:
HTTP/1.0 200 OK
XDODS-Server: 3.6.0
XOPeNDAP-Server: 3.6.0
XDAP: 3.0
Date: Sat, 03 Jun 2006 17:23:56 GMT
Last-Modified: Sat, 03 Jun 2006 17:23:56 GMT
Content-Type: text/plain
Content-Description: dods_error
Cache-Control: no-cache
 
Error {
    code = 1002;
    message = "An internal error was encountered in BaseType.cc at line 866:
Unimplemented operator.
Please report this to support@xxxxxxxxxxxxxxxx
";
};


 If I use dap_asciival, I am getting an internal server error:
gkabra2@elephant:~> dap_asciival -f dap_nc_handler -e 'air&air.time<657075' -w test_data/air.mean.nc | more
Reading: test_data/air.mean.nc
Error: An internal error was encountered in Vector.cc at line 551:
The server sent declarations and data with mismatched sizes.
Please report this to support@xxxxxxxxxxxxxxxx

Thanks,
Govind

 
 
  Contact Us     Site Map     Search     Terms and Conditions     Privacy Policy     Participation Policy
 
National Science Foundation (NSF) UCAR Office of Programs University Corporation for Atmospheric Research (UCAR)   Unidata is a member of the UCAR Office of Programs, is managed by the University Corporation for Atmospheric Research, and is sponsored by the National Science Foundation.
P.O. Box 3000     Boulder, CO 80307-3000 USA     Tel: 303-497-8643     Fax: 303-497-8690