Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
48 commits
Select commit Hold shift + click to select a range
c2ec52b
Added two functions for reading block-based Aether NetCDF files to re…
MrHaikuSwan May 18, 2022
80c695c
Update README.md
MrHaikuSwan May 18, 2022
613ba56
Initial commit of block-based plotting script
MrHaikuSwan May 25, 2022
d9b69d7
Conformed to PEP8 style
MrHaikuSwan May 25, 2022
cb798ad
Wrote unit tests for new block-based reading functions
MrHaikuSwan May 27, 2022
32775c7
Fixed PEP8 style
MrHaikuSwan May 27, 2022
34056b1
Fixed PEP8 style
MrHaikuSwan May 27, 2022
18d37fa
Removed plotting script from pull request
MrHaikuSwan May 27, 2022
54ef1d6
Added bad file unit tests
MrHaikuSwan May 27, 2022
e17b75d
Added block-based plotting script
MrHaikuSwan May 29, 2022
eb16dd1
Added reading attributes and DataArray ndarray subclass for block-bas…
MrHaikuSwan Jun 1, 2022
ae9972c
Modularized run_plot_model_block_results more
MrHaikuSwan Jun 9, 2022
f400aa0
Updated gitignore and reloaded repository
MrHaikuSwan Jun 9, 2022
f011a01
Added DataArray class to read_routines.py
MrHaikuSwan Jun 9, 2022
20c6e0e
Added support for plotting with cell corners
MrHaikuSwan Jun 14, 2022
7bf5cd8
Added ability to search for 3DCOR files
MrHaikuSwan Jun 14, 2022
e59e8d3
Modularized plot_all_blocks more
MrHaikuSwan Jun 14, 2022
7f8b053
Updated ability to read multiple files
MrHaikuSwan Jun 15, 2022
925c153
Added ability to use same min/max over several input files, refactore…
MrHaikuSwan Jun 15, 2022
5dd00d8
Removed old corner/center plotting routines duplicating logic
MrHaikuSwan Jun 15, 2022
669731d
Made pull request changes
MrHaikuSwan Jun 29, 2022
e13c1a7
Update aetherpy/tests/test_io_read.py
MrHaikuSwan Jun 29, 2022
cb10e11
Update aetherpy/tests/test_io_read.py
MrHaikuSwan Jun 29, 2022
a931df4
Updated bad file test to match desired error message
MrHaikuSwan Jun 29, 2022
4b70f7d
Merge branch 'bugfixes' of https://github.com/MrHaikuSwan/aetherpy_as…
MrHaikuSwan Jun 29, 2022
261467d
Fixed style: blank lines
MrHaikuSwan Jun 29, 2022
e887c8b
Corrected error message for tests asking for bad file
MrHaikuSwan Jun 29, 2022
64caa59
Reversed a test error message that was incorrectly changed
MrHaikuSwan Jun 29, 2022
e70cc62
Update .gitignore
MrHaikuSwan Jun 29, 2022
12c081e
Update .gitignore
MrHaikuSwan Jun 29, 2022
d466a7f
Update .vscode/settings.json
MrHaikuSwan Jun 29, 2022
446e732
Created issue for units and long_name remaining for backwards compati…
MrHaikuSwan Jun 29, 2022
ad4da04
Merge branch 'bugfixes' of https://github.com/MrHaikuSwan/aetherpy_as…
MrHaikuSwan Jun 29, 2022
25791fa
BUG: variable names not set correctly
aaronjridley Jul 4, 2022
cbfa150
STY: dos2unix + remove spaces from output filename
aaronjridley Jul 4, 2022
c4fee8c
STY: fixed spacing and assignment issues
aaronjridley Jul 4, 2022
cc627e3
STY: Updated comments for issues #18 and #19
MrHaikuSwan Jul 13, 2022
966f3bd
STY: Added a blank line for PEP8 compliance
MrHaikuSwan Jul 13, 2022
9275169
Rewrote argument parsing, renamed file
MrHaikuSwan Aug 3, 2022
99e684e
Wrote first version of interpolation speedup
MrHaikuSwan Aug 3, 2022
de08220
Fixed overlap issues caused by pcolormesh
MrHaikuSwan Aug 3, 2022
67563bf
Increased plotting resolution
MrHaikuSwan Aug 10, 2022
ae0c74c
Removed unnecessary functions
MrHaikuSwan Aug 10, 2022
d9a85f4
Enabled cmdline altitude input to be in km
MrHaikuSwan Aug 12, 2022
757e762
Merge branch 'bugfixes' into executables
MrHaikuSwan Aug 12, 2022
e478191
Fixed calculating minmaxes with nans bug
MrHaikuSwan Aug 12, 2022
2dba14b
STY: Fixed for PEP8 compliance
MrHaikuSwan Aug 12, 2022
5f848d9
Added ability to accept all filetypes
MrHaikuSwan Aug 26, 2022
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
82 changes: 41 additions & 41 deletions .github/ISSUE_TEMPLATE/bug_report.md
Original file line number Diff line number Diff line change
@@ -1,41 +1,41 @@
---
name: Bug report
about: Create a report to help us improve
title: "[BUG]"
labels: bug
assignees: ''

---

Describe the bug
================
A clear and concise description of what the bug is.

To Reproduce
============

Steps to reproduce the behavior
-------------------------------
1. Go to '...'
2. Click on '....'
3. Scroll down to '....'
4. See error

System information
------------------
Please complete the following information:
- OS: [Hal]
- Python version: [1.0]
- Other details about your setup that could be relevant: [aetherpy branch]

Screenshots
-----------
If applicable, add screenshots to help explain your problem.

Expected behavior
=================
A clear and concise description of what you expected to happen.

Additional context
==================
Add any other context about the problem here.
---
name: Bug report
about: Create a report to help us improve
title: "[BUG]"
labels: bug
assignees: ''
---
Describe the bug
================
A clear and concise description of what the bug is.
To Reproduce
============
Steps to reproduce the behavior
-------------------------------
1. Go to '...'
2. Click on '....'
3. Scroll down to '....'
4. See error
System information
------------------
Please complete the following information:
- OS: [Hal]
- Python version: [1.0]
- Other details about your setup that could be relevant: [aetherpy branch]
Screenshots
-----------
If applicable, add screenshots to help explain your problem.
Expected behavior
=================
A clear and concise description of what you expected to happen.
Additional context
==================
Add any other context about the problem here.
52 changes: 26 additions & 26 deletions .github/ISSUE_TEMPLATE/feature_request.md
Original file line number Diff line number Diff line change
@@ -1,26 +1,26 @@
---
name: Feature request
about: Suggest an idea for this project
title: "[FEAT]"
labels: enhancement
assignees: ''

---

Is your feature request related to a problem? Please describe.
==============================================================
A clear and concise description of what the problem is. For example:
I'm always frustrated when [...]

Describe the solution you'd like
================================
A clear and concise description of what you want to happen.

Describe alternatives you've considered
=======================================
A clear and concise description of any alternative solutions or features
you've considered.

Additional context
==================
Add any other context or screenshots about the feature request here.
---
name: Feature request
about: Suggest an idea for this project
title: "[FEAT]"
labels: enhancement
assignees: ''
---
Is your feature request related to a problem? Please describe.
==============================================================
A clear and concise description of what the problem is. For example:
I'm always frustrated when [...]
Describe the solution you'd like
================================
A clear and concise description of what you want to happen.
Describe alternatives you've considered
=======================================
A clear and concise description of any alternative solutions or features
you've considered.
Additional context
==================
Add any other context or screenshots about the feature request here.
44 changes: 22 additions & 22 deletions .github/ISSUE_TEMPLATE/project-goal.md
Original file line number Diff line number Diff line change
@@ -1,22 +1,22 @@
---
name: Project Goal
about: A general project goal that is not a feature or a bug
title: "[GOAL]"
labels: ''
assignees: ''

---

Describe the goal
==================
Description of the goal, including it's aim and context.

Provide a general outline
=========================
1. First step
2. Second step
3. Celebrate

Benefits and downsides
======================
What are the benefits and downsides of this goal?
---
name: Project Goal
about: A general project goal that is not a feature or a bug
title: "[GOAL]"
labels: ''
assignees: ''
---
Describe the goal
==================
Description of the goal, including it's aim and context.
Provide a general outline
=========================
1. First step
2. Second step
3. Celebrate
Benefits and downsides
======================
What are the benefits and downsides of this goal?
86 changes: 43 additions & 43 deletions .github/PULL_REQUEST_TEMPLATE.md
Original file line number Diff line number Diff line change
@@ -1,43 +1,43 @@
# Description

Addresses # (issue)

Please include a summary of the change and which issue is fixed. Please also
include relevant motivation and context. List any dependencies that are required
for this change. Please see ``CONTRIBUTING.md`` for more guidelines.

## Type of change

Please delete options that are not relevant.

- Bug fix (non-breaking change that fixes an issue)
- New feature (non-breaking change that adds functionality)
- Breaking change (fix or feature that would cause existing functionality
to not work as expected)
- This change requires a documentation update


# How Has This Been Tested?

Please describe the tests that you ran to verify your changes. Provide
instructions so we can reproduce.

## Test configuration

* Operating system: [e.g., Hal]
* Compiler, version number: [e.g., Python 3.X, gcc version X.X]
* Any details about your local setup that are relevant

# Checklist:

- [ ] Make sure you are merging into the `develop` (not `main`) branch
- [ ] My code follows the style guidelines of this project
- [ ] I have performed a self-review of my own code
- [ ] I have commented my code, particularly in hard-to-understand areas
- [ ] I have made corresponding changes to the documentation
- [ ] My changes generate no new warnings
- [ ] I have added tests that prove my fix is effective or that my feature works
- [ ] New and existing unit tests pass locally with my changes
- [ ] Any dependent changes have been merged and published in downstream modules
- [ ] Add your name to the bottom of the creators list in the .zenodo.json file
- [N/A] Add a note to `CHANGELOG.md`, summarizing the changes
# Description
Addresses # (issue)
Please include a summary of the change and which issue is fixed. Please also
include relevant motivation and context. List any dependencies that are required
for this change. Please see ``CONTRIBUTING.md`` for more guidelines.
## Type of change
Please delete options that are not relevant.
- Bug fix (non-breaking change that fixes an issue)
- New feature (non-breaking change that adds functionality)
- Breaking change (fix or feature that would cause existing functionality
to not work as expected)
- This change requires a documentation update
# How Has This Been Tested?
Please describe the tests that you ran to verify your changes. Provide
instructions so we can reproduce.
## Test configuration
* Operating system: [e.g., Hal]
* Compiler, version number: [e.g., Python 3.X, gcc version X.X]
* Any details about your local setup that are relevant
# Checklist:
- [ ] Make sure you are merging into the `develop` (not `main`) branch
- [ ] My code follows the style guidelines of this project
- [ ] I have performed a self-review of my own code
- [ ] I have commented my code, particularly in hard-to-understand areas
- [ ] I have made corresponding changes to the documentation
- [ ] My changes generate no new warnings
- [ ] I have added tests that prove my fix is effective or that my feature works
- [ ] New and existing unit tests pass locally with my changes
- [ ] Any dependent changes have been merged and published in downstream modules
- [ ] Add your name to the bottom of the creators list in the .zenodo.json file
- [N/A] Add a note to `CHANGELOG.md`, summarizing the changes
124 changes: 62 additions & 62 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -1,62 +1,62 @@
# This workflow will install Python dependencies, run tests and lint with a
# variety of Python versions. For more information see:
# https://help.github.com/actions/language-and-framework-guides/using-python-with-github-actions

name: Pytest with Flake8

on: [push, pull_request]

jobs:
build:
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest, windows-latest, macos-latest]
python-version: ["3.8", "3.9", "3.10"]
numpy_ver: ["latest"]
include:
- python-version: "3.7"
numpy_ver: "1.18"
os: ubuntu-latest

name: Python ${{ matrix.python-version }} on ${{ matrix.os }} with numpy ${{ matrix.numpy_ver }}
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v2
- name: Set up ffmpeg
uses: FedericoCarboni/setup-ffmpeg@v1
id: setup-ffmpeg
with:
token: ${{ secrets.GITHUB_TOKEN }}
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python-version }}

- name: Install standard dependencies and aetherpy
run: |
python -m pip install --upgrade pip
pip install -r requirements.txt
python setup.py install

- name: Install requirements for testing setup
run: pip install -r test_requirements.txt

- name: Install NEP29 dependencies
if: ${{ matrix.numpy_ver != 'latest'}}
run: |
pip install --no-binary :numpy: numpy==${{ matrix.numpy_ver }}

- name: Test PEP8 compliance
run: flake8 . --count --select=D,E,F,H,W --show-source --statistics

- name: Evaluate complexity
run: flake8 . --count --exit-zero --max-complexity=10 --statistics

- name: Test with pytest
run: pytest --cov=aetherpy/

- name: Publish results to coveralls
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: coveralls --rcfile=setup.cfg --service=github
# This workflow will install Python dependencies, run tests and lint with a
# variety of Python versions. For more information see:
# https://help.github.com/actions/language-and-framework-guides/using-python-with-github-actions
name: Pytest with Flake8
on: [push, pull_request]
jobs:
build:
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest, windows-latest, macos-latest]
python-version: ["3.8", "3.9", "3.10"]
numpy_ver: ["latest"]
include:
- python-version: "3.7"
numpy_ver: "1.18"
os: ubuntu-latest
name: Python ${{ matrix.python-version }} on ${{ matrix.os }} with numpy ${{ matrix.numpy_ver }}
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v2
- name: Set up ffmpeg
uses: FedericoCarboni/setup-ffmpeg@v1
id: setup-ffmpeg
with:
token: ${{ secrets.GITHUB_TOKEN }}
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python-version }}
- name: Install standard dependencies and aetherpy
run: |
python -m pip install --upgrade pip
pip install -r requirements.txt
python setup.py install
- name: Install requirements for testing setup
run: pip install -r test_requirements.txt
- name: Install NEP29 dependencies
if: ${{ matrix.numpy_ver != 'latest'}}
run: |
pip install --no-binary :numpy: numpy==${{ matrix.numpy_ver }}
- name: Test PEP8 compliance
run: flake8 . --count --select=D,E,F,H,W --show-source --statistics
- name: Evaluate complexity
run: flake8 . --count --exit-zero --max-complexity=10 --statistics
- name: Test with pytest
run: pytest --cov=aetherpy/
- name: Publish results to coveralls
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: coveralls --rcfile=setup.cfg --service=github
Loading