API¶
The ETRM Model¶
Rasters¶
Helper Funcs¶
Helper functions used by ETRM
raster_finder¶
time_series_manager¶
-
recharge.time_series_manager.
amf_obs_time_series
(dict_, save_cleaned_data_path=False, complete_days_only=False, close_threshold=0.2, return_low_err=False)[source]¶ Analyze, clean and return dict of AmeriFlux sites and relevant data.
Parameters: - dict – dict object of Ameriflux IDs as keys, nested dict with ‘Name’, ‘Coords’ etc
- path – string path to AmeriFlux folder containing AmeriFlux csv files
- return_low_err – retun dataframe of only low energy balance closure error
- close_threshold – threshold of error tolerated
- complete_days_only – return only full days of valid data
- save_cleaned_data_path – path to save location of output
# (year, dtime, H, LE, FG, RN, RG, RGin, RGout) # H = sensible heat flux # LE = latent heat flux # FG = soil heat flux # RN = net radiation # RG = incoming shortwave # RGout = outgoing shortwave # RGL = incoming longwave # RGLout = outgoing longwave
-
recharge.time_series_manager.
get_etrm_time_series
(input_root, dict_)[source]¶ Read pre-extracted data out of a formatted csv. Use recharge.point_extract_utility.py to do extract.
Parameters: - input_root – path to a folder of csv files.
- dict – dict of point locations
csv will be in the following format [‘kcb’, ‘rg’, ‘etrs’, ‘min_temp’, ‘max_temp’, ‘temp’, ‘precip’]