HiRISE

HiRISE.HiReport.downlink
Class EdrGapList

java.lang.Object
  extended by HiRISE.HiReport.DataProvider
      extended by HiRISE.HiReport.downlink.EdrGapList
Direct Known Subclasses:
EdrStatsList

public class EdrGapList
extends DataProvider

Loads EDR meta-data for an observation or orbit range and collects statistics.


Nested Class Summary
protected static class EdrGapList.RowKey
          dataset keys
 
Field Summary
protected  RangeStats allStats
          All EDR stats
protected  RangeStats bgStats
          BG EDR stats
protected static Column[] COLS_EDR
          Columns to return from EDR products
protected static Column[] COLS_Plan
          Columns to return from Planning
protected  int edrs
          total EDRs counted
protected static String[] EXCLUDED_STATUSES
          observation statuses to exclude from query
protected static String[] EXCLUDED_TARGETS
          targets to exclude from query
protected  RangeStats fcrStats
          Compressed EDR stats
protected  int gapped
          EDRs with gaps
protected  long gaps
          Total gapped pixels
static String ID
          CVS ID
protected  RangeStats irStats
          IR EDR stats
protected  int missed
          EDRs not available
protected  Map<String,EdrValidationNode> observations
          data map from observation to EDR aggregate
protected  long pixels
          Total pixels
protected  RangeStats redStats
          RED EDR stats
protected  String sql
          Query string
 
Fields inherited from class HiRISE.HiReport.DataProvider
Anaglyph, CCD, Cycles, DTM, EDR, FS, Geo, HiP, HiRISE_ROOT, Jit, logger, Mars_Years, Obs, Orbits, PAP, PDTM, PEDR, PHiP, PPL, PPL_map, PRDR, PS, PXP, RDR, RS1, RS2, SO, SOP, SOPO, SOPO_map, SOST, SOST_map, SR, ST, Tags, Web, XP
 
Constructor Summary
EdrGapList()
           
 
Method Summary
 RangeStats getBgRangeStats()
          Get the BG stats for the entire range
 Dataset getChartData()
          Return the collected plot data
 RangeStats getCompressedRangeStats()
          Get the overall stats for compressed observations
 int getEdrCount()
          Get the number of EDRs
 int getGappedCount()
          Get the number of gapped EDRs
 long getGaps()
          Get the total number of gapped pixels
 RangeStats getIrRangeStats()
          Get the IR stats for the entire range
 int getMissingCount()
          Get the number of missing channels
 int getObservationCount()
          Get the number of observations
 Collection<EdrValidationNode> getObservations()
          Get the data collection
 long getPixels()
          Get the total number of pixels
 RangeStats getRangeStats()
          Get the overall stats for the entire range
 RangeStats getRedRangeStats()
          Get the RED stats for the entire range
 String getSQL()
          Get the query string
 void init(ProductStatusForm form)
          Collect data based on input
 
Methods inherited from class HiRISE.HiReport.DataProvider
getConnection, setConnection
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

ID

public static final String ID
CVS ID

See Also:
Constant Field Values

sql

protected String sql
Query string


COLS_Plan

protected static final Column[] COLS_Plan
Columns to return from Planning


COLS_EDR

protected static final Column[] COLS_EDR
Columns to return from EDR products


EXCLUDED_TARGETS

protected static final String[] EXCLUDED_TARGETS
targets to exclude from query


EXCLUDED_STATUSES

protected static final String[] EXCLUDED_STATUSES
observation statuses to exclude from query


redStats

protected RangeStats redStats
RED EDR stats


bgStats

protected RangeStats bgStats
BG EDR stats


irStats

protected RangeStats irStats
IR EDR stats


allStats

protected RangeStats allStats
All EDR stats


fcrStats

protected RangeStats fcrStats
Compressed EDR stats


pixels

protected long pixels
Total pixels


gaps

protected long gaps
Total gapped pixels


edrs

protected int edrs
total EDRs counted


missed

protected int missed
EDRs not available


gapped

protected int gapped
EDRs with gaps


observations

protected Map<String,EdrValidationNode> observations
data map from observation to EDR aggregate

Constructor Detail

EdrGapList

public EdrGapList()
Method Detail

init

public void init(ProductStatusForm form)
          throws SQLException
Collect data based on input

Parameters:
form - input
Throws:
SQLException - query failed

getGaps

public long getGaps()
Get the total number of gapped pixels

Returns:
gapped pixel count

getPixels

public long getPixels()
Get the total number of pixels

Returns:
pixel count

getRedRangeStats

public RangeStats getRedRangeStats()
Get the RED stats for the entire range

Returns:
stats

getBgRangeStats

public RangeStats getBgRangeStats()
Get the BG stats for the entire range

Returns:
stats

getIrRangeStats

public RangeStats getIrRangeStats()
Get the IR stats for the entire range

Returns:
stats

getRangeStats

public RangeStats getRangeStats()
Get the overall stats for the entire range

Returns:
stats

getCompressedRangeStats

public RangeStats getCompressedRangeStats()
Get the overall stats for compressed observations

Returns:
compressed stats

getSQL

public String getSQL()
Get the query string

Returns:
SQL

getMissingCount

public int getMissingCount()
Get the number of missing channels

Returns:
total missed channels

getEdrCount

public int getEdrCount()
Get the number of EDRs

Returns:
total EDRs

getGappedCount

public int getGappedCount()
Get the number of gapped EDRs

Returns:
total gapped EDRs

getChartData

public Dataset getChartData()
Return the collected plot data

Returns:
DefaultCategoryDataset

getObservations

public Collection<EdrValidationNode> getObservations()
Get the data collection

Returns:
observation data

getObservationCount

public int getObservationCount()
Get the number of observations

Returns:
count

HiRISE

Copyright (C) Arizona Board of Regents on behalf of the Planetary Image Research Laboratory, Lunar and Planetary Laboratory at the University of Arizona