Changes between Version 14 and Version 15 of CommonFormatsInterface


Ignore:
Timestamp:
Feb 22, 2017 4:57:37 PM (4 months ago)
Author:
dmisev
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • CommonFormatsInterface

    v14 v15  
    6666  "dimensions": [ "dimName1", "dimName2", ... ],
    6767
    68   // Specify variable names, band ids (0-based), etc; the variables can be objects listing details like type, metadata and data for netCDF, or simply an array of variable names
     68  // Specify variable names, band ids (0-based), etc; the variables can be objects listing details
     69  // like type, metadata and data for netCDF, or simply an array of variable names
    6970  "variables": {
    7071    "var1": {..},
     
    8081  },
    8182
    82   // Indicate if x/y should be transposed or is it not relevant (comes up in netCDF and GRIB and has a performance penalty, so avoid if possible);
    83   // The argument is an array of 0-based axis ids indicating the axes that need to be transposed, e.g. the first axis is 0, second is 1, etc; must be contiguous, [N,N+1]
     83  // Indicate if x/y should be transposed or is it not relevant (comes up in netCDF and GRIB and
     84  // has a performance penalty, so avoid if possible);
     85  // The argument is an array of 0-based axis ids indicating the axes that need to be transposed,
     86  // e.g. the first axis is 0, second is 1, etc; must be contiguous, [N,N+1]
    8487  "transpose": [0,1],
    8588
     
    111114  },
    112115
    113   // single value or an array of values if different for multiple bands ( if nodata= 1 single value, it will be applied to all bands, and if nodata = array of values then each value is applied to each band separately )
     116  // single value or an array of values if different for multiple bands
     117  // ( if nodata= 1 single value, it will be applied to all bands, and if nodata =
     118  // array of values then each value is applied to each band separately )
    114119  "nodata": 0,
    115120
     
    120125    // Hue Saturation Lightness Cyan Magenta Yellow Black YCbCr_Y YCbCr_Cb YCbCr_Cr YCbCr_Cr
    121126    "colorInterp": [ "Red", "Green", "Blue" ]
    122     "colorTable": [              // optional color table, an array of arrays with 1, 3 or 4 short values (depending on the colorInterpretation) for each color entry
     127    "colorTable": [              // optional color table, an array of arrays with 1, 3 or 4 short values
     128                                 // (depending on the colorInterpretation) for each color entry
    123129      [255, 0, 0, 0],            // pixels with value 0 are colored red
    124130      ...