Opened 2 years ago

Closed 2 years ago

#2586 closed defect (fixed)

wcst_import - if user defines bands with customized names, metadata should belong to these names

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

Description

For example, this ingredients file https://pastebin.com/LEDN9nb2 has:

"bands": [{
	"name": "hourly_precipitation",
	"identifier": "PR1h"
}],

However, the coverage's global metadata for band has the "identifier" PR1h instead of the customized "name" hourly_precipitation:

"PR1h" : {
      "long_name" : "Hourly Precipitation",
      "units" : "kg m**-2 h**-1",
      "param" : "52.1.0",
      "grid_mapping" : "rotated_pole",
      "realization" : "1",
      "ensemble_members" : "20",
      "forecast_init_type" : "192"
    }

Change History (2)

comment:1 by Bang Pham Huu, 2 years ago

also petascope UpdateCoverage metadata request should support application/octet-stream for metadata.json file.

For example:

curl -F "COVERAGEID=test_metadata_json" -F "file=@/home/rasdaman/Downloads/metadata.json" "http://localhost:8080/rasdaman/admin/coverage/update" -u rasadmin:rasadmin

comment:2 by Bang Pham Huu, 2 years ago

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