cdasws 1.8.11__py3-none-any.whl → 1.8.13__py3-none-any.whl

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/__main__.py CHANGED
@@ -24,7 +24,7 @@
24
24
  #
25
25
  # NOSA HEADER END
26
26
  #
27
- # Copyright (c) 2018-2025 United States Government as represented by
27
+ # Copyright (c) 2018-2026 United States Government as represented by
28
28
  # the National Aeronautics and Space Administration. No copyright is
29
29
  # claimed in the United States under Title 17, U.S.Code. All Other
30
30
  # Rights Reserved.
@@ -34,7 +34,7 @@
34
34
  Example Coordinate Data Analysis System (CDAS) web service client.
35
35
  Includes example calls to most of the web services.
36
36
 
37
- Copyright © 2018-2025 United States Government as represented by the
37
+ Copyright © 2018-2026 United States Government as represented by the
38
38
  National Aeronautics and Space Administration. No copyright is claimed in
39
39
  the United States under Title 17, U.S.Code. All Other Rights Reserved.
40
40
  """
@@ -48,10 +48,11 @@ import logging.config
48
48
  from typing import List
49
49
  import urllib3
50
50
  #import matplotlib.pyplot as plt
51
- from cdasws import CdasWs
51
+ from cdasws.cdasws import CdasWs
52
52
  from cdasws.timeinterval import TimeInterval
53
53
  from cdasws.datarequest import GraphOptions, ImageFormat, Overplot, TextFormat
54
54
  from cdasws.datarepresentation import DataRepresentation
55
+ from cdasws.doi import get_doi_landing_page_url
55
56
 
56
57
 
57
58
  logging.basicConfig()
@@ -147,7 +148,7 @@ def example(
147
148
 
148
149
  cdas = CdasWs(endpoint=endpoint, ca_certs=ca_certs,
149
150
  disable_ssl_certificate_validation=
150
- disable_ssl_certificate_validation,
151
+ disable_ssl_certificate_validation,
151
152
  disable_cache = disable_cache, user_agent='Example')
152
153
 
153
154
  print(cdas.get_observatory_groups(
@@ -166,7 +167,7 @@ def example(
166
167
  #print(' ', json.dumps(dataset, indent=4))
167
168
 
168
169
  print('DOI landing page:',
169
- cdas.get_doi_landing_page_url('10.48322/e0dc-0h53'))
170
+ get_doi_landing_page_url('10.48322/e0dc-0h53'))
170
171
 
171
172
  print('citation = ' + cdas.get_citation('10.48322/541v-1f57'))
172
173