Xerbo / LeanHRPT-Decode

An easy to use HRPT decoder.
GNU General Public License v3.0
83 stars 11 forks source link

Add other instruments #7

Closed zeke800 closed 1 year ago

zeke800 commented 2 years ago

Describe the feature you would like Decode other instruments from HRPT data (e.g. AMSU , HRIS, TIP frames, timestamps, possibly location data?).

Additional context

Xerbo commented 2 years ago

MHS is already supported so adding support for AMSU and/or HIRS shouldn't be too much work as their format is pretty similar. The reason why I haven't done this yet is because the data doesn't have much use without a lot of processing.

TIP/AIP frames are already decoded intermediately (but with no way of exporting, maybe have an export button for use in other software?). And as for timestamps/positions thats already done and is used for georeferencing.

zeke800 commented 2 years ago

Yes, I think that it would be very useful to export complete HRPT data mainly because one may create some great composites with it. May I suggest looking into a style similar to satdump. It outputs (to the folder of your choice) folders containing the data, all labeled nicely. I think that this format will play very well with LeanHRPT-Decode.

Thanks :)

zeke800 commented 2 years ago

Also on Meteor there are more instruments such as the galactic ray mapper. It would be very useful (scientifically) to be able to analyze this data.

Xerbo commented 2 years ago

Yes, I think that it would be very useful to export complete HRPT data mainly because one may create some great composites with it. May I suggest looking into a style similar to satdump. It outputs (to the folder of your choice) folders containing the data, all labeled nicely. I think that this format will play very well with LeanHRPT-Decode.

A very similar feature is implemented via the command line interface, which is only missing minor functionality like projection and map overlays.

zeke800 commented 2 years ago

Thanks! I didn't know that the command line provided that functionality. Still, it would be very nice to have all the other instruments decoded :)

It would also help because NOAA-18's MHS is non-functional.

I have little experience writing decoders, though I wrote 2 of my own protocols. I can try to contribute, especially given that you said that it will be easy because MHS is already decoded. The only problem - I have absolutely no idea how HRPT is encoded :( Is there any document about different satellite's HRPT downlink and it's structure? How did you write this decoder so far? :)

Thanks!

Xerbo commented 2 years ago

Ive compiled a list of various sounders and some basic info on them:

AMSU on NOAA seems like a good starting point since all the AIP code is already in place and it's well documented.

The way to add a new sensor is to update satinfo.h with the info (swath/resolution/human readable name/etc) and then add the needed code to the decoder.

zeke800 commented 2 years ago

Hi! Thank you so much for digging up that guide :) On what page does it mention the AMSU data format (there are over 2500 pages)? Also, I believe this repository has a decoder for MTVZA as well as a large portion of the other sounders.

Thanks!

Xerbo commented 2 years ago

The sections of interest are 4.1.4.1 (AMSU format) and 4.1.5.2 (AIP format)

Xerbo commented 2 years ago

I've added both (NOAA) HIRS and MTVZA support.

zeke800 commented 2 years ago

Thanks! It might take a while for me to figure out AMSU :)

Xerbo commented 1 year ago

NOAA AMSU-A added in 85cc7c7