Binary files of GOES 8-12 corrected magnetometer data for NGDC

Contact: Howard J. Singer
         NOAA Space Weather Prediction Center
         howard.singer@noaa.gov
         303-497-6959


The c structure used for the binary fwrites 
(data appear in this order in the binary file):

 typedef struct         /* structure of 512 ms data for NGDC */
 {
        int yyyy;          /* 4-digit year, ie 1995 */
        int mo;            /* month (1-12) */
        int dd;            /* day (1-31) */
        int hh;            /* hour (0-23) */
        int mm;            /* minute (0-59) */
        int ss;            /* second (0-59) */
        int ms;            /* millisec (0-999) */
        float hp;
        float he;
        float hn;
        float ht;
        int data_qual_flag;
        float t1_filtered_cnts;   /* torquer 1 counts, filtered */
        float t2_filtered_cnts;   /* torquer 2 counts, filtered */

 } NGDC_512MS_DATA;

 
 typedef struct         /* structure of 1-min-avg data for NGDC */
 {
        int yyyy;          /* 4-digit year, ie 1995 */
        int mo;            /* month (1-12) */
        int dd;            /* day (1-31) */
        int hh;            /* hour (0-23) */
        int mm;            /* minute (0-59) */
        float hp;
        float he;
        float hn;
        float ht;
        int data_qual_flag;

 } NGDC_1M_DATA;




9999.0 represents a missing data value.


The data quality flag is an integer value 0 thru 7,
where the higher the number, the better the data:
Data Quality Values:
0   Missing data record
1   No magnetometer data due to magnetometer off or other problem
2   satellite is in storage/spinning mode
3   satellite is in magnetometer calibrations
4   3-point averaging failed
5   3-point averaging on raw torquer counts
6   3-point averaging on smoothed torquer counts.
7   Farthing coefficient averaging on smoothed torquer counts
 