edu.wisc.ssec.mcidasv.data.hydra
Class ProfileAlongTrack

java.lang.Object
  extended by edu.wisc.ssec.mcidasv.data.hydra.MultiDimensionAdapter
      extended by edu.wisc.ssec.mcidasv.data.hydra.ProfileAlongTrack
Direct Known Subclasses:
Calipso2D, CloudSat2D

public abstract class ProfileAlongTrack
extends MultiDimensionAdapter


Field Summary
static String altitude_unit
           
static String ancillary_file_name
           
static String array_name
           
(package private)  Class[] arrayType_s
           
(package private)  CoordinateSystem cs
           
(package private)  RealType[] domainRealTypes
           
static String fill_value_name
           
(package private)  boolean isVertDimAlt
           
static String latitude_name
           
static String longitude_name
           
private  FunctionType mathtype
           
static String offset_name
           
(package private) static String product_name
           
static String profileTime_name
           
static String profileTime_unit
           
static String range_name
           
(package private)  int range_rank
           
(package private)  String[] rangeName_s
           
(package private)  Unit[] rangeUnit_s
           
static String scale_name
           
static String sfcElev_name
           
(package private)  RealType track
           
(package private)  int track_idx
           
(package private)  int track_tup_idx
           
static String trackDim_name
           
private  float[] trackLatitude
           
(package private)  int TrackLen
           
private  float[] trackLongitude
           
private  float[] trackTimes
           
(package private)  RealType trackTimeType
           
static String valid_range
           
(package private)  RealType vert
           
(package private)  int vert_idx
           
(package private)  int vert_tup_idx
           
static String vertDim_name
           
(package private)  int VertLen
           
private  float[] vertLocs
           
(package private)  RealType vertLocType
           
 
Fields inherited from class edu.wisc.ssec.mcidasv.data.hydra.MultiDimensionAdapter
array_dim_lengths, array_dim_names, array_rank, arrayName, arrayType, dimNameMap, metadata, rangeProcessor, rangeType, reader
 
Constructor Summary
ProfileAlongTrack()
           
ProfileAlongTrack(MultiDimensionReader reader, HashMap metadata)
           
ProfileAlongTrack(MultiDimensionReader reader, HashMap metadata, boolean isVertDimAlt)
           
 
Method Summary
 HashMap getDefaultSubset()
           
 RealType[] getDomainRealTypes()
           
static HashMap getEmptyMetadataTable()
           
static HashMap getEmptySubset()
           
 FunctionType getMathType()
           
 HashMap getSubsetFromLonLatRect(double minLat, double maxLat, double minLon, double maxLon)
           
 HashMap getSubsetFromLonLatRect(double minLat, double maxLat, double minLon, double maxLon, int xStride, int yStride, int zStride)
           
 HashMap getSubsetFromLonLatRect(HashMap subset, double minLat, double maxLat, double minLon, double maxLon)
           
 HashMap getSubsetFromLonLatRect(HashMap subset, double minLat, double maxLat, double minLon, double maxLon, int xStride, int yStride, int zStride)
           
 int getTrackIdx()
           
abstract  float[] getTrackLatitude()
           
 int getTrackLength()
           
abstract  float[] getTrackLongitude()
           
 int[] getTrackRangeInsideLonLatRect(double minLat, double maxLat, double minLon, double maxLon)
           
abstract  float[] getTrackTimes()
           
 int getTrackTupIdx()
           
abstract  float[] getVertBinAltitude()
           
 int getVertIdx()
           
 int getVertLength()
           
 int getVertTupIdx()
           
private  void init()
           
 Set makeDomain(Object subset)
           
abstract  RealType makeTrackTimeType()
           
abstract  RealType makeVertLocType()
           
static float[] medianFilter(float[] A, int lenx, int leny, int window_lenx, int window_leny)
           
 
Methods inherited from class edu.wisc.ssec.mcidasv.data.hydra.MultiDimensionAdapter
getArrayName, getData, getIndexes, getMetadata, getRangeProcessor, getRangeType, getReader, makeFlatField, processRange, processRange, processRange, processRange, readArray, setRangeProcessor
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

mathtype

private FunctionType mathtype

TrackLen

int TrackLen

VertLen

int VertLen

vertLocs

private float[] vertLocs

trackTimes

private float[] trackTimes

trackLongitude

private float[] trackLongitude

trackLatitude

private float[] trackLatitude

longitude_name

public static String longitude_name

latitude_name

public static String latitude_name

trackDim_name

public static String trackDim_name

vertDim_name

public static String vertDim_name

array_name

public static String array_name

profileTime_name

public static String profileTime_name

profileTime_unit

public static String profileTime_unit

altitude_unit

public static String altitude_unit

sfcElev_name

public static String sfcElev_name

range_name

public static String range_name

scale_name

public static String scale_name

offset_name

public static String offset_name

fill_value_name

public static String fill_value_name

valid_range

public static String valid_range

ancillary_file_name

public static String ancillary_file_name

product_name

static String product_name

rangeName_s

String[] rangeName_s

arrayType_s

Class[] arrayType_s

rangeUnit_s

Unit[] rangeUnit_s

track

RealType track

vert

RealType vert

domainRealTypes

RealType[] domainRealTypes

vertLocType

RealType vertLocType

trackTimeType

RealType trackTimeType

track_idx

int track_idx

vert_idx

int vert_idx

range_rank

int range_rank

track_tup_idx

int track_tup_idx

vert_tup_idx

int vert_tup_idx

isVertDimAlt

boolean isVertDimAlt

cs

CoordinateSystem cs
Constructor Detail

ProfileAlongTrack

public ProfileAlongTrack()

ProfileAlongTrack

public ProfileAlongTrack(MultiDimensionReader reader,
                         HashMap metadata)

ProfileAlongTrack

public ProfileAlongTrack(MultiDimensionReader reader,
                         HashMap metadata,
                         boolean isVertDimAlt)
Method Detail

getEmptySubset

public static HashMap getEmptySubset()

getEmptyMetadataTable

public static HashMap getEmptyMetadataTable()

init

private void init()

getTrackLength

public int getTrackLength()

getVertLength

public int getVertLength()

getVertIdx

public int getVertIdx()

getTrackIdx

public int getTrackIdx()

getVertTupIdx

public int getVertTupIdx()

getTrackTupIdx

public int getTrackTupIdx()

makeDomain

public Set makeDomain(Object subset)
               throws Exception
Specified by:
makeDomain in class MultiDimensionAdapter
Throws:
Exception

getMathType

public FunctionType getMathType()

getDomainRealTypes

public RealType[] getDomainRealTypes()

getDefaultSubset

public HashMap getDefaultSubset()
Specified by:
getDefaultSubset in class MultiDimensionAdapter

getTrackRangeInsideLonLatRect

public int[] getTrackRangeInsideLonLatRect(double minLat,
                                           double maxLat,
                                           double minLon,
                                           double maxLon)

getSubsetFromLonLatRect

public HashMap getSubsetFromLonLatRect(HashMap subset,
                                       double minLat,
                                       double maxLat,
                                       double minLon,
                                       double maxLon)
Overrides:
getSubsetFromLonLatRect in class MultiDimensionAdapter

getSubsetFromLonLatRect

public HashMap getSubsetFromLonLatRect(HashMap subset,
                                       double minLat,
                                       double maxLat,
                                       double minLon,
                                       double maxLon,
                                       int xStride,
                                       int yStride,
                                       int zStride)

getSubsetFromLonLatRect

public HashMap getSubsetFromLonLatRect(double minLat,
                                       double maxLat,
                                       double minLon,
                                       double maxLon)
Overrides:
getSubsetFromLonLatRect in class MultiDimensionAdapter

getSubsetFromLonLatRect

public HashMap getSubsetFromLonLatRect(double minLat,
                                       double maxLat,
                                       double minLon,
                                       double maxLon,
                                       int xStride,
                                       int yStride,
                                       int zStride)
Overrides:
getSubsetFromLonLatRect in class MultiDimensionAdapter

getVertBinAltitude

public abstract float[] getVertBinAltitude()
                                    throws Exception
Throws:
Exception

getTrackTimes

public abstract float[] getTrackTimes()
                               throws Exception
Throws:
Exception

makeVertLocType

public abstract RealType makeVertLocType()
                                  throws Exception
Throws:
Exception

makeTrackTimeType

public abstract RealType makeTrackTimeType()
                                    throws Exception
Throws:
Exception

getTrackLongitude

public abstract float[] getTrackLongitude()
                                   throws Exception
Throws:
Exception

getTrackLatitude

public abstract float[] getTrackLatitude()
                                  throws Exception
Throws:
Exception

medianFilter

public static float[] medianFilter(float[] A,
                                   int lenx,
                                   int leny,
                                   int window_lenx,
                                   int window_leny)
                            throws VisADException
Throws:
VisADException