Skip to content

Commit

Permalink
SRTM_GL1 and ASTER_GDEMV3 deprecated
Browse files Browse the repository at this point in the history
  • Loading branch information
xfischer committed Aug 11, 2021
1 parent 8090059 commit 018dae0
Showing 1 changed file with 27 additions and 38 deletions.
65 changes: 27 additions & 38 deletions DEM.Net.Core/Model/Datasets/DEMDataSet.cs
Original file line number Diff line number Diff line change
Expand Up @@ -82,18 +82,18 @@ private static Dictionary<string, DEMDataSet> GetRegisteredDatasets()
"Rosen, P. A. et al., 2000, Synthetic aperture radar interferometry, Proc. IEEE, 88:333-382." + Environment.NewLine +
"https://doi.org/10.5069/G9445JDF")
});
datasets.Add("SRTM_GL1", new DEMDataSet()
{
Name = nameof(SRTM_GL1),
Description = "Shuttle Radar Topography Mission (SRTM GL1) Global 30m",
PublicUrl = "http://opentopo.sdsc.edu/raster?opentopoID=OTSRTM.082015.4326.1",
DataSource = new VRTDataSource("https://opentopography.s3.sdsc.edu/raster/SRTM_GL1/SRTM_GL1_srtm.vrt"),
FileFormat = new DEMFileDefinition("Nasa SRTM HGT", DEMFileType.GEOTIFF, ".tif", DEMFileRegistrationMode.Grid),
ResolutionMeters = 30,
ResolutionArcSeconds = 1,
PointsPerDegree = 3600,
Attribution = new Attribution(ATTRIBUTION_SUBJECT, "SRTM_GL1 OpenTopography", "https://opentopography.org/", "http://www2.jpl.nasa.gov/srtm/srtmBibliography.html, https://doi.org/10.5069/G9445JDF")
}); ;
//datasets.Add("SRTM_GL1", new DEMDataSet()
//{
// Name = nameof(SRTM_GL1),
// Description = "Shuttle Radar Topography Mission (SRTM GL1) Global 30m",
// PublicUrl = "http://opentopo.sdsc.edu/raster?opentopoID=OTSRTM.082015.4326.1",
// DataSource = new VRTDataSource("https://opentopography.s3.sdsc.edu/raster/SRTM_GL1/SRTM_GL1_srtm.vrt"),
// FileFormat = new DEMFileDefinition("Nasa SRTM HGT", DEMFileType.GEOTIFF, ".tif", DEMFileRegistrationMode.Grid),
// ResolutionMeters = 30,
// ResolutionArcSeconds = 1,
// PointsPerDegree = 3600,
// Attribution = new Attribution(ATTRIBUTION_SUBJECT, "SRTM_GL1 OpenTopography", "https://opentopography.org/", "http://www2.jpl.nasa.gov/srtm/srtmBibliography.html, https://doi.org/10.5069/G9445JDF")
//});
datasets.Add("AW3D30", new DEMDataSet()
{
Name = nameof(AW3D30),
Expand Down Expand Up @@ -152,21 +152,21 @@ private static Dictionary<string, DEMDataSet> GetRegisteredDatasets()
// Attribution = new Attribution(ATTRIBUTION_SUBJECT, "IGN", "https://ign.fr"
// , "TO BE DEFINED")
//});
datasets.Add("ASTER_GDEMV3", new DEMDataSet()
{
Name = nameof(ASTER_GDEMV3),
Description = "ASTER Global Digital Elevation Model 1 arc second (30m)",
PublicUrl = "https://lpdaac.usgs.gov/products/astgtmv003",
DataSource = new NasaGranuleDataSource(indexFilePath: "ASTGTM.003.json", collectionId: "C1575726572-LPDAAC_ECS"),
FileFormat = new DEMFileDefinition("GeoTiff file", DEMFileType.GEOTIFF, "_dem.tif", DEMFileRegistrationMode.Grid),
ResolutionMeters = 30,
ResolutionArcSeconds = 1,
PointsPerDegree = 3600,
NoDataValue = -9999,
Attribution = new Attribution(ATTRIBUTION_SUBJECT, "ASTER_GDEMV3",
"https://doi.org/10.5067/ASTER/ASTGTM.003",
"NASA/METI/AIST/Japan Spacesystems, and U.S./Japan ASTER Science Team. ASTER Global Digital Elevation Model V003. 2018, distributed by NASA EOSDIS Land Processes DAAC")
});
//datasets.Add("ASTER_GDEMV3", new DEMDataSet()
//{
// Name = nameof(ASTER_GDEMV3),
// Description = "ASTER Global Digital Elevation Model 1 arc second (30m)",
// PublicUrl = "https://lpdaac.usgs.gov/products/astgtmv003",
// DataSource = new NasaGranuleDataSource(indexFilePath: "ASTGTM.003.json", collectionId: "C1575726572-LPDAAC_ECS"),
// FileFormat = new DEMFileDefinition("GeoTiff file", DEMFileType.GEOTIFF, "_dem.tif", DEMFileRegistrationMode.Grid),
// ResolutionMeters = 30,
// ResolutionArcSeconds = 1,
// PointsPerDegree = 3600,
// NoDataValue = -9999,
// Attribution = new Attribution(ATTRIBUTION_SUBJECT, "ASTER_GDEMV3",
// "https://doi.org/10.5067/ASTER/ASTGTM.003",
// "NASA/METI/AIST/Japan Spacesystems, and U.S./Japan ASTER Science Team. ASTER Global Digital Elevation Model V003. 2018, distributed by NASA EOSDIS Land Processes DAAC")
//});
datasets.Add("NASADEM", new DEMDataSet()
{
Name = nameof(NASADEM),
Expand Down Expand Up @@ -225,11 +225,6 @@ private static Dictionary<string, DEMDataSet> GetRegisteredDatasets()
/// </summary>
public static DEMDataSet SRTM_GL3 => Datasets.Value[nameof(SRTM_GL3)];

/// <summary>
/// Shuttle Radar Topography Mission (SRTM GL1) Global 30m
/// </summary>
public static DEMDataSet SRTM_GL1 => Datasets.Value[nameof(SRTM_GL1)];

/// <summary>
/// ALOS World 3D - 30m
/// </summary>
Expand All @@ -246,12 +241,6 @@ private static Dictionary<string, DEMDataSet> GetRegisteredDatasets()
public static DEMDataSet GEBCO_2019 => Datasets.Value[nameof(GEBCO_2019)];
public static DEMDataSet GEBCO_2020 => Datasets.Value[nameof(GEBCO_2020)];

/// <summary>
/// ASTER GDEM V3 https://cmr.earthdata.nasa.gov/search/concepts/C1575726572-LPDAAC_ECS/11
/// API: https://cmr.earthdata.nasa.gov/search/site/docs/search/api.html
/// </summary>
public static DEMDataSet ASTER_GDEMV3 => Datasets.Value[nameof(ASTER_GDEMV3)];

/// <summary>
/// NASADEM https://cmr.earthdata.nasa.gov/search/concepts/C1546314043-LPDAAC_ECS
/// API: https://cmr.earthdata.nasa.gov/search/site/docs/search/api.html
Expand Down

0 comments on commit 018dae0

Please sign in to comment.