Skip to content

Commit

Permalink
MNT: Silence some pandas warnings
Browse files Browse the repository at this point in the history
Pandas 0.21 started warning about getting the behavior we exactly
expect, so filter out those warnings.
  • Loading branch information
dopplershift committed Nov 1, 2017
1 parent 91a6099 commit 39029b0
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions siphon/simplewebservice/wyoming.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,16 @@
"""Read upper air data from the Wyoming archives."""

from io import StringIO
import warnings

from bs4 import BeautifulSoup
import numpy as np
import pandas as pd
from .._tools import get_wind_components
from ..http_util import HTTPEndPoint

warnings.filterwarnings('ignore', 'Pandas doesn\'t allow columns to be created', UserWarning)


class WyomingUpperAir(HTTPEndPoint):
"""Download and parse data from the University of Wyoming's upper air archive."""
Expand Down

0 comments on commit 39029b0

Please sign in to comment.