BAT::DiGIRLoader - load data into BAT from DiGIR providers


Back to top ^


NAME

BAT::DiGIRLoader - load data into BAT from DiGIR providers

Back to top ^


SYNOPSIS

  require BAT::DiGIRLoader;

  BAT::DiGIRLoader::load(%params);

Back to top ^


DESCRIPTION

This module provides a single function, load(), which utilises Net::DiGIR and BAT::Database to retrieve and store observation data.

Back to top ^


FUNCTIONS

load()

  BAT::DiGIRLoader::load(%params);

Utilises Net::DiGIR::SQL and BAT::Database to retrieve and store observation data. Uses the $BAT::Config::Proxy constant to set the proxy for Net::DiGIR::SQL. Arguments to load() are:

  session_id   - (optional) For loading DiGIR data for a single session
                 Nothing else in BAT supports this feature because it
                 takes too long.
  provider     - The URL of the DiGiR provider.
  resource     - The resource code of to be queried.
  west, east, south, north
               - Bounding box (in decimal degrees) of the region of
                 interest.
  where_clause - Extra conditions on the data to be retrieved.

Back to top ^


SEE ALSO

Net::DiGIR::SQL, BAT::Database, BAT::Config

Back to top ^


AUTHOR

  Bryn Honeyman 2005

Back to top ^

 BAT::DiGIRLoader - load data into BAT from DiGIR providers