Skip to content

phytooracle/flir_bin_to_tif_s11

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

FLIR BIN2TIF - Season 11, Sorghum

This script converts BIN files to GeoTIFF images for thermal (FLIR) sensors.

Re-calibrated transformer: converts bin to tif for gantry files (s11). Differences between s10 and s11:

  • S11 only contains center of agricultural plots, therefore no GCP lids are detectable. This is taken into consideration.
  • Apart from removing the S10 correction, the code used is very similar to the one for s10.

Note that image height and width are collected from the provided metadata, including:

    img_height, img_width = 640, 480

Also, a experimentally derived offset is applied:

    # TERRA-REF
    lon_shift = 0.000020308287

    # Drone
    lat_shift = 0.000018292 #0.000015258894

Inputs

Raw metadata and BIN files.

Outputs

Converted GeoTIFs in a single directory.

Arguments and Flags

  • Required Arguments:

    • Directory of flir files to decompress: 'bin'
    • raw metadata files: '-m', '--metadata'
    • Z-axis offset: '-z', '--zoffset'
  • Optional Arguments

    • Output directory: '-o', '--outdir', default='flir2tif_out/'

Executing example (using singularity)

singularity run -B $(pwd):/mnt --pwd /mnt/ docker://phytooracle/flir_bin_to_tif_s10 -m <metadata.json> <bin_dir>

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published