Changes between Initial Version and Version 7 of Ticket #1593


Ignore:
Timestamp:
Jul 24, 2017, 12:39:20 PM (7 years ago)
Author:
Bang Pham Huu
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #1593

    • Property Cc Dimitar Misev added
    • Property Status newclosed
    • Property Resolutionfixed
    • Property Summary band metadata in wcst_importWCST_Import and Petascope_band, dimension metadata for netCDF encoding.
  • Ticket #1593 – Description

    initial v7  
    2727This information should be persisted in the same place: the extraMetdata section of the coverage. When the coverage is encoded into a format that supports band specific metadata (e.g. netcdf), the saved metadata should be encoded in each band.
    2828
     29
     30----
     31'''Update, using this example to import band and dimension metadata in general recipe'''
     32
     33
     34{{{
     35        "metadata": {
     36          "type": "xml",
     37          "global": {
     38            "description": "'This file has 3 different nodata values for bands and they could be fetched implicitly.'",
     39            "resolution": "'1'"
     40          },
     41          // metadata of each band
     42          "bands": {
     43              "red": {
     44                  "metadata1": "metadata_red1",
     45                  "metadata2": "metadata_red2"
     46               },
     47              "green": {
     48                  "metadata3": "metadata_green3",
     49                  "metadata4": "metadata_green4"
     50               },
     51              "blue": {
     52                  "metadata5": "metadata_blue5"                   
     53               }
     54           },
     55          // meta data of each dimension (axis)
     56           "axes": {
     57              "i": {
     58                   "metadata_i_1": "metadata_1",
     59                   "metadata_i_2": "metadata_2"
     60               },
     61              "j": {
     62                   "metadata_j_1": "metadata_3"
     63              }
     64           }
     65        },
     66}}}
     67
     68
     69