ana5Utils.distanceTimeAnalysis.radarMask

radarMask(demOriginal, radarFov, aperture, cfgRangeTime)[source]

function to create masked array of radar range using dem and radar’s field of view

Parameters
  • dem (dict) – DEM dictionary with header info and rasterData

  • radarFov (numpy array) – radars field of view min and max points

  • aperture (float) – aperature angle

  • cfgRangeTime (configparser object) – configuration settings here used: avalancheDir info

Returns

  • radarRange (numpy masked array) – masked array of radar range covering full DEM extent

  • rangeGates (numpy array) – range gates