| | 1 | WCSTImport will send this information to Petascope: |
| | 2 | {{{#!xml |
| | 3 | |
| | 4 | <boundedBy> |
| | 5 | <Envelope srsName="SECORE:EPSG/0/4326@OGC/0/AnsiDate@OGC/0/Index1D?axis_label='ensemble'" axisLabels="{{axisLabels}}" uomLabels="{{uomLabels}}" srsDimension="4"> |
| | 6 | <lowerCorner>0, 0, 0, 0</lowerCorner> |
| | 7 | <upperCorner>720, 360, 1, 1</upperCorner> |
| | 8 | </Envelope> |
| | 9 | </boundedBy> |
| | 10 | |
| | 11 | |
| | 12 | <!-- Some other stuff should be here --> |
| | 13 | |
| | 14 | |
| | 15 | <gml:rangeSet> |
| | 16 | <gml:rangeParameters> |
| | 17 | {{rangeParameters}} |
| | 18 | </gml:rangeParameters> |
| | 19 | <gml:File> |
| | 20 | <gml:fileReference><![CDATA[ |
| | 21 | {{fileReference}} <!-- file url --> |
| | 22 | ]]></gml:fileReference> |
| | 23 | <gml:fileStructure>{{mimetype}} <!-- grib / netcdf /whatever in mimetype format --></gml:fileStructure> |
| | 24 | </gml:File> |
| | 25 | </gml:rangeSet> |
| | 26 | }}} |
| | 27 | |
| | 28 | rangeParameters: |
| | 29 | {{{#!javascript |
| | 30 | { |
| | 31 | message1: { |
| | 32 | Lat: { |
| | 33 | min: 0, |
| | 34 | max: 720 |
| | 35 | }, |
| | 36 | Long: { |
| | 37 | min: 0, |
| | 38 | max: 360 |
| | 39 | }, |
| | 40 | Ansi: { |
| | 41 | min: "2012-01-01T00:00", |
| | 42 | type: "ansi" |
| | 43 | }, |
| | 44 | Ensemble: { |
| | 45 | min: 0 |
| | 46 | type: "number" |
| | 47 | //optional, default is number |
| | 48 | } |
| | 49 | }, |
| | 50 | message2: { |
| | 51 | Lat: { |
| | 52 | min: 0, |
| | 53 | max: 720 |
| | 54 | }, |
| | 55 | Long: { |
| | 56 | min: 0, |
| | 57 | max: 360 |
| | 58 | }, |
| | 59 | Ansi: { |
| | 60 | min: "2012-01-01T00:00", |
| | 61 | type: "ansi" |
| | 62 | }, |
| | 63 | Ensemble: { |
| | 64 | min: 1 |
| | 65 | type: "number" |
| | 66 | //optional, default is number |
| | 67 | } |
| | 68 | }, |
| | 69 | message2: { |
| | 70 | Lat: { |
| | 71 | min: 0, |
| | 72 | max: 720 |
| | 73 | }, |
| | 74 | Long: { |
| | 75 | min: 0, |
| | 76 | max: 360 |
| | 77 | }, |
| | 78 | Ansi: { |
| | 79 | min: "2012-01-01T06:00", |
| | 80 | type: "ansi" |
| | 81 | }, |
| | 82 | Ensemble: { |
| | 83 | min: 0 |
| | 84 | type: "number" |
| | 85 | //optional, default is number |
| | 86 | } |
| | 87 | } |
| | 88 | } |
| | 89 | }}} |
| | 90 | |
| | 91 | |
| | 92 | Petascope should send back to rasdaman: |
| | 93 | |
| | 94 | {{{ |
| | 95 | UPDATE myCoverage AS m SET m[0:720,0:360,0:1, 0:1] ASSIGN VALUES decode($1, "application/x-grib", "{{messages}}" |
| | 96 | }}} |
| | 97 | |
| | 98 | Messages should be: |
| | 99 | |
| | 100 | {{{#!javascript |
| | 101 | { |
| | 102 | "LatLongExchanged" : false //if latitude and longitude are mixed, e.g. epsg 4326 |
| | 103 | messages: { |
| | 104 | message1: {subset: [[0, 720], [0, 360], [0], [0]] }, |
| | 105 | message2: {subset: [[0, 720], [0, 360], [0], [1]] }, |
| | 106 | message3: {subset: [[0, 720], [0, 360], [1], [0]] }, |
| | 107 | } |
| | 108 | } |
| | 109 | |
| | 110 | }}} |