Skip to content

Options: Reprojection

Matt Painter edited this page Oct 4, 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 -T 2020-08-30T03:50:20 -a

Stitched timelapse

To create a stitched timelapse, use the -I / --interval option to specify the interval in minutes between frames. The interval must be less than or equal to the tolerance. If a timestamp isn't specified with -T, all images in the source folder are targeted. An optional end timestamp may be specified with -e / --endtimestamp.

sanchez reproject -o output\stitched -s sample-images -I 60 -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