gnssrefl.vwc_input module

gnssrefl.vwc_input.main()
gnssrefl.vwc_input.parse_arguments()
gnssrefl.vwc_input.vwc_input(station: str, year: int, fr: int = 20, min_tracks: int = 100, extension: str = '', tmin: float = 0.05, tmax: float = 0.45, minvalperday: int = 5, warning_value: float = 5.5)

Starts the analysis for volumetric water content. Picks up reflector height (RH) results for a given station and year-year end range and computes the RH mean values and writes them to a file. These will be used to compute a consistent set of phase estimates.

Secondarily, it will add vwc input parameters into the json previously created for RH estimates. If nothing is requested here, it will put the defaults in the file.

Examples

vwc_input p038 2018

standard usage, station and year inputs

vwc_input p038 2018 -min_tracks 50

allow fewer values to accept a satellite track default is 100

Parameters:
  • station (str) – 4 character ID of the station

  • year (int) – full year

  • fr (int, optional) – GPS frequency. Currently only supports l2c, which is frequency 20.

  • min_tracks (int, optional) – number of minimum tracks needed in order to keep the average RH

  • extension (str, optional) – strategy extension value (same as used in gnssir, subdaily etc)

  • tmin (float, optional) – minimum soil moisture value

  • tmax (float, optional) – maximum soil moisture value

  • minvalperday (int, optional) – how many unique tracks are needed to compute a valid VWC measurement for that day

  • warning_value (float, optional) – for removing low quality satellite tracks when running vwc

Returns:

  • File with columns

  • index, mean reflector_heights, satellite, average_azimuth, number of reflector heights in average, min azimuth, max azimuth

  • Saves to $REFL_CODE/input/<station>_phaseRH.txt

Saves four vwc specific parameters to existing $REFL_CODE/input/<station>.json file

vwc_minvalperday, vwc_min_soil_texture, vwc_max_soil_texture, vwc_min_req_pts_track, vwc_warning_value