Giter Site home page Giter Site logo

emit-sds-l2b's Introduction

emit-sds-l2b

NOTE - See the develop branch - set as default - for the latest updates.

Welcome to the EMIT Level Level 2B science data system repository. To understand how this repository is linked to the rest of the emit-sds repositories, please see the repository guide.

The repository supports two methods for creating mineral maps. The first method runs and post-processes the output of tetracorder, aggregating the band depth maps from individual library spectra into a combined 10-channel product that shows the band depths of the 10 EMIT mineral classes. This occurs in two main steps:

  1. Generating mineral maps via tetracorder
  2. Post-processing these maps to the EMIT-10 estimated spectral abundance

An example execution of these steps can be found in the run_tetracorder.sh script, though critically the tetracorder environment must be set up appropriatey first. See the Tetracorder repository for more info. An example call using run_tetracorder.sh might look like:

sh run_tetracorder.sh [tetracorder_output_directory] [aggregated_output_base] [l2a_reflectance_file] [l2a_reflectance_uncertainty_file] [emit_utils_path] [emit_sds_l2b_path] [tetracorder_cmd_base_path]

Ultimately, tetracorder is actually executed within the emit-main repo directly without using run_tetracorder.sh.

Before running, compile the program "specpr2envi" (navigate to Spectral-Library-Reader-master and type "make") and use it to convert the tetracorder "specpr" format library into an equivalent ENVI spectral library. Extra header fields contain critical ancillary information like the record numbers and names. This step must be repeated for each reference library used (multiple are supported). Syntax:

specpr2envi [specpr_library_path] [output_envi_library_path]

emit-sds-l2b's People

Contributors

pgbrodrick avatar davidraythompson avatar winstonolson avatar

Watchers

 avatar  avatar Mike Smyth avatar

Forkers

khondula

emit-sds-l2b's Issues

run_tetracorder.sh no output and no clear error messages

Hi,
I tried to test the emit-sds-l2b software but without success so far. I did the following:
First, I installed:

  • tetracorder5.26
  • emit-sds-l2b and emit-utils
    Second, I transformed the provided
  • EMIT_L2A_RFL_001_20240129T090901_2402906_020.nc
  • EMIT_L2A_RFLUNCERT_001_20240129T090901_2402906_020.nc
    to ENVI BIL format as it seems to be a requirement.

Third, I run the run_tetracoder.sh script that was adapted to my data and configuration:

setenv TETRA_CMDS /opt/spectroscopy-tetracorder/t1/tetracorder.cmds/tetracorder5.26e.cmds
setenv TETNCPU 8

sh run_tetracorder.sh /misc/min4/EMIT/TEST/results_karl /misc/min4/EMIT/TEST/results_karl/ag /misc/min4/EMIT/TEST/EMIT_ref.bil /misc/min4/EMIT/TEST/EMIT_ref_unc.bil /misc/min4/EMIT/emit-utils /misc/min4/EMIT/emit-sds-l2b /opt/spectroscopy-tetracorder/t1/tetracorder.cmds/tetracorder5.26e.cmds >& logfile

The logfile and the cmd.runtet.out show no error messages except that the tetracoder processing was much too fast. Error messages can only be found in the tetracorder.out file that is attached.
Unfortunately, I can't do anything with these messages. Can somebody help? Thanks!

cmd.runtet.out.txt
logfile.txt
run_tetracorder.sh.txt
tetracorder.out.txt

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.