Effacer les filtres
Effacer les filtres

Unable to read DEM file with GTOPO30s

2 vues (au cours des 30 derniers jours)
HRmatlab
HRmatlab le 17 Août 2017
i am trying to read GTOPO30 data I downloaded from USGS https://earthexplorer.usgs.gov/.
I selected a region in So. California with latlim [34 36], lonlim [-120 -118]. When I try reading the DEM file I get an error:
The GTOPO30 directory, 'C:\Documents\MATLAB\gt30w140n40_dem/', does not contain data for the specified latitude longitude limits.
But I am pretty sure I have the correct dem tile with the correct latitude longitude limits.
In fact gtopo30s([34 36],[-120 -118]) returns the correct tile name w140n40. Any help would be greatly appreciated.
  2 commentaires
Walter Roberson
Walter Roberson le 17 Août 2017
How are you doing the reading?
Unfortunately that file requires a login to download so I cannot test that one myself.
HRmatlab
HRmatlab le 5 Sep 2017
Modifié(e) : Walter Roberson le 5 Sep 2017
Apparently the files I downloaded from USGS did not contain the data MATLAB was expecting. Downloading the same area from an alternative USGS site https://dds.cr.usgs.gov/srtm/version2_1/SRTM30/ resolved the issue.

Connectez-vous pour commenter.

Réponse acceptée

Chad Greene
Chad Greene le 1 Sep 2017
Does this answer your question?

Plus de réponses (0)

Catégories

En savoir plus sur 2-D and 3-D Plots dans Help Center et File Exchange

Produits

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by