You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: bash/force-level1-csd.sh
+21-6Lines changed: 21 additions & 6 deletions
Original file line number
Diff line number
Diff line change
@@ -295,7 +295,7 @@ if [ -f $AOI ]; then
295
295
AOI=$(cat $AOI| sed 's/,/./g')
296
296
OGR=0
297
297
fi
298
-
# if aoi is not a file, it's a polygon or tile list as cmd line input
298
+
# if aoi is not a file, it's a point, polygon or tile list as cmd line input
299
299
else
300
300
AOI=$(echo $AOI| sed 's/,/ /g')
301
301
OGR=0
@@ -310,15 +310,23 @@ if [ $OGR -eq 0 ]; then
310
310
if!$(echo $COORD| grep -q "/");then
311
311
show_help "$(printf "%s\n ""At least one of the AOI coordinates does not seem to be separated by a forward slash /""Coordinate: $COORD")"
312
312
fi
313
-
LAT=$(echo $COORD| cut -d"/" -f1)
314
-
LON=$(echo $COORD| cut -d"/" -f2)
313
+
LAT=$(echo $COORD| cut -d"/" -f2)
314
+
LON=$(echo $COORD| cut -d"/" -f1)
315
315
316
316
if! [ $(is_in_range $LAT -90 90)-eq 1 ];then
317
317
show_help "$(printf "%s\n ""Latitude out of range""Coordinate: $COORD - $LAT is not in range -90 to 90""This error may also mean that you tried to use a vector file as AOI but provided an incorrect path")"
318
318
elif! [ $(is_in_range $LON -180 180)-eq 1 ];then
319
319
show_help "$(printf "%s\n ""Longitute out of range""Coordinate: $COORD - $LON is not in range -180 to 180")"
320
320
fi
321
321
done
322
+
# were the right number of coordinate pairs provided?
show_help "$(printf "%s\n ""Wrong number of AOI coordinate pairs provided""When defining a point use one coordinate pair only.""Use at least four coordinate pairs to define a polygon (last pair must be the same as the first pair).")"
327
+
else
328
+
GEOMETRY="POLYGON"
329
+
fi
322
330
# else, AOI input must be tile list - check if tiles are valid Path/Row or S2 tiles
323
331
else
324
332
AOITYPE=3
@@ -374,6 +382,7 @@ get_data() {
374
382
printf"%s\n""""WARNING: The selected time window exceeds the last update of the $PRINTNAME metadata catalogue.""Results may be incomplete, please consider updating the metadata catalogue using the -u option."
375
383
fi
376
384
385
+
# AOI is shapefile, get tiles/footprints from WFS server
377
386
if [ "$AOITYPE"-eq 1 ];then
378
387
printf"%s\n""""Searching for footprints / tiles intersecting with geometries of AOI shapefile..."
TILERAW=$(ogr2ogr -f CSV /vsistdout/ -select "PRFID" WFS:"$WFSURL"| sed 's/"//g')
400
414
TILES="_"$(echo $TILERAW| sed 's/PRFID, //; s/ /_|_/g')"_"
401
415
416
+
# AOI is tile list
402
417
elif [ "$AOITYPE"-eq 3 ];then
403
418
sensor_tile_mismatch() {
404
419
printf"%s\n""""Error: $PRINTNAME sensor(s) specified, but no $PRINTNAME tiles identified.""Check if sensors and footprints match or use the -s option to specify sensors to query."""
Copy file name to clipboardExpand all lines: docs/source/components/auxilliary/mosaic.rst
+4-3Lines changed: 4 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,19 +1,20 @@
1
1
.. _aux-mosaic:
2
2
3
3
force-mosaic
4
-
==========
4
+
============
5
5
6
6
force-mosaic creates a `GDAL virtual format <https://gdal.org/drivers/raster/vrt.html>`_-file for each FORCE product found in ``datacube-dir``. This function is agnostic to the processing level of the data found and identifies corresponding bands in different tiles by their base names.
7
7
8
-
Using VRTs eases the visualization of large study areas by virtually linking the respective files in multiple tiles (i. e. directories) together. Additionally, the output can be :ref:`stacked <>` and :ref:`overviews generated <aux-pyramid>`.
8
+
Using VRTs eases the visualization of large study areas by virtually linking the respective files in multiple tiles (i. e. directories) together.
9
+
Additionally, the output can be stacked (site missing) and :ref:`overviews generated <aux-pyramid>`.
9
10
10
11
Usage
11
12
^^^^^
12
13
13
14
.. note::
14
15
In FORCE <= 3.6.5 only the ``datacube-dir`` could be specified as parameter.
Copy file name to clipboardExpand all lines: docs/source/components/higher-level/cfi/format.rst
+4-4Lines changed: 4 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -76,13 +76,13 @@ Following 21-digit naming convention is applied to all output files:
76
76
77
77
Digits 1–4 Year
78
78
Digits 6–13 Processing Type
79
-
IMPROPHE
79
+
IMPROPHE
80
80
Digits 15–17 Product Tag
81
81
XXX These custom3-digit tags are specified in the parameter file
82
82
Digits 19–21 File extension
83
-
tif image data in compressed GeoTiff format
84
-
dat image data in flat binary ENVI format
85
-
hdr metadata
83
+
tif image data in compressed GeoTiff format
84
+
dat image data in flat binary ENVI format
85
+
hdr metadata
86
86
87
87
File format
88
88
The data are provided in compressed GeoTiff or flat binary ENVI Standard format. Each dataset consists of an image dataset (.tif/.dat) and metadata (.hdr). The image data have signed 16bit datatype. Each predicted image is stored as separate file.
0 commit comments