Skip to content

Instantly share code, notes, and snippets.

@GIS243
GIS243 / nc_to_gtiff.py
Created December 8, 2022 08:19 — forked from arbennett/nc_to_gtiff.py
Workflow for uploading data from netcdf to google earth engine
#!/usr/bin/env python2
"""
Script that allows for conversion of a netcdf file to
a stack of geotiff files with each raster being a time
slice from the input file.
Base implementation taken from:
https://www.linkedin.com/pulse/convert-netcdf4-file-geotiff-using-python-chonghua-yin
Usage: