Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

STY: Update package for pre-commit, will add pre-commit action in another PR. #792

Merged
merged 3 commits into from
Feb 1, 2024
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
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
Prev Previous commit
Merge branch 'main' into pre-commit
  • Loading branch information
zssherman authored Jan 31, 2024
commit 8d3b83080c6bbdd0431d1c115f1e84ec63345521
4 changes: 3 additions & 1 deletion act/io/hysplit.py
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,9 @@ def read_hysplit(filename, base_year=2000):
]
for variable in data[1:]:
var_list.append(variable)
input_df = pd.read_csv(filename, sep=r'\s+', index_col=False, names=var_list, skiprows=12)

input_df = pd.read_csv(
filename, sep='\s+', index_col=False, names=var_list, skiprows=12) # noqa W605
input_df['year'] = base_year + input_df['year']
input_df['time'] = pd.to_datetime(
input_df[["year", "month", "day", "hour", "minute"]], format='%y%m%d%H%M'
Expand Down
2 changes: 1 addition & 1 deletion examples/plotting/plot_scatter.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
'ground_speed',
m_field='ambient_temp',
marker='x',
cbar_label=r'Ambient Temperature ($^\circ$C)',
cbar_label=r'Ambient Temperature ($^\circ$C)', # noqa W605
)

# Set the range of the field on the x-axis
Expand Down
Loading
You are viewing a condensed version of this merge commit. You can view the full changes here.