IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Dec 5, 2007, 3:01:03 PM (19 years ago)
Author:
eugene
Message:

adding new fields to rawExp, rawImfile

Location:
trunk/ippScripts/scripts
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/ippScripts/scripts/register_exp.pl

    r14487 r15740  
    5959   [   
    6060       #          PPSTATS KEYWORD         STATISTIC          CHIPTOOL FLAG
    61        { name => "exp_name",       type => "constant",   flag => "-exp_name",       dtype => "string" }, # File level
    62        { name => "telescope",      type => "constant",   flag => "-telescope",      dtype => "string" }, # File level
    63        { name => "camera",         type => "constant",   flag => "-inst",           dtype => "string" }, # File level
    64        { name => "filelevel",      type => "constant",   flag => "-filelevel",      dtype => "string" }, # File level
    65        { name => "object",         type => "constant",   flag => "-object",         dtype => "string" },
    66        { name => "exp_type",       type => "constant",   flag => "-exp_type",       dtype => "string" }, # File level
    67        { name => "filter",         type => "constant",   flag => "-filter",         dtype => "string" }, # File level
    68        { name => "dateobs",        type => "constant",   flag => "-dateobs",        dtype => "string" }, # File level
    69        { name => "ccd_temp",       type => "mean",       flag => "-ccd_temp",       dtype => "float"  }, # CCD temperature
    70        { name => "exp_time",       type => "mean",       flag => "-exp_time",       dtype => "float"  }, # Exposure time
    71        { name => "sat_pixel_frac", type => "mean",       flag => "-sat_pixel_frac", dtype => "float"  }, # Fraction of saturated pixels
    72        { name => "airmass",        type => "mean",       flag => "-airmass",        dtype => "float"  }, # Airmass
    73        { name => "ra",             type => "mean",       flag => "-ra",             dtype => "float"  }, # Right ascension
    74        { name => "decl",           type => "mean",       flag => "-decl",           dtype => "float"  }, # Declination
    75        { name => "posang",         type => "mean",       flag => "-posang",         dtype => "float"  }, # Position angle
    76        { name => "alt",            type => "mean",       flag => "-alt",            dtype => "float"  }, # Altitude
    77        { name => "az",             type => "mean",       flag => "-az",             dtype => "float"  }, # Azimuth
    78        { name => "bg",             type => "mean",       flag => "-bg",             dtype => "float"  }, # background
    79        { name => "bg",             type => "stdev",      flag => "-bg_mean_stdev",  dtype => "float"  }, # Azimuth
    80        { name => "bg_stdev",       type => "rms",        flag => "-bg_stdev",       dtype => "float"  }, # Azimuth
     61       { name => "exp_name",        type => "constant",   flag => "-exp_name",        dtype => "string" }, # File level
     62       { name => "telescope",       type => "constant",   flag => "-telescope",       dtype => "string" }, # File level
     63       { name => "camera",          type => "constant",   flag => "-inst",            dtype => "string" }, # File level
     64       { name => "filelevel",       type => "constant",   flag => "-filelevel",       dtype => "string" }, # File level
     65       { name => "object",          type => "constant",   flag => "-object",          dtype => "string" },
     66       { name => "exp_type",        type => "constant",   flag => "-exp_type",        dtype => "string" }, # File level
     67       { name => "filter",          type => "constant",   flag => "-filter",          dtype => "string" }, # File level
     68       { name => "dateobs",         type => "constant",   flag => "-dateobs",         dtype => "string" }, # File level
     69       { name => "ccd_temp",        type => "mean",       flag => "-ccd_temp",        dtype => "float"  }, # CCD temperature
     70       { name => "exp_time",        type => "mean",       flag => "-exp_time",        dtype => "float"  }, # Exposure time
     71       { name => "sat_pixel_frac",  type => "mean",       flag => "-sat_pixel_frac",  dtype => "float"  }, # Fraction of saturated pixels
     72       { name => "airmass",         type => "mean",       flag => "-airmass",         dtype => "float"  }, # Airmass
     73       { name => "ra",              type => "mean",       flag => "-ra",              dtype => "float"  }, # Right ascension
     74       { name => "decl",            type => "mean",       flag => "-decl",            dtype => "float"  }, # Declination
     75       { name => "posang",          type => "mean",       flag => "-posang",          dtype => "float"  }, # Position angle
     76       { name => "alt",             type => "mean",       flag => "-alt",             dtype => "float"  }, # Altitude
     77       { name => "az",              type => "mean",       flag => "-az",              dtype => "float"  }, # Azimuth
     78       { name => "M1_x",            type => "constant",   flag => "-M1_x",            dtype => "float"  }, # M1X
     79       { name => "M1_y",            type => "constant",   flag => "-M1_y",            dtype => "float"  }, # M1Y
     80       { name => "M1_z",            type => "constant",   flag => "-M1_z",            dtype => "float"  }, # M1Z
     81       { name => "M1_tip",          type => "constant",   flag => "-M1_tip",          dtype => "float"  }, # M1TIP
     82       { name => "M1_tilt",         type => "constant",   flag => "-M1_tilt",         dtype => "float"  }, # M1TILT
     83       { name => "M2_x",            type => "constant",   flag => "-M2_x",            dtype => "float"  }, # M2X
     84       { name => "M2_y",            type => "constant",   flag => "-M2_y",            dtype => "float"  }, # M2Y
     85       { name => "M2_z",            type => "constant",   flag => "-M2_z",            dtype => "float"  }, # M2Z
     86       { name => "M2_tip",          type => "constant",   flag => "-M2_tip",          dtype => "float"  }, # M2TIP
     87       { name => "M2_tilt",         type => "constant",   flag => "-M2_tilt",         dtype => "float"  }, # M2TILT
     88       { name => "env_temperature", type => "constant",   flag => "-env_temperature", dtype => "float"  }, # external temp
     89       { name => "env_humidity",    type => "constant",   flag => "-env_humidity",    dtype => "float"  }, # external humidity
     90       { name => "env_wind_speed",  type => "constant",   flag => "-env_wind_speed",  dtype => "float"  }, # external wind speed
     91       { name => "env_wind_dir",    type => "constant",   flag => "-env_wind_dir",    dtype => "float"  }, # external wind direction
     92       { name => "pon_time",        type => "constant",   flag => "-pon_time",        dtype => "float"  }, # time since last power on
     93       { name => "bg",              type => "mean",       flag => "-bg",              dtype => "float"  }, # background
     94       { name => "bg",              type => "stdev",      flag => "-bg_mean_stdev",   dtype => "float"  }, # Azimuth
     95       { name => "bg_stdev",        type => "rms",        flag => "-bg_stdev",        dtype => "float"  }, # Azimuth
    8196       ];
    8297my $stats = PS::IPP::Metadata::Stats->new($STATS); # Stats parser
  • trunk/ippScripts/scripts/register_imfile.pl

    r14115 r15740  
    6464   [   
    6565       #          PPSTATS KEYWORD         STATISTIC          CHIPTOOL FLAG
    66        { name => "FILE.LEVEL",     type => "constant", flag => "-filelevel",      dtype => "string" }, # File level
    67        { name => "CLASS.ID",       type => "constant", flag => "-class_id",       dtype => "string" }, # Real Class ID
    68        { name => "FPA.OBJECT",     type => "constant", flag => "-object",         dtype => "string" }, # Object
    69        { name => "FPA.OBSTYPE",    type => "constant", flag => "-exp_type",       dtype => "string" }, # Exposure type
    70        { name => "FPA.FILTER",     type => "constant", flag => "-filter",         dtype => "string" }, # Filter used
    71        { name => "FPA.AIRMASS",    type => "constant", flag => "-airmass",        dtype => "float"  }, # Airmass
    72        { name => "FPA.RA",         type => "constant", flag => "-ra",             dtype => "float"  }, # Right ascension
    73        { name => "FPA.DEC",        type => "constant", flag => "-decl",           dtype => "float"  }, # Declination
    74        { name => "FPA.ALT",        type => "constant", flag => "-alt",            dtype => "float"  }, # Altitude
    75        { name => "FPA.AZ",         type => "constant", flag => "-az",             dtype => "float"  }, # Azimuth
    76        { name => "FPA.POSANGLE",   type => "constant", flag => "-posang",         dtype => "float"  }, # Position angle
    77        { name => "FPA.TIME",       type => "constant", flag => "-dateobs",        dtype => "string" }, # Date of observation (UTC)
    78        { name => "FPA.TELESCOPE",  type => "constant", flag => "-telescope",      dtype => "string" }, # Telescope
    79        { name => "FPA.INSTRUMENT", type => "constant", flag => "-inst",           dtype => "string" }, # Instrument
    80        { name => "CHIP.TEMP",      type => "mean",     flag => "-ccd_temp",       dtype => "float"  }, # CCD temperature
    81        { name => "CELL.EXPOSURE",  type => "mean",     flag => "-exp_time",       dtype => "float"  }, # Exposure time
    82        { name => "SAT_PIXEL_FRAC", type => "mean",     flag => "-sat_pixel_frac", dtype => "float"  }, # fraction of saturated pixels
    83        { name => "ROBUST_MEDIAN",  type => "mean",     flag => "-bg",             dtype => "float"  },
    84        { name => "ROBUST_MEDIAN",  type => "stdev",    flag => "-bg_mean_stdev",  dtype => "float"  },
    85        { name => "ROBUST_STDEV",   type => "rms",      flag => "-bg_stdev",       dtype => "float"  },
     66       { name => "FILE.LEVEL",     type => "constant", flag => "-filelevel",       dtype => "string" }, # File level
     67       { name => "CLASS.ID",       type => "constant", flag => "-class_id",        dtype => "string" }, # Real Class ID
     68       { name => "FPA.OBJECT",     type => "constant", flag => "-object",          dtype => "string" }, # Object
     69       { name => "FPA.OBSTYPE",    type => "constant", flag => "-exp_type",        dtype => "string" }, # Exposure type
     70       { name => "FPA.FILTER",     type => "constant", flag => "-filter",          dtype => "string" }, # Filter used
     71       { name => "FPA.AIRMASS",    type => "constant", flag => "-airmass",         dtype => "float"  }, # Airmass
     72       { name => "FPA.RA",         type => "constant", flag => "-ra",              dtype => "float"  }, # Right ascension
     73       { name => "FPA.DEC",        type => "constant", flag => "-decl",            dtype => "float"  }, # Declination
     74       { name => "FPA.ALT",        type => "constant", flag => "-alt",             dtype => "float"  }, # Altitude
     75       { name => "FPA.AZ",         type => "constant", flag => "-az",              dtype => "float"  }, # Azimuth
     76       { name => "FPA.POSANGLE",   type => "constant", flag => "-posang",          dtype => "float"  }, # Position angle
     77       { name => "FPA.TIME",       type => "constant", flag => "-dateobs",         dtype => "string" }, # Date of observation (UTC)
     78       { name => "FPA.TELESCOPE",  type => "constant", flag => "-telescope",       dtype => "string" }, # Telescope
     79       { name => "FPA.INSTRUMENT", type => "constant", flag => "-inst",            dtype => "string" }, # Instrument
     80       { name => "FPA.M1X",        type => "constant", flag => "-M1_x",            dtype => "float"  }, # M1X
     81       { name => "FPA.M1Y",        type => "constant", flag => "-M1_y",            dtype => "float"  }, # M1Y
     82       { name => "FPA.M1Z",        type => "constant", flag => "-M1_z",            dtype => "float"  }, # M1Z
     83       { name => "FPA.M1TIP",      type => "constant", flag => "-M1_tip",          dtype => "float"  }, # M1TIP
     84       { name => "FPA.M1TILT",     type => "constant", flag => "-M1_tilt",         dtype => "float"  }, # M1TILT
     85       { name => "FPA.M2X",        type => "constant", flag => "-M2_x",            dtype => "float"  }, # M2X
     86       { name => "FPA.M2Y",        type => "constant", flag => "-M2_y",            dtype => "float"  }, # M2Y
     87       { name => "FPA.M2Z",        type => "constant", flag => "-M2_z",            dtype => "float"  }, # M2Z
     88       { name => "FPA.M2TIP",      type => "constant", flag => "-M2_tip",          dtype => "float"  }, # M2TIP
     89       { name => "FPA.M2TILT",     type => "constant", flag => "-M2_tilt",         dtype => "float"  }, # M2TILT
     90       { name => "FPA.ENV.TEMP",   type => "constant", flag => "-env_temperature", dtype => "float"  }, # external temp
     91       { name => "FPA.ENV.HUMID",  type => "constant", flag => "-env_humidity",    dtype => "float"  }, # external humidity
     92       { name => "FPA.ENV.WIND",   type => "constant", flag => "-env_wind_speed",  dtype => "float"  }, # external wind speed
     93       { name => "FPA.ENV.DIR",    type => "constant", flag => "-env_wind_dir",    dtype => "float"  }, # external wind direction
     94       { name => "FPA.PON.TIME",   type => "constant", flag => "-pon_time",        dtype => "float"  }, # time since last power on
     95       { name => "CHIP.TEMP",      type => "mean",     flag => "-ccd_temp",        dtype => "float"  }, # CCD temperature
     96       { name => "CELL.EXPOSURE",  type => "mean",     flag => "-exp_time",        dtype => "float"  }, # Exposure time
     97       { name => "SAT_PIXEL_FRAC", type => "mean",     flag => "-sat_pixel_frac",  dtype => "float"  }, # fraction of saturated pixels
     98       { name => "ROBUST_MEDIAN",  type => "mean",     flag => "-bg",              dtype => "float"  },
     99       { name => "ROBUST_MEDIAN",  type => "stdev",    flag => "-bg_mean_stdev",   dtype => "float"  },
     100       { name => "ROBUST_STDEV",   type => "rms",      flag => "-bg_stdev",        dtype => "float"  },
    86101   ];
    87102my $stats = PS::IPP::Metadata::Stats->new($STATS); # Stats parser
Note: See TracChangeset for help on using the changeset viewer.