Ticket #1785 (closed defect: worksforme)
1.4.1 Regression while reading MISR data
| Reported by: | frankie | Owned by: | warmerdam |
|---|---|---|---|
| Priority: | normal | Milestone: | 1.4.3 |
| Component: | GDAL_Raster | Version: | 1.4.1 |
| Severity: | normal | Keywords: | hdf4 |
| Cc: |
Description (last modified by warmerdam) (diff)
See difference among 1.3.2 and 1.4.1 gdalinfo reporting for a MISR (HDF4-EOS sort of) data file:
#
--- gdal-1.3.2.txt 2007-09-03 16:35:16.000000000 +0200
#
+++ gdal-1.4.1.txt 2007-09-03 16:34:32.000000000 +0200
#
@@ -1,10 +1,10 @@
#
Driver: HDF4Image/HDF4 Dataset
#
-Size is -1, -1
#
+Size is 0, 0
#
Coordinate System is:
#
LOCAL_CS["GCTP projection number 22",
#
UNIT["Meter",1]]
#
-Origin = (7460750.000000,1090650.000000)
#
-Pixel Size = (1100.00000000,-1100.00000000)
#
+Origin = (7460750.000000000000000,1090650.000000000000000)
#
+Pixel Size = (1100.000000000000000,-1100.000000000000000)
#
Metadata:
#
HDFEOSVersion=HDFEOS_V2.13
#
Path_number=196
#
@@ -367,16 +367,16 @@
#
#
END
#
#
- Block_size.resolution_x=1100, -1221782280, 170812526, 0
#
- Block_size.resolution_y=1100, -1221782280, 170812526, 0
#
- Block_size.size_x=128, -1221782280, 170812526, 0
#
- Block_size.size_y=512, -1221782280, 170812526, 0
#
- Scale factor=0.0472032241523266, 2.08961414804199e-76, 6.38706223130238e-67, 2.61433546175396e-310, 0, 0, 0, 0
#
- std_solar_wgted_height=1867.27, -1.031649e-05, 8.396684e-33, 0
#
- SunDistanceAU=1.01511331019503, 3.33825405993698e+151, 1.66707796419125e-71, 1.05220814586365e-153, 3.53541941098601e-57, 2.37636271514038e-38, 3.27740040683152e+179, 2.61433545205249e-310
#
+ Block_size.resolution_x=1100, -1221287568, 170812526, 0
#
+ Block_size.resolution_y=1100, -1221287568, 170812526, 0
#
+ Block_size.size_x=128, -1221287568, 170812526, 0
#
+ Block_size.size_y=512, -1221287568, 170812526, 0
#
+ Scale factor=0.0472032241523266, 6.52630755860018e-38, 6.38706223130238e-67, 2.61433546175396e-310, 0, 0, 0, 0
#
+ std_solar_wgted_height=1867.27, -1.076642e-05, 8.396684e-33, 0
#
+ SunDistanceAU=1.01511331019503, 3.33825405993698e+151, 1.66707796419125e-71, 1.05220814586365e-153, 3.53854064208632e-57, 2.37636271514037e-38, 3.27740040683152e+179, 2.61433545205249e-310
#
Corner Coordinates:
#
Upper Left ( 7460750.000, 1090650.000)
#
-Lower Left ( 7460750.000, 1091750.000)
#
-Upper Right ( 7459650.000, 1090650.000)
#
-Lower Right ( 7459650.000, 1091750.000)
#
-Center ( 7460200.000, 1091200.000)
#
+Lower Left ( 7460750.000, 1090650.000)
#
+Upper Right ( 7460750.000, 1090650.000)
#
+Lower Right ( 7460750.000, 1090650.000)
#
+Center ( 7460750.000, 1090650.000)
Specifically vertical dimension collapses and r.in.gdal is not too happy to see that, it warns and creates an invalid location.
WARNING: G_set_window(): North must be larger than South
PS: I can provide data on demand, feel free to ping me about that.
Change History
Note: See
TracTickets for help on using
tickets.
