Comments (4)
That would be nice yes. We have Landsat-8 OLI supported. I am not familiar with TIRS yet. But you could try look at the convert scripts included. E.g. https://github.com/pytroll/pyspectral/blob/main/rsr_convert_scripts/oli_reader.py
I assume you will just have to copy from that one provided the original format is the same or similar. There is a general purpose hdf5 conversion function tohdf5
included. So you basically just need to put the original data into a rather basic data object based on InstrumentRSR
.
If you succeed you can make a PR adding the conversion script and I could add the hdf5 data to the RSR, and upload to Zenodo. Tell me how it goes and don't hesitate if you need help.
from pyspectral.
Great, thanks for the feedback! I'll try to pick this up in the next couple of weeks and let you know if I have any questions.
It looks like learning HDF5 will be important for some other remote sensing products as well. Have been finding the package really helpful so far!
from pyspectral.
Very good. Yes, HDF5 is common working with Earth Observation data. The netCDF (version 4) is, however, nowadays becoming the standard. netCDF4 is using HDF5 underneath actually. But in this case I would say you don't need to understand much of the underlying details in the HDF5 format.
I will be on vacation on and off during the summer, but please shout if you need help. Hopefully I will respond in decent time.
from pyspectral.
Hi there, I have created L8 TIRS and L9 OLI and TIRS rsr's in pyspectral format. Cannot attach here (h5 not allowed). Let me know where I can put these for inclusion in your library
from pyspectral.
Related Issues (20)
- AVHRR instrument naming - allow avhrr-# HOT 2
- Add GOES-18 and GOES-19 RSRs
- Bug in rayleigh correction related to Dask version >= 2021.5.1 HOT 6
- `rayleigh.py` needs refactoring - mainly concerning the handling of Dask vs non-Dask input
- Implement RSRs for AGRI aboard FengYun-4B HOT 2
- Could you add spectral response function for GCOM-C/SGLI sensor ? HOT 3
- On the application of spectral response function HOT 2
- Add FY4B AGRI bands HOT 1
- tb2rad_dir as config option is not documented
- NOAA-6 spectral responses are wrong for channel 1 & 2 HOT 2
- Investigate `np.nan_to_num` usage in Rayleigh correction
- Rayleight correction reflectance with Landsat 8 HOT 1
- Pyspectral is trying to read wrong RSR file for FY-3D/MERSI-2 HOT 4
- raise keyerror when loading B07 of himawari_ahi using DataQuery
- Bug plotting spectral responses with MODIS
- Unit Convert Error in the Doc. HOT 2
- whatβs the unit of rayleigh reflectance HOT 2
- pyspectral_rsr_data.tgz cannot be downloaded HOT 5
- Feature request for extending the Rayleigh reduction functionality HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. πππ
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google β€οΈ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pyspectral.