Recent Releases of HYPEtools
HYPEtools - HYPEtools 1.6.5
HYPEtools 1.6.5 (2025-05-05)
Highlights
- Fix bug in AllUpstreamSubids() that resulted in incorrect upstream SUBIDs when MAINPART == 0 in BranchData.txt
- Add plots for modeled organic carbon in PlotBasinOutput() and PlotBasinSummary()
- Update ReadGeoData() to check and warn for duplicate column names
- Add check to PlotSubbasinRouting() to ensure that "map" and "gd" have shared SUBIDs and add handling for if SUBIDs in "map" and "gd" are not identical
- Allow for custom line colors and weights in PlotSubbasinRouting()
- Add RunHYPE() function
- R
Published by c-brendel 10 months ago
HYPEtools - HYPEtools 1.6.4
HYPEtools 1.6.4 (2024-11-27)
Highlights
- Update ReadDescription() to read information about point source types
- Allow adding comment line to WriteObs()
- Ensure that first column is named "DATE" in ReadObs()
- Update datetime formatting for ReadXobs()
- R
Published by c-brendel over 1 year ago
HYPEtools - HYPEtools 1.6.3
HYPEtools 1.6.3 (2024-09-06)
Highlights
- Add warning message to PlotPerformanceByAttribute() if multiple column names are present in both subass and attributes
- Fix group colors in PlotPerformanceByAttribute()
- Update allowable "types" in CompareFiles() to fix bug preventing comparison of certain HYPE file types
- Update WriteHarmonizedData() and WriteHarmonizedSpatialDescription() to prevent error caused when writing file without loading data.table package
- Add reference to HYPEtools reference paper
- Add package anchors in help text links
- R
Published by c-brendel over 1 year ago
HYPEtools - HYPEtools 1.6.2
HYPEtools 1.6.2 (2024-05-23)
Highlights
- Update ScalePar() function to properly handle recession coefficients
- Add ScaleAquiferData() function to scale RETRATE recession coefficient
- Add example AquiferData.txt and FloodData.txt files to demo model; taken from HYPE wiki:
- http://hype.smhi.net//wiki/doku.php?id=start:hypefilereference:aquiferdata.txt
- http://hype.smhi.net//wiki/doku.php?id=start:hypefilereference:flooddata.txt
- Add ScaleFloodData() function to scale recession cofficients
- Add ReadFloodData() and WriteFloodData() functions
- Update CompareFiles() function to warn if "type" argument is not in the supported list of options
- Update links to HYPEtools Wiki
- R
Published by c-brendel almost 2 years ago
HYPEtools - HYPEtools 1.6.1
HYPEtools 1.6.1 (2024-01-12)
Highlights
- Add cbind option for adding groups in PlotPerformanceByAttribute()
- Handle NA values when scaling axes in PlotPerformanceByAttribute()
- Handle group IDs as strings in PlotPerformanceByAttribute()
- Add argument to adjust spacing between plots and summary table in PlotPerformanceByAttribute()
- Add warning for non-standard column names when using ReadGeoData()
- Update default info columns for VariableLookup functions
- Add jitter to points with duplicate geometries in PlotMapPoints()
- Hide label group by default for Leaflet maps in MapRegionalSources()
- Allow SUBIDs with many digits in SortGeoData()
- Update PlotSimObsRegime() to ignore NA values and to fix percentile polygons when using log scale with negative/zero values (Issue #61)
- Create distinctColorPalette() function and update PlotSubbasinRouting() and MapRegionalSources() to allow setting a seed so palettes can be reproduced
- Update MapRegionalSources() to allow specifying different connection groups with different colors
- Various updates to help text
- R
Published by c-brendel about 2 years ago
HYPEtools - HYPEtools 1.6.0
HYPEtools 1.6.0 (2023-10-18)
Highlights
- Remove hydroGOF and hydroTSM dependencies because packages are being archived by CRAN due to not updating to remove dependencies on retired r-spatial packages
- Various updates to help text
- R
Published by c-brendel over 2 years ago
HYPEtools - HYPEtools 1.5.2
HYPEtools 1.5.2 (2023-10-06)
Highlights
- Fix ReadObs() so date/time format works when importing as a data.table object
- Prevent scientific notation when writing files
- Add ReadClassData() function
- Add argument to control date/time format for x-axis in PlotBasinOutput()
- R
Published by c-brendel over 2 years ago
HYPEtools - HYPEtools 1.5.1
HYPEtools 1.5.1 (2023-08-24)
Highlights
- Fix broken @ docTYPE package documentation (package?pkgname) as described here: https://github.com/r-lib/roxygen2/issues/1491
- Update PlotMapOutput() and PlotMapPoints() to allow for missing SUBIDs in MapOutput or GIS files
- Update PlotMapOutput() and PlotMapPoints() functions so "map"/"sites" and "map.subid.column"/"sites.subid.column" arguments are interchangeable
- R
Published by c-brendel over 2 years ago
HYPEtools - HYPEtools 1.5.0
HYPEtools 1.5.0 (2023-08-14)
Highlights
- Add basic MergeObs() function
- Allow users to change polygon outline colors in in PlotMapOutput()
- Fix bug in PlotMapOutput() that ignored user defined col.breaks
- Allow users to specify custom labels for PlotMapPoint() legends
- Remove ggspatial dependency because the package is set to be archived by CRAN due to unaddressed check problems
- R
Published by c-brendel over 2 years ago
HYPEtools - HYPEtools 1.4.1
HYPEtools 1.4.1 (2023-06-30)
Highlights
- Add option in SubidAttributeSummary() to summarize landuse, soil, and crop fractions for just subbasin areas (not upstream areas)
- Add PartyParrot() Easter Egg
- Fix example for PlotSubbasinRouting() which was not working
- R
Published by c-brendel over 2 years ago
HYPEtools - HYPEtools 1.4.0
HYPEtools 1.4.0 (2023-05-17)
Highlights
- Fix bug in checking of PlotMapPoints() and PlotMapOutput() legend positions
- Fix bug in PlotMapPoints() where custom color breaks were ignored
- Add option to reverse color palette in PlotMapPoints()
- Add pseudo-log scale to PlotPerformanceByAttribute() if any zero or negative values exist
- Add options for boxplot density plots and common y-axis in PlotPerformanceByAttribute()
- Allow for specifying only number of rows or columns in PlotPerformanceByAttribute()
- Add "-9999" as NA string in ReadSubass()
- Fix bug in PlotBasinOutput() where line plots would not get generated if NA values were present
- Update plotting functions to replace usage of deprecated ggplot2 aes_string() function
- R
Published by c-brendel almost 3 years ago
HYPEtools - HYPEtools 1.3.0
HYPEtools 1.3.0 (2023-04-05)
Highlights
- Fix bug in PlotMapPoints() and PlotMapOutput() that would prevent plots from being generated if "x" was e.g. a tibble
- Fix bug in PlotMapPoints() that would prevent plots from being generated with user defined color scale if NA values were present
- Update warning text in WriteObs()
- Add VisualizeMapOutput() and VisualizeMapPoints() Shiny apps
- Add ScalePar() to scale par files to different model time steps
- Add comparison threshold for numeric values in CompareFiles()
- R
Published by c-brendel almost 3 years ago
HYPEtools - HYPEtools 1.2.0
HYPEtools 1.2.0 (2023-02-10)
Highlights
- Added "exact" mode to ReadInfo() to read info.txt files with exact info.txt file structure
- Added AddInfoLine(), RemoveInfoLine(), and WriteInfo() functions to help with info.txt file manipulation
- Added AllSimToPar() and BestSimsToPar() functions to update a par.txt file with parameter values from an allsim.txt or bestsims.txt file
- Updated CompareFiles() to include options for Simass and Subass files and to use ReadObs() instead of ReadPTQobs()
- Add error message to CompareFiles() to handle if compare.order = FALSE and by = NULL.
- Update ReadSubass() to be able to read Subass files with zero rows and add na.strings argument.
- Updated PlotMapOutput() and PlotMapPoints() to generate ggplot maps by default
- Updated WriteXobs() to include !! at beginning of comment line
- Added CITATION.cff file
- Updated WriteObs() to allow for appending data to existing file
- Fix bugs in ignore.cols for WriteHarmonizedData() and WriteHarmonizedSpatialDescription() to allow for lower case values and to format dates with times correctly
- Update GroupSLCClasses() to allow for multiple values for type argument
- Added WriteGlacierData()
- R
Published by c-brendel about 3 years ago
HYPEtools - New functions and bug fixes, 2nd CRAN release
New functions and bug fixes
Highlights
- Fixed bug in PlotMapPoints() that prevented plot from displaying for default plots with geographic coordinate systems
- Added ability to toggle on/off display of point groups in PlotMapPoints() Leaflet maps
- Fixed TS plots in PlotBasinSummary() to use simulated discharge (cout) with reTS instead of using observed discharge (rout)
- Added SubidAttributeSummary() and PlotPerformanceByAttribute() functions to plot model performance by subbasin attributes
- Added WriteHarmonizedData() and WriteHarmonizedSpatialDescription() functions to help with HYPEObsMetadataTools workflow.
Notable Shortcomings
- See issue tracker on HYPEtools' GitHub development page
New Functions
- SubidAttributeSummary: Prepare data frame containing summary of subbasin attributes
- PlotPerformanceByAttribute: Create scatterplots of model performance by SUBID attributes
- WriteHarmonizedData: Export a data frame to the required Harmonized Data File format
- WriteHarmonizedSpatialDescription: Export a data frame to the required Harmonized Spatial Description File format * Full Changelog: https://github.com/rcapell/HYPEtools/compare/v1.0.0...v1.1.0
- R
Published by c-brendel over 3 years ago
HYPEtools - New functions and bug fixes, 1st CRAN release
HYPEtools 1.0.0
New functions and bug fixes
Highlights
- Initial CRAN Submission
- Added vignettes to package
- Updated functions to use sf package instead of sp package for spatial processing
- Fixed bug in SortGeoData()
- Various bug fixes and small improvements
Notable Shortcomings
- See issue tracker on HYPEtools' GitHub development page
New Functions
- IsHeadwater: Quickly query vectors of HYPE SUBIDs to identify if they are headwater subbasins
- IsOutlet: Quickly query vectors of HYPE SUBIDs to identify if they are outlet subbasins
- ReadInfo: Import a HYPE model settings information file as list into R
- ReadUpdate: Import HYPE "update.txt" files as data frames into R
Full Changelog: https://github.com/rcapell/HYPEtools/compare/v0.5.1...v1.0.0
- R
Published by rcapell over 3 years ago
HYPEtools - New functions and bug fixes
Note: Windows binary (attached zip file) compiled for R 4.x.x. Needs to be compiled from source locally for earlier R versions.
Highlights - Further leaflet plotting functionality, with PlotMapPoints - Various improvements and bug fixes in existing functions
Notable shortcomings - SortGeoData sorting with branches not yet fixed, workaround in #73
New functions - ReadObs: Replaces ReadPTQObs and now supports more HYPE input data types - CompareFiles: Compare imported HYPE files for differences, typically used in quality control - PlotSubbasinRouting: Plot routing of subbasins for a HYPE model on an interactive map - VariableInfo and VariableSearch: Lookup information (e.g. Name, Units) for a specific HYPE variable ID, or find HYPE variable information for a search term.
- R
Published by rcapell over 4 years ago
HYPEtools - New functions and bug fixes
Note: Windows binary (attached zip file) compiled for R 4.x.x. Needs to be compiled from source locally for earlier R versions.
Highlights - PlotMapOutput now offers plotting to Leaflet maps - rudimentary netCDF file support in ReadTimeOutput (to be extended in coming releases - targeted summary method for GeoData.txt files
Notable shortcomings - SortGeoData sorting with branches not yet fixed, workaround in #73
New functions - HypeAttrAccess: HYPE data-specific attribute assign/access helpers - OutletNearObs: Find outlet-near observations in HYPE observation data files - ReadOutregions/WriteOutRegions: Read/Write 'Outregions.txt' files - ReadSimass: Read 'simass.txt' files - RescaleSLCClasses: Rescale SLC classes in a GeoData data frame
New S3 class - HypeGeoData with summary and merge methods
- R
Published by rcapell almost 5 years ago
HYPEtools - Bug fixes and improvements
PlotBasinOutput and PlotBasinSummary now with default printing to pdf file, and new argument 'driver'. PlotMapOutput now with argument 'col' instead of 'col.ramp.fun', accepts vectors of colors in addition to color ramp functions. Numerous bug fixes and small improvements.
- R
Published by rcapell over 6 years ago
HYPEtools - mainly bug fixes
NOTE: For R version 3.5.0 and higher under Windows, download HYPEtools0.4-5for_R3.5.x.zip and rename to HYPEtools_0.4-5.zip Before installing.
Bug fixes in ReadMapOutput, WriteMapOutput, ReadTimeOutput, PlotMapOutput, PlotMapPoints, AnnualRegime. Export functions updated to data.table's fwrite. Better performance of AnnualRegime. New function ExtractStats.
- R
Published by rcapell about 8 years ago
HYPEtools - mainly bug fixes
- new function WriteMapOutput
- bug fixes
- R
Published by julzab over 8 years ago
HYPEtools - new functions, bug fixes
New functions: - CreateOptpar() - GwRetention() - OptimisedClasses() - ReadForcKey(), WriteForcKey() - WriteOptpar() - bug fixes, among them a critical one in PlotBasinSummary(), where upstream loads were partly wrong.
Optimised classes are no longer included as elements in optpar lists, but can now be inspected using OptimisedClasses()
- R
Published by rcapell over 9 years ago
HYPEtools - bug fix release
Div. improvements to PlotBasinSummary() Div. bug fixes ReadDescription() updated, not backwards-compatible
- R
Published by rcapell over 9 years ago
HYPEtools - new functions, bug fixes
New functions: - BarplotUpstreamClasses() - PlotSimObsRegime() - PlotBasinSummary() - CustomColors (a number of custom color ramp functions) - bug fixes and improvements in various functions, changes to ReadDescription() are not backwards-compatible
- R
Published by rcapell over 9 years ago
HYPEtools - new functions, bug fixes
- new package dependency 'data.table'
- much-improved import of large files, thanks to fread() from package data.table
- ReadPTQobs(), ReadXobs(), ReadGeoData() updated
- option to import as data.table object to make use of the speedier data handling for that class
- new S3 classes HypeMultiVar and HypeXobs, improvements to HypeSingleVar
- attribute preservation when sub-setting
- PBIAS(), Pearson's R (r()), and summary() methods for HypeSingleVar
- new map plot function PlotMapPoints(), mostly for quickly plotting performance measures at measurement points on a map
- new import function for text files with HYPE land use, soil, and crop class descriptions, for easier label plotting: ReadDescription() (the imported file is not a HYPE file, file structure described in ReadDescription help entry)
- new import function for optpar.txt files, imports optpar contents into a list structure which makes it easier to create and update optpar files
- new trivial import/export functions for HYPE files: ReadAllsim(), ReadDamData(), ReadGlacierData(), ReadSubass(), WriteCropData(), WriteDamData(), WriteMgmtData(), WritePointSourceData()
- numerous bug fixes since last release
- R
Published by rcapell over 9 years ago
HYPEtools - new functions, bug fixes
Bug fixes in PlotBasinOutput() after testing the initial 0.3-7 release version. New function ReadWsOutput() to import MC results. First HYPE-specific S3 class HypeSingleVar, for (multiple) time and map output files, relates to the new import function. New sub-setting and NSE calculation (for hydroGOF::NSE generic) methods for the new class. Several other bug fixes and internal updates.
- R
Published by rcapell over 10 years ago
HYPEtools - new plot functions, bug fixes
PlotBasinOutput(), PlotAnnualRegime() new package dependency 'hydroGOF'
- R
Published by rcapell over 10 years ago
HYPEtools - bug fix release
wrong conversion factors in some parts of ConvertDischarge(), other smaller bugs
- R
Published by rcapell over 10 years ago
HYPEtools - new function, bug fixes
new (trivial) function ReadPointSourceData(), new function UpstreamPointSources, bug fixes
- R
Published by rcapell over 10 years ago
HYPEtools - bug fix release
three bugs which needed to be fixed quickly..
- R
Published by rcapell over 10 years ago
HYPEtools - new function, bug fixes
new function SortGeoData(), update for DirectUpstreamSubids(), bux fixes.
- R
Published by rcapell over 10 years ago
HYPEtools - new functions added
new functions UpstreamGeoData(), UpstreamGroupSLCClasses(), and EquallySpacedObs(). Bug fixes.
- R
Published by rcapell over 10 years ago
HYPEtools - New functions
Added new functions, mostly small helper functions: AnnualRegime, HeadwaterSubids, MapRegionalSources, OutletSubids, ReadAquiferdata, WriteAquiferdata, ReadMgmtData, WriteMgmtData - various small bug fixes
- R
Published by rcapell about 11 years ago
HYPEtools - new functionalities using external fortran code, bug fixes
- bug fixes
- read and write functions for pmsf.txt files
- write function for lake data (maybe, could also be a miss from earlier)
- new function UpstreamObs() for extracting upstream average forcing, includes fortran code
- R
Published by rcapell over 11 years ago
HYPEtools - added functionality, bug fixes
- new attribute "timestep" in ReadBasinOutput()
- extended funtionality of ConvertDischarge()
- new functions AllDownstreamSubids(), OutletIds(), MergeXobs()
- bug fixes
- R
Published by rcapell over 11 years ago
HYPEtools - added functionality, bug fixes
Download package files for R using the green buttons below:
RHYPE0.2-3.zip: Windows binary RHYPE0.2-3.tar.gz: Package source
- R
Published by rcapell over 11 years ago
HYPEtools - improved functionality
new release after several functions were added to the package, most noteworthy the first plot function, PlotMapOutput().
- R
Published by rcapell almost 12 years ago
HYPEtools -
Import/Export for common HYPE files complete.
- R
Published by rcapell about 12 years ago