You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: NOTES.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -2,7 +2,7 @@
2
2
3
3
## 2026-02-08
4
4
5
-
* In January 2026, the solver stopped solving. It was also getting long, over an hour. I broke the environment.yml into 5 smaller files and add these sequentially to the conda notebook env. This seemed to fix the impossible to solve environment.
5
+
* In January 2026, the solver stopped solving. It was also getting long, over an hour. I broke the main environment file into 5 smaller files (environment/env-*.yml) and add these sequentially to the conda notebook env. This seemed to fix the impossible to solve environment.
6
6
* Removed some unneeded packages
7
7
* The R package installs were messed up. First install_geospatial.sh needs to be run first. Then other packages.
8
8
- When I fixed the problem of installs going to /home (and then getting wiped out), I caused installs via install-r-packages.sh to go to source rather than binary.
Copy file name to clipboardExpand all lines: README.md
+6-6Lines changed: 6 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -16,7 +16,7 @@ TeXLive and Quarto are installed along with MyST and JupyterBook.
16
16
17
17
Python 3.11 is installed with a conda environment called notebook that is activated on opening the container. R 4.5.X is installed and operates separate from the conda notebook environment (conda is not on the PATH when using R). R can be used from RStudio or JupyterLab and the same R environment is used.
*[Pinned Python packages](packages-python-pinned.yaml) - Auto-generated list of all Python packages with pinned versions
22
22
*[Pinned R packages](packages-r-pinned.R) - Auto-generated list of all R packages with pinned versions
@@ -29,7 +29,7 @@ Python 3.11 is installed with a conda environment called notebook that is activa
29
29
30
30
## Customizing py-rocket-geospatial-2
31
31
32
-
* edit the Python packages here `env-*.yml`
32
+
* edit the Python packages here `environment/env-*.yml`
33
33
* edit the R packages here `install.R`
34
34
* update the QGIS, CoastWatch Utilities, and Panoply installs here `Dockerfile`
35
35
* update the systems installs here `apt.txt`
@@ -39,16 +39,16 @@ If the changes are core functionality, not scientific, put in an [issue in py-ro
39
39
### Package Pinning and Validation
40
40
41
41
The repository automatically maintains pinned package versions with validation:
42
-
-`packages-python-pinned.yaml` - Contains Python packages from env-*.yml files with exact versions (not all 900+ conda packages)
42
+
-`packages-python-pinned.yaml` - Contains Python packages from environment/env-*.yml files with exact versions (not all 900+ conda packages)
43
43
-`packages-r-pinned.R` - Contains all R packages from the site-library with exact versions
44
44
-`build.log` - Validation report showing if all packages from env files and rocker scripts are present
45
45
46
46
The [Pin Package Versions workflow](.github/workflows/pin-packages.yml):
47
47
- Runs automatically after each successful build
48
48
- Can be manually triggered from the Actions tab
49
49
- Extracts package versions from the published Docker image
50
-
-**Filters Python packages** to only include those specified in env-*.yml files
51
-
-**Validates Python packages** that all packages from env-*.yml files are present in the container
50
+
-**Filters Python packages** to only include those specified in environment/env-*.yml files
51
+
-**Validates Python packages** that all packages from environment/env-*.yml files are present in the container
52
52
-**Validates R packages** that all packages from install.R, /rocker_scripts/install_geospatial.sh, and /rocker_scripts/install_tidyverse.sh are present in the container
53
53
- Creates a PR with:
54
54
- Updated pinned package files
@@ -73,7 +73,7 @@ FROM ghcr.io/nmfs-opensci/container-images/py-rocket-geospatial-2:2026.02.08
73
73
USER root
74
74
75
75
COPY . /tmp/
76
-
RUN /pyrocket_scripts/install-conda-packages.sh /tmp/environment.yml || echo "install-conda-packages.sh failed" || true
76
+
RUN /pyrocket_scripts/install-conda-packages.sh /tmp/your-environment.yml || echo "install-conda-packages.sh failed" || true
77
77
RUN /pyrocket_scripts/install-r-packages.sh /tmp/install.R || echo "install-r-package.sh failed" || true
0 commit comments