cdasws 1.8.6__tar.gz → 1.8.8__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {cdasws-1.8.6 → cdasws-1.8.8}/PKG-INFO +11 -10
- {cdasws-1.8.6 → cdasws-1.8.8}/README.md +10 -9
- {cdasws-1.8.6 → cdasws-1.8.8}/cdasws/__init__.py +3 -2
- {cdasws-1.8.6 → cdasws-1.8.8}/cdasws/__main__.py +1 -1
- {cdasws-1.8.6 → cdasws-1.8.8}/cdasws/datarequest.py +1 -1
- {cdasws-1.8.6 → cdasws-1.8.8}/cdasws.egg-info/PKG-INFO +11 -10
- {cdasws-1.8.6 → cdasws-1.8.8}/setup.py +2 -2
- {cdasws-1.8.6 → cdasws-1.8.8}/cdasws/datarepresentation.py +0 -0
- {cdasws-1.8.6 → cdasws-1.8.8}/cdasws/timeinterval.py +0 -0
- {cdasws-1.8.6 → cdasws-1.8.8}/cdasws.egg-info/SOURCES.txt +0 -0
- {cdasws-1.8.6 → cdasws-1.8.8}/cdasws.egg-info/dependency_links.txt +0 -0
- {cdasws-1.8.6 → cdasws-1.8.8}/cdasws.egg-info/requires.txt +0 -0
- {cdasws-1.8.6 → cdasws-1.8.8}/cdasws.egg-info/top_level.txt +0 -0
- {cdasws-1.8.6 → cdasws-1.8.8}/setup.cfg +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: cdasws
|
|
3
|
-
Version: 1.8.
|
|
3
|
+
Version: 1.8.8
|
|
4
4
|
Summary: NASA's Coordinated Data Analysis System Web Service Client Library
|
|
5
5
|
Home-page: https://cdaweb.gsfc.nasa.gov/WebServices/REST
|
|
6
6
|
Author: Bernie Harris
|
|
@@ -14,11 +14,12 @@ Description:
|
|
|
14
14
|
NASA's [Coordinated Data Analysis System](https://cdaweb.gsfc.nasa.gov/)
|
|
15
15
|
(CDAS). This library implements the client side of the
|
|
16
16
|
[CDAS RESTful web services](https://cdaweb.gsfc.nasa.gov/WebServices/REST/)
|
|
17
|
-
and can return data in
|
|
18
|
-
[SpacePy
|
|
19
|
-
[xarray.Dataset](https://docs.xarray.dev/en/stable/generated/xarray.Dataset.html)
|
|
20
|
-
|
|
21
|
-
|
|
17
|
+
and can return data in a
|
|
18
|
+
[SpacePy datamodel](https://spacepy.github.io/datamodel.html),
|
|
19
|
+
[xarray.Dataset](https://docs.xarray.dev/en/stable/generated/xarray.Dataset.html), or
|
|
20
|
+
[pandas.DataFrame](https://pandas.pydata.org/pandas-docs/stable/reference/api/pandas.DataFrame.html)
|
|
21
|
+
with all source and
|
|
22
|
+
[ISTP/SPDF](https://spdf.gsfc.nasa.gov/sp_use_of_cdf.html) metadata.
|
|
22
23
|
Frequently asked questions concerning this library are at
|
|
23
24
|
[FAQ](https://cdaweb.gsfc.nasa.gov/WebServices/REST/py/FAQ.html).
|
|
24
25
|
For more general details about the CDAS web services, see
|
|
@@ -35,9 +36,9 @@ Description:
|
|
|
35
36
|
Also, the following [Jupyter notebooks](https://jupyter.org/) demonstrate
|
|
36
37
|
different features of the library:
|
|
37
38
|
|
|
38
|
-
1. [
|
|
39
|
-
2. [
|
|
40
|
-
3. [Magnetic Field Line Conjunction Example](https://sscweb.gsfc.nasa.gov/WebServices/REST/jupyter/SscWsConjunctionExample.html) ([ipynb file](https://sscweb.gsfc.nasa.gov/WebServices/REST/jupyter/SscWsConjunctionExample.ipynb)) with related data retrieval/plotting using [cdasws](https://pypi.org/project/cdasws/). [Launch on Binder](https://
|
|
39
|
+
1. [Data Retrieval](https://cdaweb.gsfc.nasa.gov/WebServices/REST/jupyter/CdasWsDataRetrieval.html) ([ipynb file](https://cdaweb.gsfc.nasa.gov/WebServices/REST/jupyter/CdasWsDataRetrieval.ipynb)) demonstrating use of library with results returned in [SpacePy data model](https://spacepy.github.io/datamodel.html), [xarray.Dataset](https://docs.xarray.dev/en/stable/generated/xarray.Dataset.html), and [pandas.DataFrame](https://pandas.pydata.org/pandas-docs/stable/reference/api/pandas.DataFrame.html). [Launch on Binder](https://binder.opensci.2i2c.cloud/v2/gh/berniegsfc/cdasws-notebooks/main?labpath=CdasWsDataRetrieval.ipynb).
|
|
40
|
+
2. [CDAWeb Binning Example](https://cdaweb.gsfc.nasa.gov/WebServices/REST/jupyter/CdasWsBinningExample.html) ([ipynb file](https://cdaweb.gsfc.nasa.gov/WebServices/REST/jupyter/CdasWsBinningExample.ipynb)) demonstrating use [CDAWeb binning](https://cdaweb.gsfc.nasa.gov/CDAWeb_Binning_readme.html). [Launch on Binder](https://binder.opensci.2i2c.cloud/v2/gh/berniegsfc/cdasws-notebooks/main?labpath=CdasWsBinningExample.ipynb).
|
|
41
|
+
3. [Magnetic Field Line Conjunction Example](https://sscweb.gsfc.nasa.gov/WebServices/REST/jupyter/SscWsConjunctionExample.html) ([ipynb file](https://sscweb.gsfc.nasa.gov/WebServices/REST/jupyter/SscWsConjunctionExample.ipynb)) with related data retrieval/plotting using [cdasws](https://pypi.org/project/cdasws/). [Launch on Binder](https://binder.opensci.2i2c.cloud/v2/gh/berniegsfc/sscws-notebooks/main?labpath=SscWsConjunctionExample.ipynb).
|
|
41
42
|
---
|
|
42
43
|
|
|
43
44
|
And at the bottom of each
|
|
@@ -61,7 +62,7 @@ Description:
|
|
|
61
62
|
1. To have get_data return the data in the SpacePy data model.
|
|
62
63
|
* [SpacePy](https://spacepy.github.io/). Refer to the SpacePy
|
|
63
64
|
documentation for the details of SpacePy's dependencies.
|
|
64
|
-
2. To have get_data return the data in an xarray
|
|
65
|
+
2. To have get_data return the data in an [xarray.Dataset](https://docs.xarray.dev/en/stable/generated/xarray.Dataset.html) or [pandas.DataFrame](https://pandas.pydata.org/pandas-docs/stable/reference/api/pandas.DataFrame.html).
|
|
65
66
|
* [cdflib](https://pypi.org/project/cdflib/).
|
|
66
67
|
* [xarray](https://pypi.org/project/xarray/).
|
|
67
68
|
|
|
@@ -6,11 +6,12 @@ and services of
|
|
|
6
6
|
NASA's [Coordinated Data Analysis System](https://cdaweb.gsfc.nasa.gov/)
|
|
7
7
|
(CDAS). This library implements the client side of the
|
|
8
8
|
[CDAS RESTful web services](https://cdaweb.gsfc.nasa.gov/WebServices/REST/)
|
|
9
|
-
and can return data in
|
|
10
|
-
[SpacePy
|
|
11
|
-
[xarray.Dataset](https://docs.xarray.dev/en/stable/generated/xarray.Dataset.html)
|
|
12
|
-
|
|
13
|
-
|
|
9
|
+
and can return data in a
|
|
10
|
+
[SpacePy datamodel](https://spacepy.github.io/datamodel.html),
|
|
11
|
+
[xarray.Dataset](https://docs.xarray.dev/en/stable/generated/xarray.Dataset.html), or
|
|
12
|
+
[pandas.DataFrame](https://pandas.pydata.org/pandas-docs/stable/reference/api/pandas.DataFrame.html)
|
|
13
|
+
with all source and
|
|
14
|
+
[ISTP/SPDF](https://spdf.gsfc.nasa.gov/sp_use_of_cdf.html) metadata.
|
|
14
15
|
Frequently asked questions concerning this library are at
|
|
15
16
|
[FAQ](https://cdaweb.gsfc.nasa.gov/WebServices/REST/py/FAQ.html).
|
|
16
17
|
For more general details about the CDAS web services, see
|
|
@@ -27,9 +28,9 @@ To run the included example, do the following
|
|
|
27
28
|
Also, the following [Jupyter notebooks](https://jupyter.org/) demonstrate
|
|
28
29
|
different features of the library:
|
|
29
30
|
|
|
30
|
-
1. [
|
|
31
|
-
2. [
|
|
32
|
-
3. [Magnetic Field Line Conjunction Example](https://sscweb.gsfc.nasa.gov/WebServices/REST/jupyter/SscWsConjunctionExample.html) ([ipynb file](https://sscweb.gsfc.nasa.gov/WebServices/REST/jupyter/SscWsConjunctionExample.ipynb)) with related data retrieval/plotting using [cdasws](https://pypi.org/project/cdasws/). [Launch on Binder](https://
|
|
31
|
+
1. [Data Retrieval](https://cdaweb.gsfc.nasa.gov/WebServices/REST/jupyter/CdasWsDataRetrieval.html) ([ipynb file](https://cdaweb.gsfc.nasa.gov/WebServices/REST/jupyter/CdasWsDataRetrieval.ipynb)) demonstrating use of library with results returned in [SpacePy data model](https://spacepy.github.io/datamodel.html), [xarray.Dataset](https://docs.xarray.dev/en/stable/generated/xarray.Dataset.html), and [pandas.DataFrame](https://pandas.pydata.org/pandas-docs/stable/reference/api/pandas.DataFrame.html). [Launch on Binder](https://binder.opensci.2i2c.cloud/v2/gh/berniegsfc/cdasws-notebooks/main?labpath=CdasWsDataRetrieval.ipynb).
|
|
32
|
+
2. [CDAWeb Binning Example](https://cdaweb.gsfc.nasa.gov/WebServices/REST/jupyter/CdasWsBinningExample.html) ([ipynb file](https://cdaweb.gsfc.nasa.gov/WebServices/REST/jupyter/CdasWsBinningExample.ipynb)) demonstrating use [CDAWeb binning](https://cdaweb.gsfc.nasa.gov/CDAWeb_Binning_readme.html). [Launch on Binder](https://binder.opensci.2i2c.cloud/v2/gh/berniegsfc/cdasws-notebooks/main?labpath=CdasWsBinningExample.ipynb).
|
|
33
|
+
3. [Magnetic Field Line Conjunction Example](https://sscweb.gsfc.nasa.gov/WebServices/REST/jupyter/SscWsConjunctionExample.html) ([ipynb file](https://sscweb.gsfc.nasa.gov/WebServices/REST/jupyter/SscWsConjunctionExample.ipynb)) with related data retrieval/plotting using [cdasws](https://pypi.org/project/cdasws/). [Launch on Binder](https://binder.opensci.2i2c.cloud/v2/gh/berniegsfc/sscws-notebooks/main?labpath=SscWsConjunctionExample.ipynb).
|
|
33
34
|
---
|
|
34
35
|
|
|
35
36
|
And at the bottom of each
|
|
@@ -53,7 +54,7 @@ dependencies are required:
|
|
|
53
54
|
1. To have get_data return the data in the SpacePy data model.
|
|
54
55
|
* [SpacePy](https://spacepy.github.io/). Refer to the SpacePy
|
|
55
56
|
documentation for the details of SpacePy's dependencies.
|
|
56
|
-
2. To have get_data return the data in an xarray
|
|
57
|
+
2. To have get_data return the data in an [xarray.Dataset](https://docs.xarray.dev/en/stable/generated/xarray.Dataset.html) or [pandas.DataFrame](https://pandas.pydata.org/pandas-docs/stable/reference/api/pandas.DataFrame.html).
|
|
57
58
|
* [cdflib](https://pypi.org/project/cdflib/).
|
|
58
59
|
* [xarray](https://pypi.org/project/xarray/).
|
|
59
60
|
|
|
@@ -137,7 +137,7 @@ except ImportError:
|
|
|
137
137
|
CDF_XARRAY_AVAILABLE = False
|
|
138
138
|
|
|
139
139
|
|
|
140
|
-
__version__ = "1.8.
|
|
140
|
+
__version__ = "1.8.8"
|
|
141
141
|
|
|
142
142
|
|
|
143
143
|
#
|
|
@@ -1333,7 +1333,8 @@ class CdasWs:
|
|
|
1333
1333
|
CdasWs.get_data
|
|
1334
1334
|
"""
|
|
1335
1335
|
|
|
1336
|
-
self.logger.debug('data_request = %s', data_request.json())
|
|
1336
|
+
#self.logger.debug('data_request = %s', data_request.json())
|
|
1337
|
+
self.logger.debug('data_request = %s', data_request.xml_str())
|
|
1337
1338
|
|
|
1338
1339
|
url = self._endpoint + 'datasets'
|
|
1339
1340
|
|
|
@@ -310,7 +310,7 @@ class DataRequest(metaclass=ABCMeta): # pylint: disable=too-few-public-methods
|
|
|
310
310
|
builder.end('ImageFormat')
|
|
311
311
|
if 'BinData' in data_request:
|
|
312
312
|
bin_data = data_request['BinData']
|
|
313
|
-
builder.start('BinData')
|
|
313
|
+
builder.start('BinData', {})
|
|
314
314
|
if 'Interval' in bin_data:
|
|
315
315
|
builder.start('Interval', {})
|
|
316
316
|
builder.data(str(bin_data['Interval']))
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: cdasws
|
|
3
|
-
Version: 1.8.
|
|
3
|
+
Version: 1.8.8
|
|
4
4
|
Summary: NASA's Coordinated Data Analysis System Web Service Client Library
|
|
5
5
|
Home-page: https://cdaweb.gsfc.nasa.gov/WebServices/REST
|
|
6
6
|
Author: Bernie Harris
|
|
@@ -14,11 +14,12 @@ Description:
|
|
|
14
14
|
NASA's [Coordinated Data Analysis System](https://cdaweb.gsfc.nasa.gov/)
|
|
15
15
|
(CDAS). This library implements the client side of the
|
|
16
16
|
[CDAS RESTful web services](https://cdaweb.gsfc.nasa.gov/WebServices/REST/)
|
|
17
|
-
and can return data in
|
|
18
|
-
[SpacePy
|
|
19
|
-
[xarray.Dataset](https://docs.xarray.dev/en/stable/generated/xarray.Dataset.html)
|
|
20
|
-
|
|
21
|
-
|
|
17
|
+
and can return data in a
|
|
18
|
+
[SpacePy datamodel](https://spacepy.github.io/datamodel.html),
|
|
19
|
+
[xarray.Dataset](https://docs.xarray.dev/en/stable/generated/xarray.Dataset.html), or
|
|
20
|
+
[pandas.DataFrame](https://pandas.pydata.org/pandas-docs/stable/reference/api/pandas.DataFrame.html)
|
|
21
|
+
with all source and
|
|
22
|
+
[ISTP/SPDF](https://spdf.gsfc.nasa.gov/sp_use_of_cdf.html) metadata.
|
|
22
23
|
Frequently asked questions concerning this library are at
|
|
23
24
|
[FAQ](https://cdaweb.gsfc.nasa.gov/WebServices/REST/py/FAQ.html).
|
|
24
25
|
For more general details about the CDAS web services, see
|
|
@@ -35,9 +36,9 @@ Description:
|
|
|
35
36
|
Also, the following [Jupyter notebooks](https://jupyter.org/) demonstrate
|
|
36
37
|
different features of the library:
|
|
37
38
|
|
|
38
|
-
1. [
|
|
39
|
-
2. [
|
|
40
|
-
3. [Magnetic Field Line Conjunction Example](https://sscweb.gsfc.nasa.gov/WebServices/REST/jupyter/SscWsConjunctionExample.html) ([ipynb file](https://sscweb.gsfc.nasa.gov/WebServices/REST/jupyter/SscWsConjunctionExample.ipynb)) with related data retrieval/plotting using [cdasws](https://pypi.org/project/cdasws/). [Launch on Binder](https://
|
|
39
|
+
1. [Data Retrieval](https://cdaweb.gsfc.nasa.gov/WebServices/REST/jupyter/CdasWsDataRetrieval.html) ([ipynb file](https://cdaweb.gsfc.nasa.gov/WebServices/REST/jupyter/CdasWsDataRetrieval.ipynb)) demonstrating use of library with results returned in [SpacePy data model](https://spacepy.github.io/datamodel.html), [xarray.Dataset](https://docs.xarray.dev/en/stable/generated/xarray.Dataset.html), and [pandas.DataFrame](https://pandas.pydata.org/pandas-docs/stable/reference/api/pandas.DataFrame.html). [Launch on Binder](https://binder.opensci.2i2c.cloud/v2/gh/berniegsfc/cdasws-notebooks/main?labpath=CdasWsDataRetrieval.ipynb).
|
|
40
|
+
2. [CDAWeb Binning Example](https://cdaweb.gsfc.nasa.gov/WebServices/REST/jupyter/CdasWsBinningExample.html) ([ipynb file](https://cdaweb.gsfc.nasa.gov/WebServices/REST/jupyter/CdasWsBinningExample.ipynb)) demonstrating use [CDAWeb binning](https://cdaweb.gsfc.nasa.gov/CDAWeb_Binning_readme.html). [Launch on Binder](https://binder.opensci.2i2c.cloud/v2/gh/berniegsfc/cdasws-notebooks/main?labpath=CdasWsBinningExample.ipynb).
|
|
41
|
+
3. [Magnetic Field Line Conjunction Example](https://sscweb.gsfc.nasa.gov/WebServices/REST/jupyter/SscWsConjunctionExample.html) ([ipynb file](https://sscweb.gsfc.nasa.gov/WebServices/REST/jupyter/SscWsConjunctionExample.ipynb)) with related data retrieval/plotting using [cdasws](https://pypi.org/project/cdasws/). [Launch on Binder](https://binder.opensci.2i2c.cloud/v2/gh/berniegsfc/sscws-notebooks/main?labpath=SscWsConjunctionExample.ipynb).
|
|
41
42
|
---
|
|
42
43
|
|
|
43
44
|
And at the bottom of each
|
|
@@ -61,7 +62,7 @@ Description:
|
|
|
61
62
|
1. To have get_data return the data in the SpacePy data model.
|
|
62
63
|
* [SpacePy](https://spacepy.github.io/). Refer to the SpacePy
|
|
63
64
|
documentation for the details of SpacePy's dependencies.
|
|
64
|
-
2. To have get_data return the data in an xarray
|
|
65
|
+
2. To have get_data return the data in an [xarray.Dataset](https://docs.xarray.dev/en/stable/generated/xarray.Dataset.html) or [pandas.DataFrame](https://pandas.pydata.org/pandas-docs/stable/reference/api/pandas.DataFrame.html).
|
|
65
66
|
* [cdflib](https://pypi.org/project/cdflib/).
|
|
66
67
|
* [xarray](https://pypi.org/project/xarray/).
|
|
67
68
|
|
|
@@ -10,7 +10,7 @@ README = (HERE / "README.md").read_text()
|
|
|
10
10
|
# This call to setup() does all the work
|
|
11
11
|
setup(
|
|
12
12
|
name="cdasws",
|
|
13
|
-
version="1.8.
|
|
13
|
+
version="1.8.8",
|
|
14
14
|
description="NASA's Coordinated Data Analysis System Web Service Client Library",
|
|
15
15
|
long_description=README,
|
|
16
16
|
long_description_content_type="text/markdown",
|
|
@@ -19,7 +19,7 @@ setup(
|
|
|
19
19
|
author_email="NASA-SPDF-Support@nasa.onmicrosoft.com",
|
|
20
20
|
license="NOSA",
|
|
21
21
|
packages=["cdasws"],
|
|
22
|
-
# python_requires=[">3.
|
|
22
|
+
# python_requires=[">3.6"]
|
|
23
23
|
# packages=find_packages(exclude=["tests"]),
|
|
24
24
|
# packages=find_packages(),
|
|
25
25
|
include_package_data=True,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|