Skip to content

Latest commit

 

History

History
117 lines (66 loc) · 4.58 KB

NEWS.md

File metadata and controls

117 lines (66 loc) · 4.58 KB

SWATprep 1.0.10

  • Updated get_atmo_dep() to support new server links.
  • Added additional comments to handle cases where the URL is unreachable.

SWATprepR 1.0.9

  • Key libraries (diffr, elevatr, euptf2, ggpmisc, gstat, leafpop, openxlsx, RNetCDF, sp, and stars) moved from Imports to Suggests, ensuring they are installed and loaded only when specific functionalities are invoked.

SWATprepR 1.0.8

  • Improved load_swat_weather() function. Now it can read weather data with different types of naming, spacing and provides better error messages.

SWATprepR 1.0.7

  • Bug fix in prepare_wgn(), corrected issue where -99 values were included in calculations.
  • Value checks in load_swat_weather(), added validation for input values.
  • Bug fixes in get_atmo_dep(). Fixed variable naming issues and added a coordinate validation check.

SWATprepR 1.0.5

  • Small bug fixes and updated add_atmo_dep(). Now this function writes directly into SWAT+ model text files. SQL database option removed.

SWATprepR 1.0.4

  • Added helper functions to examine setup: setup_info()and model's output water balance components: wbalance_table().

SWATprepR 1.0.3

  • Warning for load_template(), if there are duplicates in the template file.
  • Sorting in weather files using prepare_climate(). Needed for SWAT+ model to find weather files correctly.
  • Added function find_dif() to compare files of two setups and find differences.

SWATprepR 1.0.2

  • prepare_ps() function was updated to include the option to write constant value point source data for SWAT+ model. Bug was solved connected with 'object.cnt' file.
  • load_swat_weather() function was updated to include the option to read weather data with different type of naming.

SWATprepR 1.0.1

  • sol_to_usersoil() function was added to read and convert soils.sol file to usersoil R object.
  • get_atmo_dep() function was updated according to documentation of 'atmo.cli' input file.
  • Documentation of functions corrected.

SWATprepR 1.0.0

  • Reviewed and updated function documentation, removed deprecated functions, made internal functions invisible, updated examples, provided additional information in links, added references where needed, and connected functions with the 'See Also' section.
  • Minor bug fixes.

SWATprepR 0.1.6

  • Bug fixes to prepare_ps() and get_soil_parameters().

SWATprepR 0.1.5

  • Bug fixes to prepare_wgn(), prepare_climate(),load_netcdf_weather() and other functions.

SWATprepR 0.1.4

  • load_swat_weather2() function was added to provide quicker option for weather file loading. More 20 times faster comparing to load_swat_weather() function.

SWATprepR 0.1.3

  • load_template() function extended to load point source data template.
  • prepare_ps() function added to write point source SWAT+ model input files.

SWATprepR 0.1.2

  • transform_to_list() function made internal and integrated into interpolate() function.
  • load_climate_lst() renamed to load_netcdf_weather().
  • A small correction in extract_rotation().
  • Updated Land use, Climate projections and Weather data pages.

SWATprepR 0.1.1

  • A new function load_swat_weather() added.
  • Climate projections article page updated.

SWATprepR 0.1.0

  • A new prepare_climate() function was added.

SWATprepR 0.0.9

  • New functions get_usersoil_table(), load_climate_lst() and plot_wgn_comparison() were added.

SWATprepR 0.0.8

  • Some bugs fixed in get_soil_parameters() and get_atmo_dep().

SWATprepR 0.0.7

  • Fixed SOL_BD calculation in get_soil_parameters(). Added function usersoil_to_sol().

SWATprepR 0.0.6

  • Updated functions interpolate(), prepare_wgn(), add_weather() and load_template() to deal with different data. Added new function fill_with_closest(). Bug fixes.

SWATprepR 0.0.5

  • Different bugs in various functions corrected. Plotting functions updated. Added function add_missing_pcp_zero().

SWATprepR 0.0.4

  • Land use data functions added get_lu_points() and extract_rotation() as well as Land use article page to explain how to use them.

SWATprepR 0.0.3

  • Atmospheric deposition data functions added get_atmo_dep(), write_atmo_cli() and add_atmo_dep() as well as Atmospheric deposition article page to explain how to use them.

SWATprepR 0.0.2

  • add_weather(), clean_wq(), clean_outliers() and get_hsg() functions were added.

SWATprepR 0.0.1

  • This is the first release of package SWATprepR.