Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Output Image
- rasql -q 'select tiff(c[-274:90,273:364,4328]) from wcs_sst5 AS c' --out file
- rasql: rasdaman query tool v1.0, rasdaman v9.1.0-g7e602bf -- generated on 14.10.2015 09:29:25.
- opening database RASBASE at localhost:7001...ok
- Executing retrieval query...ok
- Query result collection has 1 element(s):
- Result object 1: going into file rasql_1.tif...ok.
- rasql done.
- [rasdaman@gonzo rasdaman]$ gdalinfo '/home/rasdaman/rasdaman_jetty/rasdaman/rasql_1.tif'
- Driver: GTiff/GeoTIFF
- Files: /home/rasdaman/rasdaman_jetty/rasdaman/rasql_1.tif
- Size is 365, 92
- Coordinate System is `'
- Metadata:
- TIFFTAG_ARTIST=rasdaman
- TIFFTAG_DOCUMENTNAME=exported from rasdaman database
- TIFFTAG_RESOLUTIONUNIT=2 (pixels/inch)
- TIFFTAG_SOFTWARE=rasdaman
- TIFFTAG_XRESOLUTION=90
- TIFFTAG_YRESOLUTION=90
- Image Structure Metadata:
- INTERLEAVE=BAND
- Corner Coordinates:
- Upper Left ( 0.0, 0.0)
- Lower Left ( 0.0, 92.0)
- Upper Right ( 365.0, 0.0)
- Lower Right ( 365.0, 92.0)
- Center ( 182.5, 46.0)
- Band 1 Block=365x11 Type=Int16, ColorInterp=Gray
- Recipe
- {
- "config": {
- "service_url": "http://localhost:8080/rasdaman/ows",
- "tmp_directory": "/tmp/",
- "crs_resolver": "http://localhost:8080/def/",
- "default_crs": "http://localhost:8080/def/crs/EPSG/0/4258",
- "mock": false,
- "automated": false,
- "subset_correction": true
- },
- "input": {
- "coverage_id": "wcs_sst5",
- "paths": [
- "/home/rasdaman/test_dimitar/*.nc"
- ]
- },
- "recipe": {
- "name": "time_series_irregular",
- "options": {
- "time_parameter": {
- "metadata_tag": {
- "tag_name": "NC_GLOBAL#NC_GLOBAL.start_date"
- },
- "datetime_format": "YYYY-MM-DD"
- },
- "time_crs": "http://opengis.net/def/crs/OGC/0/AnsiDate",
- "tiling": "ALIGNED [0:10, 0:1000, 0:500]"
- }
- }
- }
- Describe Coverage
- <?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">
- <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">
- <boundedBy>
- <Envelope srsName="http://localhost:8080/def/crs-compound?1=http://localhost:8080/def/crs/EPSG/0/4258&2=http://localhost:8080/def/crs/OGC/0/AnsiDate" axisLabels="Lat Long ansi" uomLabels="degree degree d" srsDimension="3">
- <lowerCorner>26.00460616027095 -18.99539384107375 151423</lowerCorner>
- <upperCorner>30.00369271366015 -14.99630633138375 151431</upperCorner>
- </Envelope>
- </boundedBy>
- <wcs:CoverageId>wcs_sst5</wcs:CoverageId>
- <gmlcov:metadata/>
- <domainSet>
- <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">
- <limits>
- <GridEnvelope>
- <low>0 0 0</low>
- <high>363 363 8</high>
- </GridEnvelope>
- </limits>
- <axisLabels>Long Lat ansi</axisLabels>
- <gmlrgrid:origin>
- <Point gml:id="wcs_sst5-origin" srsName="http://localhost:8080/def/crs-compound?1=http://localhost:8080/def/crs/EPSG/0/4258&2=http://localhost:8080/def/crs/OGC/0/AnsiDate" axisLabels="Lat Long ansi" uomLabels="degree degree d" srsDimension="3">
- <pos>29.9981994629 -18.989900589 151423</pos>
- </Point>
- </gmlrgrid:origin>
- <gmlrgrid:generalGridAxis>
- <gmlrgrid:GeneralGridAxis>
- <gmlrgrid:offsetVector srsName="http://localhost:8080/def/crs-compound?1=http://localhost:8080/def/crs/EPSG/0/4258&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>
- <gmlrgrid:coefficients/>
- <gmlrgrid:gridAxesSpanned>Long</gmlrgrid:gridAxesSpanned>
- <gmlrgrid:sequenceRule axisOrder="+1">Linear</gmlrgrid:sequenceRule>
- </gmlrgrid:GeneralGridAxis>
- </gmlrgrid:generalGridAxis>
- <gmlrgrid:generalGridAxis>
- <gmlrgrid:GeneralGridAxis>
- <gmlrgrid:offsetVector srsName="http://localhost:8080/def/crs-compound?1=http://localhost:8080/def/crs/EPSG/0/4258&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>
- <gmlrgrid:coefficients/>
- <gmlrgrid:gridAxesSpanned>Lat</gmlrgrid:gridAxesSpanned>
- <gmlrgrid:sequenceRule axisOrder="+1">Linear</gmlrgrid:sequenceRule>
- </gmlrgrid:GeneralGridAxis>
- </gmlrgrid:generalGridAxis>
- <gmlrgrid:generalGridAxis>
- <gmlrgrid:GeneralGridAxis>
- <gmlrgrid:offsetVector srsName="http://localhost:8080/def/crs-compound?1=http://localhost:8080/def/crs/EPSG/0/4258&2=http://localhost:8080/def/crs/OGC/0/AnsiDate" axisLabels="Lat Long ansi" uomLabels="degree degree d" srsDimension="3">0 0 1</gmlrgrid:offsetVector>
- <gmlrgrid:coefficients>0 1 2 3 4 5 6 7 8</gmlrgrid:coefficients>
- <gmlrgrid:gridAxesSpanned>ansi</gmlrgrid:gridAxesSpanned>
- <gmlrgrid:sequenceRule axisOrder="+1">Linear</gmlrgrid:sequenceRule>
- </gmlrgrid:GeneralGridAxis>
- </gmlrgrid:generalGridAxis>
- </gmlrgrid:ReferenceableGridByVectors>
- </domainSet>
- <gmlcov:rangeType>
- <swe:DataRecord>
- <swe:field name="field_1">
- <swe:Quantity>
- <swe:nilValues>
- <swe:NilValues/>
- </swe:nilValues>
- <swe:uom code="10^0"/>
- </swe:Quantity>
- </swe:field>
- </swe:DataRecord>
- </gmlcov:rangeType>
- <wcs:ServiceParameters>
- <wcs:CoverageSubtype>ReferenceableGridCoverage</wcs:CoverageSubtype>
- <CoverageSubtypeParent xmlns="http://www.opengis.net/wcs/2.0">
- <CoverageSubtype>AbstractDiscreteCoverage</CoverageSubtype>
- <CoverageSubtypeParent>
- <CoverageSubtype>AbstractCoverage</CoverageSubtype>
- </CoverageSubtypeParent>
- </CoverageSubtypeParent>
- <wcs:nativeFormat>application/octet-stream</wcs:nativeFormat>
- </wcs:ServiceParameters>
- </wcs:CoverageDescription>
- </wcs:CoverageDescriptions>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement