Git Product home page Git Product logo

kwb.pilot's Introduction

kwb.pilot

Importing, Aggregating and Visualising Data From KWB Pilot Plants

R-CMD-check pkgdown codecov lifecycle CRAN_Status_Badge R-Universe_Status_Badge DOI

Installation & usage

For more information on the installation and the usage please visit the package documentation at https://kwb-r.github.io/kwb.pilot

Note

The R package kwb.pilot builds up on the R package aquanes.report with the goal to generalise the functionality, for making it easy to use it for other KWB pilot-plants (e.g. in project SULEMAN).

kwb.pilot's People

Contributors

hsonne avatar mrustl avatar

Stargazers

 avatar

Watchers

 avatar  avatar  avatar

kwb.pilot's Issues

Automatic upload to InfluxDB with GH action fails on macosx due to curl::curl_fetch_memory(url, handle = handle)

Locally on windows it is working but not on GitHub actions with macosx.....any smart ideas @hsonne ? maybe again somewith with returning something to screen?

https://github.com/KWB-R/kwb.pilot/runs/6733041298?check_suite_focus=true#step:9:51

Error in curl::curl_fetch_memory(url, handle = handle) : 
  HTTP/2 stream 0 was not closed cleanly: PROTOCOL_ERROR (err 1)
Calls: source ... request_fetch -> request_fetch.write_memory -> <Anonymous>
Timing stopped at: 21.01 40.6 62.26
Execution halted
'crossflow' (1/64), write request 1/2 (2022-05-18 19:51:24 - 2022-05-19 10:16:34, data points: 5000, temporal resolution (avg): 10s) to InfluxDB ... 
Error: Process completed with exit code 1.

pkgcheck results - dev

Checks for kwb.pilot (v0.3.0)

git hash: 9866ef9c

  • ✔️ Package name is available
  • ✖️ does not have a 'codemeta.json' file.
  • ✖️ does not have a 'contributing' file.
  • ✔️ uses 'roxygen2'.
  • ✔️ 'DESCRIPTION' has a URL field.
  • ✔️ 'DESCRIPTION' has a BugReports field.
  • ✔️ Package has at least one HTML vignette
  • ✖️ These functions do not have examples: [add_label, add_parameter_metadata, add_site_metadata, aggregate_export_fst_berlin_f, aggregate_export_fst_berlin_s, aggregate_export_fst_berlin_t, aggregate_export_fst_mbr4, calenderweek_from_dates, change_timezone, check_env_influxdb_ultimate, check_env_nextcloud, check_thresholds, create_monthly_selection, create_report_batch, create_wedeco_metafile, dygraph_add_limits, export_data, get_env_influxdb_ultimate, get_monthly_data_from_calendarweeks, get_monthly_periods, get_pivot_data, get_rawfilespaths_for_month, get_thresholds, get_valid_timezones, group_datetime, import_analytics_basel, import_analytics_meta_basel, import_data_basel, import_data_berlin_f, import_data_berlin_s, import_data_berlin_t, import_data_haridwar, import_lab_data_berlin_t, import_operation_basel, import_operation_meta_basel, import_operation, import_sheets, load_fst_data, long_to_wide, merge_and_export_fst, move_nextcloud_files, normalised_permeate_flow, plot_analytics, plot_data, read_fst, read_mbr4_tsv, read_pentair_data, read_wedeco_data, read_weintek_batch, read_weintek, remove_duplicates, report_config_template, run_app, set_timezone, write_aggr_to_influxdb_loop, write_aggr_to_influxdb, write_to_influxdb_loop, write_to_influxdb].
  • ✖️ Function names are duplicated in other packages
  • ✔️ Package has continuous integration checks.
  • ✖️ Package coverage is 17.6% (should be at least 75%).
  • ✔️ R CMD check found no errors.
  • ✔️ R CMD check found no warnings.

Important: All failing checks above must be addressed prior to proceeding

Package License: MIT + file LICENSE

Rcmd check warning: "unicode encoding in documentation"

@hsonne any idea how I can resolve this?

See: https://github.com/KWB-R/kwb.pilot/runs/1960000020?check_suite_focus=true#step:9:348

Execution halted
                   \n preProc = `Druck_Arbeitsdruck`, \n preConc =
                   `Druck_Konzentrat`,\n nwp0 = 1.429162,\n vfrPerm0 =
                   800)", nwpr = "- ((1 - (nwpt / vfrPerm))) * 100"),
                   calc_list_name = c("Durchfluss Permeat", "Ausbeute",
                   "Leitf�higkeit Rezirkulation", "R�ckhalt",
                   "Druckverlust (Feed - Konzentrat)", "Flux",
                   "�berstr�mungsgeschwindigkeit", "Transmembrandruck",
                   "Normalisierter Permeatstrom", "Relativer
                   Permeatstrom"), calc_list_unit = c("l/h", "%",
                   "�S/cm", "%", "bar", "l/h/m2", "m/s", "bar", "l/h",
                   "%"), calc_paras = c("Durchfluss_Rohwasser",
                   "Durchfluss_Konzentrat", "Durchfluss_Rezirkulation",
                   "Druck_Arbeitsdruck", "Druck_Rohwasser",
                   "Druck_Konzentrat", "Druck_Permeat", "LF_Permeat",
                   "LF_Rohwasser", "LF_Konzentrat",
                   "Temperatur_Rohwasser"))
    Docs: function(df, calc_list = list(vfrPerm = "`Durchfluss_Rohwasser`
                   - `Durchfluss_Konzentrat`", yield =
                   "100*(`Durchfluss_Rohwasser` -
                   `Durchfluss_Konzentrat`) / `Durchfluss_Rohwasser`",
                   conLoop = "(`Durchfluss_Rohwasser`*`LF_Rohwasser` +
                   `Durchfluss_Rezirkulation`*`LF_Konzentrat`)/(`Durchfluss_Rohwasser`
                   + `Durchfluss_Rezirkulation`)", recovery = "100*(1 -
                   `LF_Permeat` / conLoop)", deltaPreProcConc =
                   "`Druck_Arbeitsdruck` - `Druck_Konzentrat`", flux =
                   "vfrPerm / (4 * 7.6)", cfv = "(`Durchfluss_Rohwasser`+
                   `Durchfluss_Rezirkulation`) / ((pi * 0.0095^2) * 1000
                   * 3600)", tmp = "((`Druck_Arbeitsdruck` +
                   `Druck_Konzentrat`) / 2) - `Druck_Permeat`", nwpt =
                   "normalised_permeate_flow(tempFeed =
                   `Temperatur_Rohwasser`, \n conLoop = `conLoop`,\n
                   vfrPerm = `vfrPerm`, \n vfrLoop =
                   `Durchfluss_Rezirkulation`,\n vfrFeed =
                   `Durchfluss_Rohwasser`, \n prePerm = `Druck_Permeat`,
                   \n preProc = `Druck_Arbeitsdruck`, \n preConc =
                   `Druck_Konzentrat`,\n nwp0 = 1.429162,\n vfrPerm0 =
                   800)", nwpr = "- ((1 - (nwpt / vfrPerm))) * 100"),
                   calc_list_name = c("Durchfluss Permeat", "Ausbeute",
                   "Leitf�higkeit Rezirkulation", "R�ckhalt",
                   "Druckverlust (Feed - Konzentrat)", "Flux",
                   "�berstr�mungsgeschwindigkeit", "Transmembrandruck",
                   "Normalisierter Permeatstrom", "Relativer
                   Permeatstrom"), calc_list_unit = c("l/h", "%",
                   "µS/cm", "%", "bar", "l/h/m2", "m/s", "bar", "l/h",
                   "%"), calc_paras = c("Durchfluss_Rohwasser",
                   "Durchfluss_Konzentrat", "Durchfluss_Rezirkulation",
                   "Druck_Arbeitsdruck", "Druck_Rohwasser",
                   "Druck_Konzentrat", "Druck_Permeat", "LF_Permeat",
                   "LF_Rohwasser", "LF_Konzentrat",
                   "Temperatur_Rohwasser"))
    Mismatches in argument default values:
      Name: 'calc_list_unit'
      Code: c("l/h", "%", "�S/cm", "%", "bar", "l/h/m2", "m/s", "bar", "l/h", 
            "%")
      Docs: c("l/h", "%", "µS/cm", "%", "bar", "l/h/m2", "m/s", "bar", "l/h", 
            "%")

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.