Giter Site home page Giter Site logo

pds3's Introduction

pds3 v0.2.2

Python module to read NASA Planetary Data System v3 files or data. These functions are rudimentary, and should not be used for validation.

Requires: numpy, astropy, ply.

Time fields are assumed to be on the UTC scale. I haven't verified if that assumption is valid for PDS3.

ASCII tables can be read, and there is some support for 2D images. Binary table reading is experimental (pds3.core.read_binary_table).

Problems? Please open an issue, or submit a pull request with updated code.

  • Michael S. P. Kelley, UMD

Usage

Read your label into the experimental PDS3Label class and access key values via indexing:

lbl = PDS3Label('product.lbl')
r = lbl['RECORD_LENGTH']
shape = lbl['IMAGE']['LINES'], lbl['IMAGE']['LINE_SAMPLES']

Print the full label as a string:

print(lbl)

I've tested round-tripping a short label from the International Halley Watch archive and it worked, but more testing is needed.

Caution

I hope you find pds3 useful, but use at your own risk.

pds3 does not validate files, may work for invalid files, and may not work for valid files.

pds3's People

Contributors

mkelley avatar chbrandt avatar

Watchers

James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.