Tablero de Rindes


image

This microservice generates a summary dashboard of yield data uploaded to 360, developed with Streamlit and Python

Try Demo App · Report Bug · Request Feature

Table of Contents
  1. About The Project
  2. Getting Started
  3. Roadmap and Related documentation
  4. Contact

About the Project

This microservice generates a summary dashboard of Fields and Crops data uploaded to 360, based on the selected Domain, Area(s), Workspace(s), Season(s), and Farm(s), Crop(s), Hybrid(s)/Variety(ies) and Yield Layer(s).

Product Name Screen Shot

1. Filters (Sidebar):

Users can filter data according to Domain, Area(s), Workspace(s), Season(s), Farm(s), Crop(s), Hybrid(s)/Variety(ies) and Yield Layer(s). An option to "select all" is available for all categories. Additionally, the sidebar includes a color palette selector for use in the charts.

2. Upper Section:

This section includes the Domain logo, the dashboard title, a language selector, and user information.

3. Metrics:

Coming soon.

4. Charts and Maps:

Sub Filters:

Users can group information according to Area, Workspace, Season, Farm, Crop, and Hybrid/Variety. This grouping will be the basis for visualizations in the following charts.

Bar Chart 1 - Adjusted Average Yield by Farm:

Displays a bar chart for each layer of yields, grouped according to the previously selected grouping value. The bars are ordered from highest to lowest yield.

Bar Chart 2 - Weighted Yield by Farm:

Shows a bar chart with the weighted average yield value for each unique value of the selected grouping field. It maintains the same order as the previous chart.

Map:

Displays the centroid of each yield layer, grouped according to the selected grouping field. They maintain the same order and symbolism as the previous charts. Additionally, it is possible to change the background map and view a heatmap generated from the yield values of each layer.

5. Download:

Enables downloading the information used in the analysis as a CSV file according to the filters in the sidebar.

Coming soon, it will allow downloading a PDF printout of the dashboard.

(back to top)

Arquitechture Diagram

arquitectura

Description

  1. The user must login in 360.geoagro.com.

  2. In the switcher (up-right corner) must select "___________".

  3. It opens the url with two tokens, token1 has an info of user like:

    user_info={'email': user_email, 'language': 'es', 'env': 'prod', 'domainId': None, 'areaId': None, 'workspaceId': None, 'seasonId': None, 'farmId': None}

  4. An Application Load Balancer take the request and send to fargate.

  5. In fargate, the dashboard is running troughby docker as service.

(back to top)

Built With

  • Python
  • Docker
  • Streamlit
  • Plotly
  • Pandas
  • GeoPandas
  • Folium

(back to top)

Getting Started

To get a local copy up and running follow these simple example steps.

Installation

  1. Clone the repo
    git clone https://github.com/marianobonelli/tablero_rindes_streamlit.git
  2. Install dependencies
      pip3 install -r requirements.txt
  3. Execute
      streamlit python3 tablero_rindes_st.py 

(back to top)

Usage

Uncomment lines __ to __ and Comment lines __ to __.

In this way, the app runs with info presetted in user_info (Please, use your email).

Run:

   http://localhost:5000/

(back to top)

Roadmap and Related documentation

Tablero de Rindes

(back to top)

Contact

Mariano Bonelli

Email Badge LinkedIn Badge Twitter Badge

Adrian Cuello (API)

Email Badge

(back to top)