Opened 10 years ago

Closed 9 years ago

#934 closed enhancement (fixed)

wcst_import improvements

Reported by: Dimitar Misev Owned by: Alex Dumitru
Priority: major Milestone: Future
Component: applications Version: development
Keywords: Cc: Alex Dumitru, Vlad Merticariu
Complexity: Medium

Description (last modified by Dimitar Misev)

This ticket collects suggestions for enhancements in wcst_import.

  1. automatic registration of recipes in a certain directory
    • recipe directory could be perhaps managed by an environment variable, or some python friendlier way if it exists
  2. support relative paths in ingredient files, so that they can be portable and easy to distribute along with the data
  3. support different time formats, AnsiDate, UnixTime, etc.
  4. allow setting null values

Change History (9)

comment:1 by Dimitar Misev, 10 years ago

Description: modified (diff)

comment:2 by Dimitar Misev, 10 years ago

Description: modified (diff)

comment:3 by Alex Dumitru, 10 years ago

Cc: Vlad Merticariu added

1 & 2 have been fixed and commitred.

3 & 4 to go.
For 4 we will need Vlad's help in WCST so ccig

comment:4 by Dimitar Misev, 10 years ago

For 3 we can just parse the CRS code, it's enough if we support unix time in addition.

comment:5 by Dimitar Misev, 9 years ago

Submitted patch for 3.

I'm guessing 4 can be done by parsing the nilValues in the gml file passed to WCS-T?

comment:6 by Alex Dumitru, 9 years ago

Did you try the patch with the current petascope? I'm not sure if petascope correctly parses non-ansi datetimes from the GML.
I'll try to setup #941 towards the end of the week so that we have a way of automated testing for this.

For issue 4, Vlad will include it in the patch tomorrow, the information is already present in the GML generated by the wcst_import

comment:7 by Dimitar Misev, 9 years ago

Yes unix timestamps work fine with petascope, but they have to be without quotes.

But is there an option in wcst_import already for setting the null values?

comment:8 by Alex Dumitru, 9 years ago

Right now, it reads them from the gdal file, usually they have one there. I'll add an option in the config section for default null value to accommodate such use cases.

comment:9 by Dimitar Misev, 9 years ago

Resolution: fixed
Status: newclosed
Note: See TracTickets for help on using tickets.