windborne 1.0.2__tar.gz → 1.0.3__tar.gz
Sign up to get free protection for your applications and to get access to all the features.
- {windborne-1.0.2 → windborne-1.0.3}/PKG-INFO +1 -1
- {windborne-1.0.2 → windborne-1.0.3}/pyproject.toml +1 -1
- {windborne-1.0.2 → windborne-1.0.3}/windborne/utils.py +6 -2
- {windborne-1.0.2 → windborne-1.0.3}/windborne.egg-info/PKG-INFO +1 -1
- {windborne-1.0.2 → windborne-1.0.3}/README.md +0 -0
- {windborne-1.0.2 → windborne-1.0.3}/setup.cfg +0 -0
- {windborne-1.0.2 → windborne-1.0.3}/windborne/__init__.py +0 -0
- {windborne-1.0.2 → windborne-1.0.3}/windborne/cli.py +0 -0
- {windborne-1.0.2 → windborne-1.0.3}/windborne/config.py +0 -0
- {windborne-1.0.2 → windborne-1.0.3}/windborne/data_api.py +0 -0
- {windborne-1.0.2 → windborne-1.0.3}/windborne/forecasts_api.py +0 -0
- {windborne-1.0.2 → windborne-1.0.3}/windborne.egg-info/SOURCES.txt +0 -0
- {windborne-1.0.2 → windborne-1.0.3}/windborne.egg-info/dependency_links.txt +0 -0
- {windborne-1.0.2 → windborne-1.0.3}/windborne.egg-info/entry_points.txt +0 -0
- {windborne-1.0.2 → windborne-1.0.3}/windborne.egg-info/requires.txt +0 -0
- {windborne-1.0.2 → windborne-1.0.3}/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.3"
|
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 = [
|
@@ -389,7 +389,7 @@ def convert_to_netcdf(data, curtime, output_filename=None):
|
|
389
389
|
ds = ds.assign_coords(time=("time", ds['time'].data))
|
390
390
|
|
391
391
|
# Now that calculations are done, remove variables not needed in the netcdf output
|
392
|
-
variables_to_drop = ['humidity', 'speed_x', 'speed_y', 'timestamp'
|
392
|
+
variables_to_drop = ['humidity', 'speed_x', 'speed_y', 'timestamp']
|
393
393
|
existing_vars = [var for var in variables_to_drop if var in ds]
|
394
394
|
ds = ds.drop_vars(existing_vars)
|
395
395
|
|
@@ -463,7 +463,6 @@ def convert_to_netcdf(data, curtime, output_filename=None):
|
|
463
463
|
'_FillValue': float('nan'),
|
464
464
|
'processing_level': ''
|
465
465
|
}
|
466
|
-
|
467
466
|
ds['specific_humidity'].attrs = {
|
468
467
|
'units': 'mg/kg',
|
469
468
|
'long_name': 'Specific Humidity',
|
@@ -471,6 +470,11 @@ def convert_to_netcdf(data, curtime, output_filename=None):
|
|
471
470
|
'processing_level': '',
|
472
471
|
'Conventions': "CF-1.8, WMO-CF-1.0"
|
473
472
|
}
|
473
|
+
ds['mission_name'].attrs = {
|
474
|
+
'long_name': 'Mission name',
|
475
|
+
'description': 'Which balloon collected the data',
|
476
|
+
'_FillValue': ''
|
477
|
+
}
|
474
478
|
|
475
479
|
# Add Global Attributes synonymous across all UASDC providers
|
476
480
|
if not is_multi_mission:
|
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
|