Re: [thredds] TDS access from IOS and Android apps

Hi Emanuele:

Yes, as Rich says, the Netcdf subset service allows a client that just talks HTTP to make queries and get back CSV or XML from a TDS. Docs are at:

http://www.unidata.ucar.edu/software/thredds/current/tds/interfaceSpec/NetcdfSubsetService_4_3.html

WE do plan on getting some subset of the CDM library to run on Android eventually, but ncss works now and may be a better fit.

John

On 1/14/2014 10:36 AM, Signell, Richard wrote:
Emanuele,

You can also use the TDS NetCDF Subset Service "Grid as Point
Dataset", if what you want is to extract time series at a point.  It
can return XML.  Here's an example extracting surface pressure for the
next two days from the NAM model for Boston, MA:

http://thredds.ucar.edu/thredds/ncss/grid/grib/NCEP/NAM/CONUS_12km/best?var=Pressure_surface&latitude=42.37&longitude=-71.03&time_start=2014-01-14T00%3A00%3A00Z&time_end=2014-01-16T00%3A00%3A00Z&vertCoord=&accept=xml

If you click the NCSS service link for a particular dataset on the
TDS, there is GUI that helps folks construct these RESTful queries,
for example:
http://thredds.ucar.edu/thredds/ncss/grid/grib/NCEP/NAM/CONUS_12km/best/dataset.html

-Rich

On Tue, Jan 14, 2014 at 10:21 AM, Jeff McWhirter
<jeff.mcwhirter@xxxxxxxxx> wrote:
Hi Emanuale,

We've been building out various text formats for access to point and model
data in RAMADDA. The TDS and RAMADDA provide time series extraction services
for grids. Currently there isn't any good standard for writing gridded data
as a text file.

In RAMADDA we've been working on a JSON encoding. We use Unidata's Java CDM
for the heavy lifting and the transform the CSV timeseries into JSON. We are
looking for some feedback on this JSON format. It is really (really) new and
I will be writing up documentation today as a matter of fact.


-Jeff]



On Tue, Jan 14, 2014 at 8:05 AM, Ben Domenico <bendomenico@xxxxxxxxx> wrote:

Hi Emanuele and Sean,

There are other approaches to doing at least part of what you suggest.

For example, if you use the WCS or WMS interface to a THREDDS Data Server,
you can make your request in coordinate (lat/long) space.  At one point, it
was possible to request the output in certain dialects of XML.   In
particular NcML and NcML-GML.   I'm not sure option for these formats is
still supported in the more recent versions of the TDS, but we are working
on a draft standard for such an encoding in the OpenGeospatial Consortium.

I am working on two projects that may have a bearing on your needs.   One
involved writing python clients for WMS and WCS.   The other involves using
a technology called brokering that could run in concert with your TDS to
produce the XML output if it is no longer an option in the TDS.
Unfortunately these projects are under development so they may not be of
help immediately, but it will be good for us to keep your needs in mind as a
practical use case.

Also note that we are working with Stefano Nativi's team at the Italian
CNR on these projects.   Perhaps you know Stefano.

-- Ben


On Tue, Jan 14, 2014 at 7:48 AM, Sean Arms <sarms@xxxxxxxxxxxxxxxx> wrote:

Hi Emanuele,

Are you looking to return a grid or time series from a given lat/lon
point?

Cheers!

Sean

On 1/14/14, 3:31 AM, emanuele lombardi wrote:
Hi,

we need to build an IOS app (and also an Android one) to display on
smartphones data coming from our THREDDS server. Programming would be easier
if the
app could:

1) send to TDS the values of lat & lon (instead of I and J index) to
define the requested area
2) get data from TDS in XML format (insted of ascii or netcdf)

Am I out of look?

Do you think it is possible to have the Netcdf Java library run on IOS
and Android?

Thank you very much,
Emanuele



_______________________________________________
thredds mailing list
thredds@xxxxxxxxxxxxxxxx
For list information or to unsubscribe,  visit:
http://www.unidata.ucar.edu/mailing_lists/



_______________________________________________
thredds mailing list
thredds@xxxxxxxxxxxxxxxx
For list information or to unsubscribe,  visit:
http://www.unidata.ucar.edu/mailing_lists/



_______________________________________________
thredds mailing list
thredds@xxxxxxxxxxxxxxxx
For list information or to unsubscribe,  visit:
http://www.unidata.ucar.edu/mailing_lists/






  • 2014 messages navigation, sorted by:
    1. Thread
    2. Subject
    3. Author
    4. Date
    5. ↑ Table Of Contents
  • Search the thredds archives: