[ACP-1172]  Add Weather Info into FITS Header & SkyTemperature to API
Type New Feature
Priority High
Severity Minor
Component AcquireSupport library, HTML Help content, Weather Servers, Weather Simulator
Fixed In Version [9.09.0
Versions Affected [7.17.1
Severity Closed
Resolution Complete
Reported By Bob Denny
Resources Bob Denny
Start Date 3/10/2015

Description
See this Comm Center thread by Peter Prendergast and Dick Post. Research the professionals and determine if there are some existing FITS keywords being used for weather, and use them if possible. Alternatively, Diffraction has defined several BOLTxxx keywords for Boltwood data. but these names seem inappropriate, and waste 4 characters on a brand name. If necessary make up new FITS keywords. Determine what items should be put there. Based on the ASCOM discussion of weather standard, the FITS header could inflate into a weather data archive.

Comments
3/25/2021 4:36:07 PM   Bob Denny
SVN Comment
Author rbdenny
Repository svn+ssh://rbdenny@a2_svn_dc3/home/rbdenny/svn/astro/acp
SVN Revision 1305
Affected files /trunk/ACP Help/relnotes.htm (Modified)
/trunk/AcquireSupport.wsc (Modified)
/trunk/Script Components Master/AcquireSupport.wsc (Modified)
Check-in comment Restore writing ambient and CCD temps to FITS now that PinPoint 7 has the right keywords. Also write Observer, Observatory, Camera name, and Camera temperature to Bias and Dark frames if not already there from MaxIm. GEM:1172
3/25/2021 4:31:14 PM   Bob Denny
Restore writing ambient and CCD temps to FITS now that PinPoint 7 has the right keywords. Also write Observer, Observatory, Camera name, and Camera temperature to Bias and Dark frames if not already there from MaxIm.
3/7/2021 10:41:06 AM   Bob Denny
REOPENED

PinPoint is being fixed so we can put the temperature settings back in for ACP 8.4. The link to the SGP docs show TEMPERAT being used as sensor temperature. So be it. AMBTEMP for ambient air temperature, which after all is the field name in the original John Smith specs. 
12/3/2019 10:19:01 AM   Bob Denny
SVN Comment
Author rbdenny
Repository svn+ssh://rbdenny@a2_svn_dc3/home/rbdenny/svn/astro/acp
SVN Revision 1230
Affected files /trunk/Script Components Master/AcquireSupport.wsc (Modified)
Check-in comment OOPS, Change not in the Script Components Master folder. GEM:1172
10/13/2019 3:43:53 PM   Bob Denny
SVN Comment
Author rbdenny
Repository svn+ssh://rbdenny@a2_svn_dc3/home/rbdenny/svn/astro/acp
SVN Revision 1227
Affected files /trunk/ACP Help/relnotes.htm (Modified)
/trunk/AcquireSupport.wsc (Modified)
Check-in comment Remove FITS code setting Plate.Temperature which is incorrectly mapped to ambient temperature not CCD temperature. Will correct PinPoint separately. GEM:1172
10/13/2019 3:14:47 PM   Bob Denny
REOPENED


See this Comm Center thred by Bernard Miller. Looks like my PinPoint Plate.Temperature -> TEMPERAT is turning out to be conflicting. CCDStack and Sequence Generator Pro are using this as the CCD Temperature. I gave him a patch to AcquireSupport to remove the line that sets Plate.Temperture -> TEMPERAT in his FITS. 

This should probably be removed anyway, and check to see if PinPoint's Plate.CCDTemperature -> CCD_TEMP with an underscore is used and get rid of that too!

Separately the PinPoint mapped properties should be corrected. 
3/27/2018 12:41:33 PM   Bob Denny
SVN Comment
Author rbdenny
Repository svn+ssh://rbdenny@a2_svn_dc3/home/rbdenny/svn/astro/acp
SVN Revision 1072
Affected files /trunk/ACP Help/relnotes.htm (Modified)
Check-in comment Damn forgot release notes for this GEM:1172
3/27/2018 12:38:41 PM   Bob Denny
SVN Comment
Author rbdenny
Repository svn+ssh://rbdenny@a2_svn_dc3/home/rbdenny/svn/astro/acp
SVN Revision 1071
Affected files /trunk/AcquireSupport.wsc (Modified)
/trunk/Script Components Master/AcquireSupport.wsc (Modified)
Check-in comment Fixes to FITS fields for weather. GEM:1172
3/27/2018 12:35:37 PM   Bob Denny
Using PinPoint mapped properties, add TEMPERAT and PRESSURE, use PinPoint mapped property for HUMIDITY.
3/27/2018 10:47:02 AM   Bob Denny
REOPENED

Geoff Stone (via email) found some issues with the weather FITS. 
  1. All values integer. I decided to add one decimal digit to the temperatures
  2. Humidity always 1. I forgot to multiply the ACP-internal RH by 100 before writing with no decimal digits.
Also I noted a cut-n-paste error on WXSENSOR where it is being written with WriteFITSDouble() which will fail, and thus it looks like "not implemented" amnd simply doesn't appear in FITS.
4/20/2015 10:03:26 AM   Bob Denny
SVN Comment
Author rbdenny
Repository svn+ssh://rbdenny@a2_svn_dc3/home/rbdenny/svn/astro/acp
SVN Revision 829
Affected files /trunk/WeatherComponents/CloudSensor-II.wsc (Modified)
Check-in comment Oops, wrong variable for SkyTemperature return. GEM:1172
3/14/2015 2:08:59 PM   Bob Denny
SVN Comment
Author rbdenny
Repository svn+ssh://rbdenny@a2_svn_dc3/home/rbdenny/svn/astro/acp
SVN Revision 789
Affected files /trunk/ACP Help/relnotes.htm (Modified)
/trunk/AcquireSupport.wsc (Modified)
/trunk/Script Components Master/AcquireSupport.wsc (Modified)
Check-in comment More Fields, fix ST to be for start of exposure. GEM:1172
3/13/2015 11:26:20 AM   Bob Denny
REOPENED - See this Comm Center thread by Andre Ioda. I think OBJCTAZ, OBJCTALT, and OBJCTHA but maybe CENTAZ and CENTALT. CCDInspector?

[edit] - moved to a new thread.
3/11/2015 2:55:44 PM   Bob Denny
SVN Comment
Author rbdenny
Repository svn+ssh://rbdenny@a2_svn_dc3/home/rbdenny/svn/astro/acp
SVN Revision 787
Affected files /trunk/ACP Help/ACP Help.hhc (Modified)
/trunk/ACP Help/ACP Help.hhp (Modified)
/trunk/ACP Help/astrophoto.htm (Modified)
/trunk/ACP Help/index.htm (Modified)
/trunk/ACP Help/relnotes.htm (Modified)
/trunk/ACP Interop Assembly (Scheduler)/Interop.ACP.8.0.dll (Added)
/trunk/ACP Interop Assembly (Scheduler)/Interop.ACP.dll (Modified)
/trunk/ACP Interop Assembly (Scheduler)/Interop.IObjectSafetyTLB.dll (Added)
/trunk/ACP Interop Assembly (Scheduler)/MakeAcpInterop.bat (Modified)
/trunk/ACP Interop Assembly (Scheduler)/aa-MUST DO THIS.txt (Deleted)
/trunk/ACP.vbp (Modified)
/trunk/AcquireSupport.wsc (Modified)
/trunk/Script Components Master/AcquireSupport.wsc (Modified)
/trunk/Util.cls (Modified)
/trunk/Weather.cls (Modified)
/trunk/WeatherComponents/BoltwoodFile.wsc (Modified)
/trunk/WeatherComponents/BoltwoodServer.wsc (Modified)
/trunk/WeatherComponents/CloudSensor-II.wsc (Modified)
/trunk/WeatherComponents/SROWeather.wsc (Modified)
/trunk/WeatherComponents/WeatherAccess.wsc (Modified)
/trunk/WeatherComponents/WeatherSim/Weather.cls (Modified)
/trunk/WeatherComponents/WeatherSim/WeatherSim-ref.exe (Added)
/trunk/WeatherComponents/WeatherSim/WeatherSim.exe (Modified)
/trunk/WeatherComponents/WeatherSim/WeatherSim.vbp (Modified)
/trunk/WeatherComponents/WeatherSim/WeatherSim.vbw (Modified)
/trunk/WeatherComponents/WeatherSim/frmMain.frm (Modified)
Check-in comment Add SkyTemperature into weather API and servers, documentation. Add FITS headers for weather into AcquireSupport.wsc GEM:1172
3/10/2015 5:05:23 PM   Bob Denny
REQUIRES ADDING SKYTEMP TO ACP WEATHER SERVER INTERFACE.
3/10/2015 11:55:23 AM   Bob Denny
AMBTEMP - (outdoor) ambient temperature, deg. C
HUMIDITY - relative humidity, %
DEWPOINT - dewpoint, deg C
WINDSPD - wind speed, Kts (units could be argued incessantly and I really don't care)
WINDDIR - wind direction, from, compass azimuth, deg. (for people with domes and optimized clamshells)
SKYTEMP - sky temperature, deg. C
WXSENSOR - name of weather sensor from which the above were obtained
3/10/2015 11:52:38 AM   Bob Denny
On 11/5/14 John Smith and I negotiated a list of key words (the email thread is attached).
11/5/2014 9:12:33 AM   Bob Denny
Bumped the priority, this should be in the next release.