changeset 0:c59d7204b3ce draft

planemo upload for repository https://github.com/galaxyecology/tools-ecology/tools/gdal commit b964e8f7d7bb076d63a1c7bdfbbdba0f9074d517
author ecology
date Tue, 26 Feb 2019 11:50:09 -0500
parents
children 34b3877c6ba4
files gdal_macros.xml gdalinfo.xml test-data/stere.tif test-data/stere_advanced_info.txt test-data/stere_info.json
diffstat 5 files changed, 526 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/gdal_macros.xml	Tue Feb 26 11:50:09 2019 -0500
@@ -0,0 +1,164 @@
+<macros>
+    <token name="@VERSION@">2.4.0</token>  
+    <xml name="gdal_requirements">
+        <requirements>
+            <requirement type="package" version="2.1.0">gdal</requirement>
+            <requirement type="package" version="3.5.0">geos</requirement>
+        </requirements>
+    </xml>
+
+    <xml name="gdal_advanced_params_select">
+        <param name="advanced" type="select" label="Specify advanced parameters">
+            <option value="simple" selected="true">No, use program defaults.</option>
+            <option value="advanced">Yes, see full parameter list.</option>
+        </param>        
+        <when value="simple">
+        </when>
+    </xml>
+
+    <xml name="gdal_param_te">
+        <conditional name="condi_te">
+            <param name="te" type="select" label="Georeferenced extents of output file" help="-te xmin ymin xmax ymax">
+                <option value="no_te" selected="true">Don't use the -te option</option>
+                <option value="te">Use the -te option</option>
+            </param>
+            <when value="no_te">
+            </when>
+            <when value="te">
+                <param name="xmin" type="float" label="xmin" value="0" min="0" help="In target SRS by default, or in the SRS specified with -te_srs"/>
+                <param name="ymin" type="float" label="ymin" value="0" min="0" help="In target SRS by default, or in the SRS specified with -te_srs"/>
+                <param name="xmax" type="float" label="xmax" value="0" min="0" help="In target SRS by default, or in the SRS specified with -te_srs"/>
+                <param name="ymax" type="float" label="ymax" value="0" min="0" help="In target SRS by default, or in the SRS specified with -te_srs"/>
+            </when>
+        </conditional> 
+    </xml>
+
+    <xml name="gdal_param_r">
+        <conditional name="condi_resample">
+            <param label="Use a resampling method" help="-r resampling algorithm" name="resample" type="select">
+                <option value="no_resampling" selected="true">Don't use a resampling method</option>
+                <option value="resampling">Use a resampling method, option -r</option>
+            </param>
+            <when value="resampling">
+                <param name="r" type="select" label="Reseampling algorithm" >
+                    <option value="nearest" selected="true"/>
+                    <option value="bilinear"/>
+                    <option value="cubic"/>
+                    <option value="cubicspline"/>
+                    <option value="lanczos"/>
+                    <option value="average"/>
+                    <option value="mode"/>
+                    <option value="max"/>
+                    <option value="min"/>
+                    <option value="med">Median resampling</option>
+                    <option value="q1">First quartile resampling</option>
+                    <option value="q2">Third quartile resampling</option>
+                </param>
+            </when>
+            <when value="no_resampling">
+            </when>
+        </conditional>
+    </xml>
+
+    <xml name="gdal_param_tr">
+        <conditional name="condi_tr">
+            <param name="tr" type="select" label="Set the ouput file resolution" help="-tr xres yres. Set output file resolution (in target georeferenced units)"> 
+                <option value="no_tr" selected="true">Don't use the -tr option</option>
+                <option value="tr">Use the -tr option</option>
+            </param>
+            <when value="no_tr">
+            </when>
+            <when value="tr">
+                <param name="xres" type="float" label="xres" value="0" min="0"/>
+                <param name="yres" type="float" label="yres" value="0" min="0"/>
+            </when>
+        </conditional>
+    </xml>
+
+    <xml name="gdal_param_b">
+        <param name="b" type="text" label="Select an input band band for output" help="eg : -b band -b 1 -b 2 -b 3. Bands are numbered from 1. Multiple -b switches may be used to select a set of input bands to write to the output file, or to reorder bands." value=""/>
+    </xml>
+
+    <xml name="gdal_param_tap">
+        <param name="tap" label="Align the coordinates" help="-tap Target Aligned Pixel, align the coordinates of the extent of the output file to the values of the -tr, such that the aligned extent includes the minimum extent" type="boolean" truevalue="-tap" falsevalue="" checked="false" />
+    </xml>
+
+    <xml name="gdal_param_separate">
+        <param name="separate" type="boolean" truevalue="-separate" falsevalue="" checked="false" label="Place each input file into a separate band" help="-separate. In that case, only the first band of each dataset will be placed into a new band. Contrary to the default mode, it is not required that all bands have the same datatype" />
+    </xml>
+
+    <xml name="gdal_param_a_srs">
+        <param name="a_srs" type="text" label="Override the projection for the output file" help="-a_srs srs_def. The srs_def may be any of the usual GDAL/OGR forms, complete WKT, PROJ.4, EPSG:n or a file containing the WKT. No reprojection is done" value="" />
+    </xml>
+
+    <xml name="gdal_param_stats">
+        <param name="stats" type="boolean" truevalue="-stats" falsevalue="" checked="false" label="Force (re)computation of statistics"  help="-stats. Read and display image statistics. Force computation if no statistics are sto.red in an image."/>
+    </xml>
+    
+    <xml name="gdal_param_norat">
+        <param name="norat" type="boolean" truevalue="-norat" falsevalue="" checked="false" help="-norat. Do not copy source RAT into destination dataset." label="Suppress printing of raster attribute table."/>
+    </xml>
+
+    <xml name="gdal_param_of">
+        <param name="of" type="select" label="Output format -of" value="Gtiff" help="Select the output format. The default is GeoTIFF (GTiff). A short list of raster formats is currently enable in GalaxyE : GTiff, netCDF and VRT.">
+            <option value="GTiff">GTiff</option>
+            <option value="netCDF">Network Common Data Format - netCDF</option>
+            <option value="VRT">GDAL Virtual - VRT</option>
+        </param>
+    </xml>
+
+    <xml name="gdal_param_co">
+        <param name="co" type="text" label="Pass a creation option to the output format driver" help="-co NAME=VALUE. eg : COMPRESS=JPEG" value="" />
+    </xml>   
+
+    <xml name="gdal_param_ot">
+        <param name="ot" type="select" label="Datatype of the output bands" help="-ot Datatype">
+            <option value="byte">Byte</option>
+            <option value="int16">Int16</option>
+            <option value="uint16">UInt16</option>
+            <option value="uint32">UInt32</option>
+            <option value="int32">Int32</option>
+            <option value="float32">Float32</option>
+            <option value="float64">Float64</option>
+            <option value="cint16">CInt16</option>
+            <option value="cint32">CInt32</option>
+            <option value="cfloat32">CFloat32</option>
+            <option value="cfloat64">CFloat64</option>
+            <option value="" selected="true">Select a datatype for the output bands (default)</option>
+        </param>
+    </xml>
+
+<!-- need to upgrade gdal version to use
+    <xml name="gdal_param_oo">
+        <param name="oo" type="text" label="-oo NAME=VALUE" value="" />
+    </xml>
+-->
+
+    <xml name="gdal_input_raster_multiple">
+        <param type="data" name="input" format="gtiff,tiff,netcdf,VRT,txt,xml" help="Formats currently supported are : GTiff, netCDF and VRT" label="Gdal supported input file" multiple="true"/>
+    </xml>
+
+    <xml name="gdal_output_change_format">
+        <data name="output" format="GTiff" label="${on_string}.${of}">
+            <change_format>
+                <when input="of" value="GTiff" format="tiff"/>
+                <when input="of" value="netCDF" format="netcdf"/>
+                <when input="of" value="VRT" format="txt"/>
+            </change_format>
+        </data>
+    </xml>
+
+    <xml name="gdal_citation">
+        <citations>
+            <citation type="bibtex">
+                @Manual{,
+                title = {{GDAL/OGR} Geospatial Data Abstraction software Library},
+                author = {{GDAL/OGR contributors}},
+                organization = {Open Source Geospatial Foundation},
+                year = {2018},
+                url = {http://gdal.org},
+                }
+            </citation>
+        </citations>  
+    </xml>
+</macros>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/gdalinfo.xml	Tue Feb 26 11:50:09 2019 -0500
@@ -0,0 +1,150 @@
+<tool id="gdal_gdalinfo" name="GDAL Informations" version="@VERSION@">
+    <description>lists information about a raster dataset</description>
+    <macros>
+        <import>gdal_macros.xml</import>
+    </macros>
+    <expand macro="gdal_requirements" />
+    <command detect_errors="exit_code"><![CDATA[
+        gdalinfo '$input1'
+            #if $settings.advanced=='advanced'
+                $settings.mm
+                $settings.stats
+                $settings.approx_stats
+                $settings.hist
+                $settings.nogcp
+                $settings.nomd
+                $settings.norat
+                $settings.noct
+                $settings.checksum
+                $settings.listmdd
+                $settings.proj4
+                -mdd '$settings.mdd'
+            #end if
+            #if $format.value=='json'
+                -json > '$outputJson';
+                #if $subdataset=='subd_y'
+                    cat '$outputJson' | grep -A 1 "\"SUBDATASET_._NAME\":\".*\"," | cut -d "\"" -f4- | sed 's/..$//' | sed 's/\t//' | sed -e 'N; s/\n/\t/' > Subdatasets.tabular
+                #end if
+            #else
+                > '$outputDefault';
+                #if $subdataset=='subd_y'
+                    cat '$outputDefault' | grep -A 1 "SUBDATASET_._NAME=.*:.*$" | cut -d "=" -f 2 | sed 's/\t//' | sed -e 'N; s/\n/\t/' > Subdatasets.tabular
+                #end if
+            #end if
+    ]]></command>
+    <inputs>
+        <param type="data" name="input1" label="Gdal supported raster input file" format="tif,netcdf,tiff,vrt" help="Currently supported format are GTiff,VRT and netCDF."/>
+        <param name="format" type="select" label="Output format" multiple="False">
+            <option value="default" selected="true">Text</option>
+            <option value="json">Json</option>
+        </param>
+        <param name="subdataset" type="select" label="Create list of potential subdatasets" multiple="False" help="If set to yes, a tabular file will be created with a list of all subdatasets. Use this to later perform actions on custom subdata with gdal tranlsate.">
+            <option value="subd_y">Yes</option>
+            <option value="subd_n" selected="True">No</option>
+        </param>
+        <conditional name="settings">
+            <expand macro="gdal_advanced_params_select"/>
+            <when value="advanced">
+                <param name="mm" type="boolean" truevalue="-mm" falsevalue="" checked="false" help="-mm" label="Force computation of the actual min/max values for each band in the dataset."/>
+                <expand macro="gdal_param_stats"/>                    
+                <param name="approx_stats" type="boolean" truevalue="-approx_stats" falsevalue="" checked="false" help="-approx_stats. However, they may be computed based on overviews or a subset of all tiles. Useful if you are in a hurry and don't want precise stats." label="Read and display image statistics."/>
+                <param name="hist" type="boolean" truevalue="-hist" falsevalue="" checked="false" help="-hist" label="Report histogram information for all bands."/>
+                <param name="nogcp" type="boolean" truevalue="-nogcp" falsevalue="" checked="false" help="-nogcp" label="Suppress ground control points list printing."/>
+                <param name="nomd" type="boolean" truevalue="-nomd" falsevalue="" checked="false" help="-nomd. Some datasets may contain a lot of metadata strings" label="Suppress metadata printing."/>
+                <expand macro="gdal_param_norat"/>
+                <param name="noct" type="boolean" truevalue="-noct" falsevalue="" checked="false" help="-noct" label="Suppress printing of color table."/>
+                <param name="checksum" type="boolean" truevalue="-checksum" falsevalue="" checked="false" help="-checksum" label="Force computation of the checksum for each band in the dataset."/>
+                <param name="listmdd" type="boolean" truevalue="-listmdd" falsevalue="" checked="false" help="-listmdd" label="List all metadata domains available for the dataset."/>
+                <param name="proj4" type="boolean" truevalue="-proj4" falsevalue="" checked="false" help="-proj4 String corresponding to the file's coordinate system" label="Report a PROJ.4 string."/> 
+                <param name="mdd" type="text" help="-mdd DOMAIN" label="Report metadata for the specified domain." value="all">
+                    <validator type="expression" message="mdd option can't be an empty value">value.strip()</validator>
+                </param>    
+            </when>
+        </conditional>
+    </inputs>
+
+    <outputs>
+        <data name="outputDefault" format="txt" label="Default info file">
+            <filter>format == "default"</filter>
+        </data>
+        <data name="outputJson" format="json" label="Json formated info file">
+            <filter>format == "json"</filter>
+        </data>
+        <data name="subdatasets" format="tabular" from_work_dir="Subdatasets.tabular" label="Subdatasets from ${input1.name}">
+            <filter>subdataset == "subd_y"</filter>
+        </data>
+    </outputs>
+
+    <tests>
+        <test>
+            <param name="input1" value="stere.tif"/>
+            <param name="format" value="json" />
+            <param name="subdataset" value="subd_n" />
+            <param name="advanced" value="simple"/>
+            <output name="outputJson" file="stere_info.json" lines_diff="6"/>
+        </test>
+        <test>
+            <param name="input1" value="stere.tif"/>
+            <param name="format" value="default" />
+            <param name="subdataset" value="subd_n" />
+            <param name="advanced" value="advanced"/>
+            <param name="stats" value="-stats"/>
+            <param name="hist" value="-hist"/>
+            <param name="checksum" value="-checksum"/>
+            <param name="mdd" value="all"/>
+            <output name="outputDefault" file="stere_advanced_info.txt" lines_diff="6"/>
+        </test>
+    </tests>
+
+    <help><![CDATA[
+==========================
+Gdalinfo
+==========================
+**What it does**        
+
+The gdalinfo program lists various information about a GDAL supported raster dataset. 
+
+It will report all of the following (if known):
+
+    - The format driver used to access the file.
+    - Raster size (in pixels and lines).
+    - The coordinate system for the file (in OGC WKT).
+    - The geotransform associated with the file (rotational coefficients are currently not reported).
+    - Corner coordinates in georeferenced, and if possible lat/long based on the full geotransform (but not GCPs).
+    - Ground control points.
+    - File wide (including subdatasets) metadata.
+    - Band data types.
+    - Band color interpretations.
+    - Band block size.
+    - Band descriptions.
+    - Band min/max values (internally known and possibly computed).
+    - Band checksum (if computation asked).
+    - Band NODATA value.
+    - Band overview resolutions available.
+    - Band unit type (i.e.. "meters" or "feet" for elevation bands).
+    - Band pseudo-color tables.
+
+|
+
+**How to use it**
+
+Select from history a suported raster file and choose either Json or Text format for result display.
+
+An additional option can list available subdatasets.
+
+|
+
+**Advanced options and sources**
+
+To see complete details and help section please check the official gdal sources.
+
+http://www.gdal.org
+
+http://www.gdal.org/gdalinfo.html
+
+Raster Processing Tutorial : https://trac.osgeo.org/gdal/wiki/UserDocs/RasterProcTutorial
+
+
+    ]]></help>
+    <expand macro="gdal_citation"/>
+</tool>
Binary file test-data/stere.tif has changed
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/test-data/stere_advanced_info.txt	Tue Feb 26 11:50:09 2019 -0500
@@ -0,0 +1,79 @@
+Driver: GTiff/GeoTIFF
+Files: /tmp/tmpdWKpSn/files/000/dataset_1.dat
+       /tmp/tmpdWKpSn/files/000/dataset_1.dat.aux.xml
+Size is 273, 265
+Coordinate System is:
+PROJCS["unnamed",
+    GEOGCS["WGS 84",
+        DATUM["unknown",
+            SPHEROID["WGS84",6378137,298.257223563]],
+        PRIMEM["Greenwich",0],
+        UNIT["degree",0.0174532925199433]],
+    PROJECTION["Stereographic"],
+    PARAMETER["latitude_of_origin",71.4],
+    PARAMETER["central_meridian",28.9],
+    PARAMETER["scale_factor",1],
+    PARAMETER["false_easting",0],
+    PARAMETER["false_northing",0],
+    UNIT["metre",1,
+        AUTHORITY["EPSG","9001"]]]
+Origin = (-64455.359436834092776,72521.133364936860744)
+Pixel Size = (500.000000000000000,-500.000000000000000)
+Metadata:
+  AREA_OR_POINT=Area
+Image Structure Metadata:
+  INTERLEAVE=PIXEL
+Corner Coordinates:
+Upper Left  (  -64455.359,   72521.133) ( 27d 1'39.57"E, 72d 2'27.45"N)
+Lower Left  (  -64455.359,  -59978.867) ( 27d 8'22.71"E, 70d51'14.56"N)
+Upper Right (   72044.641,   72521.133) ( 30d59'33.46"E, 72d 2'19.42"N)
+Lower Right (   72044.641,  -59978.867) ( 30d52' 2.96"E, 70d51' 7.03"N)
+Center      (    3794.641,    6271.133) ( 29d 0'24.70"E, 71d27'22.22"N)
+Band 1 Block=273x10 Type=Byte, ColorInterp=Red
+  Min=38.000 Max=255.000 
+  Minimum=38.000, Maximum=255.000, Mean=55.724, StdDev=24.243
+0...10...20...30...40...50...60...70...80...90...100 - done.
+  256 buckets from -0.5 to 255.5:
+  0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 97 756 3183 3769 3090 1830 1941 1604 1335 2161 3912 3621 4286 5892 7093 6602 4849 4004 2714 1442 559 237 212 138 193 105 108 90 51 132 60 63 40 80 59 54 61 106 59 66 59 86 72 57 64 31 28 57 42 41 92 138 81 31 39 95 103 86 170 119 185 91 108 127 105 152 45 101 63 97 97 57 74 20 78 50 60 94 87 32 122 83 69 57 67 88 51 51 77 60 32 26 63 38 40 18 20 56 13 33 6 21 14 10 20 40 7 31 17 0 25 21 40 36 23 10 32 11 23 25 0 17 21 18 11 28 0 10 6 17 0 34 24 10 10 5 9 10 5 0 31 5 5 14 21 5 16 21 15 12 14 0 5 10 22 5 10 10 10 13 11 3 6 10 20 29 13 16 11 0 5 12 8 10 0 0 10 27 6 3 0 0 10 0 5 23 0 5 0 0 0 10 0 6 0 10 0 5 10 23 0 0 21 0 10 0 0 16 0 0 0 0 15 2 0 0 0 151 
+  Checksum=48927
+  Metadata:
+    dataType=1
+    name=L_645
+    ScaleRatio=0.203921568627
+    standard_name=surface_upwelling_spectral_radiance_in_air_emerging_from_sea_water
+    STATISTICS_MAXIMUM=255
+    STATISTICS_MEAN=55.723519248048
+    STATISTICS_MINIMUM=38
+    STATISTICS_STDDEV=24.242663554615
+Band 2 Block=273x10 Type=Byte, ColorInterp=Green
+  Min=77.000 Max=255.000 
+  Minimum=77.000, Maximum=255.000, Mean=136.201, StdDev=29.298
+0...10...20...30...40...50...60...70...80...90...100 - done.
+  256 buckets from -0.5 to 255.5:
+  0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 37 27 178 821 914 862 507 415 398 526 647 758 623 488 510 532 509 409 385 423 294 476 404 426 414 546 390 455 280 368 344 284 302 261 336 358 213 395 291 230 330 314 599 637 577 946 884 755 690 755 808 679 826 921 833 673 626 805 593 746 653 879 961 856 863 891 1015 1292 1349 1287 1383 1716 1634 1540 1770 1543 1437 1578 1259 1149 1260 949 1217 1220 1050 877 997 724 809 573 684 777 583 608 494 586 360 255 211 207 180 27 55 52 12 52 10 20 21 5 44 25 30 40 36 10 10 30 25 25 21 16 5 15 14 7 0 26 5 0 0 5 11 0 5 27 0 16 0 10 49 26 6 15 5 16 18 0 15 0 8 31 0 15 0 10 0 3 0 0 5 21 5 24 6 6 19 0 4 0 36 12 5 11 21 27 45 23 437 
+  Checksum=3855
+  Metadata:
+    dataType=1
+    name=L_555
+    ScaleRatio=0.227450980392
+    standard_name=surface_upwelling_spectral_radiance_in_air_emerging_from_sea_water
+    STATISTICS_MAXIMUM=255
+    STATISTICS_MEAN=136.20124403898
+    STATISTICS_MINIMUM=77
+    STATISTICS_STDDEV=29.297914270598
+Band 3 Block=273x10 Type=Byte, ColorInterp=Blue
+  Min=111.000 Max=255.000 
+  Minimum=111.000, Maximum=255.000, Mean=171.703, StdDev=31.001
+0...10...20...30...40...50...60...70...80...90...100 - done.
+  256 buckets from -0.5 to 255.5:
+  0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 12 26 55 119 400 478 620 825 808 823 1163 998 843 1093 974 882 801 780 548 568 474 671 574 487 316 593 493 522 431 389 308 382 338 325 322 381 380 331 256 281 285 228 221 218 219 214 198 231 205 221 192 229 263 185 258 355 440 492 580 495 821 700 1104 794 980 1168 924 870 1091 935 998 1197 1257 1061 1082 1136 1395 1261 1239 1321 1492 1485 1135 1236 1120 1098 1026 1057 1197 970 1172 1107 1152 1073 852 934 764 663 678 481 518 523 390 437 196 173 103 65 65 45 25 62 46 22 22 10 24 11 5 24 14 9 12 23 25 26 15 6 0 20 16 0 11 24 26 10 15 0 17 33 31 16 14 48 343 
+  Checksum=62386
+  Metadata:
+    dataType=1
+    name=L_469
+    ScaleRatio=0.329411764706
+    standard_name=surface_upwelling_spectral_radiance_in_air_emerging_from_sea_water
+    STATISTICS_MAXIMUM=255
+    STATISTICS_MEAN=171.70326905799
+    STATISTICS_MINIMUM=111
+    STATISTICS_STDDEV=31.000562281985
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/test-data/stere_info.json	Tue Feb 26 11:50:09 2019 -0500
@@ -0,0 +1,133 @@
+{
+  "description":"\/tmp\/tmpKGvDAC\/files\/000\/dataset_1.dat",
+  "driverShortName":"GTiff",
+  "driverLongName":"GeoTIFF",
+  "files":[
+    "\/tmp\/tmpKGvDAC\/files\/000\/dataset_1.dat"
+  ],
+  "size":[
+    273,
+    265
+  ],
+  "coordinateSystem":{
+    "wkt":"PROJCS[\"unnamed\",\n    GEOGCS[\"WGS 84\",\n        DATUM[\"unknown\",\n            SPHEROID[\"WGS84\",6378137,298.257223563]],\n        PRIMEM[\"Greenwich\",0],\n        UNIT[\"degree\",0.0174532925199433]],\n    PROJECTION[\"Stereographic\"],\n    PARAMETER[\"latitude_of_origin\",71.4],\n    PARAMETER[\"central_meridian\",28.9],\n    PARAMETER[\"scale_factor\",1],\n    PARAMETER[\"false_easting\",0],\n    PARAMETER[\"false_northing\",0],\n    UNIT[\"metre\",1,\n        AUTHORITY[\"EPSG\",\"9001\"]]]"
+  },
+  "geoTransform":[
+    -64455.3594368340927758,
+    500.0,
+    0.0,
+    72521.1333649368607439,
+    0.0,
+    -500.0
+  ],
+  "metadata":{
+    "":{
+      "AREA_OR_POINT":"Area"
+    },
+    "IMAGE_STRUCTURE":{
+      "INTERLEAVE":"PIXEL"
+    }
+  },
+  "cornerCoordinates":{
+    "upperLeft":[
+      -64455.359,
+      72521.133
+    ],
+    "lowerLeft":[
+      -64455.359,
+      -59978.867
+    ],
+    "upperRight":[
+      72044.641,
+      72521.133
+    ],
+    "lowerRight":[
+      72044.641,
+      -59978.867
+    ],
+    "center":[
+      3794.641,
+      6271.133
+    ]
+  },
+  "wgs84Extent":{
+    "type":"Polygon",
+    "coordinates":[
+      [
+        [
+          27.0276591,
+          72.0409591
+        ],
+        [
+          27.1396419,
+          70.8540458
+        ],
+        [
+          30.9926275,
+          72.0387266
+        ],
+        [
+          30.867489,
+          70.8519537
+        ],
+        [
+          27.0276591,
+          72.0409591
+        ]
+      ]
+    ]
+  },
+  "bands":[
+    {
+      "band":1,
+      "block":[
+        273,
+        10
+      ],
+      "type":"Byte",
+      "colorInterpretation":"Red",
+      "metadata":{
+        "":{
+          "dataType":"1",
+          "name":"L_645",
+          "ScaleRatio":"0.203921568627",
+          "standard_name":"surface_upwelling_spectral_radiance_in_air_emerging_from_sea_water"
+        }
+      }
+    },
+    {
+      "band":2,
+      "block":[
+        273,
+        10
+      ],
+      "type":"Byte",
+      "colorInterpretation":"Green",
+      "metadata":{
+        "":{
+          "dataType":"1",
+          "name":"L_555",
+          "ScaleRatio":"0.227450980392",
+          "standard_name":"surface_upwelling_spectral_radiance_in_air_emerging_from_sea_water"
+        }
+      }
+    },
+    {
+      "band":3,
+      "block":[
+        273,
+        10
+      ],
+      "type":"Byte",
+      "colorInterpretation":"Blue",
+      "metadata":{
+        "":{
+          "dataType":"1",
+          "name":"L_469",
+          "ScaleRatio":"0.329411764706",
+          "standard_name":"surface_upwelling_spectral_radiance_in_air_emerging_from_sea_water"
+        }
+      }
+    }
+  ]
+}
\ No newline at end of file