Welcome to iraf.net Friday, April 19 2024 @ 09:12 PM GMT


 Forum Index > Help Desk > General IRAF New Topic Post Reply
 timestamps
   
august_fly
 07/10/2008 03:48PM (Read 1861 times)  
+----
Newbie

Status: offline


Registered: 12/08/2005
Posts: 1
hi,sort of a strange problem with timestamps and IRAF. Running iraf 2.14 on Mac OSX 10.5.4 on a Mac Pro.
basically, imreplace seems to be setting a timestamp 1 hour slow. I've done this a couple of times now with different files and introduced different operations before trying imreplace -- always slow by 1 hour. Operations like imcopy, imarith, and imcombine produce correct timestamps.Digging a bit deeper into the metadata (stat -x and GetFileInfo) indicates that the modification and creation timestamps are being incorrectly set. The creation timestamp prob just follows the modification timestamp in Mac OS X.a search of the forums gave archived instances from the mid 90's regarding similar problems so perhaps it is IRAF and not my machine! Or some funny business with mac's metadata but I would not know where to look for that. But 1 hour slow is suspiciously like a daylight saving time prob.- gus
Example:[i:125e3702e7]ecl> imcopy
Input images (Ser03_POSS2_Red_mosaic.fits):
Output images or directory (Ser03_POSS2_Red_mosaic_weight.fits):
Ser03_POSS2_Red_mosaic.fits -> Ser03_POSS2_Red_mosaic_weight.fitsecl> e ls
ls -l Ser03_POSS2_Red_mosaic*.fits
-rw-r--r--@ 1 aamn staff 103711680 Jul 1 15:46 Ser03_POSS2_Red_mosaic.fits
-rw-r--r-- 1 aamn staff 103714560 Jul 10 10:38 Ser03_POSS2_Red_mosaic_weight.fitsecl> imarith
Operand image or numerical constant: Ser03_POSS2_Red_mosaic_weight.fits
Operator (+|-|*|/|min|max) (+): *
Operand image or numerical constant: 3
Resultant image: Ser03_POSS2_Red_mosaic_weight2.fitsecl> e ls
ls -l Ser03_POSS2_Red_mosaic*.fits
-rw-r--r--@ 1 aamn staff 103711680 Jul 1 15:46 Ser03_POSS2_Red_mosaic.fits
-rw-r--r-- 1 aamn staff 103714560 Jul 10 10:38 Ser03_POSS2_Red_mosaic_weight.fits
-rw-r--r-- 1 aamn staff 103714560 Jul 10 10:39 Ser03_POSS2_Red_mosaic_weight2.fitsecl> imreplace
Images to be edited (Ser03_POSS2_Red_mosaic_weight.fits): Ser03_POSS2_Red_mosaic_weight2.fits
Replacement pixel value (1.): ecl> e ls
ls -l Ser03_POSS2_Red_mosaic*.fits
-rw-r--r--@ 1 aamn staff 103711680 Jul 1 15:46 Ser03_POSS2_Red_mosaic.fits
-rw-r--r-- 1 aamn staff 103714560 Jul 10 10:38 Ser03_POSS2_Red_mosaic_weight.fits
-rw-r--r-- 1 aamn staff 103714560 Jul 10 09:39 Ser03_POSS2_Red_mosaic_weight2.fitsecl>!stat -x Ser03_POSS2_Red_mosaic_weight*fits
File: "Ser03_POSS2_Red_mosaic_weight.fits"
Size: 103714560 FileType: Regular File
Device: 14,2 Inode: 16869726 Links: 1
Access: Thu Jul 10 11:10:57 2008
Modify: Thu Jul 10 10:38:53 2008
Change: Thu Jul 10 10:38:53 2008 File: "Ser03_POSS2_Red_mosaic_weight2.fits"
Size: 103714560 FileType: Regular File
Device: 14,2 Inode: 16869729 Links: 1
Access: Thu Jul 10 11:10:59 2008
Modify: Thu Jul 10 09:39:50 2008
Change: Thu Jul 10 10:40:12 2008ecl> !/Developer/usr/bin/GetFileInfo Ser03_POSS2_Red_mosaic_weight2.fits
file: "####/Ser03_POSS2_Red_mosaic_weight2.fits"
type: ""
creator: ""
attributes: avbstclinmedz
created: 07/10/2008 09:39:50
modified: 07/10/2008 09:39:50[/i:125e3702e7]

August Muench Harvard College Observatory
 
Profile Email Website
 Quote
fitz
 07/10/2008 03:48PM  
AAAAA
Admin

Status: offline


Registered: 09/30/2005
Posts: 4040
Hi Gus,There is indeed a known issue with DST on Mac systems that will be fixed in the next patch release. Being in Tucson, this isn't a problem we see ourselves...Cheers,
-Mike

 
Profile Email
 Quote
   
Content generated in: 0.09 seconds
New Topic Post Reply

Normal Topic Normal Topic
Sticky Topic Sticky Topic
Locked Topic Locked Topic
New Post New Post
Sticky Topic W/ New Post Sticky Topic W/ New Post
Locked Topic W/ New Post Locked Topic W/ New Post
View Anonymous Posts 
Anonymous users can post 
Filtered HTML Allowed 
Censored Content 
dog allergies remedies cialis 20 mg chilblain remedies


Privacy Policy
Terms of Use

User Functions

Login