• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

MHKiT-Software / MHKiT-Python / 233
85%

Build:
DEFAULT BRANCH: master
Ran 17 Sep 2020 02:05PM UTC
Jobs 3
Files 30
Run time 29s
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

pending completion
233

push

travis-ci

web-flow
WDRT: environmental_contours (#62)

This function allows users to draw environmental contours using the IFORM and modified principal component analysis as described in the [WDRT](https://github.com/WEC-Sim/WDRT) as shown in the plot below. These functions are a subset of the [environmental sampling example](https://github.com/WEC-Sim/WDRT/blob/master/examples/example_envSampling.py) which were located in the [ESSC.py](https://github.com/WEC-Sim/WDRT/blob/master/WDRT/ESSC.py) file.

This PR primarily adds one new user function and an example jupyter notebook:
 - `wave.resource.environmental_contour`
 - `examples.environmental_contour.ipynb`



![image](https://user-images.githubusercontent.com/13438942/91732081-f94c3700-eb64-11ea-9aef-d1f556f18b7b.png)

Additional Changes:
1. Simplified the Travis build file and added a Python 3.8 Test
2. Made the year returned from available data an integer (and therefore non-unique but easier to select data)
3. Added a `wave.io.ndbc.to_datetime_index` function which sets a DateTime index and removes the NDBC date/ time column information

[Build Passing](https://travis-ci.org/github/MHKiT-Software/MHKiT-Python/builds/723932983)
[![Build Status](https://travis-ci.org/MHKiT-Software/MHKiT-Python.svg?branch=master)](https://travis-ci.org/MHKiT-Software/MHKiT-Python)

Co-authored-by: Kelley Ruehl <kmruehl@sandia.gov>
Co-authored-by: rpauly18 <rpauly@nrel.gov>

2198 of 2407 relevant lines covered (91.32%)

2.74 hits per line

Jobs
ID Job ID Ran Files Coverage
1 233.1 17 Sep 2020 02:06PM UTC 0
91.32
Travis Job 233.1
2 233.2 17 Sep 2020 02:05PM UTC 0
91.32
Travis Job 233.2
3 233.3 17 Sep 2020 02:06PM UTC 0
91.4
Travis Job 233.3
Source Files on build 233
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #233
  • 2a52bbb9 on github
  • Prev Build on master (#215)
  • Next Build on master (#252)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc