test_us42.php 1.87 KB
<?php

// 2 separate files, original sampling
$us42_1 = '{"nodeType":"download","type":"Download","downloadSrc":"0","structure":"2","sampling":600,"output":"","header":"0","timesrc":"Interval","startDate":"2008-01-31T00:00:00","stopDate":"2008-02-01T00:00:00","durationDay":"0001","durationHour":"00","durationMin":"00","durationSec":"00","list":["dst","imf"],"milli":true,"fileformat":"ASCII","timeformat":"YYYY-MM-DDThh:mm:ss","compression":"tar+gzip","leaf":true}';

// 1 file, 600s sampling 
$us42_2 = '{"nodeType":"download","type":"Download","downloadSrc":"0","structure":"1","sampling":600,"output":"","header":"0","timesrc":"Interval","startDate":"2008-01-31T00:00:00","stopDate":"2008-02-01T00:00:00","durationDay":"0001","durationHour":"00","durationMin":"00","durationSec":"00","list":["dst","imf"],"milli":true,"fileformat":"ASCII","timeformat":"YYYY-MM-DDThh:mm:ss","compression":"tar+gzip","leaf":true}';

// 1 file, 600s sampling, vector component
$us42_3 = '{"nodeType":"download","type":"Download","downloadSrc":"0","structure":"1","sampling":600, "output":"","header":"0","timesrc":"Interval","startDate":"2008-01-31T00:00:00", "stopDate":"2008-02-01T00:00:00","durationDay":"0001","durationHour":"00","durationMin":"00", "durationSec":"00","list":["dst","imf(0)"],"milli":true,"fileformat":"ASCII","timeformat":"YYYY-MM-DDThh:mm:ss", "compression":"tar+gzip","leaf":true}';

//1 file, 600s sampling, input TT
$us42_4 = '{"nodeType":"download","type":"Download","downloadSrc":"0","structure":"1","sampling":60,"output":"","header":"0","timesrc":"TimeTable","timeTables":[{"timeTableName":"MPX_table","id":"sharedtt_3"}],"list":["dst","imf"],"milli":true,"fileformat":"ASCII","timeformat":"YYYY-MM-DDThh:mm:ss","compression":"tar+gzip","leaf":true}';


$us42 = array("US42 - Test 1" => $us42_1, "US42 - Test 2" => $us42_2, "US42 - Test 3" => $us42_3, "US42 - Test 4" => $us42_4);

?>