Skip to content

Options: Reprojection

Matt Painter edited this page Oct 4, 2020 · 21 revisions

In reproject mode, Sanchez reprojects geostationary IR images into plate carrée projection. This mode allows:

  • Individual image reprojection
  • Multiple satellite stitching
  • Timelapse stitching

Options

Autocrop

All modes support optional auto-cropping (-a / --autocrop) to crop target images to a tight rectangle. This option loses some source imagery, but maximises the total area.

The example below is without and with autocrop enabled:

Image with and without autocropping

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

Reprojection modes

Individual image reprojection

This mode takes one or more source images and performs reprojection.

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

Clone this wiki locally