Opened 6 years ago

Closed 6 years ago

#2060 closed defect (fixed)

wcst_import: null values specified in the ingredient file are ignored in the general recipe

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

Description

The example data here should end up having 0 as null value, but running the example with mock:true you can see there is no null value set for the coverage.

http://download.rasdaman.org/geodata/VV_test.tar.gz

Change History (3)

comment:1 by Bang Pham Huu, 6 years ago

Cc: Dimitar Misev added
Summary: null values specified in the ingredient file are ignored in the general recipewcst_import: null values specified in the ingredient file are ignored in the general recipe

comment:2 by Bang Pham Huu, 6 years ago

Ingredient file

{
  "config": {
    "service_url": "http://localhost:8080/rasdaman/ows",
    "tmp_directory": "/tmp/",
    "crs_resolver": "http://localhost:8080/def/",
    "default_crs": "http://localhost:8080/def/OGC/0/Index2D",
    "mock": true,
    "automated": false,
    "track_files": false,
     "default_null_values": [0]
  },
  "input": {
    "coverage_id":"test_backscatter_VV",
    "paths": [
      "*.tif"
    ]
  },
  "recipe": {
    "name": "general_coverage",
    "options": {
      "coverage": {
        "crs": "OGC/0/AnsiDate?axis-label=\"date\"@EPSG/0/32630",
        "metadata": {
          "type": "json",
          "global": {
         "AOI": "UK"
          }
        },
        "slicer": {
          "type": "gdal",
          "bands": [{
        "name": "Gray",
        "identifier": "1"
      }],
          "axes": {
        "date": {
          "min": "datetime(regex_extract('${file:name}', '(.*)_(.*)_(.*)_(.*)_(.*)_VV_Burst49_Gamma0_TC.tif', 2), 'DDMMMYYYY')",
          "irregular": true,
          "dataBound": false,
          "type": "date",
          "gridOrder": 0
        },      
            "N": {
              "min": "${gdal:minY}",
              "max": "${gdal:maxY}",
              "resolution": "${gdal:resolutionY}",
          "gridOrder": 2
            },
        "E": {
          "min": "${gdal:minX}",
          "max": "${gdal:maxX}",
           "resolution": "${gdal:resolutionX}",
           "gridOrder": 1
        }
          }
        }
      },
      "tiling": "ALIGNED [0:3,0:1023, 0:1023] TILE SIZE 4194304"
    }
  }
}

comment:3 by Bang Pham Huu, 6 years ago

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