Welcome to iraf.net Friday, May 17 2024 @ 02:55 AM GMT
jtg0819 |
04/06/2010 05:42PM (Read 2450 times)
|
|
|
Status: offline
Registered: 03/23/2010
Posts: 4
|
I have edited the appropriate parameter file in order to add my observatory and its information to the list of observatories that setairmass uses. Whenever I try to use setairmass I get the error, "OBSGETD: Observatory parameter not found." Also, when I try to use the task ASTTIMES, I get the same error along with, "ASTTIMES: Observatory parameter for baker observatory; timezone=6." I don't understand why I am getting the OBSGETD error; it will even give me the observatory parameters at the same time as giving me that error.
|
|
|
|
fitz |
04/06/2010 05:42PM
|
|
|
Status: offline
Registered: 09/30/2005
Posts: 4040
|
Exactly which file did you edit and what entry did you add? The message means something can't be found but without knowing what you added I can't really comment further.
|
|
|
|
jtg0819 |
04/06/2010 05:42PM
|
|
|
Status: offline
Registered: 03/23/2010
Posts: 4
|
I edited the library file "obsdb.dat" which has all the observatory parameters and I added the same parameters for the observatory that I use. Is there another file that needs to be edited for this to work?
|
|
|
|
fitz |
04/06/2010 05:42PM
|
|
|
Status: offline
Registered: 09/30/2005
Posts: 4040
|
As long as the file was $iraf/noao/lib/obsdb.dat then you edited the right file. The 'obsdb' environment variable lets you define another file to use. If you could post the entry you added I'll see if there's a syntax error, otherwise I can add it to the master file for the next release.
|
|
|
|
jtg0819 |
04/06/2010 05:42PM
|
|
|
Status: offline
Registered: 03/23/2010
Posts: 4
|
This is the entry I added:observatory = "baker"
name = "Baker Observatory"
longitdue = 93:02:30.29
latitude = 37:23:55.05
altitude = 418.2
timezone = 6This is the error I get when I try to run asttimes:asttimes
Observatory identification: baker
# ASTTIMES: Observatory parameters for Baker Observatory
# timezone = 6
ERROR: OBSGETD: Observatory parameter not found
|
|
|
|
fitz |
04/06/2010 05:42PM
|
|
|
Status: offline
Registered: 09/30/2005
Posts: 4040
|
You misspelled 'longitude' as 'longitdue'I've added this for the next release.Cheers,
-Mike
|
|
|
|
| |
|
Content generated in: 0.21 seconds |
|