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]

Re: Sequences, hyperslabs and selections



I am very curious what answer this will receive. Right now, for any OPeNDAP server we have that returns sequences, such as the java Database server, if I try to give a hyperslab I get an error. Also, if I have a grid type, and I try to give it a constraint expression, I get an error.

Does the DAP 2 specifications not allow the actions above, or are these capabilities theoretically in the specifications and not implemented in the servers?

-Roy

At 6:05 PM -0300 5/29/06, Roberto De Almeida wrote:
Hi, all. A quick question:

If a client applies both a hyperslab and a selection on a sequence,
what is the order of precedence? Eg, if I have the following dataset:

 Dataset {
   Sequence {
     Float64 lat;
     Float46 lon;
   } coastline;
 } coastline.db;

And a client requests the following URL:

 http://example.com/coastline.db.dods?coastline[0:1:9]&coastline.lat>80

Am I right to assume that the hyperslab should be applied *after*
(return the first 10 items were latitude is greater than 80) the
selection? This is not clear on the DAP 2 draft.

Thanks,
Roberto


--
**********************
"The contents of this message do not reflect any position of the U.S. Government or NOAA."
**********************
Roy Mendelssohn
Supervisory Operations Research Analyst
NOAA/NMFS
Environmental Research Division
Southwest Fisheries Science Center
1352 Lighthouse Avenue
Pacific Grove, CA 93950-2097


e-mail: Roy.Mendelssohn@xxxxxxxx (Note new e-mail address)
voice: (831)-648-9029
fax: (831)-648-8440
www: http://www.pfeg.noaa.gov/

"Old age and treachery will overcome youth and skill."


 
 
  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