Skip to content

Options: Reprojection

Matt Painter edited this page Sep 21, 2020 · 21 revisions

TODO document autostitching, nounderlay, tolerance.

Sample usage

No stitching

With the no-stitch mode, images in the source directory are reprojected and saved individually in the output directory.

sanchez\sanchez reproject -o output -s sample-images -a

Stitching

When stitching, a target timestamp must be provided. Images in the source directory are scanned and a single image per satellite with the closest timestamp is utilised.

sanchez reproject -o output\stitched.jpg -s sample-images --mode stitch -T 2020-08-30T03:50:20 -a

Full-colour

If you already have a full colour composite, use the -U / --nounderlay mode combined with -L / --noadjustlevels to create an image which has no colour correction or underlay applied.

Full-colour reprojection

The following example also preserves the original 2km spatial resolution (5424x5424px image) by using the -r 2 flag.

sanchez reproject -s C:\images\goes17\fd\fc\2020-09-12\GOES17_FD_FC_20200912T210031Z.jpg -o output.jpg -ULa -r 2

No underlay

When rendering a single image with no underlay and a .png output file is specified, the image is rendered on a transparent background.

Image with transparent background