Giter Club home page Giter Club logo

cmr-association-diff's Introduction

cmr-association-diff

Python tool to compare tools and services collection associations in a text file to those in CMR. Results are collections in CMR and NOT in text file. Either concept id or provider and name is needed to run the command line tool.

Usage

$ cmr_association_diff --help
usage: cmr_association_diff [-h] [-c] -e uat or ops [-p] [-n] -t
                            {tool,service} -a associations.txt
                            [-o OUTPUT_FILE]

Update CMR with latest profile

optional arguments:
  -h, --help            show this help message and exit
  -c , --concept_id     Concept id of umm to poll (default: None)
  -e uat or ops, --env uat or ops
                        CMR environment used to pull results from. (default:
                        None)
  -p , --provider       Provider of the umm (default: None)
  -n , --umm_name       Name of the umm tool or service (default: None)
  -t {tool,service}, --type {tool,service}
                        type of umm to poll (default: None)
  -a associations.txt, --assoc associations.txt
                        Association concept ID or file containing many concept
                        IDs to be associated with UMM provided. (default:
                        None)
  -o OUTPUT_FILE, --output_file OUTPUT_FILE
                        File to output to (default: None)

Example:

Tools

Using concept id

cmr_association_diff -c TL1240538128-POCLOUD -e uat -t tool -a hitide_uat_associations.txt

Using provider and name

cmr_association_diff -e uat -t tool -a hitide_uat_associations.txt -p POCLOUD -n hitide

Services

Using concept id

cmr_association_diff -c S1234899453 -e uat -t service -a hitide_uat_associations.txt

Using provider and name

cmr_association_diff -e uat -t service -a hitide_uat_associations.txt -p POCLOUD -n podaac_l2_cloud_subsetter

cmr-association-diff's People

Contributors

jamesfwood avatar skorper avatar sliu008 avatar

Stargazers

 avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

cmr-association-diff's Issues

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.