Opened 3 years ago

Closed 3 years ago

#2466 closed defect (fixed)

wcst_import - validates number of axes in the ingredients file with number of axes in the file

Reported by: Bang Pham Huu Owned by: Bang Pham Huu
Priority: major Milestone: 10.0
Component: wcst_import Version: 9.8
Keywords: Cc:
Complexity: Medium

Description (last modified by Bang Pham Huu)

wcst_import should check the ingredients file and the input file to validate when "dataBound": false is needed.

if (number of specified axes in the ingredient without dataBound=false != number of axes of the file) => hint: "dataBound": false should be used for irregular axes.

The use case is to import 3D collection from 2D netCDF files with this ingredients file (note: ansi axis doesn't exist in the file, hence, it needs "dataBound": false):

  "axes": {
            "ansi": {
              "min": "datetime('2011-11-01')",
              "resolution": 1,
              "gridOrder": 0,
              "type": "ansidate",
              "irregular": true
            },
            "X": {
              "min": "${netcdf:variable:x:min}",
              "max": "${netcdf:variable:x:max}",
              "gridOrder": 1,
              "resolution": "${netcdf:variable:x:resolution}"
            },
            "Y": {
              "min": "${netcdf:variable:y:min}",
              "max": "${netcdf:variable:y:max}",
              "gridOrder": 2,
              "resolution": "${netcdf:variable:y:resolution}"
            }
          }

Change History (2)

comment:1 by Bang Pham Huu, 3 years ago

Description: modified (diff)

comment:2 by Bang Pham Huu, 3 years ago

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