Skip to content
Merged
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
5 changes: 5 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -99,3 +99,8 @@ dmypy.json

# VSCode files
*vscode*

# Ignore grib2 and netcdf files in the repository
*.nc*
*grb*
*grib2*
5 changes: 3 additions & 2 deletions .gitmodules
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
[submodule "graphcast"]
path = graphcast
url = https://github.com/google-deepmind/graphcast.git
path = graphcast
url = https://github.com/noaa-emc/graphcast
ignore = dirty
6 changes: 4 additions & 2 deletions environment.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: graphcast
name: condaenv
channels:
- conda-forge
dependencies:
Expand All @@ -9,7 +9,9 @@ dependencies:
- cartopy
- jupyterlab
- boto3
- nceplibs-g2c
- grib2io
- pip
- pip:
- https://github.com/deepmind/graphcast/archive/master.zip
- git+https://github.com/noaa-emc/graphcast@aea0678cfbd7e866e4a1d364b456861d0a03954b
- flax
10 changes: 4 additions & 6 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[project]
name = "mlglobal"
version="0.1.0"
version="1.0.0"
description = "Implement Google DeepMind GenCast for ML-based Global Applications"
readme = "README.md"
authors = [
Expand Down Expand Up @@ -40,14 +40,16 @@ dependencies = [
"scipy>=1.9.0",
"trimesh>=3.15.0",
"typing-extensions>=4.4.0",
"graphcast@git+https://github.com/google-deepmind/graphcast@6819a0f19796ca9c34a079855339b37134b8d930"
"grib2io>=2.5.4",
"graphcast@git+https://github.com/noaa-emc/graphcast@aea0678cfbd7e866e4a1d364b456861d0a03954b"
]

[project.optional-dependencies]
gpu = ["jax[cuda12]>=0.4.1"]
dev = [
"pytest>=7.0.0",
"pytest-cov>=4.0.0",
"pytest-mock>=3.10.0",
"pre-commit>=4.3.0",
"black>=24.4.2",
"isort>=6.0.1",
Expand All @@ -70,13 +72,9 @@ notebooks = [
requires = ["setuptools>=64.0.0", "setuptools-scm"]
build-backend = "setuptools.build_meta"


[tool.setuptools]
package-dir = {"" = "src"}
packages = ["mlglobal"]

[project.scripts]
ic-download = "mlglobal.cli.ic_download_main:main"
#ic-preprocess = "mlglobal.cli.gefs_preprocess_main:main"
#graphcast-run = "mlglobal.cli.graphcast_main:main"
#nc2grib2 = "mlglobal.cli.nc2grib2_main:main"