Giter VIP home page Giter VIP logo

pygaarst's People

Contributors

chryss avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

pygaarst's Issues

NetCDF support

In raster.py, NetCDF class with basic functionality: Data access, lat, long.

refactor metadata parsing

Landsat metadata parsing is applicable to all datasets that use USGS's badly documented ODL (object description language) files. These are at the very least Landsat (4, 5, 7, 8), Hyperion and ALI.

Implement ODL MTL file parser independently of Landsat and subclass for application to individual sensors. Also implement HyperionScene and ALIScene like LandsatScene.

Make small test data

p3readiness: need to be able to test better. Make test data for:

  • Landsat
  • HDF5
  • HDF4

SMALL files, with all the metadata.

Documentation

Documentation with Sphinx for Milestone 0.5 features.

Landsatscene should have VI properties

The pygaarst.raster.Landsatscene object should have properties that return the NDVI and the NBR (raw, that is, calculated from DN, not reflectance/radiance).

GeoTIFF writing - simple

Cloning functionality: clone open GeoTiff -- same CRS, same geotransform, same resolution, pixel size (shape) -- but replace data.

Optional enhancement: save only rectangular subset -- enter top-left and bottom-right indices. Requires calculation of new geotransform.

Landsat XML reader

Hi Chris,

I'm hoping to be able to read landsat XML files associated with the landsat 8 surface reflectance product. I'm wondering if you have plans of incorporating this?

Nice work so far!

Landsatscene no longer works on new build

I am having trouble on a new build of pygaarst. An older build on another computer is still functioning properly. The Landsatscene class does not seem to be working. When I try:

sc = raster.Landsatscene(base_dir + ls_folder + ls_file_folder)

I get:

Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "pygaarst/landsat.py", line 31, in __init__
File "pygaarst/usgsl1.py", line 59, in __init__
File "pygaarst/mtlutils.py", line 377, in parsemeta
File "pygaarst/mtlutils.py", line 404, in _parsemetastream
NameError: global name 'metadatafn' is not defined

Has anyone seen this before and know what my problem may be? I might should mention I don't have the HDF libraries installed at the moment, but I can't see why that would be an issue. NumPy, GDAL, and PyProj are installed. Thanks.

Several modaps requests may return zero results

For the modapsclient requests listSatelliteInstruments, listCollections and listMapProjections, the tags (namespace prefixes) in the response aren't stable. xmlns:ax21 and xmlns:ax:27 have been seen. Instead of hardcoding those, they need to be retrieved from the root node before parsing.

Basic features for GeoTIFF

GeoTIIFF object public attributes:

  • projection (proj4)
  • units
  • X and Y meshgrids

private attributes

  • geotransform
  • top-left and bottom-right corner coordinates in length units (m, km, degrees)

@Property attributes:

  • Lat and Long meshgrids (centroids or corners)

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.