It is currently Sat, 24-08-19, 22:14 GMT

All times are UTC




Post new topic Reply to topic  [ 272 posts ]  Go to page Previous  1 ... 7, 8, 9, 10, 11, 12, 13 ... 19  Next
Author Message
 Post subject:
PostPosted: Wed, 09-04-08, 22:13 GMT 
Offline
User avatar

Joined: Thu, 25-10-07, 15:20 GMT
Posts: 992
Location: NE PA, USA
That does look interesting. Probably a fresh peak. Young crater?

Here is a group of green houses. :D At least they looked green at home. :?

Image

I got up 2 cubenorm and I couldn't spiceinit them. That is needed to project to simplecylindrical. :? I get an error that there is not enough data to calculate phobos position relative to the sun. :cry: I'll have to learn more about spice kernels to find out what is going on.
cartrite


Top
 Profile  
 
 Post subject:
PostPosted: Thu, 10-04-08, 1:02 GMT 
Offline
Site Admin
User avatar

Joined: Thu, 30-08-07, 22:52 GMT
Posts: 2727
Location: France, South, not far from Montpellier
t00fri wrote:
That's obviously cartrite taking a walk... ;-)


:lol:


Top
 Profile  
 
 Post subject:
PostPosted: Thu, 10-04-08, 10:07 GMT 
Offline
User avatar

Joined: Thu, 25-10-07, 15:20 GMT
Posts: 992
Location: NE PA, USA
With these strange looking shadows or objects on Phobos, maybe it is one of those missing spacecraft that crashed or disappeared.
cartrite


Top
 Profile  
 
 Post subject:
PostPosted: Thu, 10-04-08, 10:15 GMT 
Offline
User avatar

Joined: Thu, 25-10-07, 15:20 GMT
Posts: 992
Location: NE PA, USA
On a more serious note, Does anyone know which ephemeris contains data for Phobos? Isis3 uses de405.bsp and that does not contain that body. At least it doesn't say it does. That's probably why I can't run spiceinit.
cartrite


Top
 Profile  
 
 Post subject:
PostPosted: Mon, 14-04-08, 22:49 GMT 
Offline
User avatar

Joined: Thu, 25-10-07, 15:20 GMT
Posts: 992
Location: NE PA, USA
So far, I haven't had any luck projecting this Phobos data to simple cylindrical. There seems to be an error in the original mapping data. If and when I get this done, it could be used to update the current Phobos texture which is only 1k. Maybe blow it up to 2k or 4k and add the new data in? The HiRise data is at 6 meters per pixel. A mapping label from
Quote:
PSP_007769_9015_RED5_1
Group = Mapping
ProjectionName = SimpleCylindrical
CenterLongitude = 0.0
TargetName = Phobos
EquatorialRadius = 13400.0 <meters>
PolarRadius = 9200.0 <meters>
LatitudeType = Planetocentric
LongitudeDirection = PositiveEast
LongitudeDomain = 180
MinimumLatitude = -82.170921052423
MaximumLatitude = 69.304831536524
MinimumLongitude = -93.30426832253
MaximumLongitude = 88.439703097369
UpperLeftCornerX = -21822.0 <meters>
UpperLeftCornerY = 16212.0 <meters>
PixelResolution = 6.0 <meters>
Scale = 38.979019961207 <pixels>
CenterLatitude = 0.0
End_Group
Enough to get a level 12 tile. So adding in 4k data should work if I can get it projected.
One of the problem labels.
Quote:
PSP_007769_9015_RED5_0
Group = Mapping
ProjectionName = SimpleCylindrical
CenterLongitude = 0.0
TargetName = Phobos
EquatorialRadius = 13400.0 <meters>
PolarRadius = 9200.0 <meters>
LatitudeType = Planetocentric
LongitudeDirection = PositiveEast
LongitudeDomain = 360
MinimumLatitude = -90.0
MaximumLatitude = 34.771811013083
********************************************************
MinimumLongitude = 0.0
MaximumLongitude = 360.0
********************************************************
UpperLeftCornerX = 0.0 <meters>
UpperLeftCornerY = 8136.0 <meters>
PixelResolution = 6.0 <meters>
Scale = 38.979019961207 <pixels>
CenterLatitude = 0.0
End_Group

cartrite


Top
 Profile  
 
 Post subject:
PostPosted: Mon, 14-04-08, 23:06 GMT 
Offline
User avatar

Joined: Wed, 05-09-07, 0:09 GMT
Posts: 57
Location: Seattle, WA, USA
cartrite wrote:
On a more serious note, Does anyone know which ephemeris contains data for Phobos? Isis3 uses de405.bsp and that does not contain that body. At least it doesn't say it does. That's probably why I can't run spiceinit.
cartrite


You may have found this already, but the mars063 ephemeris covers Phobos and Deimos from 1962 to 2050:

ftp://naif.jpl.nasa.gov/pub/naif/generi ... mar063.bsp

(Note that the file is over 100 megabytes in size.)

--Chris


Top
 Profile  
 
 Post subject:
PostPosted: Tue, 15-04-08, 0:03 GMT 
Offline
User avatar

Joined: Thu, 25-10-07, 15:20 GMT
Posts: 992
Location: NE PA, USA
chris wrote:
You may have found this already, but the mars063 ephemeris covers Phobos and Deimos from 1962 to 2050:

Yes I did find it. But something is still wrong. Probably with the instrument position kernel mro_psp_rec.bsp. That's just a guess though. The ISIS team is looking into it. Maybe they will come up with something.
PS. I did run spiceinit with the mar063 file. That's required to run cam2map. Which I did run. But the image gets projected to about 460 degrees when it should only cover about 180.
cartrite


Top
 Profile  
 
 Post subject:
PostPosted: Tue, 15-04-08, 22:03 GMT 
Offline
User avatar

Joined: Thu, 25-10-07, 15:20 GMT
Posts: 992
Location: NE PA, USA
I got an answer back from one of the ISIS team members and it wasn't good news. Apparently a dem is needed as a shape model for cam2map to work properly on an object that is not spherical. In this case Phobos. I thought that I could use shape = ellipsoid but that is not the case. Maybe somebody can project the data by another means.
cartrite


Top
 Profile  
 
 Post subject:
PostPosted: Thu, 17-04-08, 2:27 GMT 
Offline
User avatar

Joined: Thu, 25-10-07, 15:20 GMT
Posts: 992
Location: NE PA, USA
ISIS3 was updated to 3.1.15 today. Big data folder update too.
cartrite


Top
 Profile  
 
 Post subject:
PostPosted: Sat, 23-08-08, 0:36 GMT 
Offline
User avatar

Joined: Thu, 25-10-07, 15:20 GMT
Posts: 992
Location: NE PA, USA
I restarted work on the Vallesmarineris again. I'm using the ISIS3 programs qnet and jigsaw to put the images together. After I get used to them they should make it easier to do multiple CTX images. They help with the seams. These programs are new to me and are in development. So the documentation is not done yet and the programs are a bit buggy. But practice makes perfect. :D :wink: At least close to "good" I hope. :shock:

There are a lot of areas covering a few degrees with 6 or more images overlapping. A good tool to help with selection of images is available at ASU. http://global-data.mars.asu.edu/bin/ctx.pl
I'm posting some of my preliminary results at my web site on this page.
cartrite


Top
 Profile  
 
 Post subject:
PostPosted: Thu, 28-08-08, 13:22 GMT 
Offline
Site Admin
User avatar

Joined: Thu, 30-08-07, 22:52 GMT
Posts: 2727
Location: France, South, not far from Montpellier
Fridger, FYI, this link from your first post seems to be dead:

http://isis.astrogeology.usgs.gov/IsisW ... /cube.html

Edit, in fact all links are dead... :(


Top
 Profile  
 
 Post subject:
PostPosted: Thu, 28-08-08, 14:03 GMT 
Offline
Site Admin
User avatar

Joined: Fri, 31-08-07, 7:01 GMT
Posts: 4634
Location: Hamburg, Germany
ElChristou wrote:
Fridger, FYI, this link from your first post seems to be dead:

http://isis.astrogeology.usgs.gov/IsisW ... /cube.html

Edit, in fact all links are dead... :(


Christophe,

Thanks for letting me know that the old links are dead, meanwhile.

At USGS they very recently rewrote the ISIS3 Tutorials and "cleverly" modified all the corresponding URLs....How neat!

I have now "re-animated" the links in my introductory post at the beginning of this thread.


Fridger


Top
 Profile  
 
 Post subject:
PostPosted: Sun, 07-09-08, 8:07 GMT 
Offline
User avatar

Joined: Thu, 25-10-07, 15:20 GMT
Posts: 992
Location: NE PA, USA
Hi,
I added this to a thread I started at Shatters.
Quote:
I wrote a script that assembles srtm3 files in ISIS. I put together a signed 16 bit height map and had trouble matching the 64k map after using nm16. So I altered your NMS tool a bit and was able to use that to create a normalmap. It matches pretty good. I'm still testing and working out the bugs. Here are a few preliminaries. This is a 256k map. 90 meter resolution scaled down to power of 2. Normalmap is a peice of a 262144x131072 texture and the specnap is a peice of a 524288x262144 map


Image

Image

Image

Here is a look at the script. I still got some work to do on it.

Code:
#!/bin/sh
ISISROOT=/srv/disk5/isis3/isis
export ISISROOT
. $ISISROOT/scripts/isis3Startup.sh
name=${1%.*}
name1=${1:2:7}
a=${1:5:1}
b=${1:2:1}
slat=${1:3:2}
nlat=$((${1:3:2} + 1))
unzip ${name}.zip
if [ "${a}" = "W" -a "${b}" = "N" ]; then
if [ ${1:6:1} -eq 0 -a ${1:7:1} -eq 0 ]; then
wlong=${1:8:1}
elong=$((${1:8:1} - 1));
elif [ ${1:6:1} -eq 0 ]; then
wlong=${1:7:2}
elong=$((${1:7:2} - 1)); else
wlong=${1:6:3}
elong=$((${1:6:3} - 1)); fi
raw2isis from=${name1}.hgt to=${name1}.cub samples=1201 lines=1201 bittype=signedword byteorder=msb
editlab from=${name1}.cub options=addtemp tempfile=basic.map
maplab from=${name1}.cub map=simplecylindrical.map sample=1 line=1201 coordinates=latlong lat=$slat long="-"$wlong
editlab from=${name1}.cub options=modkey grpname=Mapping keyword=MinimumLatitude value=$slat
editlab from=${name1}.cub options=modkey grpname=Mapping keyword=MaximumLatitude value=$nlat
editlab from=${name1}.cub options=modkey grpname=Mapping keyword=MinimumLongitude value="-"$wlong
editlab from=${name1}.cub options=modkey grpname=Mapping keyword=MaximumLongitude value="-"$elong
reduce from=${name1}.cub to=${name1}.125.cub ons=961 onl=961
else
echo $x ${name1}
echo $y ${name1}
exit;fi


The maplab is what gets things working. After you load a general map with editlab, you can tweak it with maplab.

As for nms, I needed to create a normalmap of an area that was not
an entire globe. So I think that I saw that nms is using a y offset to calculate the spherical correction. So I added 2 more fields on the command line. First, a y offset from the top of the parent map. Second, the height of the parent map. So the usage is nms <radius> <width> [ <exag> [<byteswap> [ <heightmapunit> [ <yoffset> [ <mapheight> ]]]]] Seems to be working ok. Then I changed
Code:
line 70+    int yoffset  = 0;
   
line 71 + int mapheight = 0;
line 140 +             if (argc > 6)
            {
               if (sscanf(argv[6], "%d", &yoffset) != 1)
               {
                  cerr<<"enter the y offset of your texture from the map.\n";
                  return 1;
               }

               if (argc == 8)
               {
                  if (sscanf(argv[7], "%d", &mapheight) != 1)
                  {
                     cerr<<"enter the height of the map the partial is part of.\n";
                     return 1;
                  }
               }
            }
line213 change     double bumpheight = heightmapunit * exag * (mapheight * 2) / (2000 * pi * radius);

line 214 change     double hp = pi / (double) mapheight;

line 227 change         double spherecorr = 1.0 / sin(hp * ((yoffset + y) + 0.5));

I don't think many people would be comfortable using it though. It does seem to get the job done though.

Some of my teminal output.
Quote:
cartrite@linux-o863:/srv/disk5/extras/BMNG-july/textures/hires/work> nms-partial 6378.140 16384 2.5 0 1 24576 131072 < top-16384x2.bin > 16k-top.png
[nms ]: Input file is a 16 bit elevation map: 16384 x 8192

Generating a normalmap for spherical geometry in PNG format

nms [ 1024 rows of 8192 -> 7.33 s]
nms [ 2048 rows of 8192 -> 14.57 s]
nms [ 3072 rows of 8192 -> 22.23 s]
nms [ 4096 rows of 8192 -> 30.30 s]
nms [ 5120 rows of 8192 -> 39.24 s]
nms [ 6144 rows of 8192 -> 48.21 s]
nms [ 7168 rows of 8192 -> 56.94 s]
nms [ 8192 rows of 8192 -> 65.84 s]
cartrite@linux-o863:/srv/disk5/extras/BMNG-july/textures/hires/work> nms-partial 6378.140 16384 2.5 0 1 32768 131072 < btm-16384x2.bin > btm.png
[nms ]: Input file is a 16 bit elevation map: 16384 x 8192

Generating a normalmap for spherical geometry in PNG format

nms [ 1024 rows of 8192 -> 8.70 s]
nms [ 2048 rows of 8192 -> 16.74 s]
nms [ 3072 rows of 8192 -> 24.58 s]
nms [ 4096 rows of 8192 -> 32.06 s]
nms [ 5120 rows of 8192 -> 39.22 s]
nms [ 6144 rows of 8192 -> 46.17 s]
nms [ 7168 rows of 8192 -> 53.33 s]
nms [ 8192 rows of 8192 -> 60.06 s]
cartrite@linux-o863:/srv/disk5/extras/BMNG-july/textures/hires/work> nms-partial 6378.140 8192 2.5 0 1 12288 65536 < top-8192x2.bin > 8k-top.png
[nms ]: Input file is a 16 bit elevation map: 8192 x 4096

Generating a normalmap for spherical geometry in PNG format

nms [ 1024 rows of 4096 -> 4.50 s]
nms [ 2048 rows of 4096 -> 8.82 s]
nms [ 3072 rows of 4096 -> 13.46 s]
nms [ 4096 rows of 4096 -> 17.81 s]
cartrite@linux-o863:/srv/disk5/extras/BMNG-july/textures/hires/work> nms-partial 6378.140 8192 2.5 0 1 16384 65536 < btm-8192x2.bin > 8k-btm.png
[nms ]: Input file is a 16 bit elevation map: 8192 x 4096

Generating a normalmap for spherical geometry in PNG format

nms [ 1024 rows of 4096 -> 4.70 s]
nms [ 2048 rows of 4096 -> 8.47 s]
nms [ 3072 rows of 4096 -> 11.91 s]
nms [ 4096 rows of 4096 -> 15.32 s]


cartrite


Last edited by cartrite on Sun, 07-09-08, 10:01 GMT, edited 1 time in total.

Top
 Profile  
 
 Post subject:
PostPosted: Sun, 07-09-08, 8:30 GMT 
Offline
User avatar

Joined: Thu, 25-10-07, 15:20 GMT
Posts: 992
Location: NE PA, USA
A couple of more screen shots. These have the 128k resolution MODIS surface reflectance.

Image

Image

Image

cartrite


Top
 Profile  
 
 Post subject:
PostPosted: Fri, 12-09-08, 9:41 GMT 
Offline
User avatar

Joined: Thu, 25-10-07, 15:20 GMT
Posts: 992
Location: NE PA, USA
WARNING
ISIS3 was updated to 3.1.17 yesterday but it still has problems. I suggest not updating until these problems are fixed. The problem I'm having is that all program GUIs are broken because of a QT4 update in the 3rd Party Libs folder from QT4.1 to QT4.4. I can run all the programs but only from a command line.
cartrite


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 272 posts ]  Go to page Previous  1 ... 7, 8, 9, 10, 11, 12, 13 ... 19  Next

All times are UTC


Who is online

Users browsing this forum: No registered users and 2 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB® Forum Software © phpBB Group