diff --git a/data/preprocessing/nutrient_load_reduction/Makefile b/data/preprocessing/nutrient_load_reduction/Makefile index ea3eb2429..9c69efba2 100644 --- a/data/preprocessing/nutrient_load_reduction/Makefile +++ b/data/preprocessing/nutrient_load_reduction/Makefile @@ -5,9 +5,9 @@ checksums_dir=../../../../h3_data_importer/data_checksums AWS_S3_BUCKET_URL=s3://landgriffon-raw-data # Targets -.PHONY: unzip-limiting-nutrient +.PHONY: unzip-limiting-nutrient process-limiting-nutrients zip-shapefile upload_results write_checksum: -all: unzip-limiting-nutrient +all: unzip-limiting-nutrient process-limiting-nutrients zip-shapefile upload_results write_checksum: # First you need to download the data manually from https://figshare.com/articles/figure/DRP_NO3_TN_TP_rasters/14527638/1?file=31154728 and save it in nutrient_load_reduction/data unzip-limiting-nutrient: diff --git a/data/preprocessing/nutrient_load_reduction/process_data.py b/data/preprocessing/nutrient_load_reduction/process_data.py index 6d6479809..e77e9dd27 100644 --- a/data/preprocessing/nutrient_load_reduction/process_data.py +++ b/data/preprocessing/nutrient_load_reduction/process_data.py @@ -1,12 +1,12 @@ """ Reads the limiting nutrients equal area vector file, reporjects the file to EPSG4326 and estimates the percentage of reduction needed to meet a good water quality conditions. Usage: -process_data.py +process_data.py Arguments: - Folder containing the limiting nutrients shapefile + Input folder containing the limiting nutrients shapefile + Output folder to export the required percentage reduction """ -import os import logging from pathlib import Path import argparse