GithubHelp home page GithubHelp logo

dylarm / parse_landsat_csv Goto Github PK

View Code? Open in Web Editor NEW
0.0 0.0 0.0 63 KB

Search bulk Landsat ARD metadata CSV files

License: Apache License 2.0

Python 100.00%
metadata parsing python python3 python37 usgs

parse_landsat_csv's People

Contributors

dylarm avatar

parse_landsat_csv's Issues

Faster file loading/parsing

Is your feature request related to a problem? Please describe.
The program takes forever to load the ARD_TILES.csv file.

Describe the solution you'd like
Either a progress bar or some sort of iterative method of loading.

Describe alternatives you've considered

  1. Find a way of having pandas tell you the progress of loading the file. Maybe by feeding it in through StringIO?
  2. Don't use pandas. Instead, just process each line on its own. The CSV file is relatively well-formatted.

Use the compressed file

Is your feature request related to a problem? Please describe.
USGS provides the metadata file as a gz-compressed CSV file. Having the extra step of decompressing it wastes disk space.

Describe the solution you'd like
Load the file as-is.

Describe alternatives you've considered

  1. Some sort of JIT decompression? Decompress only in memory.
  2. Pandas has native compression support for CSV files.

Additional context
May be difficult to do if also doing #1

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.