Package edu.wisc.ssec.mcidasv.data.hydra
Class ProfileAlongTrack
java.lang.Object
edu.wisc.ssec.mcidasv.data.hydra.MultiDimensionAdapter
edu.wisc.ssec.mcidasv.data.hydra.ProfileAlongTrack
- Direct Known Subclasses:
Calipso2D
,CloudSat2D
,HSRL2D
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic String
static String
static String
(package private) Class[]
(package private) CoordinateSystem
(package private) RealType[]
static String
(package private) boolean
static String
private static final org.slf4j.Logger
static String
private FunctionType
(package private) int
(package private) int
static String
(package private) static String
static String
static String
static String
(package private) int
(package private) String[]
(package private) Unit[]
static String
static String
(package private) RealType
(package private) int
(package private) int
static String
private float[]
(package private) int
private float[]
private float[]
(package private) RealType
static String
(package private) RealType
(package private) int
(package private) int
static String
(package private) int
private float[]
(package private) RealType
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
ConstructorsConstructorDescriptionProfileAlongTrack
(MultiDimensionReader reader, Map<String, Object> metadata) ProfileAlongTrack
(MultiDimensionReader reader, Map<String, Object> metadata, boolean isVertDimAlt) -
Method Summary
Modifier and TypeMethodDescriptionRealType[]
int
int
getSubsetFromLonLatRect
(double minLat, double maxLat, double minLon, double maxLon) getSubsetFromLonLatRect
(double minLat, double maxLat, double minLon, double maxLon, int xStride, int yStride, int zStride) getSubsetFromLonLatRect
(Map<String, double[]> subset, double minLat, double maxLat, double minLon, double maxLon) getSubsetFromLonLatRect
(Map<String, double[]> subset, double minLat, double maxLat, double minLon, double maxLon, int xStride, int yStride, int zStride) int
abstract float[]
int
abstract float[]
int[]
getTrackRangeInsideLonLatRect
(double minLat, double maxLat, double minLon, double maxLon) abstract float[]
int
abstract float[]
int
int
int
private void
init()
makeDomain
(Map<String, double[]> subset) abstract RealType
abstract RealType
static float[]
medianFilter
(float[] A, int lenx, int leny, int window_lenx, int window_leny) Apply median filter to 2D array of valuesstatic FieldImpl
medianFilter
(FieldImpl field, int window_lenx, int window_leny) static FlatField
medianFilter
(FlatField fltFld, int window_lenx, int window_leny) Apply a median filter to FlatField range If domain dimension == 3, range is filtered as succession of 2D filtered layers along the slowest varying dimension.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
-
Field Details
-
logger
-
mathtype
-
TrackLen
int TrackLen -
VertLen
int VertLen -
vertLocs
-
trackTimes
-
trackLongitude
-
trackLatitude
-
longitude_name
-
latitude_name
-
trackDim_name
-
vertDim_name
-
array_name
-
profileTime_name
-
profileTime_unit
-
altitude_unit
-
sfcElev_name
-
range_name
-
scale_name
-
offset_name
-
fill_value_name
-
valid_range
-
ancillary_file_name
-
product_name
-
rangeName_s
-
arrayType_s
-
rangeUnit_s
-
track
-
vert
-
domainRealTypes
-
vertLocType
-
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
-
medianFilterTrackWidth
-
medianFilterVertWidth
-
-
Constructor Details
-
ProfileAlongTrack
public ProfileAlongTrack() -
ProfileAlongTrack
-
ProfileAlongTrack
public ProfileAlongTrack(MultiDimensionReader reader, Map<String, Object> metadata, boolean isVertDimAlt)
-
-
Method Details
-
getEmptySubset
-
getEmptyMetadataTable
-
init
-
getTrackLength
-
getVertLength
-
getVertIdx
-
getTrackIdx
-
getVertTupIdx
-
getTrackTupIdx
-
getMedianFilterWindowWidth
-
getMedianFilterWindowHeight
-
makeDomain
- Specified by:
makeDomain
in classMultiDimensionAdapter
- Throws:
Exception
-
getMathType
-
getDomainRealTypes
-
getDefaultSubset
- Specified by:
getDefaultSubset
in classMultiDimensionAdapter
-
getTrackRangeInsideLonLatRect
public int[] getTrackRangeInsideLonLatRect(double minLat, double maxLat, double minLon, double maxLon) -
getSubsetFromLonLatRect
public Map<String,double[]> getSubsetFromLonLatRect(Map<String, double[]> subset, double minLat, double maxLat, double minLon, double maxLon) - Overrides:
getSubsetFromLonLatRect
in classMultiDimensionAdapter
-
getSubsetFromLonLatRect
public Map<String,double[]> getSubsetFromLonLatRect(Map<String, double[]> subset, double minLat, double maxLat, double minLon, double maxLon, int xStride, int yStride, int zStride) -
getSubsetFromLonLatRect
public Map<String,double[]> getSubsetFromLonLatRect(double minLat, double maxLat, double minLon, double maxLon) - Overrides:
getSubsetFromLonLatRect
in classMultiDimensionAdapter
-
getSubsetFromLonLatRect
public Map<String,double[]> getSubsetFromLonLatRect(double minLat, double maxLat, double minLon, double maxLon, int xStride, int yStride, int zStride) - Overrides:
getSubsetFromLonLatRect
in classMultiDimensionAdapter
-
getVertBinAltitude
- Throws:
Exception
-
getTrackTimes
- Throws:
Exception
-
makeVertLocType
- Throws:
Exception
-
makeTrackTimeType
- Throws:
Exception
-
getTrackLongitude
- Throws:
Exception
-
getTrackLatitude
- Throws:
Exception
-
medianFilter
public static FieldImpl medianFilter(FieldImpl field, int window_lenx, int window_leny) throws VisADException, RemoteException, CloneNotSupportedException -
medianFilter
public static FlatField medianFilter(FlatField fltFld, int window_lenx, int window_leny) throws VisADException, RemoteException Apply a median filter to FlatField range If domain dimension == 3, range is filtered as succession of 2D filtered layers along the slowest varying dimension.- Parameters:
fltFld
- incoming FlatField to be filteredwindow_lenx
- filter window (kernel) dimensions; x: fastest varying dimensionswindow_leny
-- Returns:
- FlatField with filtered (copied) range
- Throws:
VisADException
RemoteException
-
medianFilter
public static float[] medianFilter(float[] A, int lenx, int leny, int window_lenx, int window_leny) throws VisADException Apply median filter to 2D array of values- Parameters:
A
- 2D array to filterlenx
- Dimensions of A, x varies fastestleny
-window_lenx
- Dimensions of window (kernel) x fastest varyingwindow_leny
-- Returns:
- Throws:
VisADException
-