mdis2isis from=EW1026170296B.IMG to=EW1026170296B
mdiscal from=EW1026170296B.cub to=EW1026170296B.cal.cub radiometric=false
spiceinit from=EW1026170296B.cal.cub spksmithed=true cksmithed=true
mapproject -t isis MSGR_DEM_USG_SC_I_V02_rescaledKM_ref2440km.tif EW1026170296B.cal.cub EW1026170296B.prj.tif --suppress-output --t_srs '+proj=eqc +lat_ts=0 +lat_0=0 +lon_0=0 +x_0=0 +y_0=0 +a=2444000 +b=2440000 +units=m +no_defs'
Here's the first few lines of output:
mapproject_single --query-projection MSGR_DEM_USG_SC_I_V02_rescaledKM_ref2440km.tif EW1026170296B.cal.cub EW1026170296B.prj.tif -t isis --t_srs +proj=eqc +lat_ts=0 +lat_0=0 +lon_0=0 +x_0=0 +y_0=0 +a=2444000 +b=2440000 +units=m +no_defs
Output image size is 37501 by 10258 pixels.
Splitting into 37 by 11 tiles.
I guess all those tiles are generated because the mirrored images are very far apart with a lot of empty space between them.
The DEM is in cylindrical projection:
MSGR_DEM_USG_SC_I_V02_rescaledKM_ref2440km.tif: Title: Grid imported via GDAL
MSGR_DEM_USG_SC_I_V02_rescaledKM_ref2440km.tif: Command:
MSGR_DEM_USG_SC_I_V02_rescaledKM_ref2440km.tif: Remark:
MSGR_DEM_USG_SC_I_V02_rescaledKM_ref2440km.tif: Pixel node registration used [Cartesian grid]
MSGR_DEM_USG_SC_I_V02_rescaledKM_ref2440km.tif: Grid file format: gd = Import/export through GDAL
MSGR_DEM_USG_SC_I_V02_rescaledKM_ref2440km.tif: x_min: 0 x_max: 360 x_inc: 0.015625 name: x n_columns: 23040
MSGR_DEM_USG_SC_I_V02_rescaledKM_ref2440km.tif: y_min: -90 y_max: 90 y_inc: 0.015625 name: y n_rows: 11520
MSGR_DEM_USG_SC_I_V02_rescaledKM_ref2440km.tif: z_min: -5982 z_max: 3897.00024414 name: z
MSGR_DEM_USG_SC_I_V02_rescaledKM_ref2440km.tif: scale_factor: 1 add_offset: 0
+proj=longlat +a=2440000 +b=2440000 +no_defs
I've tried it with a different DEM with the same result (although it complained about a non-standard georeference):
MSGR_DEM_USG_EQ_I_V02_prep.tif: Title: Grid imported via GDAL
MSGR_DEM_USG_EQ_I_V02_prep.tif: Command:
MSGR_DEM_USG_EQ_I_V02_prep.tif: Remark:
MSGR_DEM_USG_EQ_I_V02_prep.tif: Pixel node registration used [Cartesian grid]
MSGR_DEM_USG_EQ_I_V02_prep.tif: Grid file format: gd = Import/export through GDAL
MSGR_DEM_USG_EQ_I_V02_prep.tif: x_min: -7664266.36232 x_max: 7664266.36232 x_inc: 665.243152705 name: x n_columns: 23042
MSGR_DEM_USG_EQ_I_V02_prep.tif: y_min: -3832465.80274 y_max: 3832465.80274 y_inc: 665.243152705 name: y n_rows: 11522
MSGR_DEM_USG_EQ_I_V02_prep.tif: z_min: 2434018 z_max: 2443897 name: z
MSGR_DEM_USG_EQ_I_V02_prep.tif: scale_factor: 1 add_offset: 2439400 packed z-range: [-5382,4497]
+proj=eqc +lat_ts=0 +lat_0=0 +lon_0=180 +x_0=0 +y_0=0 +a=2439400 +b=2439400 +units=m +no_defs
I've also tried it without the "t_srs" option with the same result.
Using ASP 2.6.1.
Any help would be much appreciated.
Thanks,
Mike
EW1026170296B.IMG - original IMG
EW1026170296B.cal.cub - calibrated ISIS cube file
MSGR_DEM_USG_SC_I_V02_rescaledKM_ref2440km.tif - offending DEM
test.tif - this is the cut-out DEM that worked without --t_projwin
EW1026170296B.cal.map.cub - the ISIS mapprojected image, for reference
I'm using ASP 2.6.1 and isis 3.5.2.
The offending DEM worked with this --t_projwin param:
mapproject -t isis MSGR_DEM_USG_SC_I_V02_rescaledKM_ref2440km.tif EW1026170296B.cal.cub EW1026170296Bb.prj.tif --suppress-output --t_srs '+proj=eqc +lat_ts=0 +lat_0=0 +lon_0=0 +x_0=0 +y_0=0 +a=2444000 +b=2440000 +units=m +no_defs' --t_projwin 4094083.90015 1132994.93286 4431395.12817 1409152.93579
You have 10 days from 03-Jun-2020 to download the file(s) from the following URL:
https://opendrive.gsfc.nasa.gov/shortauth/o/rdYM7sG1

To view this discussion visit https://groups.google.com/d/msgid/ames-stereo-pipeline-support/58e9b4bb-381f-47cf-a751-66fe43285578n%40googlegroups.com.