Convert MEaSUREs GeoTIFF into NetCDF

Use this Forum to find information on, or ask a question about, NASA Earth Science data.
Post Reply
Posts: 284
Joined: Thu Jul 11, 2019 4:32 pm America/New_York
Answers: 3

Convert MEaSUREs GeoTIFF into NetCDF

by EarthdataForumContributor » Thu Apr 28, 2022 4:16 pm America/New_York

Is there a way to convert a GeoTIFF file into a NetCDF file?
I am specifically interested in using this dataset: MEaSUREs Greenland Monthly Ice Sheet Velocity Mosaics from SAR and Landsat (NSIDC-0731).
Any help would be greatly appreciated.


NSIDC - danicalinda.cantarero
User Services
User Services
Posts: 4
Joined: Wed Jan 19, 2022 11:45 am America/New_York
Answers: 0

Re: Convert MEaSUREs GeoTIFF into NetCDF

by NSIDC - danicalinda.cantarero » Thu Apr 28, 2022 4:20 pm America/New_York

You can use the Geospatial Data Abstraction Library (GDAL) in the command line to convert GeoTIFF files into a different format. Make sure GDAL is installed on your workstation before proceeding. You can find further details at

Open a terminal/command prompt and navigate to the folder where the file you want to convert is.

Here is an example of a script to convert a GeoTIFF file to NetCDF:

Code: Select all

gdal_translate -of NetCDF <input filename> <output filename>
Just substitute your file in place of the example NSIDC-0731 file below:

Code: Select all

gdal_translate -of NetCDF GL_vel_mosaic_Monthly_01May21_31May21_vv_v03.0.tif
You can also use GDAL in Python to do the file type conversion. You might find the GDAL in Python Section in this FAQ helpful:

If you want to reproject to lat/lon as well, then we recommend reprojecting before converting to NetCDF.
Here's an FAQ for further guidance:

Post Reply