Opened 8 years ago

Last modified 8 years ago

#1564 closed defect

WCST_Import InsertCoverage with first datetime slice as bound on old recipes — at Initial Version

Reported by: Bang Pham Huu Owned by: Bang Pham Huu
Priority: major Milestone: 9.4
Component: wcst_import Version: development
Keywords: Cc: Vlad Merticariu, Dimitar Misev
Complexity: Medium

Description

For old recipes (time_series_regular, time_series_irregular) and the time values is from file name, the GML with InsertCoverage request missed the initializing bound for time axis, e.g:

request: http://localhost:8080/rasdaman/ows?service=WCS&version=2.0.1&request=UpdateCoverage&coverageId=test_AverageTemperature&subset=Lat(-90.0,90.0)&inputCoverageRef=file:///tmp/9dc6b80f_e82b_4234_b113_a2fd3fd10861.gml&subset=ansi("2012-12-06T20:32:08+00:00")&subset=Long(-180.0,180.0)

and bound from GML file:
<lowerCorner>-90.0 -180.0 0</lowerCorner>
<upperCorner>90.0 180.0 0</upperCorner>

with the General Recipe such as insert 3D coverages from 2D netCDF files, it is

http://localhost:8080/rasdaman/ows?service=WCS&version=2.0.1&request=InsertCoverage&coverageRef=file:///tmp/3a6243f7_35b0_4320_a9fd_410372f66a47.gml&tiling=ALIGNED [0:0, 0:1023, 0:1023]&pixelDataType=Float32&useId=existing

and bound from GML file:
 <lowerCorner>"2003-01-01T00:00:00+00:00" 19.99999811100305640455682134 -169.9999988885801611558766324</lowerCorner>
 <upperCorner>"2003-01-01T00:00:00+00:00" 29.99999888899694359544317866 -160.0000011114198388441233676</upperCorner>

The initializing time value is important for new Petascope as if it is 0 and time translated from datetime to days is like: 150000 the CRScomputer will return 150000 for grid bounds. It does not have this problem with the General recipe as the first time slice was added as bound when creating coverage.

Change History (0)

Note: See TracTickets for help on using tickets.