Git Product home page Git Product logo

dswx-hls-requirement-verification's Introduction

Verification of DSWx-HLS Validation Datasets

This repository compares provisional OPERA DSWx-HLS products with validation datasets.

Setup

In your ~/.netrc, place earthdata login credentials:

machine urs.earthdata.nasa.gov
    login <username>
    password <password>

Install

It is recommended to install mamba in the user's base environment to speed up the installation process:

conda install -c conda-forge mamba

From this repo:

  1. mamba env create -f environment.yml
  2. conda activate dswx_val

To run notebook with kernel

After activatating your environment (i.e. conda activate dswx_val), then

python -m ipykernel install --user --name dswx_val

Checking All Validation Datasets with verify_all.py

Run the papermill script with:

python verify_all.py

See sample_runs.zsh for some additional ways of parametrizing the tests.

Generating the static validation_table_data.csv

This mirrors the current validation clone. To generate this table, one must additionally have:

  1. JPL VPN access and be connected to the VPN
  2. Have group access to the validation clone (that requires coordination with HySDS to be added to the appropriate LDAP group)
  3. Create a .env file with JPL credentials.

Specifically, for 3. the .env should look like

ES_USERNAME='<JPL USERNAME>'
ES_PASSWORD='<JPL PASSWORD>'

After that is done, then run the notebook _create_validation_table.ipynb to create this table.

Contributing

  1. Create a branch from dev and create a pull request.
  2. Do you development.
  3. For local git diff, use nbdiff --ignore-id as cell ids are required and updated on each change for newer versions of nbformat. Github will provide a prettier way of viewing notebook differences.
  4. Run pytest . in this repository to ensure working of the notebooks. We do not use github actions (yet).
  5. Have another member review.
  6. Make sure you don't commit to out/ directory unless you want to share your results with the larger PST team. You can manually add / commit files with git.

dswx-hls-requirement-verification's People

Contributors

alhandwerger avatar cmarshak 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.