Getting Started Documentation Glish Learn More Programming Contact Us
Version 1.9 Build 1488
News FAQ
Search Home


next up previous contents index
Next: addline - Function Up: measuresdata - Module Previous: jplde - Function


addobservatory - Function



Package general
Module measuresdata


Add/delete entries to the Observatories table


Synopsis
addobservatory(nam, typ, long, lat, ht, src, com, delnam, ctable)


Description
Add or delete entries from the Observatories table. A backup table will be made, the entries will be sorted on the name specified (capitalised).



Example
- include 'measuresdata.g'
- addobservatory('myplace','itrf','149.55deg','-30.1455deg','567m',
+ 'taken from AE','precision unknown')
T



Arguments

nam   name of observatory
    Allowed: string
typ   position type
    Allowed: known type like itrf, wgs84
    Default: ''
long   longitude or x
    Allowed: angle or length quantity
    Default: ''
lat   latitude or y
    Allowed: angle or length quantity
    Default: ''
ht   height or z
    Allowed: length quantity
    Default: ''
src   some comment about source of data
    Allowed: string
    Default: ''
com   comment, e.g. about precision
    Allowed: string
    Default: ''
delnam   indicate if delete in stead of add
    Allowed: bool
    Default: F
ctable   indicate that an empty table should be created
    Allowed: bool
    Default: F


Returns
bool




next up previous contents index
Next: addline - Function Up: measuresdata - Module Previous: jplde - Function   Contents   Index
Please send questions or comments about AIPS++ to aips2-request@nrao.edu.
Copyright © 1995-2000 Associated Universities Inc., Washington, D.C.

Return to AIPS++ Home Page
2006-08-01