das-developers / das2py Goto Github PK
View Code? Open in Web Editor NEWAn efficient space physics data client for python
Home Page: https://das2.org/das2py
License: MIT License
An efficient space physics data client for python
Home Page: https://das2.org/das2py
License: MIT License
I'm having a problem with das2py it seems that I cannot reach any data on the server, when I try to reach any node (except iowa) I get the following message
src = das2.get_node('tag:das2.org,2012:site:/uiowa/juno')INFO: error:1408F10B:SSL routines:ssl3_get_record:wrong version number
INFO: error:1408F10B:SSL routines:ssl3_get_record:wrong version number
Traceback (most recent call last):
File "", line 1, in
File "/opt/anaconda3/envs/python37/lib/python3.7/das2/init.py", line 250, in get_node
dDef = _das2.get_node(sPathId)
_das2.Error: Node U. Iowa (URI 'tag:das2.org,2012:site:/uiowa') has no child node that starts with juno
(Reported from das2/node.c, line 539)
Surprisingly, src = das2.get_node('tag:das2.org,2012:site:/uiowa') doesnt return an error and in that case src['juno'].props returns
{'name': 'Juno',
'title': 'Jupiter polar orbiter - Launch date 2011-08-05',
'type': 'Catalog',
'urls': ['http://das2.org/catalog/das/site/uiowa/juno.json'],
'_path': 'tag:das2.org,2012:site:/uiowa/juno'}
If that can help I have this :
src.props
{'catalog': {'cassini': {'name': 'Cassini',
'title': 'Saturn System Explorer - Orbit Insertion 2004-06-30',
'type': 'Catalog',
'urls': ['http://das2.org/catalog/das/site/uiowa/cassini.json'],
'_path': 'tag:das2.org,2012:site:/uiowa/cassini'},
'de': {'name': 'DE',
'title': 'Earth polar orbiters - Launch date 1981-08-03',
'type': 'Catalog',
'urls': ['http://das2.org/catalog/das/site/uiowa/de.json'],
'_path': 'tag:das2.org,2012:site:/uiowa/de'},
'earth': {'name': 'Earth',
'title': 'Earth based observatories',
'type': 'Catalog',
'urls': ['http://das2.org/catalog/das/site/uiowa/earth.json'],
'_path': 'tag:das2.org,2012:site:/uiowa/earth'},
'galileo': {'name': 'Galileo',
'title': 'Jupiter equatorial orbiter - Launch date 1989-10-13',
'type': 'Catalog',
'urls': ['http://das2.org/catalog/das/site/uiowa/galileo.json'],
'_path': 'tag:das2.org,2012:site:/uiowa/galileo'},
'isee': {'name': 'ISEE',
'title': 'International Sun-Earth Explorers - Launch date 1977-10-22',
'type': 'Catalog',
'urls': ['http://das2.org/catalog/das/site/uiowa/isee.json'],
'_path': 'tag:das2.org,2012:site:/uiowa/isee'},
'juno': {'name': 'Juno',
'title': 'Jupiter polar orbiter - Launch date 2011-08-05',
'type': 'Catalog',
'urls': ['http://das2.org/catalog/das/site/uiowa/juno.json'],
'_path': 'tag:das2.org,2012:site:/uiowa/juno'},
'mars_express': {'name': 'Mars Express',
'title': 'Mars polar orbiter - Launch date 2003-06-02',
'type': 'Catalog',
'urls': ['http://das2.org/catalog/das/site/uiowa/mars_express.json'],
'_path': 'tag:das2.org,2012:site:/uiowa/mars_express'},
'maven': {'name': 'Maven',
'title': 'Mars Atmosphere and Volatile Evolution Mission - Orbit Insertion 2014-09-22',
'type': 'Catalog',
'urls': ['http://das2.org/catalog/das/site/uiowa/maven.json'],
'_path': 'tag:das2.org,2012:site:/uiowa/maven'},
'stereo': {'name': 'Stereo',
'title': 'Dual Solar Terrestrial Relation Observatories - Launch date 2006-10-26',
'type': 'Catalog',
'urls': ['http://das2.org/catalog/das/site/uiowa/stereo.json'],
'_path': 'tag:das2.org,2012:site:/uiowa/stereo'},
'van_allen_probes': {'name': 'Van Allen Probes',
'title': "Twin probes of the Earth's inner and outer radiation belts, launched on 2012-08-30",
'type': 'Catalog',
'urls': ['https://emfisis.physics.uiowa.edu/~cwp/van_allen_probes.json'],
'_path': 'tag:das2.org,2012:site:/uiowa/van_allen_probes'},
'voyager': {'name': 'Voyager',
'title': 'Dual Spacecraft Mission to the Outer Planets, and Beyond',
'type': 'Catalog',
'urls': ['http://das2.org/catalog/das/site/uiowa/voyager.json'],
'_path': 'tag:das2.org,2012:site:/uiowa/voyager'},
'wind': {'name': 'Wind',
'title': 'WIND Solar-Terrestrial Mission - Launch date 1994-11-01',
'type': 'Catalog',
'urls': ['http://das2.org/catalog/das/site/uiowa/wind.json'],
'_path': 'tag:das2.org,2012:site:/uiowa/wind'}},
'name': 'U. Iowa',
'title': 'University of Iowa, Department of Physics and Astronomy',
'type': 'Catalog',
'version': '0.4',
'_url': 'https://raw.githubusercontent.com/das-developers/das-cat/master/cat/das/site/uiowa.json',
'_path': 'tag:das2.org,2012:site:/uiowa'}
I try to update das2 numpy and spacepy but thats didn't help.
Maybe it is related to the fact that when I want to edit the url of a plot (from Juno data) on a saved vap file on autoplot I have this
However, I managed to fix this by changing the adress with https instead of http.
The following example scripts are not finished:
These examples need to be completed and a sample plot should be provided.
Currently the only pre-packaged version of das2py with it's das2C dependency included is an Anaconda3 package. Producing a PIP package, presumably in wheel format, is a high priority.
"Numebr of Bad Commands" is the property name for data name="bad_cmd"
Add functions that read and plot Juno/Waves/burst data from PDS (assigned to CorentinLouis)
In das2/pycdf/init.py line 3799 the use of d.dtype==numpy.object is used. This numpy.object is depreciated in all values of numpy past version 1.20 (source), and you will be unable to generate CDFs using newer versions of numpy.
The following code snippet fails with a hard segfault:
import das2
das2.convert(1.0, "us2000", "TT2000")
This is was not listed as a das2C issue because it is most likely triggered by improper module initialization.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.