Skip to content

Satellite identification

Matt Painter edited this page Sep 20, 2020 · 12 revisions

Filename matching

Sanchez matches satellite imagery to known satellites based on file prefix and, when stitching satellite images, by filename timestamp.

File prefixes are registered in Resources\Satellites.json. If you have changed the default file prefix, you will need to edit the appropriate satellite definition.

When stitching images, Sanchez needs to identify the closest satellite imagery based on the provided timestamp. This matching is performed by regular expressions in code. Currently, goesproc and xrit-rx filenames are supported.

Custom satellite support

Sanchez normalises geostationary satellite imagery to be consistent with images received via GOES-R satellites. It is therefore technically possible for Sanchez to process images from any satellite, provided a suitable scetion is added to the Resources\Satellites.json file.

Because the Himawari-8 and GK-2A images have a border around the disc that the GOES-16 and GOES-17 images lack, a Crop section is present. This specifies the ratio of pixels to be cropped for top, right, bottom and left edges respectively.

For example, a crop value of 0.007273 for an image of 2200px will result in a crop of 16px.

CropRange defines the visible range of the satellite. If this is not documented, it can be set by eye by rendering the satellite image with reprojection and without autocrop. This range defines both cropping and optimal blending when stitching satellite imagery.