File tree Expand file tree Collapse file tree 5 files changed +38
-7
lines changed Expand file tree Collapse file tree 5 files changed +38
-7
lines changed Original file line number Diff line number Diff line change 244
244
"contributions" : [
245
245
" code"
246
246
]
247
+ },
248
+ {
249
+ "login" : " zhangshixuan1987" ,
250
+ "name" : " Shixuan Zhang" ,
251
+ "avatar_url" : " https://avatars.githubusercontent.com/u/33647254?v=4" ,
252
+ "profile" : " https://github.com/zhangshixuan1987" ,
253
+ "contributions" : [
254
+ " code"
255
+ ]
256
+ },
257
+ {
258
+ "login" : " kristinchang3" ,
259
+ "name" : " Kristin Chang" ,
260
+ "avatar_url" : " https://avatars.githubusercontent.com/u/143142064?v=4" ,
261
+ "profile" : " https://kristinchang.github.io/portfolio/" ,
262
+ "contributions" : [
263
+ " code"
264
+ ]
247
265
}
248
266
],
249
267
"contributorsPerLine" : 7 ,
Original file line number Diff line number Diff line change @@ -181,6 +181,15 @@ Release Notes and History
181
181
[ v1.1 ] : https://github.com/PCMDI/pcmdi_metrics/releases/tag/v1.1
182
182
[ v1.0 ] : https://github.com/PCMDI/pcmdi_metrics/releases/tag/v1.0
183
183
184
+ Current Core Team Members at PCMDI/LLNL
185
+ ---------------------------------------
186
+ * Jiwoo Lee
187
+ * Ana Ordonez
188
+ * Peter Gleckler
189
+ * Paul Ullrich
190
+ * Bo Dong
191
+ * Kristin Chang
192
+
184
193
185
194
Contributors
186
195
------------
@@ -221,7 +230,9 @@ Thanks goes to these wonderful people ([emoji key](https://allcontributors.org/d
221
230
</tr>
222
231
<tr>
223
232
<td align="center" valign="top" width="14.28%"><a href="https://sites.google.com/uw.edu/kimresearchgroup"><img src="https://scholar.googleusercontent.com/citations?view_op=view_photo&user=3xLjsIsAAAAJ&citpid=3?s=100" width="100px;" alt="Daehyun Kim"/><br /><sub><b>Daehyun Kim</b></sub></a><br /><a href="https://github.com/PCMDI/pcmdi_metrics/commits?author=" title="Code">💻</a> <a href="#research" title="Research">🔬</a></td>
224
- <td align="center" valign="top" width="14.28%"><a href="https://github.com/bosup"><img src="https://avatars.githubusercontent.com/u/130708142?v=4?s=100" width="100px;" alt="Bo"/><br /><sub><b>Bo Dong</b></sub></a><br /><a href="https://github.com/PCMDI/pcmdi_metrics/commits?author=bosup" title="Code">💻</a></td>
233
+ <td align="center" valign="top" width="14.28%"><a href="https://github.com/bosup"><img src="https://avatars.githubusercontent.com/u/130708142?v=4?s=100" width="100px;" alt="Bo Dong"/><br /><sub><b>Bo Dong</b></sub></a><br /><a href="https://github.com/PCMDI/pcmdi_metrics/commits?author=bosup" title="Code">💻</a></td>
234
+ <td align="center" valign="top" width="14.28%"><a href="https://github.com/zhangshixuan1987"><img src="https://avatars.githubusercontent.com/u/33647254?v=4?s=100" width="100px;" alt="Shixuan Zhang"/><br /><sub><b>Shixuan Zhang</b></sub></a><br /><a href="https://github.com/PCMDI/pcmdi_metrics/commits?author=zhangshixuan1987" title="Code">💻</a></td>
235
+ <td align="center" valign="top" width="14.28%"><a href="https://kristinchang.github.io/portfolio/"><img src="https://avatars.githubusercontent.com/u/143142064?v=4?s=100" width="100px;" alt="Kristin Chang"/><br /><sub><b>Kristin Chang</b></sub></a><br /><a href="https://github.com/PCMDI/pcmdi_metrics/commits?author=kristinchang3" title="Code">💻</a></td>
225
236
</tr>
226
237
</tbody >
227
238
</table >
Original file line number Diff line number Diff line change @@ -39,7 +39,7 @@ def xcdat_open(
39
39
# Open an xml file
40
40
>>> ds = xcdat_open('mydata.xml')
41
41
"""
42
- if isinstance (infile , list ):
42
+ if isinstance (infile , list ) or "*" in infile :
43
43
ds = xc .open_mfdataset (infile , data_var = data_var , decode_times = decode_times )
44
44
else :
45
45
if infile .split ("." )[- 1 ].lower () == "xml" :
Original file line number Diff line number Diff line change 167
167
result_dict ["Variable" ] = dict ()
168
168
result_dict ["Variable" ]["id" ] = varname
169
169
if level is not None :
170
- result_dict ["Variable" ]["level" ] = level * 100 # hPa to Pa
170
+ result_dict ["Variable" ][
171
+ "level"
172
+ ] = level # SZhang: should not "* 100" here # hPa to Pa
171
173
172
174
result_dict ["References" ] = dict ()
173
175
Original file line number Diff line number Diff line change @@ -142,8 +142,8 @@ def subset_time(
142
142
eyear = int (eyear )
143
143
144
144
# First trimming
145
- time1 = f"{ syear } -01-01 00:00:00"
146
- time2 = f"{ eyear } -12-{ eday } 23:59:59"
145
+ time1 = f"{ syear :04d } -01-01 00:00:00"
146
+ time2 = f"{ eyear :04d } -12-{ eday :02d } 23:59:59"
147
147
ds = select_subset (ds , time = (time1 , time2 ))
148
148
149
149
# Check available time window and adjust again if needed
@@ -170,8 +170,8 @@ def subset_time(
170
170
171
171
# Second trimming
172
172
if adjust_time_length :
173
- time1 = f"{ data_syear } -01-01 00:00:00"
174
- time2 = f"{ data_eyear } -12-{ eday } 23:59:59"
173
+ time1 = f"{ data_syear :04d } -01-01 00:00:00"
174
+ time2 = f"{ data_eyear :04d } -12-{ eday :02d } 23:59:59"
175
175
ds = select_subset (ds , time = (time1 , time2 ))
176
176
177
177
return ds
You can’t perform that action at this time.
0 commit comments