Skip to main content

Pythonic package to access Netatmo CWS data.

Project description

PyPI version fury.io Documentation Status CI/CD codecov GitHub license

Netatmo GeoPy

Pythonic package to access Netatmo CWS data.

import netatmo_geopy as nat

lon_sw, lat_sw, lon_ne, lat_ne = 6.5175, 46.5012, 6.7870, 46.6058
cws_recorder = nat.CWSRecorder(lon_sw, lat_sw, lon_ne, lat_ne)
gdf = cws_recorder.get_snapshot_gdf()
gdf.head()
<style scoped> .dataframe tbody tr th:only-of-type { vertical-align: middle; }
 .dataframe tbody tr th {
     vertical-align: top;
 }

 .dataframe thead th {
     text-align: right;
 }
</style>
<table border="1" class="dataframe">
    <thead>
        <tr style="text-align: right;">
            <th></th>
            <th>2022-02-12T19:13</th>
            <th>geometry</th>
        </tr>
        <tr>
            <th>station_id</th>
            <th></th>
            <th></th>
        </tr>
    </thead>
    <tbody>
        <tr>
            <th>02:00:00:01:5e:e0</th>
            <td>6.6</td>
            <td>POINT (6.82799 46.47089)</td>
        </tr>
        <tr>
            <th>02:00:00:22:c0:c0</th>
            <td>4.9</td>
            <td>POINT (6.82904 46.47005)</td>
        </tr>
        <tr>
            <th>02:00:00:2f:0b:16</th>
            <td>3.5</td>
            <td>POINT (6.82516 46.47294)</td>
        </tr>
        <tr>
            <th>02:00:00:59:00:2a</th>
            <td>3.8</td>
            <td>POINT (6.84547 46.46779)</td>
        </tr>
        <tr>
            <th>02:00:00:52:ed:5a</th>
            <td>3.8</td>
            <td>POINT (6.87359 46.47067)</td>
        </tr>
    </tbody>
</table>
nat.plot_snapshot(gdf)

lausanne-snapshot

See the user guide for a more thorough overview of netatmo-geopy.

Acknowledgements

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

netatmo_geopy-0.1.0.tar.gz (24.9 kB view hashes)

Uploaded Source

Built Distribution

netatmo_geopy-0.1.0-py3-none-any.whl (23.7 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page