Skip to content

Commit b99b6b9

Browse files
authored
added time frequencies to regex for T (#102)
1 parent c7c8142 commit b99b6b9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cf_xarray/accessor.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@
114114

115115
#: regular expressions for guess_coord_axis
116116
regex = {
117-
"time": "time[0-9]*",
117+
"time": "time[0-9]*|min|hour|day|week|month|year",
118118
"vertical": (
119119
"(lv_|bottom_top|sigma|h(ei)?ght|altitude|depth|isobaric|pres|"
120120
"isotherm)[a-z_]*[0-9]*"

0 commit comments

Comments
 (0)