-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Revert "Merge pull request #18 from ai2cm/pypi"
- Loading branch information
Showing
10 changed files
with
52 additions
and
278 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,24 +1,2 @@ | ||
[![Docs](https://readthedocs.org/projects/ai2-climate-emulator/badge/?version=latest)](https://ai2-climate-emulator.readthedocs.io/en/latest/) | ||
|
||
# FME: Weather/Climate Model Emulation | ||
This package contains code to train and evaluate weather/climate model emulators as seen in | ||
"ACE: A fast, skillful learned global atmospheric model for climate prediction" ([arxiv:2310.02074](https://arxiv.org/abs/2310.02074)) | ||
and "Application of the Ai2 Climate Emulator to E3SMv2's global atmosphere model, with a focus on precipitation fidelity" | ||
([JGR-ML](https://agupubs.onlinelibrary.wiley.com/doi/full/10.1029/2024JH000136)). | ||
|
||
|
||
## Installation | ||
|
||
The package can be installed via PyPI using: | ||
|
||
``` | ||
pip install fme | ||
``` | ||
|
||
## Quickstart | ||
|
||
A quickstart guide may be found [here](https://ai2-climate-emulator.readthedocs.io/en/latest/quickstart.html). | ||
|
||
## Documentation | ||
|
||
See complete documentation [here](https://ai2-climate-emulator.readthedocs.io/en/latest/). | ||
This python package is intended for use in the training and evaluation of | ||
machine learning models that emulate weather and climate data. |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
__version__ = "2024.9.0" | ||
__version__ = "0.2.0" | ||
|
||
import torch_harmonics | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
__version__ = "0.2.0" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
import fme | ||
|
||
|
||
def test_version(): | ||
assert fme.__version__ == "0.2.0" |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,42 @@ | ||
from setuptools import find_packages, setup | ||
|
||
|
||
def read_requirements(filename: str): | ||
with open(filename) as requirements_file: | ||
requirements = [] | ||
for line in requirements_file: | ||
line = line.strip() | ||
if line.startswith("#") or len(line) == 0: | ||
continue | ||
requirements.append(line) | ||
return requirements | ||
|
||
|
||
setup( | ||
name="fme", | ||
version="0.2.0", | ||
description="", | ||
long_description=open("README.md").read(), | ||
long_description_content_type="text/markdown", | ||
classifiers=[ | ||
"Intended Audience :: Science/Research", | ||
"Development Status :: 3 - Alpha", | ||
"License :: OSI Approved :: Apache Software License", | ||
"Programming Language :: Python :: 3", | ||
"Topic :: Scientific/Engineering :: Artificial Intelligence", | ||
], | ||
keywords="", | ||
url="https://github.com/ai2cm/ace", | ||
author="Allen Institute for Artificial Intelligence", | ||
author_email="[email protected]", | ||
license="Apache", | ||
packages=find_packages( | ||
exclude=["*.tests", "*.tests.*", "tests.*", "tests"], | ||
), | ||
install_requires=read_requirements("requirements.txt"), | ||
extras_require={ | ||
"dev": read_requirements("dev-requirements.txt"), | ||
"docs": read_requirements("docs/requirements.txt"), | ||
}, | ||
python_requires=">=3.8", | ||
) |