Skip to content

Commit

Permalink
Clean up a little
Browse files Browse the repository at this point in the history
  • Loading branch information
garyo committed Feb 8, 2024
1 parent 755f70c commit 2e80ab3
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 7 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/python-app.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ jobs:
flake8 . --count --select=E9,F63,F7,F82 --show-source --statistics
# exit-zero treats all errors as warnings. The GitHub editor is 127 chars wide
flake8 . --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics
- name: Test with pytest
- name: Test
run: |
pytest
python sea-surface-temps.py --mode map --dataset sst --days-ago 1
python sea-surface-temps.py --mode map --dataset anom --days-ago 1
13 changes: 8 additions & 5 deletions sea-surface-temps.py
Original file line number Diff line number Diff line change
@@ -1,15 +1,18 @@
# SPDX-License-Identifier: MIT

import sys, requests, io, h5py, urllib3
import sys
import requests
import io
import urllib3
import datetime
import calendar
import pandas as pd
import numpy as np
import matplotlib.pyplot as plt
from matplotlib.colors import LinearSegmentedColormap, ListedColormap
import json
import argparse
import pathlib
import h5py
import numpy as np
import matplotlib.pyplot as plt
from matplotlib.colors import LinearSegmentedColormap

urllib3.disable_warnings(urllib3.exceptions.InsecureRequestWarning)

Expand Down

0 comments on commit 2e80ab3

Please sign in to comment.