Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[WIP] Don't merge!!! Testbed-14 #379

Open
wants to merge 353 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
353 commits
Select commit Hold shift + click to select a range
789b5f6
Trying to fix issue in instance creation.
constantinius Aug 25, 2017
35d6b9c
Removing old stuff from webclient.
constantinius Aug 25, 2017
224c909
Adding command to check/list ids.
constantinius Aug 28, 2017
091f17a
Adding additional related names for several fields where necessary. F…
constantinius Aug 28, 2017
ebf4016
Fixing bug in id command. Making collection-typeparameter optional. A…
constantinius Aug 28, 2017
d86aa79
Fixing handling of mask types.
constantinius Aug 28, 2017
b4a6159
Cleanup, fix typo and better error handling.
constantinius Aug 28, 2017
b884738
Re-adding browses. Lookup for TCI paths.
constantinius Aug 28, 2017
b96479c
Updated migrations.
constantinius Aug 28, 2017
7c73faa
Updated development installation script. Adding missing dependencies.
constantinius Aug 28, 2017
f331204
Removed references to deleted module.
constantinius Aug 28, 2017
1d2f25c
Fix for Django version 1.11
constantinius Aug 28, 2017
52fca4f
Fixing issue with product insertion.
constantinius Aug 28, 2017
e031a92
Fixing issue in metadata component.
constantinius Aug 29, 2017
0b0c2a4
Fixing issue in metadata component.
constantinius Aug 29, 2017
084911d
Fixing wrong parameter passing.
constantinius Aug 29, 2017
ff4aba9
Fixing order of color range classes.
constantinius Aug 29, 2017
9d39e9f
Adding config and function to retrieve a configured map renderer.
constantinius Aug 29, 2017
75efc6c
Exposing style names from map renderer. Adding LayerDesciption data c…
constantinius Aug 29, 2017
f7d4b2a
Re-implementing WMS for new data-models
constantinius Aug 29, 2017
8bf0ca7
Adding missing related_name
constantinius Aug 29, 2017
388e049
Adding improved time slice filter.
constantinius Aug 29, 2017
26bc88e
Some serious PEP8ing.
constantinius Aug 30, 2017
0fdc8f4
Adjusting parse_time utility.
constantinius Aug 31, 2017
d1111e5
Adding GetCapabilities handler and encoder to WMS 1.1
constantinius Aug 31, 2017
7440b15
Fixing display of formats in WMS 1.1 GetCapabilities
constantinius Aug 31, 2017
8b57fac
Enabling WMS 1.1 GetCapabilities by default.
constantinius Aug 31, 2017
8d81eb6
Adding methods to get the supported formats/layer types from the map …
constantinius Aug 31, 2017
e981a79
Adding missing global variable.
constantinius Aug 31, 2017
a235a29
Allowing to calculate the footprint from the coverages Grid.
constantinius Sep 4, 2017
78b1934
Enabling WMS 1.3 GetCapabilities
constantinius Sep 4, 2017
bba8c1a
Adding Landsat8 L1 metadata reader for coverages and products
constantinius Sep 4, 2017
cb5b2ba
Fixing missing identifier
constantinius Sep 4, 2017
4d17cdd
Implementing hiding of nil-values
constantinius Sep 4, 2017
3e0c1b7
Adjusting to new API. Fixing typo.
constantinius Sep 4, 2017
ac6a7d2
Fixing bug in coverage registration with more than one data file.
constantinius Sep 5, 2017
3430392
Cleanup
constantinius Sep 5, 2017
5189ee5
Enabling WMS 1.3 GetCapabilities in default config.
constantinius Sep 5, 2017
e2b1424
Adding additional method to coverage to get the band index for a give…
constantinius Sep 5, 2017
8638831
Enabling rendering of coverages consisting of multiple files. Improvi…
constantinius Sep 5, 2017
e3585da
Fixing iteration when already dealing with Products.
constantinius Sep 5, 2017
9e80258
Fixing identification of Landsat 8 metadata files.
constantinius Sep 5, 2017
c267e19
Fixing product metdata file handling.
constantinius Sep 5, 2017
d943128
Fixing product package metadata reading.
constantinius Sep 6, 2017
dbfc955
Removing print.
constantinius Sep 6, 2017
5fa785b
Adding Mosaic model and management utilities.
constantinius Sep 6, 2017
61a8cec
Always initialize mosaics first axis size
constantinius Sep 6, 2017
86548a5
Fixing typo.
constantinius Sep 6, 2017
7d6e86c
Fixing product registration.
constantinius Sep 6, 2017
e799f61
Enabling map rendering for Mosaics.
constantinius Sep 6, 2017
b8571e6
Adding additional fields to FieldType: numbits, is_float, signed.
constantinius Sep 6, 2017
8b2f654
Improving VRT generation in map renderer. Making use of new FieldType…
constantinius Sep 6, 2017
5f6b9ce
Fixing typo.
constantinius Sep 6, 2017
9ae9a70
Using own method to parse masks in order to circumvent issues with sh…
constantinius Sep 8, 2017
10a6bf8
Don't ignore package metadata
constantinius Sep 8, 2017
e1517b6
Cleanup admin. Removing Browse image.
constantinius Sep 8, 2017
3ee2a8a
Cleanup print statement.
constantinius Sep 11, 2017
bfec00a
Implementing map rendering of referencable grid coverages.
constantinius Sep 11, 2017
75e1b41
Improving handling of referenceable grids in coverage objects.
constantinius Sep 11, 2017
bf9046c
Adding Product metadata reader for Sentinel-1 products.
constantinius Sep 11, 2017
b51c7fd
Parsing additional information for files with GCPs.
constantinius Sep 12, 2017
f87d1bc
Removing print statement.
constantinius Sep 12, 2017
b310f54
Fix for recent Django version.
constantinius Sep 12, 2017
6b37015
Better compatibility with older range type definition files.
constantinius Sep 12, 2017
94095ab
Fixing typo and removing prints.
constantinius Sep 12, 2017
d39d290
Improving coverage description rendering process. Also enabling rende…
constantinius Sep 12, 2017
a3c3c48
Adding initial script to generate the fixtures.
constantinius Sep 12, 2017
200408f
Fixing grid handling in CLI commands.
constantinius Sep 12, 2017
8e170b0
Fixing missing saving of mosaics.
constantinius Sep 12, 2017
1523e4f
Adding coverage type definition for RGB. Adding generated fixtures.
constantinius Sep 12, 2017
bd54bc2
Fixing tests for opensearch: using etree based reader for IDs. Fixing…
constantinius Sep 12, 2017
956a35f
Disabling schema assertion. Using new fixtures. Fix for new Django.
constantinius Sep 12, 2017
7106351
Fixing urls for new Django version.
constantinius Sep 12, 2017
2aeca7c
Modernizing settings.py for newer Django version.
constantinius Sep 12, 2017
60feb4d
Adjusting travis to Django 1.11
constantinius Sep 12, 2017
db35779
Disabling django_extensions
constantinius Sep 13, 2017
da34b08
Enabling coverage rendering of mosaics. Adding missing default config…
constantinius Sep 13, 2017
e5dd081
Adding missing functions: building a vrt from datasets using 'gdalbui…
constantinius Sep 13, 2017
3a16c53
Improving filters: updates for Django 1.11. Better checks for common …
constantinius Sep 13, 2017
6b93f72
Adding and enabling the Opensearch CQL extension.
constantinius Sep 14, 2017
2a7aa5d
Error handling in mapserver factory cleanup.
constantinius Sep 14, 2017
9ceef94
Fix for Django 1.11 in base template. Disabling webclient for now.
constantinius Sep 14, 2017
15550ea
Re-enabling webclient URLS. Adapting urlpatterns for Django 1.11
constantinius Sep 14, 2017
74eb560
Fixing static URLs usage with Webclient for Django 1.11
constantinius Sep 14, 2017
3197691
Fixing usage of static files API.
constantinius Sep 14, 2017
f18a9f3
Adding initial version for script to generate fixtures.
constantinius Sep 14, 2017
b186e23
Fixing time interval filtering. Adding possibility use 'intersection'…
constantinius Sep 14, 2017
6b1064f
Adding webclient to choices.
constantinius Sep 14, 2017
2cf4cd1
Enabling use of real intersection test for WMS GetMap.
constantinius Sep 14, 2017
979d4be
Fixing reading of metadata from files: seeking start of file before t…
constantinius Sep 14, 2017
8615038
Using black as default offsite color
constantinius Sep 14, 2017
96b6935
More lax summary parsing.
constantinius Sep 14, 2017
5ea7a04
Adjustg MERIS registration to new models.
Schpidi Sep 14, 2017
0889206
Using global parser object for performance reasons.
constantinius Sep 15, 2017
f12917b
Merge branch 'new-models' of github.com:EOxServer/eoxserver into new-…
constantinius Sep 15, 2017
7d5435a
Updating sentinel2 registration script.
constantinius Sep 15, 2017
9176d45
Generating summary for stored product metadata.
constantinius Sep 15, 2017
ca05967
Adding function to get the meetadata values of a product.
constantinius Sep 15, 2017
2488815
Better error message for band selections. Using first band by default…
constantinius Sep 15, 2017
8a494b4
Better merging of metadat for products from various sources.
constantinius Sep 15, 2017
7a1b104
Removing unnecessary print statements
constantinius Sep 15, 2017
754420f
Printing the stacktrace as a comment, when debug is enabled.
constantinius Sep 15, 2017
a90e9b8
Allowing empty masks.
constantinius Sep 15, 2017
aa25c24
Cleaning up autotest/instance_template settings/urls
constantinius Sep 18, 2017
1ba7117
Fixing wron template parameter.
constantinius Sep 18, 2017
3a6b0ad
Fixing Coverage description for render coverages.
constantinius Sep 18, 2017
37a2de6
Fixing GML encoders.
constantinius Sep 18, 2017
634923b
Adapting DescribeEOCoverageSet to new data models.
constantinius Sep 18, 2017
172a146
Cleanup.
constantinius Sep 18, 2017
ddef689
Making link to DescribeEOCoverageSetHandler and enabling it by default
constantinius Sep 18, 2017
11115ab
Adding DatasetSeries class for rendering purposes
constantinius Sep 18, 2017
e230819
Fixing generation of DatasetSeries description.
constantinius Sep 18, 2017
d74498e
Fixing bounded by encoding, when DatasetSeries are passed.
constantinius Sep 18, 2017
841c911
Improving summary: adding links to WMS/WCS and an image.
constantinius Sep 18, 2017
9fdaae2
Fixing unused size parameter in generation of WCS GetCoverage links
constantinius Sep 18, 2017
4485dc6
Fixing summary generation.
constantinius Sep 18, 2017
b87963a
Fixing length computation for coverages list.
constantinius Sep 18, 2017
1601170
Trying to fix multifile connector.
constantinius Sep 18, 2017
b8c397b
Improving error handling in layer disconnection.
constantinius Sep 18, 2017
6e3a2b3
Fixing size in multifile getcoverage.
constantinius Sep 18, 2017
ee3f407
Using gdalbuildvrt
constantinius Sep 18, 2017
5a461ca
Exposing 'separate' option in gdalbuildvrt.
constantinius Sep 18, 2017
47c2425
Improving determination of native format.
constantinius Sep 18, 2017
f10a497
Fixing typo
constantinius Sep 18, 2017
b16005c
Fixing typo
constantinius Sep 18, 2017
f8da764
Adding additional functions/properties for backends handlers
constantinius Sep 18, 2017
c8366c5
Adding and enabling first implementation of DSEO service handlers.
constantinius Sep 18, 2017
db611e5
Adding DSEO links to ATOM.
constantinius Sep 18, 2017
0dfbea7
Fixing download link creation.
constantinius Sep 18, 2017
8e6161a
Enabling streaming of directories.
constantinius Sep 18, 2017
827eb18
Cleanup. Fixing broken URL.
constantinius Sep 18, 2017
2355f84
Fixing on-the-fly generation of zipfiles from directories.
constantinius Sep 18, 2017
ecd34b7
Improving file naming within a generated zip-file.
constantinius Sep 18, 2017
ff2ec1c
Small improvements to GetProduct: use product ID as root folder in ge…
constantinius Sep 18, 2017
d5c1c2f
Extracting methods for generating OWS 2.0 Capabilities documents. Ena…
constantinius Sep 19, 2017
01dadaa
Improving product registration by allowing metadata keys like opt:clo…
constantinius Oct 16, 2017
3515ee8
Allowing to manually override metadata values on the CLI.
constantinius Oct 16, 2017
970bfb7
Removing unused function.
constantinius Oct 16, 2017
d35b497
Added view to upload a 'product.zip' to register products and coverages.
constantinius Oct 16, 2017
cff974d
Restructuring the procuct registration. Handling the product type asw…
constantinius Oct 18, 2017
ed9b4fd
Fixing missing check whether the product type is available when addin…
constantinius Oct 18, 2017
fc95086
Fixing when collecting metadata of a collection.
constantinius Oct 18, 2017
ec02f0a
Adding zipstream dependency.
constantinius Oct 18, 2017
1e2e34d
Small fixes.
constantinius Oct 18, 2017
d9727ce
Registering TCIs as browses.
constantinius Oct 18, 2017
7aecaf4
Removing unnecessary prints.
constantinius Oct 18, 2017
2db9df6
Browses for single band products.
constantinius Oct 18, 2017
e28bc08
Fixing issue when no footprint is set for a collection.
constantinius Oct 18, 2017
6ed33cd
Fixing link to collection OSDD. Only including download link when ite…
constantinius Oct 18, 2017
ca07f65
Fixing field mapping choices and thus available fields in OpenSearch …
constantinius Oct 18, 2017
5ce3ba4
Adding flag to disable the discovery of metadata.
constantinius Oct 19, 2017
3cebfdd
Using HTTP/FTP package paths as download paths directly.
constantinius Oct 19, 2017
f1e32ff
Using default resampling 'AVERAGE'
constantinius Oct 19, 2017
dc530a8
Fixing typo.
constantinius Oct 19, 2017
b2ec319
Storing package path anyways, even if on metadata is extracted.
constantinius Oct 19, 2017
adeb73d
Commenting erroneously commited stuff.
constantinius Oct 19, 2017
2b2310b
Case insensitive lookup for coverage type.
constantinius Oct 23, 2017
27974de
Allowing non-square pixel resolutions when rendering maps.
constantinius Oct 24, 2017
baa2497
Adding profiles to opensearch parameters. Fixing several small issues…
constantinius Oct 24, 2017
926ca5e
More lenient dataset series summaries (even if not fully standard com…
constantinius Oct 30, 2017
6137a9e
Fixing several issues in DescribeEOCoverageSet handler:
constantinius Oct 30, 2017
4ce5b91
Fixing issues for range subsetting and new models.
constantinius Oct 31, 2017
9af4dd3
Adding data class for generated browses.
constantinius Nov 2, 2017
8a0e0d7
Adding 'range' parameter for browse and outlined browse layers.
constantinius Nov 2, 2017
1da0bd9
More reasonable default bitsize. Adding method to get a field from a …
constantinius Nov 2, 2017
b1565ca
Implementing support for dynamically rendered (Outlined)BrowseLayers.
constantinius Nov 2, 2017
54bc912
Implemented layermapper for dynamic (Masked/Outlined)BrowseLayers.
constantinius Nov 2, 2017
38b78a4
Adding checks to raise errors when operating on closed VSI files.
constantinius Nov 2, 2017
9b9fefd
Cleanup. Fixing non-existent error type.
constantinius Nov 2, 2017
523f08f
Adding three functions to perform common operations using VRTs: mosai…
constantinius Nov 2, 2017
5253287
Allowing NameSpaceMaps to be copyable.
constantinius Nov 2, 2017
a41f242
Using VSI API to read landsat8 metadata.
constantinius Nov 2, 2017
c1ce548
Allowing empty BrowseType names serve as 'default' browse types
constantinius Nov 2, 2017
521a1ce
Ensuring to deal with VSI paths.
constantinius Nov 2, 2017
33f24a1
Adding parameter to override collection metadata tags.
constantinius Nov 2, 2017
1b0e9cf
Adding command line interface to manage browse types.
constantinius Nov 2, 2017
aa39b72
Fixing typo
constantinius Nov 3, 2017
dc4f3af
Allowing a list of fields to be used.
constantinius Nov 3, 2017
b55d5b6
Fixing Base URL for various URLs.
constantinius Nov 3, 2017
f7d6538
Fixing issue when multiple fields are used in a single band.
constantinius Nov 4, 2017
8776caa
Fixing missing absolute value conversion of y resolution.
constantinius Nov 6, 2017
bbe95eb
Moved generation of browses from coverages to own module. Improved an…
constantinius Nov 6, 2017
ae2493d
Improved data class for generated browses.
constantinius Nov 6, 2017
3fee759
Adding property to calculate the number of handled fields of that arr…
constantinius Nov 6, 2017
f5ddd24
Cleanup. Better usage of GeneratedBrowse class.
constantinius Nov 6, 2017
f6ae4b9
Updating API for layermappers. Improved lookup query performance.
constantinius Nov 6, 2017
e53f26d
Adding additional 'grey' color.
constantinius Nov 7, 2017
17020ea
Adding capabilities to selectively render products depending on produ…
constantinius Nov 7, 2017
82e6403
Fixing typo.
constantinius Nov 7, 2017
a88632c
First draft to implement real expressions.
constantinius Nov 7, 2017
5e6da34
Fixing missing URL lookup
constantinius Nov 8, 2017
d5b85fc
Dropping parameters from the EO schema when parameter is not in the c…
constantinius Nov 8, 2017
05e8761
Collect Product summary after registration.
constantinius Nov 8, 2017
121e7da
Enabling configurable default and maximum count parameter.
constantinius Nov 9, 2017
4342fc2
Adding additional fields for the browse type model.
constantinius Nov 10, 2017
15b498d
Updating to better match the builtin files.
constantinius Nov 13, 2017
f3c9c56
Adding 'semantic' field for metadata items.
constantinius Nov 13, 2017
5577b71
Adding view to retrieve metadata for a specific eo_object. Altering r…
constantinius Nov 13, 2017
7c9e9c2
Using stored thumbnails whenever possible.
constantinius Nov 13, 2017
0fbaa8f
Adding additional metadata files in OpenSearch results.
constantinius Nov 27, 2017
9361ea8
Adding mappers to get the name/code for a semantic.
constantinius Nov 27, 2017
7a8909a
Adding consistency check: make sure that metadata view is registered.
constantinius Nov 30, 2017
bfab2b8
Improving metadata and WCS links in Summary.
constantinius Dec 7, 2017
65aff40
Fixing wrong import.
constantinius Dec 7, 2017
c88f366
Fixing bug in coverage type selection. Ensuring that the output direc…
constantinius Dec 7, 2017
0a6b307
Adding missing file.
constantinius Dec 14, 2017
ceea436
Fixing error in encoding Envelope XML elements
constantinius Oct 25, 2018
754f39c
Fixing erroneous call to product/collection insertion routines for co…
constantinius Oct 25, 2018
5070a4d
Adding cloudsat metadata reader
constantinius Oct 25, 2018
30b8060
Implementing footprint reading of cloudsat files
constantinius Oct 25, 2018
2d8fcb0
Using a tolerance for the footprints to reduce the size of the output…
constantinius Oct 25, 2018
891abd8
Enabling support for LineString/MultiLineString geometries for the fo…
constantinius Oct 25, 2018
e2370b4
Adding WCS 2.1
Schpidi Oct 25, 2018
b739bd6
TEMPORARY FIX: drop geoinformation by using 'BASELINE' Tiff encoding.
constantinius Oct 25, 2018
53bfc49
Adding support for subdataset files.
constantinius Oct 25, 2018
67fb3f0
Ugly addition of CloudSat DomainSet in CIS11.
Schpidi Oct 25, 2018
8ef10cc
Merge branch 'testbed-14' of github.com:EOxServer/eoxserver into test…
Schpidi Oct 25, 2018
fd64f33
Improving grid handling commands.
constantinius Oct 25, 2018
a921333
Commenting out invalid validation checks for grids.
constantinius Oct 25, 2018
8dea5a0
Fixing check for referenceable grid.
constantinius Oct 25, 2018
d483491
Adding new settings.
Schpidi Oct 25, 2018
4fe85ed
Make WCS 2.1 default.
Schpidi Oct 25, 2018
dbf33bc
Using CIS 1.1.
Schpidi Oct 25, 2018
febef64
Adjust element order.
Schpidi Oct 25, 2018
97145db
Adding version 2.1 to MapServer coverage renderer. Enabling non-recti…
Schpidi Oct 25, 2018
e12cd3e
Fixing check for coverage renderer to exclude referenceable datasets.
constantinius Oct 29, 2018
b499893
Fixing referenceable dataset handler and enabling it in the config.
constantinius Oct 29, 2018
4382041
Implementing scaling for referenceable datasets.
constantinius Oct 29, 2018
6db7cf4
Fixing error when dealing with non-unique datatypes.
constantinius Oct 29, 2018
31f8474
Fixing check for maxsize to be conducted after scaling.
constantinius Oct 29, 2018
8895436
Fix check for ReferenceableDataset.
Schpidi Oct 29, 2018
4e8d96a
Adjust previous commit and only use axis_1_offset in capabilities enc…
Schpidi Oct 29, 2018
c8a5ff1
Adjust encoding of AllowedValues.
Schpidi Oct 29, 2018
8af8641
Adjusting namespaces and element order.
Schpidi Oct 29, 2018
9bce354
Fix missing namespaces adjustments.
Schpidi Oct 29, 2018
a8a082d
Adding registration support for 1D data from HDF files. Adding option…
constantinius Oct 30, 2018
cb6c5ed
Adding CSV encoding for 1D coverages.
constantinius Oct 31, 2018
e99ccf0
Fixes for domain set coverages.
constantinius Oct 31, 2018
1772e56
Adding OWC offerings to coverages as domain set descriptions.
constantinius Oct 31, 2018
b554975
Fixing encoder
constantinius Oct 31, 2018
e7ab2f2
Passing identifier to grid encoding to allow encoding of domainSet co…
constantinius Oct 31, 2018
a187908
Adjusting type.
Schpidi Oct 31, 2018
0df9207
Adjusting XML responses.
Schpidi Oct 31, 2018
dae47b4
Use EO-WCS 1.1.
Schpidi Oct 31, 2018
08d6b86
Fixing size of output when subsetting: upper bound is inclusive
constantinius Nov 6, 2018
ed13126
Merge branch 'testbed-14' of github.com:EOxServer/eoxserver into test…
constantinius Nov 6, 2018
0f5e38a
Fixing issue when only one axis scaling was applied
constantinius Nov 6, 2018
81f4227
Fixing issues with scaling on y axis
constantinius Nov 6, 2018
6a26ff9
Adjusting subset rect: only increase upper index by one when a subset…
constantinius Nov 6, 2018
968baf0
Enabling TIFF output for 1D outputs.
constantinius Nov 6, 2018
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 1 addition & 5 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,10 +1,6 @@
language: python
env:
- DJANGO=">=1.4,<1.5" GDAL=1.10 DB=spatialite
- DJANGO=">=1.5,<1.6" GDAL=1.10 DB=spatialite
- DJANGO=">=1.6,<1.7" GDAL=1.10 DB=spatialite
- DJANGO=">=1.7,<1.8" GDAL=1.10 DB=spatialite
- DJANGO=">=1.8,<1.9" GDAL=1.10 DB=spatialite
- DJANGO=">=1.11,<1.12" GDAL=1.10 DB=spatialite
python:
- '2.7'
services:
Expand Down
415 changes: 415 additions & 0 deletions autotest/autotest/data/fixtures/fixtures.json

Large diffs are not rendered by default.

209 changes: 209 additions & 0 deletions autotest/autotest/data/landsat8/LC81590302016105LGN00_MTL.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,209 @@
GROUP = L1_METADATA_FILE
GROUP = METADATA_FILE_INFO
ORIGIN = "Image courtesy of the U.S. Geological Survey"
REQUEST_ID = "0501604140764_00028"
LANDSAT_SCENE_ID = "LC81590302016105LGN00"
FILE_DATE = 2016-04-14T16:50:23Z
STATION_ID = "LGN"
PROCESSING_SOFTWARE_VERSION = "LPGS_2.6.0"
END_GROUP = METADATA_FILE_INFO
GROUP = PRODUCT_METADATA
DATA_TYPE = "L1T"
ELEVATION_SOURCE = "GLS2000"
OUTPUT_FORMAT = "GEOTIFF"
SPACECRAFT_ID = "LANDSAT_8"
SENSOR_ID = "OLI_TIRS"
WRS_PATH = 159
WRS_ROW = 30
NADIR_OFFNADIR = "NADIR"
TARGET_WRS_PATH = 159
TARGET_WRS_ROW = 30
DATE_ACQUIRED = 2016-04-14
SCENE_CENTER_TIME = "06:34:48.4539210Z"
CORNER_UL_LAT_PRODUCT = 44.23347
CORNER_UL_LON_PRODUCT = 60.51815
CORNER_UR_LAT_PRODUCT = 44.25950
CORNER_UR_LON_PRODUCT = 63.46352
CORNER_LL_LAT_PRODUCT = 42.08237
CORNER_LL_LON_PRODUCT = 60.60377
CORNER_LR_LAT_PRODUCT = 42.10652
CORNER_LR_LON_PRODUCT = 63.44751
CORNER_UL_PROJECTION_X_PRODUCT = 301800.000
CORNER_UL_PROJECTION_Y_PRODUCT = 4900800.000
CORNER_UR_PROJECTION_X_PRODUCT = 537000.000
CORNER_UR_PROJECTION_Y_PRODUCT = 4900800.000
CORNER_LL_PROJECTION_X_PRODUCT = 301800.000
CORNER_LL_PROJECTION_Y_PRODUCT = 4661700.000
CORNER_LR_PROJECTION_X_PRODUCT = 537000.000
CORNER_LR_PROJECTION_Y_PRODUCT = 4661700.000
PANCHROMATIC_LINES = 15941
PANCHROMATIC_SAMPLES = 15681
REFLECTIVE_LINES = 7971
REFLECTIVE_SAMPLES = 7841
THERMAL_LINES = 7971
THERMAL_SAMPLES = 7841
FILE_NAME_BAND_1 = "LC81590302016105LGN00_B1.TIF"
FILE_NAME_BAND_2 = "LC81590302016105LGN00_B2.TIF"
FILE_NAME_BAND_3 = "LC81590302016105LGN00_B3.TIF"
FILE_NAME_BAND_4 = "LC81590302016105LGN00_B4.TIF"
FILE_NAME_BAND_5 = "LC81590302016105LGN00_B5.TIF"
FILE_NAME_BAND_6 = "LC81590302016105LGN00_B6.TIF"
FILE_NAME_BAND_7 = "LC81590302016105LGN00_B7.TIF"
FILE_NAME_BAND_8 = "LC81590302016105LGN00_B8.TIF"
FILE_NAME_BAND_9 = "LC81590302016105LGN00_B9.TIF"
FILE_NAME_BAND_10 = "LC81590302016105LGN00_B10.TIF"
FILE_NAME_BAND_11 = "LC81590302016105LGN00_B11.TIF"
FILE_NAME_BAND_QUALITY = "LC81590302016105LGN00_BQA.TIF"
METADATA_FILE_NAME = "LC81590302016105LGN00_MTL.txt"
BPF_NAME_OLI = "LO8BPF20160414062301_20160414070651.02"
BPF_NAME_TIRS = "LT8BPF20160407235542_20160408000419.01"
CPF_NAME = "L8CPF20160401_20160630.01"
RLUT_FILE_NAME = "L8RLUT20150303_20431231v11.h5"
END_GROUP = PRODUCT_METADATA
GROUP = IMAGE_ATTRIBUTES
CLOUD_COVER = 1.86
CLOUD_COVER_LAND = 1.86
IMAGE_QUALITY_OLI = 9
IMAGE_QUALITY_TIRS = 9
TIRS_SSM_POSITION_STATUS = "ESTIMATED"
ROLL_ANGLE = -0.001
SUN_AZIMUTH = 147.62833634
SUN_ELEVATION = 52.40004988
EARTH_SUN_DISTANCE = 1.0030918
GROUND_CONTROL_POINTS_VERSION = 3
GROUND_CONTROL_POINTS_MODEL = 345
GEOMETRIC_RMSE_MODEL = 6.748
GEOMETRIC_RMSE_MODEL_Y = 4.584
GEOMETRIC_RMSE_MODEL_X = 4.952
GROUND_CONTROL_POINTS_VERIFY = 63
GEOMETRIC_RMSE_VERIFY = 3.185
END_GROUP = IMAGE_ATTRIBUTES
GROUP = MIN_MAX_RADIANCE
RADIANCE_MAXIMUM_BAND_1 = 755.38452
RADIANCE_MINIMUM_BAND_1 = -62.37990
RADIANCE_MAXIMUM_BAND_2 = 773.52295
RADIANCE_MINIMUM_BAND_2 = -63.87778
RADIANCE_MAXIMUM_BAND_3 = 712.79480
RADIANCE_MINIMUM_BAND_3 = -58.86282
RADIANCE_MAXIMUM_BAND_4 = 601.06873
RADIANCE_MINIMUM_BAND_4 = -49.63645
RADIANCE_MAXIMUM_BAND_5 = 367.82407
RADIANCE_MINIMUM_BAND_5 = -30.37503
RADIANCE_MAXIMUM_BAND_6 = 91.47450
RADIANCE_MINIMUM_BAND_6 = -7.55399
RADIANCE_MAXIMUM_BAND_7 = 30.83180
RADIANCE_MINIMUM_BAND_7 = -2.54610
RADIANCE_MAXIMUM_BAND_8 = 680.24438
RADIANCE_MINIMUM_BAND_8 = -56.17480
RADIANCE_MAXIMUM_BAND_9 = 143.75398
RADIANCE_MINIMUM_BAND_9 = -11.87125
RADIANCE_MAXIMUM_BAND_10 = 0.10000
RADIANCE_MINIMUM_BAND_10 = 0.10000
RADIANCE_MAXIMUM_BAND_11 = 0.10000
RADIANCE_MINIMUM_BAND_11 = 0.10000
END_GROUP = MIN_MAX_RADIANCE
GROUP = MIN_MAX_REFLECTANCE
REFLECTANCE_MAXIMUM_BAND_1 = 1.210700
REFLECTANCE_MINIMUM_BAND_1 = -0.099980
REFLECTANCE_MAXIMUM_BAND_2 = 1.210700
REFLECTANCE_MINIMUM_BAND_2 = -0.099980
REFLECTANCE_MAXIMUM_BAND_3 = 1.210700
REFLECTANCE_MINIMUM_BAND_3 = -0.099980
REFLECTANCE_MAXIMUM_BAND_4 = 1.210700
REFLECTANCE_MINIMUM_BAND_4 = -0.099980
REFLECTANCE_MAXIMUM_BAND_5 = 1.210700
REFLECTANCE_MINIMUM_BAND_5 = -0.099980
REFLECTANCE_MAXIMUM_BAND_6 = 1.210700
REFLECTANCE_MINIMUM_BAND_6 = -0.099980
REFLECTANCE_MAXIMUM_BAND_7 = 1.210700
REFLECTANCE_MINIMUM_BAND_7 = -0.099980
REFLECTANCE_MAXIMUM_BAND_8 = 1.210700
REFLECTANCE_MINIMUM_BAND_8 = -0.099980
REFLECTANCE_MAXIMUM_BAND_9 = 1.210700
REFLECTANCE_MINIMUM_BAND_9 = -0.099980
END_GROUP = MIN_MAX_REFLECTANCE
GROUP = MIN_MAX_PIXEL_VALUE
QUANTIZE_CAL_MAX_BAND_1 = 65535
QUANTIZE_CAL_MIN_BAND_1 = 1
QUANTIZE_CAL_MAX_BAND_2 = 65535
QUANTIZE_CAL_MIN_BAND_2 = 1
QUANTIZE_CAL_MAX_BAND_3 = 65535
QUANTIZE_CAL_MIN_BAND_3 = 1
QUANTIZE_CAL_MAX_BAND_4 = 65535
QUANTIZE_CAL_MIN_BAND_4 = 1
QUANTIZE_CAL_MAX_BAND_5 = 65535
QUANTIZE_CAL_MIN_BAND_5 = 1
QUANTIZE_CAL_MAX_BAND_6 = 65535
QUANTIZE_CAL_MIN_BAND_6 = 1
QUANTIZE_CAL_MAX_BAND_7 = 65535
QUANTIZE_CAL_MIN_BAND_7 = 1
QUANTIZE_CAL_MAX_BAND_8 = 65535
QUANTIZE_CAL_MIN_BAND_8 = 1
QUANTIZE_CAL_MAX_BAND_9 = 65535
QUANTIZE_CAL_MIN_BAND_9 = 1
QUANTIZE_CAL_MAX_BAND_10 = 65535
QUANTIZE_CAL_MIN_BAND_10 = 1
QUANTIZE_CAL_MAX_BAND_11 = 65535
QUANTIZE_CAL_MIN_BAND_11 = 1
END_GROUP = MIN_MAX_PIXEL_VALUE
GROUP = RADIOMETRIC_RESCALING
RADIANCE_MULT_BAND_1 = 1.2478E-02
RADIANCE_MULT_BAND_2 = 1.2778E-02
RADIANCE_MULT_BAND_3 = 1.1775E-02
RADIANCE_MULT_BAND_4 = 9.9293E-03
RADIANCE_MULT_BAND_5 = 6.0762E-03
RADIANCE_MULT_BAND_6 = 1.5111E-03
RADIANCE_MULT_BAND_7 = 5.0932E-04
RADIANCE_MULT_BAND_8 = 1.1237E-02
RADIANCE_MULT_BAND_9 = 2.3747E-03
RADIANCE_MULT_BAND_10 = 0.0000E+00
RADIANCE_MULT_BAND_11 = 0.0000E+00
RADIANCE_ADD_BAND_1 = -62.39238
RADIANCE_ADD_BAND_2 = -63.89055
RADIANCE_ADD_BAND_3 = -58.87460
RADIANCE_ADD_BAND_4 = -49.64638
RADIANCE_ADD_BAND_5 = -30.38111
RADIANCE_ADD_BAND_6 = -7.55551
RADIANCE_ADD_BAND_7 = -2.54661
RADIANCE_ADD_BAND_8 = -56.18604
RADIANCE_ADD_BAND_9 = -11.87363
RADIANCE_ADD_BAND_10 = 0.10000
RADIANCE_ADD_BAND_11 = 0.10000
REFLECTANCE_MULT_BAND_1 = 2.0000E-05
REFLECTANCE_MULT_BAND_2 = 2.0000E-05
REFLECTANCE_MULT_BAND_3 = 2.0000E-05
REFLECTANCE_MULT_BAND_4 = 2.0000E-05
REFLECTANCE_MULT_BAND_5 = 2.0000E-05
REFLECTANCE_MULT_BAND_6 = 2.0000E-05
REFLECTANCE_MULT_BAND_7 = 2.0000E-05
REFLECTANCE_MULT_BAND_8 = 2.0000E-05
REFLECTANCE_MULT_BAND_9 = 2.0000E-05
REFLECTANCE_ADD_BAND_1 = -0.100000
REFLECTANCE_ADD_BAND_2 = -0.100000
REFLECTANCE_ADD_BAND_3 = -0.100000
REFLECTANCE_ADD_BAND_4 = -0.100000
REFLECTANCE_ADD_BAND_5 = -0.100000
REFLECTANCE_ADD_BAND_6 = -0.100000
REFLECTANCE_ADD_BAND_7 = -0.100000
REFLECTANCE_ADD_BAND_8 = -0.100000
REFLECTANCE_ADD_BAND_9 = -0.100000
END_GROUP = RADIOMETRIC_RESCALING
GROUP = TIRS_THERMAL_CONSTANTS
K1_CONSTANT_BAND_10 = 774.8853
K1_CONSTANT_BAND_11 = 480.8883
K2_CONSTANT_BAND_10 = 1321.0789
K2_CONSTANT_BAND_11 = 1201.1442
END_GROUP = TIRS_THERMAL_CONSTANTS
GROUP = PROJECTION_PARAMETERS
MAP_PROJECTION = "UTM"
DATUM = "WGS84"
ELLIPSOID = "WGS84"
UTM_ZONE = 41
GRID_CELL_SIZE_PANCHROMATIC = 15.00
GRID_CELL_SIZE_REFLECTIVE = 30.00
GRID_CELL_SIZE_THERMAL = 30.00
ORIENTATION = "NORTH_UP"
RESAMPLING_OPTION = "CUBIC_CONVOLUTION"
END_GROUP = PROJECTION_PARAMETERS
END_GROUP = L1_METADATA_FILE
END
48 changes: 48 additions & 0 deletions autotest/autotest/data/rgb_definition.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
[{
"bands": [
{
"definition": "http://www.opengis.net/def/property/OGC/0/Radiance",
"description": "Red Channel",
"gdal_interpretation": "RedBand",
"identifier": "red",
"name": "red",
"nil_values": [
{
"reason": "http://www.opengis.net/def/nil/OGC/0/unknown",
"value": 0
}
],
"uom": "W.m-2.Sr-1"
},
{
"definition": "http://www.opengis.net/def/property/OGC/0/Radiance",
"description": "Green Channel",
"gdal_interpretation": "GreenBand",
"identifier": "green",
"name": "green",
"nil_values": [
{
"reason": "http://www.opengis.net/def/nil/OGC/0/unknown",
"value": 0
}
],
"uom": "W.m-2.Sr-1"
},
{
"definition": "http://www.opengis.net/def/property/OGC/0/Radiance",
"description": "Blue Channel",
"gdal_interpretation": "BlueBand",
"identifier": "blue",
"name": "blue",
"nil_values": [
{
"reason": "http://www.opengis.net/def/nil/OGC/0/unknown",
"value": 0
}
],
"uom": "W.m-2.Sr-1"
}
],
"data_type": "Byte",
"name": "RGB"
}]
18 changes: 18 additions & 0 deletions autotest/autotest/data/sentinel2/create_sentinel_types.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
python manage.py coveragetype create S2MSI1C_B01 --field-type B01 B01 "Solar irradiance" "W/m2/um" 1913.57
python manage.py coveragetype create S2MSI1C_B02 --field-type B02 B02 "Solar irradiance" "W/m2/um" 1941.63
python manage.py coveragetype create S2MSI1C_B03 --field-type B03 B03 "Solar irradiance" "W/m2/um" 1822.61
python manage.py coveragetype create S2MSI1C_B04 --field-type B04 B04 "Solar irradiance" "W/m2/um" 1512.79
python manage.py coveragetype create S2MSI1C_B05 --field-type B05 B05 "Solar irradiance" "W/m2/um" 1425.56
python manage.py coveragetype create S2MSI1C_B06 --field-type B06 B06 "Solar irradiance" "W/m2/um" 1288.32
python manage.py coveragetype create S2MSI1C_B07 --field-type B07 B07 "Solar irradiance" "W/m2/um" 1163.19
python manage.py coveragetype create S2MSI1C_B08 --field-type B08 B08 "Solar irradiance" "W/m2/um" 1036.39
python manage.py coveragetype create S2MSI1C_B8A --field-type B8A B8A "Solar irradiance" "W/m2/um" 955.19
python manage.py coveragetype create S2MSI1C_B09 --field-type B09 B09 "Solar irradiance" "W/m2/um" 813.04
python manage.py coveragetype create S2MSI1C_B10 --field-type B10 B10 "Solar irradiance" "W/m2/um" 367.15
python manage.py coveragetype create S2MSI1C_B11 --field-type B11 B11 "Solar irradiance" "W/m2/um" 245.59
python manage.py coveragetype create S2MSI1C_B12 --field-type B12 B12 "Solar irradiance" "W/m2/um" 85.25

python manage.py producttype create S2MSI1C \
-c S2MSI1C_B01 -c S2MSI1C_B02 -c S2MSI1C_B03 -c S2MSI1C_B04 -c S2MSI1C_B05 -c S2MSI1C_B06 -c S2MSI1C_B07 -c S2MSI1C_B08 -c S2MSI1C_B8A -c S2MSI1C_B09 -c S2MSI1C_B10 -c S2MSI1C_B11 -c S2MSI1C_B12 \
-m clouds -m no_data

50 changes: 50 additions & 0 deletions autotest/autotest/data/sentinel2/register_sentinel.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,50 @@
product_path=$1
browses_path=$2


img_data=$(unzip -Z -2 $product_path | grep jp2$)
out_browse_image=${browses_path}/$(basename "$product_path").tif

# create browse image if it does not yet exist
[ -e $out_browse_image ] || {
tci_path=$(echo "$img_data" | grep TCI.jp2)

unzip -j $product_path $tci_path -d /tmp/ -u > /dev/null

gdal_translate /tmp/$(basename "$tci_path") $out_browse_image \
-co TILED=YES --config GDAL_CACHEMAX 1000 --config GDAL_NUM_THREADS 4 \
-co COMPRESS=LZW

gdaladdo --config COMPRESS_OVERVIEW LZW $out_browse_image 2 4 8 16 32 64 128 256

rm /tmp/$(basename "$tci_path")
}



# actually register the product
product_id=$(
python manage.py product register \
--package $product_path --product-type S2MSI1C \
--no-browses \
--replace --print-identifier
)

# register the generated browse
python manage.py browse register $product_id ${browses_path}/$(basename "$product_path").tif

# insert the product in the collection
python manage.py collection insert S2MSI1C $product_id

# img_data=$(python manage.py product discover $product_id "*/GRANULE/*/IMG_DATA/*.jp2" 2> /dev/null)

for band in B01 B02 B03 B04 B05 B06 B07 B08 B8A B09 B10 B11 B12 ; do
# echo "*/GRANULE/*/IMG_DATA/*$band.jp2" '*/GRANULE/*/IMG_DATA/*$band.jp2'
# python manage.py product discover $PRODUCT_ID "*/GRANULE/*/IMG_DATA/*$band.jp2" 2> /dev/null
coverage_path=$(echo "$img_data" | grep ${band}.jp2)
python manage.py coverage register \
-d $product_path $coverage_path --coverage-type S2MSI1C_${band} \
--identifier ${product_id}_${band} --product ${product_id} --replace
done

python manage.py collection summary S2MSI1C
Loading