Skip to content

Maximum Average Distance State Prod Lh 2020

s3://trase-storage/brazil/mars_pilot/in/soy/maximum_average_distance_state_prod_lh_2020.csv

Dbt path: trase_production.main_brazil.maximum_average_distance_state_prod_lh_2020

Explore on Metabase: Full table; summary statistics

Containing yaml file link: trase/data_pipeline/models/brazil/mars_pilot/in/soy/_schema.yml

Model file link: trase/data_pipeline/models/brazil/mars_pilot/in/soy/maximum_average_distance_state_prod_lh_2020.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, in, mars_pilot, soy


maximum_average_distance_state_prod_lh_2020

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.br_cost_matrix_osrm_2019
  • source.trase_duckdb.trase-storage-raw.soy_br_2021_planted_area_ibge
  • model.trase_duckdb.trase_cost_distance_producer_to_lh
  • model.trase_duckdb.osm_br_soy_distance_matrix_step1

Sources

  • ['trase-storage-raw', 'br_cost_matrix_osrm_2019']
  • ['trase-storage-raw', 'soy_br_2021_planted_area_ibge']

No called script or script source not found.

import pandas as pd


def model(dbt, cursor):
    dbt.source("trase-storage-raw", "br_cost_matrix_osrm_2019")
    dbt.source("trase-storage-raw", "soy_br_2021_planted_area_ibge")
    dbt.ref("trase_cost_distance_producer_to_lh")
    dbt.ref("osm_br_soy_distance_matrix_step1")

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