Advertisement
Guest User

bangph

a guest
Oct 28th, 2015
158
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 6.68 KB | None | 0 0
  1. Output Image
  2.  
  3. rasql -q 'select tiff(c[-274:90,273:364,4328]) from wcs_sst5 AS c' --out file
  4. rasql: rasdaman query tool v1.0, rasdaman v9.1.0-g7e602bf -- generated on 14.10.2015 09:29:25.
  5. opening database RASBASE at localhost:7001...ok
  6. Executing retrieval query...ok
  7. Query result collection has 1 element(s):
  8.   Result object 1: going into file rasql_1.tif...ok.
  9. rasql done.
  10.  
  11. [rasdaman@gonzo rasdaman]$ gdalinfo '/home/rasdaman/rasdaman_jetty/rasdaman/rasql_1.tif'
  12. Driver: GTiff/GeoTIFF
  13. Files: /home/rasdaman/rasdaman_jetty/rasdaman/rasql_1.tif
  14. Size is 365, 92
  15. Coordinate System is `'
  16. Metadata:
  17.  TIFFTAG_ARTIST=rasdaman
  18.  TIFFTAG_DOCUMENTNAME=exported from rasdaman database
  19.  TIFFTAG_RESOLUTIONUNIT=2 (pixels/inch)
  20.  TIFFTAG_SOFTWARE=rasdaman
  21.  TIFFTAG_XRESOLUTION=90
  22.  TIFFTAG_YRESOLUTION=90
  23. Image Structure Metadata:
  24.  INTERLEAVE=BAND
  25. Corner Coordinates:
  26. Upper Left  (    0.0,    0.0)
  27. Lower Left  (    0.0,   92.0)
  28. Upper Right (  365.0,    0.0)
  29. Lower Right (  365.0,   92.0)
  30. Center      (  182.5,   46.0)
  31. Band 1 Block=365x11 Type=Int16, ColorInterp=Gray
  32.  
  33.  
  34. Recipe
  35.  
  36. {
  37.  "config": {
  38.    "service_url": "http://localhost:8080/rasdaman/ows",
  39.    "tmp_directory": "/tmp/",
  40.    "crs_resolver": "http://localhost:8080/def/",
  41.    "default_crs": "http://localhost:8080/def/crs/EPSG/0/4258",
  42.    "mock": false,
  43.    "automated": false,
  44.    "subset_correction": true
  45.  },
  46.  "input": {
  47.    "coverage_id": "wcs_sst5",
  48.    "paths": [
  49.      "/home/rasdaman/test_dimitar/*.nc"
  50.    ]
  51.  },
  52.  "recipe": {
  53.    "name": "time_series_irregular",
  54.    "options": {
  55.      "time_parameter": {
  56.        "metadata_tag": {
  57.          "tag_name": "NC_GLOBAL#NC_GLOBAL.start_date"
  58.        },
  59.        "datetime_format": "YYYY-MM-DD"
  60.      },
  61.      "time_crs": "http://opengis.net/def/crs/OGC/0/AnsiDate",
  62.      "tiling": "ALIGNED [0:10, 0:1000, 0:500]"
  63.    }
  64.  }
  65. }
  66.  
  67. Describe Coverage
  68.  
  69. <?xml version="1.0" encoding="UTF-8"?><wcs:CoverageDescriptions xmlns:wcs="http://www.opengis.net/wcs/2.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:crs="http://www.opengis.net/wcs/service-extension/crs/1.0" xmlns:ows="http://www.opengis.net/ows/2.0" xmlns:gml="http://www.opengis.net/gml/3.2" xmlns:xlink="http://www.w3.org/1999/xlink" xsi:schemaLocation="http://www.opengis.net/wcs/2.0 http://schemas.opengis.net/wcs/2.0/wcsAll.xsd">
  70.  <wcs:CoverageDescription xmlns="http://www.opengis.net/gml/3.2" xmlns:gmlcov="http://www.opengis.net/gmlcov/1.0" xmlns:swe="http://www.opengis.net/swe/2.0" gml:id="wcs_sst5">
  71.    <boundedBy>
  72.      <Envelope srsName="http://localhost:8080/def/crs-compound?1=http://localhost:8080/def/crs/EPSG/0/4258&amp;2=http://localhost:8080/def/crs/OGC/0/AnsiDate" axisLabels="Lat Long ansi" uomLabels="degree degree d" srsDimension="3">
  73.        <lowerCorner>26.00460616027095 -18.99539384107375 151423</lowerCorner>
  74.        <upperCorner>30.00369271366015 -14.99630633138375 151431</upperCorner>
  75.      </Envelope>
  76.    </boundedBy>
  77.    <wcs:CoverageId>wcs_sst5</wcs:CoverageId>
  78.    <gmlcov:metadata/>
  79.    <domainSet>
  80.      <gmlrgrid:ReferenceableGridByVectors xmlns:gmlrgrid="http://www.opengis.net/gml/3.3/rgrid" dimension="3" gml:id="wcs_sst5-grid" xsi:schemaLocation="http://www.opengis.net/gml/3.3/rgrid http://schemas.opengis.net/gml/3.3/referenceableGrid.xsd">
  81.        <limits>
  82.          <GridEnvelope>
  83.            <low>0 0 0</low>
  84.            <high>363 363 8</high>
  85.          </GridEnvelope>
  86.        </limits>
  87.        <axisLabels>Long Lat ansi</axisLabels>
  88.        <gmlrgrid:origin>
  89.          <Point gml:id="wcs_sst5-origin" srsName="http://localhost:8080/def/crs-compound?1=http://localhost:8080/def/crs/EPSG/0/4258&amp;2=http://localhost:8080/def/crs/OGC/0/AnsiDate" axisLabels="Lat Long ansi" uomLabels="degree degree d" srsDimension="3">
  90.            <pos>29.9981994629 -18.989900589 151423</pos>
  91.          </Point>
  92.        </gmlrgrid:origin>
  93.        <gmlrgrid:generalGridAxis>
  94.          <gmlrgrid:GeneralGridAxis>
  95.            <gmlrgrid:offsetVector srsName="http://localhost:8080/def/crs-compound?1=http://localhost:8080/def/crs/EPSG/0/4258&amp;2=http://localhost:8080/def/crs/OGC/0/AnsiDate" axisLabels="Lat Long ansi" uomLabels="degree degree d" srsDimension="3">0 0.0109865041475 0</gmlrgrid:offsetVector>
  96.            <gmlrgrid:coefficients/>
  97.            <gmlrgrid:gridAxesSpanned>Long</gmlrgrid:gridAxesSpanned>
  98.            <gmlrgrid:sequenceRule axisOrder="+1">Linear</gmlrgrid:sequenceRule>
  99.          </gmlrgrid:GeneralGridAxis>
  100.        </gmlrgrid:generalGridAxis>
  101.        <gmlrgrid:generalGridAxis>
  102.          <gmlrgrid:GeneralGridAxis>
  103.            <gmlrgrid:offsetVector srsName="http://localhost:8080/def/crs-compound?1=http://localhost:8080/def/crs/EPSG/0/4258&amp;2=http://localhost:8080/def/crs/OGC/0/AnsiDate" axisLabels="Lat Long ansi" uomLabels="degree degree d" srsDimension="3">-0.0109865015203 0 0</gmlrgrid:offsetVector>
  104.            <gmlrgrid:coefficients/>
  105.            <gmlrgrid:gridAxesSpanned>Lat</gmlrgrid:gridAxesSpanned>
  106.            <gmlrgrid:sequenceRule axisOrder="+1">Linear</gmlrgrid:sequenceRule>
  107.          </gmlrgrid:GeneralGridAxis>
  108.        </gmlrgrid:generalGridAxis>
  109.        <gmlrgrid:generalGridAxis>
  110.          <gmlrgrid:GeneralGridAxis>
  111.            <gmlrgrid:offsetVector srsName="http://localhost:8080/def/crs-compound?1=http://localhost:8080/def/crs/EPSG/0/4258&amp;2=http://localhost:8080/def/crs/OGC/0/AnsiDate" axisLabels="Lat Long ansi" uomLabels="degree degree d" srsDimension="3">0 0 1</gmlrgrid:offsetVector>
  112.            <gmlrgrid:coefficients>0 1 2 3 4 5 6 7 8</gmlrgrid:coefficients>
  113.            <gmlrgrid:gridAxesSpanned>ansi</gmlrgrid:gridAxesSpanned>
  114.            <gmlrgrid:sequenceRule axisOrder="+1">Linear</gmlrgrid:sequenceRule>
  115.          </gmlrgrid:GeneralGridAxis>
  116.        </gmlrgrid:generalGridAxis>
  117.      </gmlrgrid:ReferenceableGridByVectors>
  118.    </domainSet>
  119.    <gmlcov:rangeType>
  120.      <swe:DataRecord>
  121.        <swe:field name="field_1">
  122.          <swe:Quantity>
  123.            <swe:nilValues>
  124.              <swe:NilValues/>
  125.            </swe:nilValues>
  126.            <swe:uom code="10^0"/>
  127.          </swe:Quantity>
  128.        </swe:field>
  129.      </swe:DataRecord>
  130.    </gmlcov:rangeType>
  131.    <wcs:ServiceParameters>
  132.      <wcs:CoverageSubtype>ReferenceableGridCoverage</wcs:CoverageSubtype>
  133.      <CoverageSubtypeParent xmlns="http://www.opengis.net/wcs/2.0">
  134.        <CoverageSubtype>AbstractDiscreteCoverage</CoverageSubtype>
  135.        <CoverageSubtypeParent>
  136.          <CoverageSubtype>AbstractCoverage</CoverageSubtype>
  137.        </CoverageSubtypeParent>
  138.      </CoverageSubtypeParent>
  139.      <wcs:nativeFormat>application/octet-stream</wcs:nativeFormat>
  140.    </wcs:ServiceParameters>
  141.  </wcs:CoverageDescription>
  142. </wcs:CoverageDescriptions>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement