HydrologicEngineeringCenter / hec-dss

source code for HEC-DSS (Data Storage System)

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

status code- behavior change in ztsRetrieve

ktarbet opened this issue · comments

TestInvalidTimeWindow tries to read time series data, using a range of dates that do not exists in the DSS file.

The behavior appears to have changed.

In the table below the values are the returned status codes.

ztsRetrieve latest code january
DSS6 0 -1 (5)
DSS7 -1 -1

note: (5) indicates lower level code had status5.

Test setup:

path = "//TYRONE 4 NE BALD EAG/PRECIP-INC/01JUN1972/1HOUR/OBS/"
zStructTimeSeries* tss = zstructTsNewTimes(path, "02SEP2008", "0001",
			"11OCT2009", "2400");
		status = ztsRetrieve(ifltab, tss, 0, 2, 0);

data.zip