Skip to content
This repository was archived by the owner on Dec 16, 2022. It is now read-only.

Latest commit

 

History

History
39 lines (23 loc) · 1.16 KB

TifFiles.rst

File metadata and controls

39 lines (23 loc) · 1.16 KB

Handling .tif files in Python

We get ship exposure data in the form of tif files from Krista and Cam. We will make an enviroment with packages that can handle tif files and then explore our tif file in that enviroment.

Geotiff Enviroment

We first create a conda enviroment with our tif specific packages.

$ conda create -n geotiff -c conda-forge python=3.7 rasterio earthpy jupyterlab

This creates an enviroment called geotiff that has the packages rasterio, earthpy, and jupyterlab. We can use this enviroment by

$ conda activate geotiff

.tif File Explorations

We will closely follow the tutorial shown here