From 638b0a70da7af1ddf8e26c5b477a5136e30a783b Mon Sep 17 00:00:00 2001 From: Even Rouault Date: Wed, 27 Nov 2024 02:15:21 +0100 Subject: [PATCH] test_hdf4_read_online_8(): update URL Slightly related to #3348 --- autotest/gcore/hdf4_read.py | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/autotest/gcore/hdf4_read.py b/autotest/gcore/hdf4_read.py index de7e7017bcc8..fd0a86f5aa7c 100755 --- a/autotest/gcore/hdf4_read.py +++ b/autotest/gcore/hdf4_read.py @@ -364,26 +364,26 @@ def test_hdf4_read_online_8(): # 5 MB gdaltest.download_or_skip( - "https://e4ftl01.cr.usgs.gov/MOLT/MOD13Q1.006/2006.06.10/MOD13Q1.A2006161.h34v09.006.2015161173716.hdf", - "MOD13Q1.A2006161.h34v09.006.2015161173716.hdf", + "https://e4ftl01.cr.usgs.gov/MOLT/MOD13Q1.061/2006.06.10/MOD13Q1.A2006161.h34v09.061.2020265043931.hdf", + "MOD13Q1.A2006161.h34v09.061.2020265043931.hdf", ) tst = gdaltest.GDALTest( "HDF4Image", - "HDF4_EOS:EOS_GRID:tmp/cache/MOD13Q1.A2006161.h34v09.006.2015161173716.hdf:MODIS_Grid_16DAY_250m_500m_VI:250m 16 days NDVI", + "HDF4_EOS:EOS_GRID:tmp/cache/MOD13Q1.A2006161.h34v09.061.2020265043931.hdf:MODIS_Grid_16DAY_250m_500m_VI:250m 16 days NDVI", 1, - 44174, + 45111, filename_absolute=1, ) tst.testOpen() ds = gdal.Open( - "HDF4_EOS:EOS_GRID:tmp/cache/MOD13Q1.A2006161.h34v09.006.2015161173716.hdf:MODIS_Grid_16DAY_250m_500m_VI:250m 16 days NDVI" + "HDF4_EOS:EOS_GRID:tmp/cache/MOD13Q1.A2006161.h34v09.061.2020265043931.hdf:MODIS_Grid_16DAY_250m_500m_VI:250m 16 days NDVI" ) cs = ds.GetRasterBand(1).Checksum() - assert cs == 44174, "did not get expected checksum" + assert cs == 45111, "did not get expected checksum" if "GetBlockSize" in dir(gdal.Band): (blockx, blocky) = ds.GetRasterBand(1).GetBlockSize()