Science Score: 36.0%

This score indicates how likely this project is to be science-related based on various indicators:

  • CITATION.cff file
  • codemeta.json file
    Found codemeta.json file
  • .zenodo.json file
    Found .zenodo.json file
  • DOI references
  • Academic publication links
  • Committers with academic emails
    4 of 25 committers (16.0%) from academic institutions
  • Institutional organization owner
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (14.6%) to scientific vocabulary
Last synced: 10 months ago · JSON representation

Repository

Basic Info
  • Host: GitHub
  • Owner: precision-sustainable-ag
  • License: mit
  • Language: JavaScript
  • Default Branch: develop
  • Homepage: https://covercrop-selector.org
  • Size: 839 MB
Statistics
  • Stars: 3
  • Watchers: 5
  • Forks: 1
  • Open Issues: 7
  • Releases: 0
Created almost 4 years ago · Last pushed 10 months ago
Metadata Files
Readme Contributing License

README.md

Cover Crop Species Selector Decision Support Tool

The species selector DST is used to help farmers select a cover crop that fits their goals and constraints. The user can either input specifics about their field location and cover cropping goals or explore cover crops without entering those details. The tool is mainly used to explore expert reccomendations and ratings for cover crops in the farmer's USDA Plant Hardiness Zone. This allows farmers to make educated decisions that are best suited for their specific goals and can save time as opposed to calling the extension office.

Support for this project is brought to us by Agricultural Informatics Lab, NE SARE, USDA NRCS, NECCC, and the Precision Sustainable Agriculture.

To access the live tool, visit https://covercrop-selector.org/.
To see development progress, visit https://develop.covercrop-selector.org/
For in depth documentation see the wiki pages.

Date Created: 08/18/22

Date Last Modified: 05/30/2025

Table of Contents:

Tech stack

  • Single page application made in React.js
  • Ratings and zone info verified via Airtable and then ingested into a PostgreSQL database and served up using a Node.js API

Local Installation Steps

Prerequisites:

  1. Node and NPM Download Here
  2. Git Download Here
  3. A code editor (we recommend VS Code) Download Here

Steps:

  1. Open a new Terminal for Mac/Linux or Command Prompt for Windows
  2. Move to the desired folder cd /path/to/folder
  3. Clone this repository into that folder git clone https://github.com/precision-sustainable-ag/dst-selector
  4. From the Terminal/Command Prompt, move into the cloned directory cd dst-selector
  5. From the same command window, run npm install to install project dependencies. A full list of the dependencies can be found in package.json. If you are running on a windows machine delete package-lock.json prior to running the below command.
  6. Create a file called .env in root directory (dst-selector). The file will contain the below keys. This document is in the git ignore, so it (and your API keys) won't be pushed to the repository. Ask @mikahpinegar or Adam Smith for the values of the keys

    VITE_API_AUTH0_DOMAIN="<auth0 domain>" VITE_API_AUTH0_CLIENT_ID="<auth0 client id>" VITE_API_AUTH0_AUDIENCE="<auth0 audience>" VITE_API_USER_HISTORY_API_URL="<user history url>" VITE_API_USER_HISTORY_SCHEMA="<schema>" VITE_API_RELEASE_NOTES="<Release Notes URL>" VITE_API_MAPBOX_TOKEN="<mabox token>" VITE_AUTH0_USERNAME="<auth0 username>" VITE_AUTH0_PASSWORD="<auth0 password>"

  7. After the dependencies have been installed and the .env file has been created, run npm start to run the code locally. If you run into any issues take a look in the Runbook for previous issues and solutions. This will compile the JSX code into Javascript and open up a new browser window with the current version of the covercrops project!

Running in docker:

Run ./start_script.sh Run open http://localhost:3000

Runbook

Symptom: Node sass not supported on Mac OS Error: Node Sass does not yet support your current environment: OS X 64-bit with Unsupported runtime (88)

Solution: npm rebuild node-sass

Symptom: After running npm install you might run into an Error E404 - Not Found - GET https://registry.npmjs.org/@psa%2fdst.ui.map - Not found

Solution: Follow these steps:

  1. Install the react-scripts package using npm install react-scripts --save
  2. Run npm start

Line Spacing Set Line spacing (CRLF -> LF) git config core.autocrlf false git rm --cached -r . git reset --hard

Unit Testing

To run the Cypress client npx cypress open --config-file=dev.config.js

Helpful Links

Confluence Links Development Best Practices Design Best Practaces ESLint Release Notes User History

Recomended Development Tools VSCode Cursor

Owner

  • Name: Precision Sustainable Ag
  • Login: precision-sustainable-ag
  • Kind: organization

Coordinated agricultural research, on-farm monitoring, decision support tools and shared analytical environments

GitHub Events

Total
  • Create event: 92
  • Issues event: 174
  • Watch event: 2
  • Delete event: 96
  • Member event: 4
  • Issue comment event: 412
  • Push event: 340
  • Pull request review comment event: 34
  • Pull request review event: 146
  • Pull request event: 218
Last Year
  • Create event: 92
  • Issues event: 174
  • Watch event: 2
  • Delete event: 96
  • Member event: 4
  • Issue comment event: 412
  • Push event: 340
  • Pull request review comment event: 34
  • Pull request review event: 146
  • Pull request event: 218

Committers

Last synced: about 1 year ago

All Time
  • Total Commits: 2,142
  • Total Committers: 25
  • Avg Commits per committer: 85.68
  • Development Distribution Score (DDS): 0.754
Past Year
  • Commits: 526
  • Committers: 11
  • Avg Commits per committer: 47.818
  • Development Distribution Score (DDS): 0.561
Top Committers
Name Email Commits
Rohit Bandooni r****o@n****u 526
Mikah Pinegar 5****r 436
YazidZidane x****8@g****m 360
Adam Smith a****3@g****m 355
ameyachavan007 c****7@g****m 78
drewlearns d****s@h****m 51
Rick Hitchcock r****k@o****m 44
Ravi Ghevariya r****0@g****m 43
Brennen Farrell b****2@n****u 34
Boscosylvester John Chittilapilly b****n@g****m 33
Diksha Maurya m****0@g****m 29
ssharm1524 s****5@g****m 28
dearpriyankasa d****a@g****m 28
Akshat Savla a****2@g****m 24
Nisarg Prajapati n****1@g****m 23
Jinam Shah j****7@g****m 12
milad m****d@n****u 8
mil m****l@m****l 7
Boscosylvester John Chittilapilly b****i@n****u 6
sudokita s****a@g****m 4
Juliet Norton j****n@g****m 4
Neel Shah s****r@g****m 3
Rohit Bandooni r****o@C****l 2
root r****t@c****s 2
Aaron Zeng a****3@g****m 2
Committer Domains (Top 20 + Academic)

Issues and Pull Requests

Last synced: 10 months ago

All Time
  • Total issues: 207
  • Total pull requests: 441
  • Average time to close issues: about 1 month
  • Average time to close pull requests: 5 days
  • Total issue authors: 11
  • Total pull request authors: 12
  • Average comments per issue: 0.31
  • Average comments per pull request: 4.28
  • Merged pull requests: 392
  • Bot issues: 0
  • Bot pull requests: 0
Past Year
  • Issues: 128
  • Pull requests: 265
  • Average time to close issues: 20 days
  • Average time to close pull requests: 4 days
  • Issue authors: 9
  • Pull request authors: 9
  • Average comments per issue: 0.23
  • Average comments per pull request: 3.26
  • Merged pull requests: 231
  • Bot issues: 0
  • Bot pull requests: 0
Top Authors
Issue Authors
  • Adamws33 (98)
  • mikahpinegar (49)
  • julietnpn (21)
  • YazidZidane (13)
  • saseehav (9)
  • eseyler1213 (5)
  • trevorjpuckett (5)
  • akshat22 (3)
  • brianwdavis (2)
  • shannon-gt (1)
  • ravighevariya10 (1)
Pull Request Authors
  • YazidZidane (110)
  • mikahpinegar (90)
  • Adamws33 (71)
  • ravighevariya10 (52)
  • ameyachavan007 (27)
  • BrennenFa (24)
  • Diksha-Maurya (22)
  • akshat22 (21)
  • nisarg210 (15)
  • jinamshah (4)
  • rickhitchcock (3)
  • boscosylvester-john (2)
Top Labels
Issue Labels
bug (19) WCCC Planning (4) enhancement (2) FAQ (1) documentation (1) duplicate (1) good first issue (1) On Hold (1)
Pull Request Labels
bug (7) enhancement (4) styling - epic (2)

Dependencies

package.json npm
  • @babel/plugin-proposal-export-default-from ^7.18.10 development
  • @types/react-leaflet ^2.8.2 development
  • sass ^1.54.0 development
  • sass-loader ^13.0.2 development
  • webpack ^5.74.0 development
  • @emotion/react ^11.10.0
  • @emotion/styled ^11.10.0
  • @mui/icons-material ^5.8.4
  • @mui/lab ^5.0.0-alpha.93
  • @mui/material ^5.9.3
  • @mui/styles ^5.9.3
  • autosuggest-highlight ^3.1.1
  • axios ^0.21.4
  • bootstrap ^4.5.2
  • date-fns ^2.29.1
  • jszip ^3.5.0
  • jszip-utils ^0.1.0
  • leaflet ^1.7.1
  • leaflet-control-geocoder ^2.4.0
  • leaflet-draw ^1.0.4
  • lodash ^4.17.20
  • mdbreact ^4.24.0
  • moment ^2.24.0
  • moment-timezone ^0.5.28
  • notistack ^2.0.5
  • prop-types ^15.7.2
  • react ^17.0.0
  • react-date-range ^1.4.0
  • react-dom ^17.0.0
  • react-ga ^3.3.0
  • react-leaflet ^3.2.1
  • react-leaflet-draft ^1.1.0
  • react-movable ^2.4.0
  • react-router-dom ^5.1.2
  • react-scripts 5.0.1
  • sass-mediaqueries ^1.6.1
  • save-as ^0.1.8
.github/workflows/azure-static-web-apps-polite-rock-0c9dd1f10.yml actions
  • Azure/static-web-apps-deploy v1 composite
  • actions/checkout v2 composite
Dockerfile docker
  • nginx 1.23.1-alpine build
  • node 18 build
.github/workflows/publish_issues.yml actions
  • actions/create-github-app-token v1 composite