gnssrefl.simple_vegetation_correction module

Simple vegetation correction model for VWC estimation. The default and only option until October 2025.

gnssrefl.simple_vegetation_correction.simple_vegetation_filter(station, vxyz, subdir='', bin_hours=24, bin_offset=0, plt2screen=True, fr=20, minvalperbin=10)

Simple vegetation model (model 1)

This function applies the simple vegetation correction filter to a vxyz array input. This was the default and only available vegetation correction until October 2025.

Parameters:
  • station (str) – 4-char GNSS station name

  • vxyz (numpy array) – Track-level phase observations (16 columns)

  • subdir (str) – Subdirectory for file organization (default: ‘’)

  • bin_hours (int) – Time bin size for subdaily support (default: 24)

  • bin_offset (int) – Bin timing offset for subdaily support (default: 0)

  • plt2screen (bool) – Whether plots come to the screen (default: True)

  • fr (int) – Frequency code (1=L1, 5=L5, 20=L2C, default: 20)

  • minvalperbin (int, optional) – Minimum observations required per time bin (default: 10)

Returns:

Dictionary containing: - ‘mjd’: list of Modified Julian Day values - ‘vwc’: numpy array of VWC values (percentage units, not leveled) - ‘datetime’: list of datetime objects for plotting - ‘bin_starts’: numpy array of bin start hours (subdaily) or empty list (daily)

Return type:

dict