Commit 878d5552 authored by Purves, Murray's avatar Purves, Murray
Browse files

Adding data file retrieval to test configuration

parent 846f92da
......@@ -8,3 +8,6 @@ ADD_GOOGLE_TEST(tstDecayDb.cc NP 1)
ADD_GOOGLE_TEST(tstHysplitCDump.cc NP 1)
ADD_GOOGLE_TEST(tstSpectrum.cc NP 1)
ADD_GOOGLE_TEST(tstArlDataStream.cc NP 1)
file(DOWNLOAD ftp://arlftp.arlhq.noaa.gov/pub/archives/reanalysis/RP195111.gbl ${CMAKE_CURRENT_BINARY_DIR}/RP195111.gbl)
......@@ -2,6 +2,7 @@
#include <vector>
#include "radixcore/system.hh"
#include "radixio/arldatastream.hh"
using namespace radix;
......@@ -10,7 +11,7 @@ TEST(RadixIO, ReadArlElements)
{
double tolerance = 0.001;
std::string testFile = "/home/ohp/data/met/RP195111.gbl";
std::string testFile = "RP195111.gbl";
ARLDataStream testStream(testFile, std::ios::in);
// Read the initial index header
......@@ -91,7 +92,7 @@ TEST(RadixIO, WriteArlElements)
{
double tolerance = 0.001;
std::string testReadFile = "/home/ohp/data/met/RP195111.gbl";
std::string testReadFile = "RP195111.gbl";
ARLDataStream setupStream(testReadFile, std::ios::in);
// Read the initial data
ARLIndexHeader setupTopIndexHeader;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment