Skip to content

Commit 73d6eb8

Browse files
author
Andy Barrett
committed
Merge branch 'main' into CRYO-84
2 parents 1ceeb9b + 48fcb6e commit 73d6eb8

File tree

82 files changed

+97381
-13263
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

82 files changed

+97381
-13263
lines changed

.circleci/config.yml

Lines changed: 0 additions & 74 deletions
This file was deleted.
Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
name: GitHub Issue to JIRA
2+
on:
3+
issues:
4+
types:
5+
- opened
6+
7+
jobs:
8+
build:
9+
runs-on: ubuntu-latest
10+
name: Jira issue
11+
steps:
12+
- name: Login
13+
uses: atlassian/gajira-login@v3 # Required for authenticating to Jira
14+
env:
15+
JIRA_BASE_URL: ${{ secrets.JIRA_BASE_URL }}
16+
JIRA_USER_EMAIL: ${{ secrets.JIRA_USER_EMAIL }}
17+
JIRA_API_TOKEN: ${{ secrets.JIRA_API_TOKEN }}
18+
19+
- name: Create
20+
id: create
21+
uses: atlassian/gajira-create@v3
22+
with:
23+
project: CRYO
24+
issuetype: Story
25+
summary: "GitHub Issue: ${{ github.event.issue.title }}"
26+
description: "${{ github.event.issue.body }}.\n\nCreated on GitHub by user ${{ github.actor }}"
27+
28+
- name: Log created issue
29+
run: echo "Issue ${{ steps.create.outputs.issue }} was created"

.github/workflows/publish.yml

Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,40 @@
1+
name: publish
2+
3+
on:
4+
push:
5+
branches:
6+
- "main"
7+
8+
jobs:
9+
docker:
10+
permissions:
11+
contents: read
12+
packages: write
13+
runs-on: ubuntu-latest
14+
steps:
15+
- name: Checkout
16+
uses: actions/checkout@v4
17+
- name: Set up QEMU
18+
uses: docker/setup-qemu-action@v3
19+
- name: Set up Docker Buildx
20+
uses: docker/setup-buildx-action@v3
21+
- name: Login to Docker Hub
22+
uses: docker/login-action@v3
23+
with:
24+
username: ${{ secrets.DOCKER_USER }}
25+
password: ${{ secrets.DOCKER_PASS }}
26+
- name: Login to GitHub Container Registry
27+
uses: docker/login-action@v3
28+
with:
29+
registry: ghcr.io
30+
username: ${{ github.repository_owner }}
31+
password: ${{ secrets.GITHUB_TOKEN }}
32+
- name: Build and push
33+
uses: docker/build-push-action@v5
34+
with:
35+
context: binder
36+
platforms: linux/amd64,linux/arm64
37+
push: true
38+
tags: |
39+
nsidc/tutorials:latest
40+
ghcr.io/nsidc/tutorials:latest

.github/workflows/test.yml

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ on:
55
paths:
66
- notebooks/**
77
- binder/**
8-
- '.github/workflows/'
8+
- ".github/workflows/"
99
types: [opened, synchronize]
1010

1111
concurrency:
@@ -24,7 +24,7 @@ jobs:
2424
uses: mamba-org/setup-micromamba@v1
2525
with:
2626
cache-env: true
27-
environment-file: binder/conda-linux-64.lock
27+
environment-file: binder/conda-lock.yml
2828
environment-name: nsidc-tutorials
2929

3030
- name: "Verify micromamba"
@@ -54,7 +54,6 @@ jobs:
5454
run: |
5555
find notebooks -type f -name "*.ipynb" -not -path '*\.ipynb_checkpoints/*' -not -path '*endered*' -not -path '*SnowEx*' | xargs -I F quarto render "F" --execute-daemon-restart
5656
57-
5857
win-osx:
5958
name: Runtime (${{ matrix.os }}, micromamba)
6059
runs-on: ${{ matrix.os }}-latest
@@ -64,9 +63,9 @@ jobs:
6463
os: ["windows", "macos"]
6564
include:
6665
- os: windows
67-
environment-file: binder/conda-win-64.lock
66+
environment-file: binder/conda-lock.yml
6867
- os: macos
69-
environment-file: binder/conda-osx-64.lock
68+
environment-file: binder/conda-lock.yml
7069
steps:
7170
- uses: actions/checkout@v3
7271
- name: "Install Conda environment with Micromamba"

.gitignore

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,3 +50,14 @@ package-lock.json
5050
geckodriver.log
5151
*.iml
5252

53+
# For SnowEx_ASO_MODIS_Snow
54+
notebooks/SnowEx_ASO_MODIS_Snow/download
55+
56+
# Shape files
57+
*.cpg
58+
*.dbf
59+
*.prj
60+
*.shp
61+
*.shx
62+
63+
notebooks/icesat2_webinar_demo/data

CODE_OF_CONDUCT.md

Lines changed: 24 additions & 65 deletions
Original file line numberDiff line numberDiff line change
@@ -1,76 +1,35 @@
1-
# Contributor Covenant Code of Conduct
1+
# Code of Conduct
22

3-
## Our Pledge
3+
## 1. Our Commitment
44

5-
In the interest of fostering an open and welcoming environment, we as
6-
contributors and maintainers pledge to making participation in our project and
7-
our community a harassment-free experience for everyone, regardless of age, body
8-
size, disability, ethnicity, sex characteristics, gender identity and expression,
9-
level of experience, education, socio-economic status, nationality, personal
10-
appearance, race, religion, or sexual identity and orientation.
5+
We are dedicated to fostering a respectful environment for everyone contributing to this project. We expect all participants to treat each other with respect, professionalism, and kindness.
116

12-
## Our Standards
7+
## 2. Expected Behavior
138

14-
Examples of behavior that contributes to creating a positive environment
15-
include:
9+
- Be respectful and considerate of others.
10+
- Engage in constructive discussions and offer helpful feedback.
11+
- Gracefully accept constructive criticism.
1612

17-
* Using welcoming and inclusive language
18-
* Being respectful of differing viewpoints and experiences
19-
* Gracefully accepting constructive criticism
20-
* Focusing on what is best for the community
21-
* Showing empathy towards other community members
13+
## 3. Unacceptable Behavior
2214

23-
Examples of unacceptable behavior by participants include:
15+
The following behaviors will not be tolerated:
2416

25-
* The use of sexualized language or imagery and unwelcome sexual attention or
26-
advances
27-
* Trolling, insulting/derogatory comments, and personal or political attacks
28-
* Public or private harassment
29-
* Publishing others' private information, such as a physical or electronic
30-
address, without explicit permission
31-
* Other conduct which could reasonably be considered inappropriate in a
32-
professional setting
17+
- Harassment, discrimination, or intimidation of any kind.
18+
- Offensive, abusive, or derogatory language and actions.
19+
- Personal attacks or insults.
20+
- Trolling or disruptive conduct.
21+
- Sharing inappropriate content.
3322

34-
## Our Responsibilities
23+
## 4. Reporting Violations
24+
If you experience or witness any behavior that violates this Code of Conduct, please report it by contacting the project maintainers. All reports will be reviewed confidentially.
3525

36-
Project maintainers are responsible for clarifying the standards of acceptable
37-
behavior and are expected to take appropriate and fair corrective action in
38-
response to any instances of unacceptable behavior.
26+
## 5. Enforcement
27+
Violations of this Code of Conduct may result in actions such as warnings, temporary bans, or permanent exclusion from participation at the discretion of the maintainers.
3928

40-
Project maintainers have the right and responsibility to remove, edit, or
41-
reject comments, commits, code, wiki edits, issues, and other contributions
42-
that are not aligned to this Code of Conduct, or to ban temporarily or
43-
permanently any contributor for other behaviors that they deem inappropriate,
44-
threatening, offensive, or harmful.
29+
## Contact Info
30+
31+
Organization: National Snow and Ice Data Center¹
32+
Website: <https://nsidc.org/>
33+
Date last modified: 01-22-2025
4534

46-
## Scope
47-
48-
This Code of Conduct applies both within project spaces and in public spaces
49-
when an individual is representing the project or its community. Examples of
50-
representing a project or community include using an official project e-mail
51-
address, posting via an official social media account, or acting as an appointed
52-
representative at an online or offline event. Representation of a project may be
53-
further defined and clarified by project maintainers.
54-
55-
## Enforcement
56-
57-
Instances of abusive, harassing, or otherwise unacceptable behavior may be
58-
reported by contacting the project team at [email protected]. All
59-
complaints will be reviewed and investigated and will result in a response that
60-
is deemed necessary and appropriate to the circumstances. The project team is
61-
obligated to maintain confidentiality with regard to the reporter of an incident.
62-
Further details of specific enforcement policies may be posted separately.
63-
64-
Project maintainers who do not follow or enforce the Code of Conduct in good
65-
faith may face temporary or permanent repercussions as determined by other
66-
members of the project's leadership.
67-
68-
## Attribution
69-
70-
This Code of Conduct is adapted from the [Contributor Covenant][homepage], version 1.4,
71-
available at https://www.contributor-covenant.org/version/1/4/code-of-conduct.html
72-
73-
[homepage]: https://www.contributor-covenant.org
74-
75-
For answers to common questions about this code of conduct, see
76-
https://www.contributor-covenant.org/faq
35+
¹Work performed under NASA contract 80GSFC23CA035.

0 commit comments

Comments
 (0)