dernasherbrezon / r2cloud

Decode satellite signals on Raspberry PI or any other 64-bit CPU.
Apache License 2.0
255 stars 30 forks source link

Selecting Meteor M2 Evening Data Channel #67

Closed jeffreypkelly closed 1 year ago

jeffreypkelly commented 4 years ago

It seems in the NOAA images you select the visual channel in daylight and show both infrared channels in the evening.

With Meteor M2 - it seems you combine the visual Channels 1 & 2 to create a false color image, and keep that in the evening, which shows a no sunlight black image. Is there a way to select the Infrared channel in the evening to show?

I realize this can change as the mode of the satellite changes from all visual channels to the current mode two visual and an infrared, so it would nice to be configurable if possible.

dernasherbrezon commented 4 years ago

The raw data is there, it just do not rendered. The question is, what would you do with images next?

I'm planning to create a service, which aggregates all Meteor M2/2-2 images and lay them on google maps. For this use case, pre-rendered images are useless, as I need raw data with admin packets for each row.

errolt commented 4 years ago

How can I reprocess the raw data to get all images uncombined?

dernasherbrezon commented 4 years ago

Hmm Good question. Looks like raw data for Meteor can be downloaded via API only from r2server.

If you have access to raspberry pi, then all raw data stored on the disk. It just do not exposed via API. Raised #77 to fix that.

You can process raw data using the code below:

try (LRPTInputStream is = new LRPTInputStream(new FileInputStream("data.bin"))) {
   while(is.hasNext()) {
     Vcdu vcdu = is.next();
   }
}

Vcdu is the transfer frame from LRPT specification. Sample code for joining Vcdu together and extracting Packets is in MeteorImage class.

dernasherbrezon commented 1 year ago

LRPT was turned off on METEOR. Use the following program to generate geotiff with all available channels: https://github.com/dernasherbrezon/georef-lrpt