Opened 8 years ago

Closed 8 years ago

#1128 closed defect (fixed)

Testing for WCSTImport

Reported by: Alex Dumitru Owned by: Bang Pham Huu
Priority: critical Milestone: 9.2
Component: petascope Version: development
Keywords: Cc:
Complexity: Medium

Description

WCSTImport testing should be included in the systemtests.
All the recipes should be tested with the data and ingredients that are attached to this ticket. You can add more ingredients to be tested if you like

Change History (5)

comment:1 by Bang Pham Huu, 8 years ago

@Alex: I could not see the data and ingredients attaching to this ticket. May you help?

comment:2 by Alex Dumitru, 8 years ago

Sorry, it took some time to collect it. Data is here: http://flanche.net/wcst_import_test_data.zip The ingredients will need to be adjusted a bit (e.g. set the correct wcs service and crs resolver).

For each recipe please test:

  • wcst_import returned a 0 code
  • the created coverage is present in WCS / WMS(only for map_mosaic)

Delete the coverages after the tests finished using a DeleteCoverage request.

comment:3 by Bang Pham Huu, 8 years ago

Thanks Alex, I've nearly finished the test script, except "wcs_extract" because I could not get the wcs_endpoint.

In your nir.json, the wcs_endpoint is

http://kahlua.eecs.jacobs-university.de:8080/petascope_earthlook9

And I could not see any coverages in kahlua then I changed to flanche.net:9090/rasdaman/ows and saw NIR coverage. However, it looks like your server are having a problem that could not allow to access coverage when I click into "NIR".

Could not retrieve the coverage description.

So please help me with how to test nir.json (wcs_extract) recipe correctly.

comment:4 by Bang Pham Huu, 8 years ago

It is interesting that http://kahlua.eecs.jacobs-university.de:8080/petascope_earthlook9 can extract NIR coverage then I don't need to use flanche.net as I thought. Please review the patch as I've requested. Thanks.

comment:5 by Bang Pham Huu, 8 years ago

Resolution: fixed
Status: newclosed

the patch was accepted, close ticket here.

Note: See TracTickets for help on using tickets.