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

MHKiT-Software / MHKiT-Python / 233 / 1
85%
master: 85%

Build:
DEFAULT BRANCH: master
Ran 17 Sep 2020 02:06PM UTC
Files 30
Run time 2s
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

17 Sep 2020 02:02PM UTC coverage: 91.317%. First build
233.1

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%)

0.91 hits per line

Source Files on job 233.1
  • Tree
  • List 0
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 114
  • Travis Job 233.1
  • 2a52bbb9 on github
  • Next Job for on master (#252.3)
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