About Anaconda Help Download Anaconda

An efficient space physics data client for python

Installers

  • win-64 v3.0.4
  • linux-64 v3.0.4
  • osx-arm64 v2.3.1
  • osx-64 v2.3.1

conda install

To install this package run one of the following:
conda install dasdevelopers::das2py

Description

This version of das2py provides support for dasStream version 3.0 while retaining backwards compatability to v2.3. If you have existing source code based on das2py, change calls of the form:

lDs = das2.read_http()

to

dHdr, lDs = das2.read_http()

because the stream header is returned as it's own dictionary instead of being merged into each dataset in the stream.

das2py versioning has been reset to match the github project and has switched to semantic versioning. Please issue:

conda remove das2py
conda install dasdevelopers::das2py

to update. This will provide version github tag 3.0-pre1, which is the newest release.

To test stream verification issue:

wget https://raw.githubusercontent.com/das-developers/das2py/main/test/ex96_yscan_multispec.d2t
das_verify ex96_yscan_multispec.d2t

To test plot generation issue:

conda install matplotlib   # <-- if not already present
wget https://raw.githubusercontent.com/das-developers/das2py/main/examples/ex09_cassini_fce_ephem_ticks.py
python ex09_cassini_fce_ephem_ticks.py 2017-09-14
okular cas_mag_fce_2017-09-14.png (or whichever PNG viewer you like)

You should get the same plot as the one the one on github

Thanks for trying das2py v3 :)


© 2025 Anaconda, Inc. All Rights Reserved. (v4.0.7) Legal | Privacy Policy