Code Monkey home page Code Monkey logo

lucas2csv's Introduction

LUCAS 2 CSV

Export several columns from the Rdata-File of the LUCAS Topsoil Database 2009 to CSV files.

Description

The LUCAS 2009 TOPSOIL database is a rich dataset consisting of hyperspectral reflectance data and various soil properties data like clay, silt and sand content. This Python script extracts the several columns from the RData-file. I uploaded this script since there are no working examples for this file available yet.

The following columns are extracted:

  • sample.ID: ID of the soil sample
  • date: date and time
  • spc: hyperspectral data
  • clay: clay content in percentage
  • silt: silt content in percentage
  • sand: sand content in percentage
  • GPS_LAT: GPS latitude
  • GPS_LONG: GPS longitude

Link to the LUCAS Topsoil database: https://esdac.jrc.ec.europa.eu/content/lucas-2009-topsoil-data

Requirements

For this script, the following Python 3.x packages are needed:

  • rpy2
  • numpy
  • pandas

Usage

import lucas2csv as l2csv

lucas2csv(
    path_to_rdata_file="path/to/rdata",
    output_path="output/path/",
    verbose=1)

lucas2csv's People

Contributors

felixriese avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar

Forkers

eco2zts

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.