Login  Register

Re: Accesing to Measurements from a Macro

Posted by karenacollins on Jan 02, 2015; 8:09am
URL: http://astroimagej.170.s1.nabble.com/Accesing-to-Measurements-from-a-Macro-tp211p218.html

Hi Ferran,

Regarding the MPC formatting macro, I have a few questions before I try to make it a permanent part of AIJ:

1) Is there a webpage that describes the data in the lines prior to the lines for each individual measurement, similar to the one the describes the individual measurement lines (i.e. http://www.minorplanetcenter.net/iau/info/OpticalObs.html)? I couldn't seem to spot it on the minorplanetcenter.net website.

2) Do you prefer that the output is sent to a log window as in the macro, or do you prefer that it is written to a text file?

3) For general purpose use, do users need access to the following fields, or should they be hard-coded to the values in your macro?
Discovery = " "; // 1 Char
Note1 = " "; // 1 Char
Note2 = "C"; // 1 Char
Magnitude = "     "; // 5 chars F5.2
Filter = " ";  //1 char

4) Should the user have access to add something to the following lines, as is allowed with the COD line:
print("COD " + Observatory);
print("CON ");
print("OBS ");
print("MEA ");
print("TEL ");
print("ACK ");

5) Is the NET parameter always fixed at "USNO-B1.0"?
print("NET USNO-B1.0");


I tried to digest the formatting info at http://www.minorplanetcenter.net, but it is quite flexible, which translates to quite complex.

Thanks,
Karen