Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions .buildkite/pipeline.yml
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,10 @@ steps:
command: "julia --color=yes --project=.buildkite experiments/integrated/fluxnet/run_fluxnet.jl US-Ha1"
artifact_paths: "experiments/integrated/fluxnet/US-Ha1/out/*png"

- label: "emr_test"
command: "julia --color=yes --project=.buildkite experiments/integrated/fluxnet/run_any_fluxnet.jl AU-Emr"
artifact_paths: "experiments/integrated/fluxnet/AU-Emr/out/*png"

- label: "ozark_pft"
command: "julia --color=yes --project=.buildkite experiments/integrated/fluxnet/ozark_pft.jl"
artifact_paths: "experiments/integrated/fluxnet/US-MOz/pft/out/*png"
Expand Down
15 changes: 9 additions & 6 deletions Artifacts.toml
Original file line number Diff line number Diff line change
Expand Up @@ -50,17 +50,17 @@ git-tree-sha1 = "136f1db3ed969614fb589c5250545a3ed1e8aaab"
url = "https://caltech.box.com/shared/static/of1admpndmikoumtgk5j3yvt92v71awk.gz"

["clm_data_0.9x1.25"]
git-tree-sha1 = "283c62220fca8c4afe36a62348d3e9a159af2ee9"
git-tree-sha1 = "38488be5dd476890deb6fbd2b26e3e1cee2d449e"

[["clm_data_0.9x1.25".download]]
sha256 = "88d5899a729de800017a74bd8a7278582c2c55c0d8730a529bae384425d70e4e"
url = "https://caltech.box.com/shared/static/mxs3l1c1dppjwy81assk8w8ofn9d70pu.gz"
sha256 = "cb5ead78868243879261d26cbb42d665bfd98135ebbebc052487d4d13ebf3a98"
url = "https://caltech.box.com/shared/static/6ms2qzyiekorksewmfyie6mbonlq5ctp.gz"
["clm_data_0.125x0.125"]
git-tree-sha1 = "6284ddefbc7937d9c1fb68fa731ff3f00b68e917"
git-tree-sha1 = "b8816f0af2c6d182111a156c3b8eed2ed83efea7"

[["clm_data_0.125x0.125".download]]
sha256 = "8d2a61baad53346515f4a66c4342f8aafce37ca9520020c17f99cc4f4aa98b15"
url = "https://caltech.box.com/shared/static/uteaw1l6fg7wmwhb3ey1c0jq4r8vg0ts.gz"
sha256 = "993b5b97b6ec22ec484db4e523b65a231d736ead8b5e0759ad3abd00050bb58c"
url = "https://caltech.box.com/shared/static/fx9138ysguyg4g65l4tvibbk16er0nqo.gz"
[era5_land_forcing_data2008]
git-tree-sha1 = "93d2e93f491e77cb8fba2a1b8b3946f38bde469e"
[era5_land_forcing_data2008_lowres]
Expand Down Expand Up @@ -195,3 +195,6 @@ git-tree-sha1 = "c35ba0e899040cb8153226ab751f69100f475d39"
[[mizoguchi_soil_freezing_data.download]]
sha256 = "0027cc080ba45ba33dc790b176ec2854353ce7dce4eae4bef72963b0dd944e0b"
url = "https://caltech.box.com/shared/static/tn1bnqjmegyetw5kzd2ixq5pbnb05s3u.gz"

[fluxnet2015]
git-tree-sha1 = "94d6eb8e3bc5fc361a43597ab4fb6941bdbe2850"
Original file line number Diff line number Diff line change
Expand Up @@ -78,8 +78,10 @@ site_ID_val = FluxnetSimulations.replace_hyphen(site_ID)
(; atmos_h) = FluxnetSimulations.get_fluxtower_height(FT, Val(site_ID_val))

# Get maximum simulation start and end dates
(start_date, stop_date) =
FluxnetSimulations.get_data_dates(site_ID, time_offset)
(data_start, data_stop) = FluxnetSimulations.get_data_dates(site_ID, time_offset)
# Constrain to 2000-2020 (MODIS LAI availability) and skip first day
# so TimeVaryingInputs have data before t=0 even if initial rows are missing
start_date = max(data_start + Day(1), DateTime(2000, 1, 1))
stop_date = DateTime(2010, 4, 1, 6, 30) # Set the stop date manually
Δt = 450.0 # seconds

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -53,8 +53,11 @@ site_ID_val = FluxnetSimulations.replace_hyphen(site_ID);
(; atmos_h) = FluxnetSimulations.get_fluxtower_height(FT, Val(site_ID_val));
# Set a start and stop date of the simulation in UTC, as well as
# a timestep in seconds
(start_date, stop_date) =
FluxnetSimulations.get_data_dates(site_ID, time_offset);
(data_start, data_stop) = FluxnetSimulations.get_data_dates(site_ID, time_offset);
# Constrain to 2000-2020 (MODIS LAI availability) and skip first day
# so TimeVaryingInputs have data before t=0 even if initial rows are missing
start_date = max(data_start + Day(1), DateTime(2000, 1, 1))
stop_date = min(data_stop, DateTime(2020, 12, 31, 23, 59, 59))
Δt = 450.0;

# Setup the domain for the model. This corresponds to
Expand Down
7 changes: 5 additions & 2 deletions docs/src/tutorials/integrated/fluxnet_data.jl
Original file line number Diff line number Diff line change
Expand Up @@ -48,8 +48,11 @@ site_ID_val = FluxnetSimulations.replace_hyphen(site_ID)

# It is also useful to know the bounds of the data,
# in UTC, to use as the start and stop date of the simulation.
(start_date, stop_date) =
FluxnetSimulations.get_data_dates(site_ID, time_offset)
(data_start, data_stop) = FluxnetSimulations.get_data_dates(site_ID, time_offset)
# Constrain to 2000-2020 (MODIS LAI availability) and skip first day
# so TimeVaryingInputs have data before t=0 even if initial rows are missing
start_date = max(data_start + Day(1), DateTime(2000, 1, 1))
stop_date = min(data_stop, DateTime(2020, 12, 31, 23, 59, 59))

# Now we can construct the forcing objects. Under the hood, this
# function finds the local path to the fluxtower data (and downloads it
Expand Down
7 changes: 5 additions & 2 deletions docs/src/tutorials/integrated/snowy_land_fluxnet_tutorial.jl
Original file line number Diff line number Diff line change
Expand Up @@ -48,8 +48,11 @@ site_ID_val = FluxnetSimulations.replace_hyphen(site_ID);
(; atmos_h) = FluxnetSimulations.get_fluxtower_height(FT, Val(site_ID_val));
# Set a start and stop date of the simulation in UTC, as well as
# a timestep in seconds
(start_date, stop_date) =
FluxnetSimulations.get_data_dates(site_ID, time_offset)
(data_start, data_stop) = FluxnetSimulations.get_data_dates(site_ID, time_offset);
# Constrain to 2000-2020 (MODIS LAI availability) and skip first day
# so TimeVaryingInputs have data before t=0 even if initial rows are missing
start_date = max(data_start + Day(1), DateTime(2000, 1, 1))
stop_date = min(data_stop, DateTime(2020, 12, 31, 23, 59, 59))
Δt = 450.0;

# Setup the domain for the model. This corresponds to
Expand Down
7 changes: 5 additions & 2 deletions experiments/integrated/fluxnet/ozark_pft.jl
Original file line number Diff line number Diff line change
Expand Up @@ -103,8 +103,11 @@ prognostic_land_components = (:canopy, :soil, :soilco2)

# Set up the timestepping information for the simulation
dt = Float64(450) # 7.5 minutes
(start_date, stop_date) =
FluxnetSimulations.get_data_dates(site_ID, time_offset)
(data_start, data_stop) = FluxnetSimulations.get_data_dates(site_ID, time_offset)
# Constrain to 2000-2020 (MODIS LAI availability) and skip first day
# so TimeVaryingInputs have data before t=0 even if initial rows are missing
start_date = max(data_start + Day(1), DateTime(2000, 1, 1))
stop_date = min(data_stop, DateTime(2020, 12, 31, 23, 59, 59))
# Define the PFT land cover percentages for the Ozark site. Currently we only
# use the dominant PFT, which for Ozark is deciduous broadleaf temperate trees.
pft_pcts = [
Expand Down
7 changes: 5 additions & 2 deletions experiments/integrated/fluxnet/ozark_pmodel.jl
Original file line number Diff line number Diff line change
Expand Up @@ -95,8 +95,11 @@ dt = Float64(450) # 7.5 minutes

# This reads in the data from the flux tower site and creates
# the atmospheric and radiative driver structs for the model
(start_date, stop_date) =
FluxnetSimulations.get_data_dates(site_ID, time_offset)
(data_start, data_stop) = FluxnetSimulations.get_data_dates(site_ID, time_offset)
# Constrain to 2000-2020 (MODIS LAI availability) and skip first day
# so TimeVaryingInputs have data before t=0 even if initial rows are missing
start_date = max(data_start + Day(1), DateTime(2000, 1, 1))
stop_date = min(data_stop, DateTime(2020, 12, 31, 23, 59, 59))
# This reads in the data from the flux tower site and creates
# the atmospheric and radiative driver structs for the model
(; atmos, radiation) = FluxnetSimulations.prescribed_forcing_fluxnet(
Expand Down
7 changes: 5 additions & 2 deletions experiments/integrated/fluxnet/ozark_soilsnow.jl
Original file line number Diff line number Diff line change
Expand Up @@ -97,8 +97,11 @@ dt = Float64(900)

# This reads in the data from the flux tower site and creates
# the atmospheric and radiative driver structs for the model
(start_date, stop_date) =
FluxnetSimulations.get_data_dates(site_ID, time_offset)
(data_start, data_stop) = FluxnetSimulations.get_data_dates(site_ID, time_offset)
# Constrain to 2000-2020 (MODIS LAI availability) and skip first day
# so TimeVaryingInputs have data before t=0 even if initial rows are missing
start_date = max(data_start + Day(1), DateTime(2000, 1, 1))
stop_date = min(data_stop, DateTime(2020, 12, 31, 23, 59, 59))

# Height of sensor on flux tower
atmos_h = FT(32)
Expand Down
Loading
Loading