Skip to content

Risk Classification Brazil Soy 2019 Grid Aggregation

s3://trase-storage/brazil/risk_threshold/soy/out/risk_classification_brazil_soy_2019_grid_aggregation.csv

Dbt path: trase_production.main_brazil.risk_classification_brazil_soy_2019_grid_aggregation

Explore on Metabase: Full table; summary statistics

Containing yaml file link: trase/data_pipeline/models/brazil/risk_threshold/soy/out/_schema.yml

Model file link: trase/data_pipeline/models/brazil/risk_threshold/soy/out/risk_classification_brazil_soy_2019_grid_aggregation.py

Calls script: trase\tools\aws\metadata.py

Dbt test runs & lineage: Test results ยท Lineage

Full dbt_docs page: Open in dbt docs (includes lineage graph -at the bottom right-, tests, and downstream dependencies)

Tags: mock_model, brazil, out, risk_threshold, soy


risk_classification_brazil_soy_2019_grid_aggregation

Description

This model was auto-generated based off .yml 'lineage' files in S3. The DBT model just raises an error; the actual script that created the data lives elsewhere. The script is located at trase/tools/aws/metadata.py [permalink]. It was last run by Osvaldo Pereira.


Details

Column Type Description

Models / Seeds

  • source.trase_duckdb.trase-storage-raw.soy_export_2014_2019_trasev2_v0
  • source.trase_duckdb.trase-storage-raw.ibge_soy_production_grid_scale_2020

Sources

  • ['trase-storage-raw', 'soy_export_2014_2019_trasev2_v0']
  • ['trase-storage-raw', 'ibge_soy_production_grid_scale_2020']

No called script or script source not found.

import pandas as pd


def model(dbt, cursor):
    dbt.source("trase-storage-raw", "soy_export_2014_2019_trasev2_v0")
    dbt.source("trase-storage-raw", "ibge_soy_production_grid_scale_2020")

    raise NotImplementedError()
    return pd.DataFrame({"hello": ["world"]})