Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
59 commits
Select commit Hold shift + click to select a range
2ff35c2
Merge pull request #5 from NCAR/create_topo
gustavo-marques Apr 14, 2023
84d1919
Merge pull request #7 from NCAR/create_topo
gustavo-marques Apr 14, 2023
7950af1
Remove old files used to generate topo and maks
gustavo-marques Mar 14, 2024
7f3265e
Adding files for creating topo and landsea mask
gustavo-marques Mar 14, 2024
8d01d78
Update .gitignore
gustavo-marques Mar 14, 2024
6de9da4
Update topo and channel width generation
gustavo-marques Jun 20, 2024
9ff0d95
Update TOC
gustavo-marques Jun 20, 2024
a31627f
Update runoff mapping params
gustavo-marques Jun 20, 2024
e26244b
Update tidal dissipation
gustavo-marques Jun 20, 2024
d31649d
Add missing pbs script for topo generation
gustavo-marques Jun 20, 2024
34f7472
Update instructions for mesh file generation
gustavo-marques Jun 20, 2024
6007a79
Add notebook to create maximum thickness for hycom1 grid
gustavo-marques Jun 20, 2024
8afe074
Merge pull request #9 from gustavo-marques/create_topo
gustavo-marques Jun 20, 2024
2ac7af3
Replace nc-config with nf-config
gustavo-marques Feb 13, 2026
3128f2b
Make Earth radius consistent with CESM
gustavo-marques Feb 13, 2026
c18fa23
Update src content using v3 files
gustavo-marques Mar 4, 2026
ad1eba6
Scripts and notebooks for creating v3
gustavo-marques Mar 4, 2026
92947dd
Remove *.in from gitignore
gustavo-marques Mar 4, 2026
4bc9c1a
Notebook for creating ESMF mesh
gustavo-marques Mar 5, 2026
ea6ac5b
Notebook for creating sea ice grid
gustavo-marques Mar 5, 2026
bcf14c9
Adds notebook and cdl files for creating state restoring file
gustavo-marques Mar 5, 2026
89b6848
Add notebook to remap geothermal heat flow
gustavo-marques Mar 5, 2026
2eddd9c
Add notebooks to generate basin masks
gustavo-marques Mar 6, 2026
4a7ed9b
Add notebook to create mle-cr mask for Lab Sea
gustavo-marques Mar 6, 2026
96e997f
Add SeaWiFS chlorophyll climatology generation files
gustavo-marques Mar 6, 2026
343ed5a
Add notebook to remap tidal energy
gustavo-marques Mar 6, 2026
dfafb08
Update runoff mapping scripts and namelists for tx2_3v3
gustavo-marques Mar 6, 2026
5e77dae
Add notebook to create background harmonic viscosity
gustavo-marques Mar 6, 2026
0b6a2a4
Add topo.md with instructions
gustavo-marques Mar 6, 2026
1b8ca43
Remove ics as this is no longer needed
gustavo-marques Mar 6, 2026
62d48ff
Add notebook to remap aviso to tx2_3v3
gustavo-marques Mar 6, 2026
6a81183
Add notebook to remap woa18 to tx2_3v3
gustavo-marques Mar 6, 2026
b1ab562
Notebooks to remap MLD
gustavo-marques Mar 6, 2026
f3f3cd9
otebook to remap oisst
gustavo-marques Mar 6, 2026
b157c91
Add Validation / Diagnostic Notebooks
gustavo-marques Mar 6, 2026
3e42583
Add script for extracting grid from supergrid
gustavo-marques Mar 6, 2026
2f2a4f4
Ignore what is in */OLD*
gustavo-marques Mar 6, 2026
1e20ebc
Update TOC
gustavo-marques Mar 6, 2026
c0d87e7
Merge pull request #10 from gustavo-marques/tx2_3v3_inital_commits
gustavo-marques Mar 6, 2026
308181e
Update GitHub Actions workflow for deployment
gustavo-marques Mar 6, 2026
70a1a72
Modify book path and add baseurl in config
gustavo-marques Mar 6, 2026
4015698
Remove baseurl from _config.yml
gustavo-marques Mar 6, 2026
c03cf2e
Add jupyter-book installation to deploy workflow
gustavo-marques Mar 6, 2026
a1f2d89
Refactor GitHub Actions workflow for deployment
gustavo-marques Mar 6, 2026
465466d
Change root file extension from README to README.md
gustavo-marques Mar 6, 2026
ebe9e83
Change root from README.md to intro
gustavo-marques Mar 6, 2026
a568fd6
Add intro
gustavo-marques Mar 6, 2026
64ed4c0
Specify jupyter-book version in deploy workflow
gustavo-marques Mar 6, 2026
015fa88
Chage name to follow convention
gustavo-marques Apr 2, 2026
945ec1f
Add surface fluxes check for G and B cases using xarray
chengz2 Mar 25, 2026
c3e7af3
Merge pull request #12 from chengz2/sfc_check
gustavo-marques Apr 3, 2026
b73f1b3
Update names following convention
gustavo-marques Apr 11, 2026
6473c7f
Add NBs to merge and modify maps
gustavo-marques Apr 11, 2026
6500e5c
Remove NaNs and set _FillValue to None
gustavo-marques Apr 27, 2026
b52ce2e
Merge branch 'main' into random_changes
gustavo-marques Apr 30, 2026
bce7ffe
Merge pull request #16 from gustavo-marques/random_changes
gustavo-marques Apr 30, 2026
4f5f1f3
Add VGrid Config
iangrooms Apr 30, 2026
24392b3
Merge pull request #17 from iangrooms/hycom1_vgrid
gustavo-marques Apr 30, 2026
77f711a
Fix calculation of t-cell area in gen_nc_grid.py
gustavo-marques May 13, 2026
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
37 changes: 17 additions & 20 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
@@ -1,37 +1,34 @@
name: deploy

on:
# Trigger the workflow on push to main branch
push:
branches:
- main

# This job installs dependencies, build the book, and pushes it to `gh-pages`
jobs:
build-and-deploy-book:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest]
python-version: [3.8]
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2
- name: Checkout repository
uses: actions/checkout@v4

# Install dependencies
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v1
- name: Setup Python
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
python-version: "3.11"

- name: Install dependencies
run: |
pip install -r requirements.txt
# Build the book
python -m pip install --upgrade pip
pip install "jupyter-book==0.15.1" ghp-import
pip install -r requirements.txt || true

- name: Build the book
run: |
jupyter-book build .
# Deploy the book's HTML to gh-pages branch
- name: GitHub Pages action
uses: peaceiris/actions-gh-pages@v3.6.1
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: _build/html
ls -R _build/html

- name: Deploy to GitHub Pages
run: |
ghp-import -n -p -f _build/html
10 changes: 10 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,16 @@ __pycache__/
# C extensions
*.so

# fortran object and module files
*.o
*.mod

# misc
*.o*

# old studd
*/OLD*

# Distribution / packaging
.Python
build/
Expand Down
6 changes: 2 additions & 4 deletions _config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,11 @@ execute:
# Information about where the book exists on the web
repository:
url: https://github.com/NCAR/tx2_3 # Online location of your book
path_to_book: docs # Optional path to your book, relative to the repository root
path_to_book: . # Optional path to your book, relative to the repository root
branch: main # Which branch of the repository should be used when creating links (optional)

# Add GitHub buttons to your book
# See https://jupyterbook.org/customize/config.html#add-a-link-to-your-repository
html:
use_repository_button: true
use_edit_page_button : true
use_issues_button : true
home_page_in_navbar : false
use_issues_button: true
39 changes: 26 additions & 13 deletions _toc.yml
Original file line number Diff line number Diff line change
@@ -1,14 +1,27 @@
format: jb-book
root: README
chapters:
- file: supergrid/orca_gridgen.md
- file: topography/topo.md
- file: mesh/mesh.md
- file: runoff_mapping/runoff.md
- file: initial_conditions/ics.md
- file: vertical_grids/vgrid.md
- file: state_restoring/state_restoring.ipynb
- file: tidal_energy_dissipation/regrid_tidal_dissipation.ipynb
- file: chlorophyll/Interpolate_and_fill_SeaWIFS.ipynb
- file: transport_sections/transport_sections.ipynb
- file: seaice_files/ice.md
root: intro
parts:
- caption: Model Setup
chapters:
- file: supergrid/orca_gridgen.md
- file: topography/topo.md
- file: mesh/create_mesh.ipynb
- file: runoff_mapping/runoff.md
- file: state_restoring/state_restoring.ipynb
- file: tidal_energy_dissipation/regrid_tidal_dissipation.ipynb
- file: chlorophyll/Interpolate_and_fill_SeaWIFS.ipynb
- file: seaice_files/create_seaice.ipynb
- file: geothermal/davies2013_to_tx2_3.ipynb
- file: background_viscosity/background_kh_tx2_3.ipynb
- file: cr_mask/mle_cr_labsea_mask.ipynb
- caption: Model Validation
chapters:
- file: basin_masks/basin_masks.ipynb
- file: basin_masks/imbie_basin_to_tx2_3.ipynb
- file: woa18/woa18_to_tx2_3.ipynb
- file: mld/deBoyer2004/deBoyer2004_to_tx2_3.ipynb
- file: mld/deBoyer2023/deBoyer2023_to_tx2_3.ipynb
- file: aviso/aviso_to_tx2_3.ipynb
- file: oisst/oisst_to_tx2_3.ipynb
- file: sfc_check/sfc_flux_check_xarray_g01.ipynb
- file: sfc_check/sfc_flux_check_xarray_b01.ipynb
Loading
Loading