anchor.diff:  -module(raws_ingest_server).
   -behaviour(gen_server).
   -define(SERVER, ?MODULE).
  +-include("raws_ingest.hrl").
   
   %% ------------------------------------------------------------------
   %% API Function Exports
   %% ------------------------------------------------------------------
   
   -export([start_link/5]).
  --export([report_errors/0,clear_errors/0,update_now/0]).
  +-export([report_errors/0,clear_errors/0,update_now/0,acquire_observations/3]).
   
   %% ------------------------------------------------------------------
   %% gen_server Function Exports
  
positive.code: %% Internal Function Definitions
  %% ------------------------------------------------------------------
  
  store_station_infos(StInfos) ->
    mnesia:transaction(fun () -> lists:map(fun mnesia:write/1, StInfos) end).
  
  
negative.code: update_now() ->
    gen_server:call(?SERVER,update_now).
  
  -spec acquire_observations(station_selector(),[atom()],{calendar:datetime(),calendar:datetime()}) -> ok|{error,any()}.
  acquire_observations(SSel,VarIds,{From,To}) ->
    true = is_station_selector(SSel),
    gen_server:call(?SERVER,{acquire_observations,SSel,VarIds,From,To},15000).
  
  
  %% ------------------------------------------------------------------
  %% gen_server Function Definitions
  