Files
SPRUCE-scraper/config.example.yaml
T

144 lines
3.9 KiB
YAML

# RootView scraper configuration
# Copy this to config.yaml and fill in your credentials.
# config.yaml is gitignored — never commit it.
base_url: "http://205.149.147.131:8010/"
# Login credentials (same for all machines)
username: "your_username_here"
password: "your_password_here"
# Local directory where archives will be written
output_dir: "archives"
# Number of parallel download threads.
# WARNING: The RootView server is single-threaded and will time out under heavy
# load. Measured safe limit is 2 workers. Values above 4 cause cascading
# timeouts and lost tiles. Do not exceed 4.
workers: 2
# Request timeout in seconds
timeout: 60
# Delay between requests to a single machine (seconds, float ok)
request_delay: 0.5
# Write EXIF to each mosaic JPEG after download (GPS, keywords, user comment, etc.)
write_exif: true
# Per-machine plot, enclosure, treatments, WGS84 GPS, and elevation (masl) for mosaic EXIF.
# co2_treatment: ambient | elevated. enclosure: true/false (aboveground enclosure).
# Omitted or missing machines: no GPS/keywords in EXIF for that machine.
machine_metadata:
"BW1-4 [AMR-15]":
plot_number: 4
enclosure: true
temp_treatment: 4.5
co2_treatment: elevated
latitude_wgs_84: 47.5051942
longitude_wgs_84: -93.4539794
elevation_masl: 412.77
"BW1-6 [AMR-19]":
plot_number: 6
enclosure: true
temp_treatment: "+0 Blowers only"
co2_treatment: ambient
latitude_wgs_84: 47.5050653
longitude_wgs_84: -93.4534703
elevation_masl: 412.763
"BW1-7 [AMR-18]":
plot_number: 7
enclosure: false
temp_treatment: ambient
co2_treatment: ambient
latitude_wgs_84: 47.5049308
longitude_wgs_84: -93.4531358
elevation_masl: 412.807
"BW2-8 [AMR-25]":
plot_number: 8
enclosure: true
temp_treatment: 6.75
co2_treatment: ambient
latitude_wgs_84: 47.5055697
longitude_wgs_84: -93.4538811
elevation_masl: 412.778
"BW2-10 [AMR-22]":
plot_number: 10
enclosure: true
temp_treatment: 9
co2_treatment: elevated
latitude_wgs_84: 47.5054358
longitude_wgs_84: -93.4532131
elevation_masl: 412.835
"BW2-11 [AMR-23]":
plot_number: 11
enclosure: true
temp_treatment: 2.25
co2_treatment: elevated
latitude_wgs_84: 47.5053442
longitude_wgs_84: -93.4526772
elevation_masl: 412.858
"BW2-13 [AMR-24]":
plot_number: 13
enclosure: true
temp_treatment: 4.5
co2_treatment: ambient
latitude_wgs_84: 47.5057086
longitude_wgs_84: -93.4530022
elevation_masl: 412.856
"BW3-16 [AMR-16]":
plot_number: 16
enclosure: true
temp_treatment: 6.75
co2_treatment: elevated
latitude_wgs_84: 47.5060981
longitude_wgs_84: -93.4531872
elevation_masl: 412.953
"BW3-17 [AMR-20]":
plot_number: 17
enclosure: true
temp_treatment: 9
co2_treatment: ambient
latitude_wgs_84: 47.5059761
longitude_wgs_84: -93.4527164
elevation_masl: 412.978
"BW3-19 [AMR-21]":
plot_number: 19
enclosure: true
temp_treatment: "+0 Blowers only"
co2_treatment: elevated
latitude_wgs_84: 47.5064783
longitude_wgs_84: -93.4534736
elevation_masl: 412.977
"BW3-20 [AMR-26]":
plot_number: 20
enclosure: true
temp_treatment: 2.25
co2_treatment: ambient
latitude_wgs_84: 47.5063689
longitude_wgs_84: -93.4531658
elevation_masl: 412.944
"BW3-21 [AMR-17]":
plot_number: 21
enclosure: false
temp_treatment: ambient
co2_treatment: ambient
latitude_wgs_84: 47.5062539
longitude_wgs_84: -93.4527486
elevation_masl: 412.908
# Optional: limit to specific machines by label (comment out to scrape all)
# machines:
# - "BW1-4 [AMR-15]"
# - "BW1-6 [AMR-19]"
# - "BW1-7 [AMR-18]"
# - "BW2-8 [AMR-25]"
# - "BW2-10 [AMR-22]"
# - "BW2-11 [AMR-23]"
# - "BW2-13 [AMR-24]"
# - "BW3-16 [AMR-16]"
# - "BW3-17 [AMR-20]"
# - "BW3-19 [AMR-21]"
# - "BW3-20 [AMR-26]"
# - "BW3-21 [AMR-17]"