Open creinemann opened 3 months ago
Thanks Carl. I've got a handful of sample files now so should be able to get this implemented by the weekend.
For the time-being, this just requires a config change. Edit Resources/Satellites.json
and replace the GOES-18 and GK-2A sections with:
{
"DisplayName": "GOES-18",
"FilenamePrefix": "G18_13_",
"FilenameParser": "Goesproc",
"Longitude": -137.0,
"Brightness": 0.95
}
and:
{
"DisplayName": "GEO-KOMPSAT-2A",
"FilenamePrefix": "GK2A_IR105_",
"FilenameParser": "Goesproc",
"Longitude": 128.2,
"Brightness": 0.97,
"Crop": [
0.006363,
0.006363,
0.006363,
0.006363
]
},
GOES-18 just requires the FilenamePrefix
to be changed, whereas GK-2A requires both FilenamePrefix
and FilenameParser
.
The developers of satdump drastically changed the file output of imagery relating to geo sats. Thge new naming convention does not 'currently' work with Sanchez. As you can see below, other than the raw png files, the composited outputs all have the same filename, thedifference being the date/time in which they were created. So that a M1 file:
abi_rgb_Clean_Longwave_IR_Window_Band_map.jpg
is the same as a full disk fileabi_rgb_Clean_Longwave_IR_Window_Band_map.jpg
. Or, Meso1 band 13 fileG18_13_20240515T115155Z.png
has the same name as full disk band 13G18_13_20240515T115155Z.png
the differences are in the timestamp of the folders.So instead of having a file folder with today's date, and all the day/night imagery under it, it creates a file folder by time and date, with just that times output under it. See my example for goes 18. the JSON will need to be updated to handle that, as well as for pulling multiple files:![Screenshot 2024-05-15 071349](https://github.com/nullpainter/sanchez/assets/47005123/ad6c9f0d-557e-49b0-9324-3f86ffb658a0)