All Packages Class Hierarchy This Package Previous Next Index
Class JObserve.VLA.VLASetup
java.lang.Object
|
+----JObserve.VLA.VLASetup
- public class VLASetup
- extends Object
Read a schedule setup from a text file utility class
Parses information from ascii file for information global to a schedule.
This class is never instantiated and consists entirely of static functions.
-
VLASetup()
-
-
ReadSetup(String, Observation)
- Read schedule setup from Text file
The following startup information may be included:
- "Observer.Id" Observation code e.g.
-
WriteSetup(String, Observation)
-
-
WriteTextLine(BufferedWriter, String)
- Write text line
Write string and line termination.
VLASetup
public VLASetup()
ReadSetup
public static void ReadSetup(String file,
Observation Obs) throws IllegalArgumentException, IOException
- Read schedule setup from Text file
The following startup information may be included:
- "Observer.Id" Observation code e.g. ADA000
- "Observer.Name" Observer's name
- "Observer.OfficePhone" Observer's phone number
- "Observer.PhoneDuringObs" Observer's phone number during observation
- "Observer.EMail" Observer's EMail address
- "Observer.Address(1)" Observers mailing address
- "Observer.Address(2)"
- "Observer.Address(3)"
- "Observer.Address(4)"
- "Observer.AipsId" Observer's AIPS id number
- "Observer.SpecialInstructions(1)" Special instructions
- "Observer.SpecialInstructions(2)"
- "Observer.SpecialInstructions(3)"
- "Observer.SpecialInstructions(4)"
- "Mode.Continuum" YES/NO (default YES)
- "Mode.Line" YES/NO (default NO)
- "Mode.PhasedArray" YES/NO (default NO)
- "Mode.SingleDish" YES/NO (default NO)
- "Mode.PhaseTracking" YES/NO (default NO)
- "Mode.PM" YES/NO (default NO)
- "ReferenceAntenna" Name of reference antenna
- "LocalSiderealDay" Start local Sidereal day (e.g. 57600).
- "LocalSiderealTime" Start local Sidereal time as hhmmss.
- "Azimuth" Start Azimuth (sddd.dd in deg) (default 180.00)
- "Elevation" Start Elevation (dd.dd in deg) (default 45.00)
- "ArrayConfiguration" A, B, C, D, AB, BC, CD, A=>B, B=>C, C=>D, D=>A
- "LeapSeconds" The number of leap seconds needed to convert from UTC to IAT.
- "J2000CalNames" YES/NO use J2000 names for calibrators (default YES)
- "WriteStopTimes" YES/NO write Stop times? (default YES)
/
- Parameters:
-
String<\code> - the name of the file
-
Observation<\code>the - associated observation (schedule).
- Throws: FileNotFoundException
- if can't find.
- Throws: IOException
- if problem opening, reading or closing
WriteSetup
public static void WriteSetup(String file,
Observation Obs) throws IllegalArgumentException, IOException
WriteTextLine
protected static void WriteTextLine(BufferedWriter outFile,
String Line) throws IOException
- Write text line
Write string and line termination.
- Parameters:
-
BufferedWriter
- Output stream
-
String
- String to write
- Throws: IOException
- if problem Writing
All Packages Class Hierarchy This Package Previous Next Index