Opened 8 years ago

Closed 8 years ago

#1366 closed defect (fixed)

WCST_Import coverage 3D netCDf with irregular axis

Reported by: Bang Pham Huu Owned by:
Priority: major Milestone: 9.3
Component: petascope Version: development
Keywords: petascoep, wcst_import, netCDF, irr_cube_1 Cc: Dimitar Misev, Vlad Merticariu, Alex Dumitru
Complexity: Medium

Description

There is a coverage sample in system test named irr_cube_1 with i, j, k axes with k is an irregular axis. When import with general netcdf recipe by wcst_import it will have error with the coefficient in Petascope.

<ows:ExceptionText>Can not apply update on interval k(0,6) on irregular axis k. 
Only slice updates are currently supported for irregular axes.</ows:ExceptionText>
    </ows:Exception>

it needs to be fixed in Petascope to support to import this kind of coverage. Also, there is a current patch for using wcst_import instead of rasimport to ingest sample coverages, so if one manage to do this ticket after this patch (ticket 941) then need to do:
+ create a folder name: wcps_irr_cub_2 in test_all_wcst_import/test_data and put the irr_cube_1.nc into this folder with a template recipe (see other example in this test_data).
+ Open known_fails in test_wcps and test_wcs and remove all the queries which uses irr_cube_1 (it was added to known_fails).

Then run the test.sh in test_all_wcst_import first as it will import the sample coverages to Petascope and test.sh in test_wcps, test_wcs to check the queries can work with this irr_cube_1 coverage.

netcdf data structure of this coverage:

netcdf irr_cube_1 {
dimensions:
	i = 10 ;
	j = 10 ;
	k = 6 ;
variables:
	int value(i, j, k) ;
		value:valid_min = 0 ;
		value:valid_max = 65535 ;
		value:definition = "http://www.opengis.net/def/dataType/OGC/0/unsignedShort" ;
		value:description = "primitive" ;
		value:units = "10^0" ;
	double i(i) ;
	double j(j) ;
	double k(k) ;
data:

 i = 0, 1, 2, 3, 4, 5, 6, 7, 8, 9 ;

 j = 0, 1, 2, 3, 4, 5, 6, 7, 8, 9 ;

 k = 0, 1, 2, 3, 5, 8 ;

Attachments (2)

recipe.irr_cube_1.json (1.6 KB ) - added by Bang Pham Huu 8 years ago.
irr_cube_1.nc (3.0 KB ) - added by Bang Pham Huu 8 years ago.

Download all attachments as: .zip

Change History (3)

by Bang Pham Huu, 8 years ago

Attachment: recipe.irr_cube_1.json added

by Bang Pham Huu, 8 years ago

Attachment: irr_cube_1.nc added

comment:1 by Bang Pham Huu, 8 years ago

Resolution: fixed
Status: newclosed

patch was accepted, close ticket.

Note: See TracTickets for help on using tickets.