import act
import numpy as np
import xarray as xr
import matplotlib.pyplot as plt
import matplotlib.colors as colors
# Set your username and token here!
username = 'jlau'
token = ''
# Set the datastream and start/enddates
datastream = 'bnfparS10.b1' #specific type of data and instrument we are looking at
startdate = '2025-04-01' #date can also be changed
enddate = '2025-04-30T23:59:59'
# Use ACT to easily download the data. Watch for the data citation! Show some support
# for ARM's instrument experts and cite their data if you use it in a publication
result_par = act.discovery.download_arm_data(username, token, datastream, startdate, enddate)
datastream = 'bnfparS10.b1'
result_smp = act.discovery.download_arm_data(username, token, datastream, startdate, enddate)
[DOWNLOADING] bnfparS10.b1.20250409.000000.nc
[DOWNLOADING] bnfparS10.b1.20250428.000000.nc
[DOWNLOADING] bnfparS10.b1.20250402.000000.nc
[DOWNLOADING] bnfparS10.b1.20250414.000000.nc
[DOWNLOADING] bnfparS10.b1.20250407.000000.nc
[DOWNLOADING] bnfparS10.b1.20250420.000000.nc
[DOWNLOADING] bnfparS10.b1.20250429.000000.nc
[DOWNLOADING] bnfparS10.b1.20250416.000000.nc
[DOWNLOADING] bnfparS10.b1.20250426.000000.nc
[DOWNLOADING] bnfparS10.b1.20250424.000000.nc
[DOWNLOADING] bnfparS10.b1.20250425.000000.nc
[DOWNLOADING] bnfparS10.b1.20250427.000000.nc
[DOWNLOADING] bnfparS10.b1.20250422.000000.nc
[DOWNLOADING] bnfparS10.b1.20250413.000000.nc
[DOWNLOADING] bnfparS10.b1.20250408.000000.nc
[DOWNLOADING] bnfparS10.b1.20250421.000000.nc
[DOWNLOADING] bnfparS10.b1.20250417.000000.nc
[DOWNLOADING] bnfparS10.b1.20250406.000000.nc
[DOWNLOADING] bnfparS10.b1.20250411.000000.nc
[DOWNLOADING] bnfparS10.b1.20250412.000000.nc
[DOWNLOADING] bnfparS10.b1.20250423.000000.nc
[DOWNLOADING] bnfparS10.b1.20250418.000000.nc
[DOWNLOADING] bnfparS10.b1.20250415.000000.nc
[DOWNLOADING] bnfparS10.b1.20250430.000000.nc
[DOWNLOADING] bnfparS10.b1.20250405.000000.nc
[DOWNLOADING] bnfparS10.b1.20250419.000000.nc
[DOWNLOADING] bnfparS10.b1.20250403.000000.nc
[DOWNLOADING] bnfparS10.b1.20250410.000000.nc
[DOWNLOADING] bnfparS10.b1.20250401.000000.nc
[DOWNLOADING] bnfparS10.b1.20250404.000000.nc
If you use these data to prepare a publication, please cite:
Biraud, S., & Moyes, A. Photosynthetically Active Radiation Sensors (PAR),
2025-04-01 to 2025-04-30, Bankhead National Forest, AL, USA; Long-term Mobile
Facility (BNF), Bankhead National Forest, AL, AMF3 (Tower Site) (S10).
Atmospheric Radiation Measurement (ARM) User Facility.
[DOWNLOADING] bnfparS10.b1.20250409.000000.nc
[DOWNLOADING] bnfparS10.b1.20250428.000000.nc
[DOWNLOADING] bnfparS10.b1.20250402.000000.nc
[DOWNLOADING] bnfparS10.b1.20250414.000000.nc
[DOWNLOADING] bnfparS10.b1.20250407.000000.nc
[DOWNLOADING] bnfparS10.b1.20250420.000000.nc
[DOWNLOADING] bnfparS10.b1.20250429.000000.nc
[DOWNLOADING] bnfparS10.b1.20250416.000000.nc
[DOWNLOADING] bnfparS10.b1.20250426.000000.nc
[DOWNLOADING] bnfparS10.b1.20250424.000000.nc
[DOWNLOADING] bnfparS10.b1.20250425.000000.nc
[DOWNLOADING] bnfparS10.b1.20250427.000000.nc
[DOWNLOADING] bnfparS10.b1.20250422.000000.nc
[DOWNLOADING] bnfparS10.b1.20250413.000000.nc
[DOWNLOADING] bnfparS10.b1.20250408.000000.nc
[DOWNLOADING] bnfparS10.b1.20250421.000000.nc
[DOWNLOADING] bnfparS10.b1.20250417.000000.nc
[DOWNLOADING] bnfparS10.b1.20250406.000000.nc
[DOWNLOADING] bnfparS10.b1.20250411.000000.nc
[DOWNLOADING] bnfparS10.b1.20250412.000000.nc
[DOWNLOADING] bnfparS10.b1.20250423.000000.nc
[DOWNLOADING] bnfparS10.b1.20250418.000000.nc
[DOWNLOADING] bnfparS10.b1.20250415.000000.nc
[DOWNLOADING] bnfparS10.b1.20250430.000000.nc
[DOWNLOADING] bnfparS10.b1.20250405.000000.nc
[DOWNLOADING] bnfparS10.b1.20250419.000000.nc
[DOWNLOADING] bnfparS10.b1.20250403.000000.nc
[DOWNLOADING] bnfparS10.b1.20250410.000000.nc
[DOWNLOADING] bnfparS10.b1.20250401.000000.nc
[DOWNLOADING] bnfparS10.b1.20250404.000000.nc
If you use these data to prepare a publication, please cite:
Biraud, S., & Moyes, A. Photosynthetically Active Radiation Sensors (PAR),
2025-04-01 to 2025-04-30, Bankhead National Forest, AL, USA; Long-term Mobile
Facility (BNF), Bankhead National Forest, AL, AMF3 (Tower Site) (S10).
Atmospheric Radiation Measurement (ARM) User Facility.
par = act.io.read_arm_netcdf(result_par)
par
Loading...
par.clean.cleanup()
variable1 = 'par_1_dwell'
variable3 = 'par_3_dwell'
variable4 = 'par_4_dwell'
variable5 = 'par_5_dwell'
# Next, let's take a look at visualizing the quality control information
# Create a plotting display object with 2 plots
display = act.plotting.TimeSeriesDisplay(par, figsize=(15, 10))
# Plot up the variable in the first plot
display.plot(variable1, subplot_index=(0,), color='red')
display.plot(variable3, subplot_index=(0,), color='orange')
display.plot(variable4, subplot_index=(0,), color='yellow')
display.plot(variable5, subplot_index=(0,), color='green')
plt.show()

par.clean.cleanup()
variable2 = 'par_2_uwell'
variable6 = 'par_6_uwell'
# Next, let's take a look at visualizing the quality control information
# Create a plotting display object with 2 plots
display = act.plotting.TimeSeriesDisplay(par, figsize=(15, 10))
# Plot up the variable in the first plot
display.plot(variable2, subplot_index=(0,), color='blue')
display.plot(variable6, subplot_index=(0,), color='purple')
plt.show()
