Skip to content

Commit

Permalink
Merge pull request #8 from PalmStudio/visualization_notebook_implemen…
Browse files Browse the repository at this point in the history
…tation

Visualization_notebook_implementation
  • Loading branch information
VEZY authored Nov 6, 2024
2 parents 4c5cef9 + 9d8834b commit e42216c
Show file tree
Hide file tree
Showing 13 changed files with 1,739 additions and 2,156 deletions.
10 changes: 9 additions & 1 deletion .github/workflows/ExportNotebooks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,17 @@ jobs:
build-and-deploy:
runs-on: ubuntu-latest
steps:
- name: Checkout Fall 23 source
- name: Checkout Project
uses: actions/checkout@v2

- name: Install unzip-http
run:
pip install unzip-http

- name: Download missing file
run:
unzip-http -f https://zenodo.org/records/12704284/files/biophysics_database_palm.zip 00-data/lidar/lidar.tar.bz2

- name: 🙌 Install Julia
uses: julia-actions/setup-julia@v1
with:
Expand Down
Binary file removed 00-data/LiDAR/reconstructions.tar.bz2
Binary file not shown.
10 changes: 5 additions & 5 deletions 00-data/LiDAR/README.md → 00-data/lidar/README.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
# lidar Data

The archive `lidar_data.tar.bz2` contains the lidar data for the four plants.
The archive `lidar_data.tar.bz2` contains the lidar data for the four plants.

Each folder inside the archive is a measurement session were we scanned all four plants with a Riegl VZ400. The data here are the point clouds extracted from the raw data. The raw data are not included here for disk space reasons (44 Go). The raw data can be sent upon request.

The archive `reconstructions.zip` contains the meshes reconstructed from the point clouds. There are four folders for each plant, corresponding to the scan of the plant near a sequence of measurement. In each folder, there are several `.ply` files, *e.g.* for the first date of the first plant:
The archive `reconstructions.tar.bz2` contains the meshes reconstructed from the point clouds. There are four folders for each plant, corresponding to the scan of the plant near a sequence of measurement. In each folder, there are several `.ply` files, *e.g.* for the first date of the first plant:

- `Plant_1_15_03_2021_bulb.ply`: the mesh of the bulb
- `Plant_1_15_03_2021_bulb.ply`: the mesh of the bulb
Expand Down Expand Up @@ -32,9 +32,9 @@ mkdir -p reconstruction && tar -xjvf reconstructions.tar.bz2 -C reconstruction
```

Or using Julia:

```julia
using CodecBzip2, Tar
using CodecBzip2, Tar
# Extract the reconstructions from the tar.bz2 file:
open(Bzip2DecompressorStream, "00-data/lidar/reconstructions.tar.bz2") do io
Tar.extract(io, "00-data/lidar/reconstructions")
Expand All @@ -44,4 +44,4 @@ end
open(Bzip2DecompressorStream, "00-data/lidar/lidar.tar.bz2") do io
Tar.extract(io, "00-data/lidar/lidar")
end
```
```
4 changes: 2 additions & 2 deletions 02-climate/climate_notebook.jl
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@
#> [frontmatter]
#> title = "Climate data"
#> layout = "layout.jlhtml"
#> description = "Climate data of both chambers in the Ecotron."
#> tags = ["climate"]
#> description = "Climate data of both chambers in the Ecotron."

using Markdown
using InteractiveUtils
Expand Down Expand Up @@ -305,7 +305,7 @@ ZipFile = "~0.10.1"
PLUTO_MANIFEST_TOML_CONTENTS = """
# This file is machine-generated - editing it directly is not advised
julia_version = "1.10.4"
julia_version = "1.10.3"
manifest_format = "2.0"
project_hash = "90e8f43abb26ae0ba6e3488dffdfce9f24dcd88a"
Expand Down
2 changes: 2 additions & 0 deletions 10-reconstruction/build_opfs.jl
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
using Pkg
Pkg.develop(path="./EcotronAnalysis.jl")
using EcotronAnalysis
using GLMakie
using CSV, DataFrames, Dates
Expand Down
Loading

0 comments on commit e42216c

Please sign in to comment.