[Cosmic_announce] CDAAC's New Way of Fetching Data

Maggie Sleziak-Sallee maggie at ucar.edu
Wed Oct 16 16:27:32 MDT 2013


Dear CDAAC Data Users:

       The CDAAC team has introduced a new way of fetching data via
       the web using a REST (REpresentational State Transfer) architecture.

       With this interface you can fetch a daily tarball of data for a 
specified mission, file type and day.

       Here are two ways you can use it: (You will need your CDAAC user 
name and password)

       a) Using wget:
        o  wget -q --http-user=xxxx --http-passwd=xxxx
           
http://cdaac-www.cosmic.ucar.edu/cdaac/rest/tarservice/data/mission/filetype/YYYY.DDD
           Where:
            o  mission is the CDAAC mission name i.e. cosmic
            o  filetype is the file type i.e. wetPrf
            o  YYYY.DDD is the day of year i.e: 2012.305

           i.e:
        o  wget -q --http-user=xxxx --http-passwd=xxxx
           
http://cdaac-www.cosmic.ucar.edu/cdaac/rest/tarservice/data/cosmic/atmPrf/2012.304 
-O
           cosmic_atmPrf_2012.304.tar
        o  wget -q --http-user=xxxx --http-passwd=xxxx
           
http://cdaac-www.cosmic.ucar.edu/cdaac/rest/tarservice/data/cosmic/wetPrf/2012.301 
-O
           cosmic_wetPrf_2012.301.tar

       NOTE:  This will replace the current individual file wget which
       many of you have been using.

       b) Or Using our Web at:
       http://cdaac-www.cosmic.ucar.edu/cdaac/tar/rest.html
       (Instructions are on the page)
       Please let us know should you experience any errors with either 
interface, wget or Web.
       The Web API has been proven to work best with Safari and Fire Fox.

       The object of this architectural change is the first step in our 
longer term plan of switching from providing
       single data files to daily tarballs, helping us to manage our 
growing data inventory better.

       Cheers,
      The CDAAC Team

-- 
Maggie Sleziak-Sallee
Software Engineer II
COSMIC - UCAR
Phone: 303-497-8020
Email: maggie at ucar.edu
http://www.cosmic.ucar.edu/



More information about the Cosmic_announce mailing list