Skip to main content
Help us improve Python packaging – donate today!

This will check for cdfs on your computer. If they don't exist, or there's an updated version on the server, it will download from the server. It will then load the cdfs using spacepy.pycdf, and place them into a dictionary.

Project Description

# getCDFs
This will check for cdfs on your computer. If they don't exist, or there's an updated version on the server, it will download from the server. It will then load the cdfs using spacepy.pycdf, and place them into a dictionary.

##Usage:
getCDFs(getCDFs(datetime, string, string, **kw):

date: Python datetime object containing the date that you want cdfs for.
craft: character - 'A' or 'B'.
species: character - 'H', 'He', or 'O'.
RBlevel: string - RBSPICE data level; '3PAP', '3', '2', '1', or '0'
Hlevel: string - HOPE data level; '3', or '2'
Hproduct: string - If using, HOPE level 3 data, which product; 'PA' or 'MOM'
Maglevel: string - MagEIS data level; '3', or '2'
EMlevel: string - EMFISIS data level; '4', '3', or '2'
PH: string describing which Time of Flight by Pulse Height product you want:
'LEHT'(Low Energy, High Time resolution) or 'HELT'(High Energy, Low Time resolution).
EMF: string describing which EMFISIS product you want:
('1sec', '4sec', or 'hires')+'-'+('gei', 'geo', 'gse', 'gsm', or 'sm').
check: When True, it will query the server for updated versions.
If False, then the server will not be queried at all.
If you don't have the file on your computer, it will not be downloaded.
Set this keyword to False if you do not have internet access.
The last five keywords describe which data product you want.
All is default, but if you set any one or more of them to True, will override this.

Returns: Python dictionary containing spacepy cdf objects.
Keys are 'TOFxE', 'TOFxPH', 'HOPE', 'MagEIS', and 'EMFISIS'

changeRoot()

On the first run, you will be asked to set a root directory where your files will be stored.
This function will allow you to change this.

Release history Release notifications

This version
History Node

1.15

History Node

1.14

History Node

1.13

History Node

1.12

History Node

1.11

History Node

1.10

History Node

1.9

History Node

1.8

History Node

1.7

History Node

1.6

History Node

1.5

History Node

1.4

History Node

1.3

History Node

1.2

History Node

1.1

History Node

1.0

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Filename, size & hash SHA256 hash help File type Python version Upload date
getCDFs-1.15.tar.gz (4.5 kB) Copy SHA256 hash SHA256 Source None May 31, 2017

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging CloudAMQP CloudAMQP RabbitMQ AWS AWS Cloud computing Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page