Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
122 commits
Select commit Hold shift + click to select a range
909faa7
Create CODE_OF_CONDUCT.md
aradhakrishnanGFDL Oct 20, 2022
bcd7078
Update CODE_OF_CONDUCT.md
aradhakrishnanGFDL Oct 20, 2022
63e8a90
Create .all-contributorsrc.json
aradhakrishnanGFDL Oct 20, 2022
f130392
Create contributing.md
aradhakrishnanGFDL Oct 20, 2022
c24de91
Update contributing.md
aradhakrishnanGFDL Oct 20, 2022
b68c9d2
Update contributing.md
aradhakrishnanGFDL Oct 20, 2022
51b9c3f
Update contributing.md
aradhakrishnanGFDL Oct 20, 2022
66746bd
Update contributing.md
aradhakrishnanGFDL Oct 20, 2022
40cf445
Update contributing.md
aradhakrishnanGFDL Oct 20, 2022
df231a8
Update contributing.md
aradhakrishnanGFDL Oct 20, 2022
8b8b94f
Update README.md
aradhakrishnanGFDL Oct 20, 2022
59d0418
Update contributing.md
aradhakrishnanGFDL Oct 20, 2022
d105370
Update contributing.md
aradhakrishnanGFDL Oct 20, 2022
6050158
Update contributing.md
aradhakrishnanGFDL Oct 20, 2022
fea552e
Update contributing.md
aradhakrishnanGFDL Oct 20, 2022
9a65b7d
Update README.md
aradhakrishnanGFDL Oct 20, 2022
eef9eb9
Update README.md
aradhakrishnanGFDL Oct 20, 2022
a3acbaf
Update contributing.md
aradhakrishnanGFDL Oct 20, 2022
d268320
Merge pull request #6 from aradhakrishnanGFDL/aradhakrishnanGFDL-bot-…
aradhakrishnanGFDL Oct 20, 2022
6d01c1e
Update README.md
aradhakrishnanGFDL Oct 20, 2022
225fa41
docs: update README.md [skip ci]
allcontributors[bot] Oct 20, 2022
a2fe3b2
docs: create .all-contributorsrc [skip ci]
allcontributors[bot] Oct 20, 2022
3931796
Merge pull request #10 from aradhakrishnanGFDL/test-addcontributor
aradhakrishnanGFDL Oct 20, 2022
f75fbba
Merge pull request #12 from aradhakrishnanGFDL/all-contributors/add-j…
aradhakrishnanGFDL Oct 20, 2022
8fa3cb1
Update contributing.md
aradhakrishnanGFDL Oct 20, 2022
5028800
Update README.md
aradhakrishnanGFDL Oct 20, 2022
94264f9
Update README.md
aradhakrishnanGFDL Oct 20, 2022
1cd645c
Update contributing.md
aradhakrishnanGFDL Oct 20, 2022
76ab4d4
Update .all-contributorsrc.json
aradhakrishnanGFDL Oct 20, 2022
c69ac1c
Update .all-contributorsrc
aradhakrishnanGFDL Oct 20, 2022
5a81fdb
Update .all-contributorsrc
aradhakrishnanGFDL Oct 20, 2022
9570a13
Delete .all-contributorsrc
aradhakrishnanGFDL Oct 20, 2022
3de797a
Update .all-contributorsrc.json
aradhakrishnanGFDL Oct 20, 2022
9bfdacb
Update README.md
aradhakrishnanGFDL Oct 20, 2022
fd4b6e7
Create CONTRIBUTORS.md
aradhakrishnanGFDL Oct 20, 2022
4e7d9c8
Update .all-contributorsrc.json
aradhakrishnanGFDL Oct 20, 2022
c746016
Update README.md
aradhakrishnanGFDL Oct 20, 2022
202e4eb
Create main.yml
aradhakrishnanGFDL Oct 26, 2022
840ba25
Create Dockerfile
aradhakrishnanGFDL Oct 26, 2022
15451ef
Merge pull request #15 from aradhakrishnanGFDL/aradhakrishnanGFDL-pat…
aradhakrishnanGFDL Oct 26, 2022
dbb35b7
Update Dockerfile
aradhakrishnanGFDL Oct 27, 2022
b11ee39
Update main.yml
aradhakrishnanGFDL Aug 22, 2023
c134a4d
Update main.yml on PR
aradhakrishnanGFDL Aug 22, 2023
e814fc4
Update Dockerfile env_dir
aradhakrishnanGFDL Aug 22, 2023
d64bcb7
Update Dockerfile
aradhakrishnanGFDL Aug 22, 2023
e52f0ce
Update Dockerfile libarchive
aradhakrishnanGFDL Aug 22, 2023
608e916
Update Dockerfile
aradhakrishnanGFDL Aug 22, 2023
0e579e0
Update Dockerfile
aradhakrishnanGFDL Aug 22, 2023
fc408a8
Update Dockerfile
aradhakrishnanGFDL Aug 22, 2023
203b19f
Update Dockerfile mamba version
aradhakrishnanGFDL Aug 23, 2023
dedfe71
Update Dockerfile
aradhakrishnanGFDL Aug 23, 2023
cfc4362
Update Dockerfile
aradhakrishnanGFDL Aug 23, 2023
7478cdf
Update Dockerfile
aradhakrishnanGFDL Aug 23, 2023
951296d
Create ecs-task-defn.json
aradhakrishnanGFDL Aug 25, 2023
0b67ac4
Update ecs-task-defn.json mdtf-test task
aradhakrishnanGFDL Aug 25, 2023
bd23c11
Update Dockerfile
aradhakrishnanGFDL Aug 25, 2023
d901b70
Update Dockerfile
aradhakrishnanGFDL Aug 25, 2023
9c09ed7
Update Dockerfile
aradhakrishnanGFDL Aug 25, 2023
1b99e7a
Update Dockerfile
aradhakrishnanGFDL Aug 25, 2023
7059577
Update Dockerfile
aradhakrishnanGFDL Aug 25, 2023
82ce9c1
Update Dockerfile
aradhakrishnanGFDL Aug 26, 2023
068bec5
Update Dockerfile
aradhakrishnanGFDL Aug 26, 2023
e17805a
Update Dockerfile
aradhakrishnanGFDL Aug 26, 2023
7ce9854
Update Dockerfile
aradhakrishnanGFDL Aug 26, 2023
58a69c6
Update Dockerfile
aradhakrishnanGFDL Aug 26, 2023
b4bcd00
Update Dockerfile
aradhakrishnanGFDL Aug 26, 2023
c469dd3
Update Dockerfile
aradhakrishnanGFDL Aug 26, 2023
a9b74d0
Update Dockerfile
aradhakrishnanGFDL Aug 26, 2023
102c687
Update Dockerfile
aradhakrishnanGFDL Aug 26, 2023
78d8ce5
Update Dockerfile
aradhakrishnanGFDL Aug 26, 2023
a5286cd
Update Dockerfile
aradhakrishnanGFDL Aug 26, 2023
cea4cef
Update Dockerfile
aradhakrishnanGFDL Aug 26, 2023
a10e969
Update Dockerfile
aradhakrishnanGFDL Aug 26, 2023
a573cb3
Update main.yml
aradhakrishnanGFDL Aug 26, 2023
d6d8cfe
Update Dockerfile
aradhakrishnanGFDL Aug 26, 2023
6ade7bc
Update Dockerfile
aradhakrishnanGFDL Aug 28, 2023
ba5b4e3
Update Dockerfile
aradhakrishnanGFDL Aug 28, 2023
ed09195
Update Dockerfile
aradhakrishnanGFDL Aug 29, 2023
f59a3cc
Update Dockerfile
aradhakrishnanGFDL Aug 29, 2023
ae547ea
Update Dockerfile
aradhakrishnanGFDL Aug 29, 2023
a12ce61
Update Dockerfile
aradhakrishnanGFDL Aug 29, 2023
ff3e22d
Create docker-build-push-to-cloud.yml
aradhakrishnanGFDL Aug 29, 2023
17d298b
Update Dockerfile
aradhakrishnanGFDL Aug 29, 2023
72d237c
Delete docker-build-push-to-cloud.yml
aradhakrishnanGFDL Aug 29, 2023
7399c16
Create docker-build-push-aws.yml
aradhakrishnanGFDL Aug 29, 2023
e894826
Create docker-run-test.yml
aradhakrishnanGFDL Aug 29, 2023
69c5b3a
Update docker-build-push-aws.yml
aradhakrishnanGFDL Aug 29, 2023
d4890ea
Update docker-run-test.yml
aradhakrishnanGFDL Aug 29, 2023
13b503d
Update docker-run-test.yml
aradhakrishnanGFDL Aug 29, 2023
31218a0
Update docker-run-test.yml
aradhakrishnanGFDL Aug 29, 2023
060efab
Update docker-run-test.yml
aradhakrishnanGFDL Aug 29, 2023
65c4fa8
Update docker-run-test.yml
aradhakrishnanGFDL Aug 29, 2023
225a0ab
Update docker-run-test.yml
aradhakrishnanGFDL Aug 29, 2023
6b5a7dc
Update docker-run-test.yml
aradhakrishnanGFDL Aug 29, 2023
542e6fc
Update docker-run-test.yml
aradhakrishnanGFDL Aug 29, 2023
2556a39
Update docker-run-test.yml
aradhakrishnanGFDL Aug 29, 2023
3756eac
Update docker-run-test.yml
aradhakrishnanGFDL Aug 29, 2023
74acf42
Update docker-run-test.yml
aradhakrishnanGFDL Aug 29, 2023
437c175
Update docker-run-test.yml
aradhakrishnanGFDL Aug 29, 2023
bb7fc1f
Update docker-run-test.yml
aradhakrishnanGFDL Aug 29, 2023
576070a
Update docker-run-test.yml
aradhakrishnanGFDL Aug 29, 2023
96f398c
Update docker-run-test.yml
aradhakrishnanGFDL Aug 30, 2023
aef473c
Update docker-run-test.yml
aradhakrishnanGFDL Aug 30, 2023
73b2f10
Update docker-run-test.yml
aradhakrishnanGFDL Aug 30, 2023
325a87b
Update docker-run-test.yml
aradhakrishnanGFDL Aug 30, 2023
c2f5de6
Update Dockerfile
aradhakrishnanGFDL Aug 30, 2023
d8c08d1
Update docker-build-push-aws.yml
aradhakrishnanGFDL Aug 30, 2023
eca019d
Update docker-run-test.yml
aradhakrishnanGFDL Aug 30, 2023
33a59a5
Update Dockerfile
aradhakrishnanGFDL Aug 30, 2023
dc8dab2
Update Dockerfile
aradhakrishnanGFDL Aug 30, 2023
5ba6cfd
Update Dockerfile
aradhakrishnanGFDL Aug 30, 2023
8498b79
Update Dockerfile
aradhakrishnanGFDL Aug 30, 2023
b118a1b
Update Dockerfile
aradhakrishnanGFDL Aug 30, 2023
af8d669
Update Dockerfile
aradhakrishnanGFDL Aug 31, 2023
c3edd04
Update Dockerfile
aradhakrishnanGFDL Aug 31, 2023
4fd92fe
Update docker-run-test.yml
aradhakrishnanGFDL Aug 31, 2023
7e0bffe
Update docker-run-test.yml
aradhakrishnanGFDL Aug 31, 2023
1a5687f
Update docker-run-test.yml
aradhakrishnanGFDL Aug 31, 2023
618ae85
Update docker-run-test.yml
aradhakrishnanGFDL Aug 31, 2023
e0ee8e1
Update docker-run-test.yml
aradhakrishnanGFDL Aug 31, 2023
aee3f55
Update docker-run-test.yml
aradhakrishnanGFDL Aug 31, 2023
2701f37
Update docker-run-test.yml
aradhakrishnanGFDL Aug 31, 2023
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
23 changes: 23 additions & 0 deletions .all-contributorsrc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
{
"projectName": "all-contributors",
"projectOwner": "all-contributors",
"repoType": "github",
"repoHost": "https://github.com",
"files": ["CONTRIBUTORS.md"],
"imageSize": 100,
"commit": false,
"contributorsPerLine": 7,
"contributorsSortAlphabetically": false,
"badgeTemplate": "[![All Contributors](https://img.shields.io/badge/all_contributors-<%= contributors.length %>-orange.svg?style=flat-square)](#contributors)",
"contributorTemplate": "<a href=\"<%= contributor.profile %>\"><img src=\"<%= contributor.avatar_url %>\" width=\"<%= options.imageSize %>px;\" alt=\"\"/><br /><sub><b><%= contributor.name %></b></sub></a>",
"types": {
"custom": {
"symbol": "🔭",
"description": "A custom contribution type.",
"link": "[<%= symbol %>](<%= url %> \"<%= description %>\"),"
}
},
"linkToUsage": true,
"skipCi": true,
"contributors": []
}
53 changes: 53 additions & 0 deletions .github/workflows/docker-build-push-aws.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,53 @@
# This workflow uses actions that are not certified by GitHub.
# They are provided by a third-party and are governed by
# separate terms of service, privacy policy, and support
# documentation.

name: Build and push image to Amazon ECR.

on:
pull_request:
branches:
- main

env:
AWS_REGION: us-east-1 # set this to your preferred AWS region, e.g. us-west-1
ECR_REPOSITORY: mdtf/mdtf-test # set this to your Amazon ECR repository name
ECS_SERVICE: custom-service # MY_ECS_SERVICE set this to your Amazon ECS service name
ECS_CLUSTER: mdtf-east1 # MY_ECS_CLUSTER set this to your Amazon ECS cluster name
ECS_TASK_DEFINITION: ecs-task-defn.json # set this to the path to your Amazon ECS task definition
# file, e.g. .aws/task-definition.json
CONTAINER_NAME: mdtf-test-a1r # set this to the name of the container in the
# containerDefinitions section of your task definition MY_CONTAINER_NAME

jobs:
deploy:
name: push-to-public-ecr-cache-test
runs-on: ubuntu-latest
environment: dev

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

- name: Configure AWS credentials
uses: aws-actions/configure-aws-credentials@13d241b293754004c80624b5567555c4a39ffbe3
with:
aws-access-key-id: ${{ secrets.AWS_ACCESS_KEY_ID }}
aws-secret-access-key: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
aws-region: ${{ env.AWS_REGION }}

- name: Build, tag, and push image to Amazon ECR
id: build-image
uses: aradhakrishnanGFDL/docker-build-with-cache-action@master #support-aws-ecr-public
env:
ECR_REGISTRY: public.ecr.aws
IMAGE_TAG: "latest"
ECS_IMAGE: $ECR_REGISTRY/ECR_REPOSITORY:$env.IMAGE_TAG
with:
registry: public.ecr.aws
username: "${{ secrets.AWS_ACCESS_KEY_ID }}"
password: "${{ secrets.AWS_SECRET_ACCESS_KEY }}"
image_name: c6h4h4s8/mdtf/mdtf-test
push_image_and_stages: true
image_tag: latest
18 changes: 18 additions & 0 deletions .github/workflows/docker-run-test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
name: docker-run-minitest1
on:
pull_request:
branches: [ main ]
jobs:
container-test-job:
runs-on: ubuntu-latest
container:
image: public.ecr.aws/c6h4h4s8/mdtf/mdtf-test:latest
env:
NODE_ENV: development
options: --cpus 1
steps:
- name: Check PATH
run: (echo $PATH) || (echo "No path")
- name: Activate environment
shell: bash
run: (eval "$(micromamba shell hook -s bash -p ~/conda)"; micromamba activate; micromamba activate _MDTF_base;mdtf_framework.py --version)
69 changes: 69 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,69 @@
# This workflow uses actions that are not certified by GitHub.
# They are provided by a third-party and are governed by
# separate terms of service, privacy policy, and support
# documentation.

name: Deploy to ECS. Build, push image,

on:
pull_request:
branches:
- main

env:
AWS_REGION: us-east-1 # set this to your preferred AWS region, e.g. us-west-1
ECR_REPOSITORY: mdtf/mdtf-test # set this to your Amazon ECR repository name
ECS_SERVICE: custom-service # MY_ECS_SERVICE set this to your Amazon ECS service name
ECS_CLUSTER: mdtf-east1 # MY_ECS_CLUSTER set this to your Amazon ECS cluster name
ECS_TASK_DEFINITION: ecs-task-defn.json # set this to the path to your Amazon ECS task definition
# file, e.g. .aws/task-definition.json
CONTAINER_NAME: mdtf-test-a1r # set this to the name of the container in the
# containerDefinitions section of your task definition MY_CONTAINER_NAME

jobs:
deploy:
name: push-to-public-ecr-cache-test
runs-on: ubuntu-latest
environment: dev

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

- name: Configure AWS credentials
uses: aws-actions/configure-aws-credentials@13d241b293754004c80624b5567555c4a39ffbe3
with:
aws-access-key-id: ${{ secrets.AWS_ACCESS_KEY_ID }}
aws-secret-access-key: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
aws-region: ${{ env.AWS_REGION }}

- name: Build, tag, and push image to Amazon ECR
id: build-image
uses: aradhakrishnanGFDL/docker-build-with-cache-action@master #support-aws-ecr-public
env:
ECR_REGISTRY: public.ecr.aws
IMAGE_TAG: "latest"
ECS_IMAGE: $ECR_REGISTRY/ECR_REPOSITORY:$env.IMAGE_TAG
with:
registry: public.ecr.aws
username: "${{ secrets.AWS_ACCESS_KEY_ID }}"
password: "${{ secrets.AWS_SECRET_ACCESS_KEY }}"
image_name: c6h4h4s8/mdtf/mdtf-test
push_image_and_stages: true
image_tag: latest

- name: Fill in the new image ID in the Amazon ECS task definition
id: task-def
uses: aws-actions/amazon-ecs-render-task-definition@97587c9d45a4930bf0e3da8dd2feb2a463cf4a3a
with:
task-definition: ${{ env.ECS_TASK_DEFINITION }}
container-name: ${{ env.CONTAINER_NAME }}
image: public.ecr.aws/c6h4h4s8/mdtf/mdtf-test:latest

- name: Deploy Amazon ECS task definition
uses: aws-actions/amazon-ecs-deploy-task-definition@v1.4.10
with:
task-definition: ${{ steps.task-def.outputs.task-definition }}
service: ${{ env.ECS_SERVICE }}
cluster: ${{ env.ECS_CLUSTER }}
wait-for-service-stability: true
107 changes: 107 additions & 0 deletions CODE_OF_CONDUCT.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,107 @@
## Code of Conduct

Model Diagnostics Task Force framework team is dedicated to providing a respectful and inclusive community for everyone. We do not tolerate harassment or bullying of any community member in any form. This applies equally to all community members regardless of their title, seniority, background, gender, etc., in all forums managed by the MDTF framework team. This includes the mailing lists, our GitHub project space, slack workspaces, in-person events, and any other forums created by the project team. In addition, violations of this code outside these spaces may affect a person's ability to participate within them. As part of the code of conduct policy, we will provide below ground rules for all forums (e.g meetings) created by the project team, supporting project initiatives.

## General code of conduct

Our code of conduct policy for the project community members emphasizes on the following key ground rules:

1. Respect everyone's opinion and privacy.
2. Every opinion has value.
3. Listen attentively to everyone's point of view.

Furthermore, our community members are expected to adhere to the following:

* **1. Be friendly, patient, and welcoming**.
We strive to be a community that welcomes and supports
people of all backgrounds and identities. This includes, but is not limited
to, members of any race, ethnicity, culture, national origin, color,
immigration status, social and economic class, educational level, sex, sexual
orientation, gender identity and expression, age, physical appearance, family
status, technological or professional choices, academic
discipline, religion, mental ability, and physical ability.

* **2. Be considerate and respectful**.
Your work will be used by other people, and you in turn
will depend on the work of others. Any decision you take will affect users
and colleagues, and you should take those consequences into account when
making decisions.
Remember that we're a growing community with diverse members, and that you may be
communicating with someone with a different primary language or cultural
background. Not all of us will agree all the time, but disagreement is
no excuse for poor behavior or poor manners.
Do not insult or put down other community members. A community where people
feel uncomfortable or threatened is not a productive one.


* **3. Consider Impact vs. Intent**.
Disagreements, both social and
technical, happen all the time and Pangeo is no exception.
People perceive their own behaviors very differently than others perceive them.
What motivates one person may cause stress for another.
A few steps worth remembering include the following:

* Other people do not see things the same way you do,
do not feel the same as you, or interpret the world the way you do.
Consider different people’s perspectives on things like change,
drive, structure, process, big picture, and small details.
* Ask for feedback and listen to them.
* Blaming each other doesn’t get us anywhere, while we can learn from mistakes to find better solutions.

* **4. Moderate your expectations**.
Please respect that community members choose
how they spend their time in the project. A thoughtful question about your
expectations is preferable to demands for another person's time.

* **5. A simple apology can go a long way**.
It can often de-escalate a situation,
and telling someone that you are sorry is an act of empathy that doesn’t
automatically imply an admission of guilt.

* **6. Give due credit and avoid miscredit**.

Motivate yourself and your community by acknowledging and giving credit to the original source, be it an individual-or-group, data-or-code, an inception of an idea, and so on, in different project forums. Discourage miscredit to foster a welcoming, inclusive environment.
We strive for the highest standards of scientific integrity. This includes sharing ideas and information, keeping accurate and complete records, and giving due credit to the contributions of others. Undisclosed conflicts of interest and scientific misconduct, including fabrication, falsification, and plagiarism, are incompatible with this code.


## Forms of harrassment

We do not tolerate harassment or bullying of any community member in any form.
Forms of harrassment include, but is not limited to:

* Violent threats or violent language directed against another person
* Discriminatory jokes and language
* Posting sexually explicit or violent material
* Posting (or threatening to post) other people's personally identifying
information ("doxing")
* Personal insults, especially those related to gender,
gender identity and expression, sexual orientation, ability,
physical appearance, body size, race, ethnicity,
religion, socioeconomic status, caste or creed
* Unwelcome sexual attention, stalking;
* Advocating for, or encouraging, any of the above behavior
* Repeated harassment of others. In general, if someone asks you to stop,
then stop


## How to Report Harassment and Discrimination

TBA

## Review

This code of conduct document will be reviewed periodically annually by the Model Diagnostics Task Force leads team members.

## Your contributions

Our community values every contribution to this open-source repository. Please follow the contributorship guidelines [in the works] to see how you can contribute.
We encourage you to pitch in and join our growing community!

### References

This Code of Conduct has been adapted from:
* the [*Jupyter*](https://jupyter.org/governance/conduct/code_of_conduct.html) Project, licensed under a [*Creative Commons
Attribution*](http://creativecommons.org/licenses/by/3.0/) license.
* Pangeo (https://github.com/pangeo-data/.github/blob/main/CODE_OF_CONDUCT.md)
* The chemical professionals code of conduct (https://www.acs.org/content/acs/en/careers/career-services/ethics/the-chemical-professionals-code-of-conduct.html)
We are grateful to these projects for contributing these materials for us to easily reuse.
10 changes: 10 additions & 0 deletions CONTRIBUTORS.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
## Contributors

<!-- ALL-CONTRIBUTORS-LIST:START - Do not remove or modify this section -->
<!-- prettier-ignore-start -->
<!-- markdownlint-disable -->

<!-- markdownlint-restore -->
<!-- prettier-ignore-end -->

<!-- ALL-CONTRIBUTORS-LIST:END -->
46 changes: 46 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
# Base OS
FROM ubuntu:latest
FROM mambaorg/micromamba:latest as micromamba

#micromamba set up

USER root

RUN micromamba info


RUN micromamba shell hook --shell bash
#RUN micromamba create -f /proj/MDTF-diagnostics/src/conda/env_base.yml

##
# Container Metadata
LABEL maintainer="20195932+wrongkindofdoctor@users.noreply.github.com"
LABEL version="alpha-01"
LABEL description="This is a docker image for the MDTF-diagnostics package"
# Disable Prompt During Packages Installation
#ARG DEBIAN_FRONTEND=noninteractive

# Copy the MDTF-diagnostics package contents from local machine to image
ENV CODE_ROOT=/proj/MDTF-diagnostics
COPY src ${CODE_ROOT}/src
COPY data ${CODE_ROOT}/data
#COPY diagnostics ${CODE_ROOT}/diagnostics
COPY mdtf_framework.py ${CODE_ROOT}
COPY shared ${CODE_ROOT}/shared
COPY sites ${CODE_ROOT}/sites
COPY tests ${CODE_ROOT}/tests
# Install conda environments
ENV CONDA_ROOT=/opt/conda/
ENV CONDA_ENV_DIR=/opt/conda/envs

#USER mambauser
RUN micromamba create -f /proj/MDTF-diagnostics/src/conda/env_base.yml

ENV PATH="${PATH}:/proj/MDTF-diagnostics/"
#cRUN micromamba activate _MDTF_base
# Verify installation
#RUN /proj/MDTF-diagnostics/mdtf_framework.py --help
# Run mdtf on src/default_tests.jsonc
# CMD ["${CODE_ROOT}/mdtf", "-f","${CODE_ROOT}/src/default_tests.jsonc"]
#ENTRYPOINT ["micromamba activate _MDTF_base"]
CMD ["/bin/bash"]
9 changes: 8 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
# MDTF-diagnostics: A Portable Framework for Weather and Climate Model Data Analysis

[![Documentation Status](https://readthedocs.org/projects/mdtf-diagnostics/badge/?version=latest)](https://mdtf-diagnostics.readthedocs.io/en/latest/?badge=latest) [![Build Status](https://travis-ci.com/NOAA-GFDL/MDTF-diagnostics.svg?branch=main)](https://travis-ci.com/NOAA-GFDL/MDTF-diagnostics) [![Total alerts](https://img.shields.io/lgtm/alerts/g/NOAA-GFDL/MDTF-diagnostics.svg?logo=lgtm&logoWidth=18)](https://lgtm.com/projects/g/NOAA-GFDL/MDTF-diagnostics/alerts/) [![Language grade: Python](https://img.shields.io/lgtm/grade/python/g/NOAA-GFDL/MDTF-diagnostics.svg?logo=lgtm&logoWidth=18)](https://lgtm.com/projects/g/NOAA-GFDL/MDTF-diagnostics/context:python)
[![Documentation Status](https://readthedocs.org/projects/mdtf-diagnostics/badge/?version=latest)](https://mdtf-diagnostics.readthedocs.io/en/latest/?badge=latest) [![Build Status](https://travis-ci.com/NOAA-GFDL/MDTF-diagnostics.svg?branch=main)](https://travis-ci.com/NOAA-GFDL/MDTF-diagnostics) [![Total alerts](https://img.shields.io/lgtm/alerts/g/NOAA-GFDL/MDTF-diagnostics.svg?logo=lgtm&logoWidth=18)](https://lgtm.com/projects/g/NOAA-GFDL/MDTF-diagnostics/alerts/) [![Language grade: Python](https://img.shields.io/lgtm/grade/python/g/NOAA-GFDL/MDTF-diagnostics.svg?logo=lgtm&logoWidth=18)](https://lgtm.com/projects/g/NOAA-GFDL/MDTF-diagnostics/context:python)<!-- ALL-CONTRIBUTORS-BADGE:START - Do not remove or modify this section -->[![All Contributors](https://img.shields.io/badge/all_contributors-13-orange.svg?style=flat-square)](#contributors)
<!-- ALL-CONTRIBUTORS-BADGE:END -->


The MDTF-diagnostics package is a portable framework for running process-oriented diagnostics (PODs) on weather and climate model data.

Expand Down Expand Up @@ -201,3 +203,8 @@ E. D. Maloney et al. (2019): Process-Oriented Evaluation of Climate and Weather
## Disclaimer

This repository is a scientific product and is not an official communication of the National Oceanic and Atmospheric Administration, or the United States Department of Commerce. All NOAA GitHub project code is provided on an ‘as is’ basis and the user assumes responsibility for its use. Any claims against the Department of Commerce or Department of Commerce bureaus stemming from the use of this GitHub project will be governed by all applicable Federal law. Any reference to specific commercial products, processes, or services by service mark, trademark, manufacturer, or otherwise, does not constitute or imply their endorsement, recommendation or favoring by the Department of Commerce. The Department of Commerce seal and logo, or the seal and logo of a DOC bureau, shall not be used in any manner to imply endorsement of any commercial product or activity by DOC or the United States Government.


This project follows the [all-contributors](https://github.com/all-contributors/all-contributors) specification. Contributions of any kind welcome!


Loading