Skip to content

Commit

Permalink
docs
Browse files Browse the repository at this point in the history
  • Loading branch information
edwardhartnett committed Oct 8, 2024
1 parent bcdcf3c commit b014234
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 1 deletion.
4 changes: 3 additions & 1 deletion docs/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
sphinxcontrib-bibtex
sphinx_rtd_theme
docutils==0.16
docutils==0.16
numpy
netCDF4
10 changes: 10 additions & 0 deletions ush/chgres_cold2fv3.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
"""
???
"""
import numpy as np
from netCDF4 import Dataset
import remap_dwinds
Expand All @@ -6,6 +9,13 @@
import sys

def nan_check(arr, name, check_id):
"""
NAN check?
arr: ???
name: ???
check_id: ???
"""
nan_count = 0
nan_count = np.sum(np.isnan(arr))
print(f"coldstartwinds({check_id}) nan_count({name}): {nan_count}")
Expand Down

0 comments on commit b014234

Please sign in to comment.