windborne 1.0.3__tar.gz → 1.0.4__tar.gz
Sign up to get free protection for your applications and to get access to all the features.
- {windborne-1.0.3 → windborne-1.0.4}/PKG-INFO +1 -1
- {windborne-1.0.3 → windborne-1.0.4}/pyproject.toml +1 -1
- {windborne-1.0.3 → windborne-1.0.4}/windborne/utils.py +2 -0
- {windborne-1.0.3 → windborne-1.0.4}/windborne.egg-info/PKG-INFO +1 -1
- {windborne-1.0.3 → windborne-1.0.4}/README.md +0 -0
- {windborne-1.0.3 → windborne-1.0.4}/setup.cfg +0 -0
- {windborne-1.0.3 → windborne-1.0.4}/windborne/__init__.py +0 -0
- {windborne-1.0.3 → windborne-1.0.4}/windborne/cli.py +0 -0
- {windborne-1.0.3 → windborne-1.0.4}/windborne/config.py +0 -0
- {windborne-1.0.3 → windborne-1.0.4}/windborne/data_api.py +0 -0
- {windborne-1.0.3 → windborne-1.0.4}/windborne/forecasts_api.py +0 -0
- {windborne-1.0.3 → windborne-1.0.4}/windborne.egg-info/SOURCES.txt +0 -0
- {windborne-1.0.3 → windborne-1.0.4}/windborne.egg-info/dependency_links.txt +0 -0
- {windborne-1.0.3 → windborne-1.0.4}/windborne.egg-info/entry_points.txt +0 -0
- {windborne-1.0.3 → windborne-1.0.4}/windborne.egg-info/requires.txt +0 -0
- {windborne-1.0.3 → windborne-1.0.4}/windborne.egg-info/top_level.txt +0 -0
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
|
|
4
4
|
|
5
5
|
[project]
|
6
6
|
name = "windborne"
|
7
|
-
version = "1.0.
|
7
|
+
version = "1.0.4"
|
8
8
|
description = "A Python library for interacting with WindBorne Data and Forecasts API"
|
9
9
|
readme = {file = "README.md", content-type = "text/markdown"}
|
10
10
|
authors = [
|
@@ -357,6 +357,8 @@ def convert_to_netcdf(data, curtime, output_filename=None):
|
|
357
357
|
if col in df.columns:
|
358
358
|
df[col] = pd.to_numeric(df[col], errors='coerce')
|
359
359
|
|
360
|
+
df['id'] = pd.to_numeric(df['id'], downcast='integer')
|
361
|
+
|
360
362
|
ds = xr.Dataset.from_dataframe(df)
|
361
363
|
|
362
364
|
# Build the filename and save some variables for use later
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|