support RasterTimeseriesManager format in SpectralView
@Benjamin Jakimow , not sure if you intented to support the RasterTimeseriesManager format, but I can plot corresponding profiles agains decimal year units. Unfortunately, decimal years are screwed up, ranging from 0 to 2.2.
I would suggest to support RTM format.
Please find a testdataset attached.
For RTM format description see here: https://raster-timeseries-manager.readthedocs.io/en/latest/content.html#data-format
I’m happy to support, if you have any questions.
Comments (9)
-
-
- changed status to open
-
- changed status to resolved
updated QPS, resolves
#587Signed-off-by: Benjamin Jakimow benjamin.jakimow@geo.hu-berlin.de benjamin.jakimow@geo.hu-berlin.de
→ <<cset 8816ceb8a0b2>>
-
reporter Ah, sorry for the confusion. The testdata includes some exotic metadata formats that I support, but which are totally optional/outdated!
The official RTM metadata format you need to care about is this. You can savely ignore all the rest! Just check if TIMESERIES domain exists.
See https://raster-timeseries-manager.readthedocs.io/en/latest/content.html#data-format
-
reporter - changed status to open
-
reporter We may even decide to not support RTM datasets. Let’s discuss in the next meeting.
-
- changed status to on hold
-
reporter We decided not to support 4d timeseries.
-
reporter - changed status to wontfix
- Log in to comment
I turned out that, agains the documentation https://numpy.org/doc/stable/reference/generated/numpy.fromstring.html
does not raise a ValueError if there are less elements than told with the count keyword. I’ll change this so that the x values of pixel profiles needs to be defined in an array of length = number of bands. In case of your dataset this will leads to “stacked” y values for all bands with the same observation date:
The metadata in the testdata.zip shows some inconsistencies, e.g to the ENVI standard described [here](https://www.l3harrisgeospatial.com/docs/ENVIHeaderFiles.html):
If the aim is have a nested band order that combines wavelenght and temporal order, than I think it woul be better to stick to the ENVI standards as close as possible, e.g.