Module Import alias Import alias identifier Import alias identifier Import alias ImportFrom alias alias alias alias ImportFrom alias alias ImportFrom alias alias alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ClassDef bases NameLoad body FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Num keyword Num Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr TupleLoad Num Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Num Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Num Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad Num Expr Call AttributeLoad NameLoad attr ListLoad AttributeLoad NameLoad attr Num Num NameLoad Assign NameStore Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Num keyword Num Expr Call AttributeLoad NameLoad attr BinOpAdd Call AttributeLoad NameLoad attr Num Num NameLoad Assign NameStore Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Num keyword Num Expr Call AttributeLoad NameLoad attr BinOpMult Num Call AttributeLoad NameLoad attr Num NameLoad Assign NameStore Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr ListLoad Num Num Num Num Num Num Num Num Assign NameStore Call AttributeLoad NameLoad attr ListLoad AttributeLoad NameLoad attr Num Num Num Num Expr Call AttributeLoad NameLoad attr NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Num keyword Num Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Ellipsis Assign NameStore Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Num keyword Num Expr Call AttributeLoad NameLoad attr Num SubscriptLoad NameLoad Ellipsis decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Num keyword Call AttributeLoad NameLoad attr ListLoad Num Num Expr Call AttributeLoad NameLoad attr ListLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr Num Num NameLoad Assign NameStore Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Num keyword Call AttributeLoad NameLoad attr ListLoad Num Num Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Ellipsis decorator_list decorator_list ClassDef bases NameLoad body FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Call NameLoad Str keyword Str Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr Str keyword Str Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr With Call AttributeLoad NameLoad attr NameLoad body Expr Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad NameLoad With Call AttributeLoad NameLoad attr NameLoad body Expr SubscriptLoad NameLoad Slice Num Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad Str Assign NameStore Call AttributeLoad NameLoad attr ListLoad Call NameLoad Str Call NameLoad Str keyword Str Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr ListLoad Str Str keyword Str Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Expr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Slice Num SubscriptLoad NameLoad Slice Num With Call AttributeLoad NameLoad attr NameLoad body Expr SubscriptLoad NameLoad ExtSlice Slice Slice Num decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr ListLoad ListLoad Str Str Str ListLoad Str Str Str Assign NameStore Call AttributeLoad NameLoad attr ListLoad Str Str Assign NameStore Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr ListLoad Str Str Str Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr ListLoad ListLoad Str Str ListLoad Str Str Assign NameStore Call AttributeLoad NameLoad attr ListLoad ListLoad ListLoad Str Str ListLoad Str Str ListLoad ListLoad Str Str ListLoad Str Str Assign NameStore Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr ListLoad ListLoad ListLoad Str Str ListLoad Str Str ListLoad ListLoad Str Str ListLoad Str Str Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad NameLoad decorator_list decorator_list FunctionDef arguments args NameParam defaults body If Call NameLoad NameLoad Str body Return Call AttributeLoad NameLoad attr keyword NameLoad orelse Return NameLoad decorator_list AttributeLoad NameLoad attr ClassDef bases NameLoad body FunctionDef arguments args NameParam defaults body Import alias identifier For TupleStore NameStore NameStore ListLoad TupleLoad Call AttributeLoad NameLoad attr Num Str TupleLoad Call AttributeLoad Call AttributeLoad NameLoad attr Num attr Num Num Str TupleLoad BinOpAdd Num Call AttributeLoad NameLoad attr Num Str TupleLoad BinOpAdd Num Call AttributeLoad NameLoad attr Num Str TupleLoad BinOpAdd Num Call AttributeLoad NameLoad attr Num Str TupleLoad BinOpAdd Num Call AttributeLoad NameLoad attr Num Str TupleLoad Num Str TupleLoad ListLoad Num Str TupleLoad ListLoad ListLoad Num Str TupleLoad ListLoad Num Num Str TupleLoad Call AttributeLoad NameLoad attr Num Str TupleLoad Num Str TupleLoad ListLoad Num Str TupleLoad ListLoad ListLoad Num Str TupleLoad Call AttributeLoad NameLoad attr Num Str TupleLoad Call AttributeLoad NameLoad attr Num Num Num Str TupleLoad Num Str TupleLoad ListLoad Num Num Str TupleLoad Num Str TupleLoad Num Str body For NameStore ListLoad Str Str Str body Assign NameStore Call NameLoad Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad Print TupleLoad NameLoad NameLoad NameLoad With Call AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr Str Str Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad If BoolOpAnd Call NameLoad NameLoad AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr body Assign NameStore Call AttributeLoad NameLoad attr Str orelse Assign NameStore NameLoad Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Assign TupleStore NameStore NameStore NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad If CompareNotIn Str NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad Call AttributeLoad NameLoad attr NameLoad Num If BoolOpAnd Call NameLoad NameLoad Str CompareEq AttributeLoad NameLoad attr Num CompareNotIn Str NameLoad body Assign TupleStore NameStore NameStore NameStore Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Call AttributeLoad NameLoad attr NameLoad Num decorator_list NameLoad FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr ListLoad Num Num Num Str Str Assign NameStore AttributeLoad Call AttributeLoad NameLoad attr Str keyword Num attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr ListLoad Num Num Num Str Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr ListLoad Num Num Num Str Str Assign NameStore AttributeLoad Call AttributeLoad NameLoad attr Str keyword Num attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Call NameLoad Num Num SubscriptLoad NameLoad Index Call NameLoad Num Num Assign NameStore Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr ListLoad Num Num Num Str Str Assign NameStore AttributeLoad Call AttributeLoad NameLoad attr Str keyword Num attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index ListLoad Num Num SubscriptLoad NameLoad Index ListLoad Num Num decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr keyword Num keyword Str keyword Str Assign NameStore Str Assign NameStore Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Num NameLoad Expr Call AttributeLoad NameLoad attr NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad ListLoad Str Call AttributeLoad NameLoad attr Num Dict Str Str Str Str Num Num Expr Call AttributeLoad NameLoad attr NameLoad Str Lambda arguments args defaults Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr keyword Num keyword Str keyword Str Assign NameStore ListLoad TupleLoad Call AttributeLoad NameLoad attr Num Str TupleLoad Call AttributeLoad NameLoad attr Num Str TupleLoad Call AttributeLoad NameLoad attr Num Str For TupleStore NameStore NameStore NameLoad body Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad NameLoad decorator_list NameLoad FunctionDef arguments args NameParam defaults body Import alias identifier For NameStore ListLoad Str Str Str Str Str Str body Assign NameStore Str Assign NameStore Call AttributeLoad NameLoad attr Str keyword Str keyword Str Assign NameStore Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr NameLoad keyword NameLoad Assign NameStore AttributeLoad NameLoad attr With Call AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr Str Str Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad keyword NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Str Assign NameStore Call NameLoad BinOpSub NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Call AttributeLoad CompareLtE NameLoad Call AttributeLoad NameLoad attr Num Str attr decorator_list NameLoad FunctionDef arguments args NameParam defaults body Assign NameStore Str For NameStore ListLoad Str Str Str Str Str Str body For NameStore ListLoad Num ListLoad Num ListLoad ListLoad Num body With Call AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr Str Str Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad keyword NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Str decorator_list NameLoad FunctionDef arguments args NameParam defaults body Import alias identifier Assign NameStore Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Num Num Num For NameStore ListLoad Str Str Str body Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad With Call AttributeLoad NameLoad attr Str body Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad keyword NameLoad Assign NameStore Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad Print TupleLoad NameLoad NameLoad NameLoad NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr NameLoad NameLoad decorator_list NameLoad FunctionDef arguments args NameParam defaults body Import alias identifier Assign NameStore Str Assign NameStore Str Assign NameStore Call AttributeLoad NameLoad attr Str keyword Str keyword Str Assign NameStore Call AttributeLoad NameLoad attr Str keyword Str keyword Str Assign NameStore Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr NameLoad keyword NameLoad Assign NameStore Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr NameLoad keyword NameLoad Assign NameStore Call AttributeLoad NameLoad attr TupleLoad Call NameLoad NameLoad Num Assign SubscriptStore NameLoad ExtSlice Slice Index Num NameLoad Assign SubscriptStore NameLoad ExtSlice Slice Index Num NameLoad Assign NameStore AttributeLoad NameLoad attr Assign NameStore AttributeLoad NameLoad attr With Call AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr Str Str Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad keyword NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad ExtSlice Slice Index Num NameLoad Expr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad ExtSlice Slice Index Num NameLoad decorator_list NameLoad FunctionDef arguments args NameParam defaults body Import alias identifier For NameStore ListLoad Num Num Num Num Num body For NameStore ListLoad Str Str Str body Assign NameStore Str Assign NameStore Call AttributeLoad Str attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr Num Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad With Call AttributeLoad NameLoad attr keyword NameLoad NameStore body Expr Call AttributeLoad NameLoad attr Str Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad keyword NameLoad Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad Num Expr Call AttributeLoad NameLoad attr Str Call NameLoad AttributeLoad SubscriptLoad NameLoad Index Num attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr NameLoad NameLoad decorator_list NameLoad FunctionDef arguments args NameParam defaults body For TupleStore NameStore NameStore NameStore ListLoad TupleLoad ListLoad AttributeLoad NameLoad attr Str ListLoad Str TupleLoad ListLoad AttributeLoad NameLoad attr Num Str ListLoad Str Str TupleLoad ListLoad AttributeLoad NameLoad attr Num Num Str ListLoad Str Str Str body With Call AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr Str Str Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad keyword Str Expr Call AttributeLoad NameLoad attr NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body For TupleStore NameStore NameStore ListLoad TupleLoad Call AttributeLoad NameLoad attr Str keyword Num Str TupleLoad Call AttributeLoad NameLoad attr Str keyword Str keyword Num Str TupleLoad ListLoad Str Str Str Str TupleLoad Call AttributeLoad NameLoad attr ListLoad Str Str Str Str TupleLoad Call AttributeLoad NameLoad attr ListLoad Str Str Str TupleLoad Call AttributeLoad NameLoad attr ListLoad Str Str Str TupleLoad Call AttributeLoad NameLoad attr ListLoad Str Str body Expr Call AttributeLoad NameLoad attr NameLoad Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore ListLoad TupleLoad Str Str Call AttributeLoad NameLoad attr Num TupleLoad ListLoad Str Str Str Str Call AttributeLoad NameLoad attr ListLoad Num Num Num Str TupleLoad Str Str Call AttributeLoad NameLoad attr Num TupleLoad Str Str Call AttributeLoad NameLoad attr Num TupleLoad Str Str Call AttributeLoad NameLoad attr Num TupleLoad ListLoad Str Str Str NameLoad ListLoad AttributeLoad NameLoad attr Num Num TupleLoad ListLoad Str Str Str ListLoad Num Num If CompareGtE AttributeLoad NameLoad attr Str body Expr Call AttributeLoad NameLoad attr ListLoad TupleLoad Call AttributeLoad NameLoad attr Str Str Str AttributeLoad NameLoad attr TupleLoad ListLoad Str Str Str ListLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr For TupleStore NameStore NameStore NameStore NameLoad body Assign NameStore Call AttributeLoad NameLoad attr NameLoad keyword NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign NameStore NameLoad Assign TupleStore NameStore NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr If CompareIsNot NameLoad NameLoad body Assign NameStore NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Str Str Assign NameStore Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body For TupleStore NameStore NameStore ListLoad TupleLoad Call AttributeLoad NameLoad attr ListLoad Str Str Str TupleLoad Call AttributeLoad NameLoad attr ListLoad Str Str Str TupleLoad Call AttributeLoad NameLoad attr ListLoad Str Str AttributeLoad NameLoad attr Str TupleLoad Call AttributeLoad NameLoad attr ListLoad Str Str Str body Expr Call AttributeLoad NameLoad attr NameLoad Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad Dict Str TupleLoad Str ListLoad Num Num Dict Str Str With Call AttributeLoad NameLoad attr NameLoad Str body Expr Call NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Dict Str Str Str Str With Call AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr Str Str Assign NameStore Call NameLoad Call NameLoad Dict Str TupleLoad Str ListLoad Num Num NameLoad Expr Call AttributeLoad NameLoad attr Str Call NameLoad NameLoad Assign NameStore Dict Str Str Assign NameStore Call NameLoad Call NameLoad Dict Str TupleLoad Str ListLoad Num Num NameLoad Expr Call AttributeLoad NameLoad attr Str Call NameLoad NameLoad decorator_list NameLoad decorator_list ClassDef bases NameLoad body FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Num keyword Str Assign NameStore Call AttributeLoad NameLoad attr Num keyword Str Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assert CompareEq AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assert CompareEq AttributeLoad NameLoad attr AttributeLoad SubscriptLoad NameLoad Slice attr Expr Call AttributeLoad NameLoad attr NameLoad NameLoad decorator_list decorator_list ClassDef bases NameLoad body FunctionDef arguments args NameParam defaults body Assign NameStore ListLoad Call NameLoad ListLoad Str Call AttributeLoad NameLoad attr Str keyword Num Dict Str Str Call NameLoad ListLoad Str Call AttributeLoad NameLoad attr ListLoad Str Dict Str Str Call NameLoad ListLoad Str ListLoad Num Num Num Dict Str Num Dict Str Num Call NameLoad ListLoad Str ListLoad Num Num Num Dict Str Num Dict Str Num For NameStore NameLoad body With Call AttributeLoad NameLoad attr NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad ListLoad Str Call AttributeLoad NameLoad attr ListLoad AttributeLoad NameLoad attr Num Num Num Assign AttributeStore NameLoad attr Dict Str Str With Call AttributeLoad NameLoad attr Str body Expr Call AttributeLoad NameLoad attr NameLoad decorator_list decorator_list NameLoad ClassDef bases NameLoad body FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad Dict Str Str Str TupleLoad Str ListLoad Num Num Num Dict Str Str TupleLoad Str ListLoad Num Num Num Dict Str Str Str Str TupleLoad Str ListLoad Num Num Num Dict Str Num Assign NameStore Call NameLoad Dict Str TupleLoad Str ListLoad Num Num Num Dict Str Str Dict Str Str Call AttributeLoad NameLoad attr Str keyword Num TupleLoad Str ListLoad Num Num AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad Dict Str TupleLoad Str ListLoad Num Num Dict Str Str Assign NameStore Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad Dict Str Str TupleLoad Str ListLoad Num Num Dict Str Str TupleLoad Str ListLoad Num Num Assign NameStore Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr SubscriptLoad AttributeLoad AttributeLoad NameLoad attr attr Index Str Str decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad TupleLoad Call AttributeLoad NameLoad attr Num keyword Dict Str Str Assign NameStore Call NameLoad TupleLoad Call AttributeLoad NameLoad attr Num Assign NameStore Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad ListLoad Str ListLoad Num Num Num Dict Str Call AttributeLoad NameLoad attr ListLoad Num Num Assign NameStore Call NameLoad ListLoad Str ListLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr Num Dict With Call AttributeLoad NameLoad attr keyword NameLoad NameStore body Assign NameStore Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Str Call NameLoad AttributeLoad SubscriptLoad NameLoad Index Num attr decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad Dict Str Str Str Str TupleLoad Str ListLoad Num Num Num Dict Str Str TupleLoad Str ListLoad Num Num Num Dict Str Str TupleLoad TupleLoad Str Str ListLoad ListLoad Num Num Num ListLoad Num Num Num ListLoad Num Num Num Dict Str Str TupleLoad Str ListLoad Num Num Num Dict Str Num Assign NameStore Call NameLoad Dict Str Str Str Str Call AttributeLoad NameLoad attr Str keyword Num TupleLoad Str ListLoad Num Num Num TupleLoad TupleLoad Str Str ListLoad ListLoad Num Num Num ListLoad Num Num Num ListLoad Num Num Num Dict Str Str TupleLoad Str ListLoad Num Num AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr NameLoad keyword TupleLoad Str Assign NameStore Call AttributeLoad NameLoad attr NameLoad keyword Str Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad NameLoad decorator_list decorator_list NameLoad ClassDef bases NameLoad NameLoad body Pass decorator_list ClassDef bases AttributeLoad NameLoad attr body Expr Str FunctionDef arguments args NameParam NameParam defaults body Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Return SubscriptLoad AttributeLoad NameLoad attr Index Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr decorator_list decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call NameLoad GeneratorExp TupleLoad NameLoad Call NameLoad AttributeLoad NameLoad attr Call NameLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr comprehension TupleStore NameStore NameStore Call NameLoad NameLoad Return Call NameLoad keyword NameLoad keyword AttributeLoad NameLoad attr decorator_list ClassDef bases NameLoad NameLoad body FunctionDef arguments args NameParam defaults body Expr Yield Call NameLoad decorator_list AttributeLoad NameLoad attr FunctionDef arguments args NameParam NameParam NameParam NameParam defaults Dict Dict body Assign NameStore Call NameLoad Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Expr Yield Call NameLoad NameLoad NameLoad decorator_list AttributeLoad NameLoad attr FunctionDef arguments args NameParam defaults body Raise Call AttributeLoad NameLoad attr Str decorator_list FunctionDef arguments args NameParam defaults body Pass decorator_list FunctionDef arguments args NameParam defaults body Pass decorator_list decorator_list NameLoad
N/A N/A contextlib N/A numpy np N/A pandas pd N/A warnings xarray conventions Variable Dataset open_dataset xarray.core utils indexing N/A TestCase requires_netCDF4 unittest test_backends CFEncodedDataTest xarray.core.pycompat iteritems xarray.backends.memory InMemoryDataStore xarray.backends.common WritableCFDataStore xarray.conventions decode_cf TestMaskedAndScaledArray N/A TestCase N/A test N/A N/A self N/A N/A N/A x N/A N/A conventions MaskedAndScaledArray N/A N/A np arange 3 fill_value 0 N/A N/A N/A self assertEqual N/A x dtype N/A N/A np dtype float N/A N/A N/A self assertEqual N/A x shape N/A 3 N/A N/A N/A self assertEqual N/A x size 3 N/A N/A N/A self assertEqual N/A x ndim 1 N/A N/A N/A self assertEqual N/A len x 3 N/A N/A N/A self assertArrayEqual N/A N/A np nan 1 2 x N/A x N/A N/A conventions MaskedAndScaledArray N/A N/A np arange 3 add_offset 1 N/A N/A N/A self assertArrayEqual N/A N/A N/A np arange 3 1 x N/A x N/A N/A conventions MaskedAndScaledArray N/A N/A np arange 3 scale_factor 2 N/A N/A N/A self assertArrayEqual N/A 2 N/A N/A np arange 3 x N/A x N/A N/A conventions MaskedAndScaledArray N/A N/A np array N/A -99 -1 0 1 2 -99 0.01 1 N/A expected N/A N/A np array N/A N/A np nan 0.99 1 1.01 1.02 N/A N/A N/A self assertArrayEqual expected x N/A test_0d N/A N/A self N/A N/A N/A x N/A N/A conventions MaskedAndScaledArray N/A N/A np array 0 fill_value 0 N/A N/A N/A self assertTrue N/A N/A np isnan x N/A N/A N/A self assertTrue N/A N/A np isnan N/A x N/A N/A x N/A N/A conventions MaskedAndScaledArray N/A N/A np array 0 fill_value 10 N/A N/A N/A self assertEqual 0 N/A x N/A N/A test_multiple_fill_value N/A N/A self N/A N/A N/A x N/A N/A conventions MaskedAndScaledArray N/A N/A np arange 4 fill_value N/A N/A np array N/A 0 1 N/A N/A N/A self assertArrayEqual N/A N/A np nan N/A np nan 2 3 x N/A x N/A N/A conventions MaskedAndScaledArray N/A N/A np array 0 fill_value N/A N/A np array N/A 0 1 N/A N/A N/A self assertTrue N/A N/A np isnan x N/A N/A N/A self assertTrue N/A N/A np isnan N/A x N/A N/A N/A TestCharToStringArray N/A TestCase N/A test_wrapper_class N/A N/A self N/A N/A N/A array N/A N/A np array N/A list abc dtype S N/A actual N/A N/A conventions CharToStringArray array N/A expected N/A N/A np array abc dtype S N/A N/A N/A self assertEqual N/A actual dtype N/A expected dtype N/A N/A N/A self assertEqual N/A actual shape N/A expected shape N/A N/A N/A self assertEqual N/A actual size N/A expected size N/A N/A N/A self assertEqual N/A actual ndim N/A expected ndim N/A N/A N/A self assertRaises TypeError N/A N/A N/A len actual N/A N/A N/A self assertArrayEqual expected actual N/A N/A N/A self assertRaises IndexError N/A N/A N/A actual N/A 2 N/A N/A N/A self assertEqual N/A str actual abc N/A array N/A N/A np array N/A N/A list abc N/A list cdf dtype S N/A actual N/A N/A conventions CharToStringArray array N/A expected N/A N/A np array N/A abc cdf dtype S N/A N/A N/A self assertEqual N/A actual dtype N/A expected dtype N/A N/A N/A self assertEqual N/A actual shape N/A expected shape N/A N/A N/A self assertEqual N/A actual size N/A expected size N/A N/A N/A self assertEqual N/A actual ndim N/A expected ndim N/A N/A N/A self assertEqual N/A len actual N/A len expected N/A N/A N/A self assertArrayEqual expected actual N/A N/A N/A self assertArrayEqual N/A expected N/A 1 N/A actual N/A 1 N/A N/A N/A self assertRaises IndexError N/A N/A N/A actual N/A N/A N/A 2 N/A test_char_to_string N/A N/A self N/A N/A N/A array N/A N/A np array N/A N/A a b c N/A d e f N/A expected N/A N/A np array N/A abc def N/A actual N/A N/A conventions char_to_string array N/A N/A N/A self assertArrayEqual actual expected N/A expected N/A N/A np array N/A ad be cf N/A actual N/A N/A conventions char_to_string N/A array T N/A N/A N/A self assertArrayEqual actual expected N/A test_string_to_char N/A N/A self N/A N/A N/A array N/A N/A np array N/A N/A ab cd N/A ef gh N/A expected N/A N/A np array N/A N/A N/A a b N/A c d N/A N/A e f N/A g h N/A actual N/A N/A conventions string_to_char array N/A N/A N/A self assertArrayEqual actual expected N/A expected N/A N/A np array N/A N/A N/A a b N/A e f N/A N/A c d N/A g h N/A actual N/A N/A conventions string_to_char N/A array T N/A N/A N/A self assertArrayEqual actual expected N/A N/A _ensure_naive_tz N/A N/A dt N/A N/A N/A N/A hasattr dt tzinfo N/A N/A N/A N/A dt replace tzinfo None N/A N/A dt N/A N/A np vectorize TestDatetime N/A TestCase N/A test_cf_datetime N/A N/A self N/A N/A N/A netCDF4 nc4 N/A N/A num_dates units N/A N/A N/A N/A np arange 10 days since 2000-01-01 N/A N/A N/A N/A N/A np arange 10 reshape 2 5 days since 2000-01-01 N/A N/A 12300 N/A N/A np arange 5 hours since 1680-01-01 00:00:00 N/A N/A 12300 N/A N/A np arange 5 hour since 1680-01-01  00:00:00 N/A N/A 12300 N/A N/A np arange 5 Hour  since 1680-01-01 00:00:00 N/A N/A 12300 N/A N/A np arange 5  Hour  since  1680-01-01 00:00:00  N/A 10 days since 2000-01-01 N/A N/A 10 daYs  since 2000-01-01 N/A N/A N/A 10 days since 2000-01-01 N/A N/A 10 10 days since 2000-01-01 N/A N/A N/A np array 10 days since 2000-01-01 N/A 0 days since 1000-01-01 N/A N/A 0 days since 1000-01-01 N/A N/A N/A 0 days since 1000-01-01 N/A N/A N/A np arange 2 days since 1000-01-01 N/A N/A N/A np arange 0 100000 20000 days since 1900-01-01 N/A 17093352.0 hours since 1-1-1 00:00:0.0 N/A N/A 0.5 1.5 hours since 1900-01-01T00:00:00 N/A 0 milliseconds since 2000-01-01T00:00:00 N/A 0 microseconds since 2000-01-01T00:00:00 N/A N/A calendar N/A standard gregorian proleptic_gregorian N/A N/A expected N/A _ensure_naive_tz N/A N/A nc4 num2date num_dates units calendar N/A N/A num_dates units calendar N/A N/A N/A warnings catch_warnings N/A N/A N/A N/A warnings filterwarnings ignore Unable to decode time axis N/A actual N/A N/A conventions decode_cf_datetime num_dates units calendar N/A N/A N/A isinstance actual N/A np ndarray N/A N/A np issubdtype N/A actual dtype N/A np datetime64 N/A N/A actual_cmp N/A N/A actual astype M8[us] N/A N/A actual_cmp actual N/A N/A N/A self assertArrayEqual expected actual_cmp N/A N/A encoded _ _ N/A N/A conventions encode_cf_datetime actual units calendar N/A N/A 1-1-1 units N/A N/A N/A N/A self assertArrayEqual num_dates N/A N/A np around encoded 1 N/A N/A N/A hasattr num_dates ndim N/A N/A num_dates ndim 1 N/A 1000 units N/A N/A N/A encoded _ _ N/A N/A conventions encode_cf_datetime N/A N/A pd Index actual units calendar N/A N/A N/A self assertArrayEqual num_dates N/A N/A np around encoded 1 N/A requires_netCDF4 test_decoded_cf_datetime_array N/A N/A self N/A N/A N/A actual N/A N/A conventions DecodedCFDatetimeArray N/A N/A np array N/A 0 1 2 days since 1900-01-01 standard N/A expected N/A N/A N/A pd date_range 1900-01-01 periods 3 values N/A N/A N/A self assertEqual N/A actual dtype N/A N/A np dtype datetime64[ns] N/A N/A N/A self assertArrayEqual actual expected N/A actual N/A N/A conventions DecodedCFDatetimeArray N/A N/A np array N/A 0 1 2 days since 1900-01-01 N/A N/A N/A self assertEqual N/A actual dtype N/A N/A np dtype datetime64[ns] N/A N/A N/A self assertArrayEqual actual expected N/A test_slice_decoded_cf_datetime_array N/A N/A self N/A N/A N/A actual N/A N/A conventions DecodedCFDatetimeArray N/A N/A np array N/A 0 1 2 days since 1900-01-01 standard N/A expected N/A N/A N/A pd date_range 1900-01-01 periods 3 values N/A N/A N/A self assertEqual N/A actual dtype N/A N/A np dtype datetime64[ns] N/A N/A N/A self assertArrayEqual N/A actual N/A N/A slice 0 2 N/A expected N/A N/A slice 0 2 N/A actual N/A N/A conventions DecodedCFDatetimeArray N/A N/A np array N/A 0 1 2 days since 1900-01-01 standard N/A expected N/A N/A N/A pd date_range 1900-01-01 periods 3 values N/A N/A N/A self assertEqual N/A actual dtype N/A N/A np dtype datetime64[ns] N/A N/A N/A self assertArrayEqual N/A actual N/A N/A 0 2 N/A expected N/A N/A 0 2 N/A test_decode_cf_datetime_non_standard_units N/A N/A self N/A N/A N/A expected N/A N/A pd date_range periods 100 start 1970-01-01 freq h N/A units hours since 1-1-1970 N/A actual N/A N/A conventions decode_cf_datetime N/A N/A np arange 100 units N/A N/A N/A self assertArrayEqual actual expected N/A test_decode_cf_with_conflicting_fill_missing_value N/A N/A self N/A N/A N/A var N/A Variable N/A t N/A N/A np arange 10 N/A units missing_value _FillValue foobar 0 1 N/A N/A N/A self assertRaisesRegexp ValueError _FillValue and missing_value N/A N/A N/A N/A N/A N/A conventions decode_cf_variable var N/A test_decode_cf_datetime_non_iso_strings N/A N/A self N/A N/A N/A expected N/A N/A pd date_range periods 100 start 2000-01-01 freq h N/A cases N/A N/A N/A N/A np arange 100 hours since 2000-01-01 0 N/A N/A N/A np arange 100 hours since 2000-1-1 0 N/A N/A N/A np arange 100 hours since 2000-01-01 0:00 N/A N/A num_dates units cases N/A N/A actual N/A N/A conventions decode_cf_datetime num_dates units N/A N/A N/A self assertArrayEqual actual expected N/A requires_netCDF4 test_decode_non_standard_calendar N/A N/A self N/A N/A N/A netCDF4 nc4 N/A calendar N/A noleap 365_day 360_day julian all_leap 366_day N/A N/A units days since 0001-01-01 N/A times N/A N/A pd date_range 2001-04-01-00 end 2001-04-30-23 freq H N/A noleap_time N/A N/A nc4 date2num N/A N/A times to_pydatetime units calendar calendar N/A expected N/A times values N/A N/A N/A warnings catch_warnings N/A N/A N/A N/A warnings filterwarnings ignore Unable to decode time axis N/A actual N/A N/A conventions decode_cf_datetime noleap_time units calendar calendar N/A N/A N/A self assertEqual N/A actual dtype N/A N/A np dtype M8[ns] N/A abs_diff N/A abs N/A actual expected N/A N/A N/A self assertTrue N/A N/A N/A abs_diff N/A N/A np timedelta64 1 s all N/A requires_netCDF4 test_decode_non_standard_calendar_single_element N/A N/A self N/A N/A N/A units days since 0001-01-01 N/A calendar N/A noleap 365_day 360_day julian all_leap 366_day N/A N/A num_time N/A 735368 N/A 735368 N/A N/A 735368 N/A N/A N/A N/A warnings catch_warnings N/A N/A N/A N/A warnings filterwarnings ignore Unable to decode time axis N/A actual N/A N/A conventions decode_cf_datetime num_time units calendar calendar N/A N/A N/A self assertEqual N/A actual dtype N/A N/A np dtype M8[ns] N/A requires_netCDF4 test_decode_non_standard_calendar_single_element_fallback N/A N/A self N/A N/A N/A netCDF4 nc4 N/A units days since 0001-01-01 N/A dt N/A N/A N/A nc4 netcdftime datetime 2001 2 29 N/A calendar N/A 360_day all_leap 366_day N/A N/A num_time N/A N/A nc4 date2num dt units calendar N/A N/A N/A self assertWarns Unable to decode time axis N/A N/A actual N/A N/A conventions decode_cf_datetime num_time units calendar calendar N/A expected N/A N/A np asarray N/A N/A nc4 num2date num_time units calendar N/A N/A num_time calendar actual expected N/A N/A N/A self assertEqual N/A actual dtype N/A N/A np dtype O N/A N/A N/A self assertEqual expected actual N/A requires_netCDF4 test_decode_non_standard_calendar_multidim_time N/A N/A self N/A N/A N/A netCDF4 nc4 N/A calendar noleap N/A units days since 0001-01-01 N/A times1 N/A N/A pd date_range 2001-04-01 end 2001-04-05 freq D N/A times2 N/A N/A pd date_range 2001-05-01 end 2001-05-05 freq D N/A noleap_time1 N/A N/A nc4 date2num N/A N/A times1 to_pydatetime units calendar calendar N/A noleap_time2 N/A N/A nc4 date2num N/A N/A times2 to_pydatetime units calendar calendar N/A mdim_time N/A N/A np empty N/A N/A len noleap_time1 2 N/A N/A mdim_time N/A N/A N/A 0 noleap_time1 N/A N/A mdim_time N/A N/A N/A 1 noleap_time2 N/A expected1 N/A times1 values N/A expected2 N/A times2 values N/A N/A N/A warnings catch_warnings N/A N/A N/A N/A warnings filterwarnings ignore Unable to decode time axis N/A actual N/A N/A conventions decode_cf_datetime mdim_time units calendar calendar N/A N/A N/A self assertEqual N/A actual dtype N/A N/A np dtype M8[ns] N/A N/A N/A self assertArrayEqual N/A actual N/A N/A N/A 0 expected1 N/A N/A N/A self assertArrayEqual N/A actual N/A N/A N/A 1 expected2 N/A requires_netCDF4 test_decode_non_standard_calendar_fallback N/A N/A self N/A N/A N/A netCDF4 nc4 N/A year N/A 2010 2011 2012 2013 2014 N/A N/A calendar N/A 360_day 366_day all_leap N/A N/A calendar 360_day N/A units N/A N/A days since {0}-01-01 format year N/A num_times N/A N/A np arange 100 N/A expected N/A N/A nc4 num2date num_times units calendar N/A N/A N/A warnings catch_warnings record True w N/A N/A N/A N/A warnings simplefilter always N/A actual N/A N/A conventions decode_cf_datetime num_times units calendar calendar N/A N/A N/A self assertEqual N/A len w 1 N/A N/A N/A self assertIn Unable to decode time axis N/A str N/A N/A w N/A 0 message N/A N/A N/A self assertEqual N/A actual dtype N/A N/A np dtype O N/A N/A N/A self assertArrayEqual actual expected N/A requires_netCDF4 test_cf_datetime_nan N/A N/A self N/A N/A N/A N/A num_dates units expected_list N/A N/A N/A N/A np nan days since 2000-01-01 N/A NaT N/A N/A N/A np nan 0 days since 2000-01-01 N/A NaT 2000-01-01T00:00:00Z N/A N/A N/A np nan 0 1 days since 2000-01-01 N/A NaT 2000-01-01T00:00:00Z 2000-01-02T00:00:00Z N/A N/A N/A N/A warnings catch_warnings N/A N/A N/A N/A warnings filterwarnings ignore All-NaN N/A actual N/A N/A conventions decode_cf_datetime num_dates units N/A expected N/A N/A np array expected_list dtype datetime64[ns] N/A N/A N/A self assertArrayEqual expected actual N/A test_infer_datetime_units N/A N/A self N/A N/A N/A N/A dates expected N/A N/A N/A N/A pd date_range 1900-01-01 periods 5 days since 1900-01-01 00:00:00 N/A N/A N/A pd date_range 1900-01-01 12:00:00 freq H periods 2 hours since 1900-01-01 12:00:00 N/A N/A 1900-01-01 1900-01-02 1900-01-02 00:00:01 seconds since 1900-01-01 00:00:00 N/A N/A N/A pd to_datetime N/A 1900-01-01 1900-01-02 NaT days since 1900-01-01 00:00:00 N/A N/A N/A pd to_datetime N/A 1900-01-01 1900-01-02T00:00:00.005 seconds since 1900-01-01 00:00:00 N/A N/A N/A pd to_datetime N/A NaT 1900-01-01 days since 1900-01-01 00:00:00 N/A N/A N/A pd to_datetime N/A NaT days since 1970-01-01 00:00:00 N/A N/A N/A N/A self assertEqual expected N/A N/A conventions infer_datetime_units dates N/A test_cf_timedelta N/A N/A self N/A N/A N/A examples N/A N/A 1D days N/A N/A np int64 1 N/A N/A 1D 2D 3D days N/A N/A np array N/A 1 2 3 int64 N/A 1h hours N/A N/A np int64 1 N/A 1ms milliseconds N/A N/A np int64 1 N/A 1us microseconds N/A N/A np int64 1 N/A N/A NaT 0s 1s None N/A N/A np nan 0 1 N/A N/A 30m 60m hours N/A 0.5 1.0 N/A N/A N/A pd __version__ 0.16 N/A N/A N/A N/A examples extend N/A N/A N/A N/A np timedelta64 NaT ns days N/A np nan N/A N/A NaT NaT days N/A N/A np nan N/A np nan N/A N/A timedeltas units numbers examples N/A N/A timedeltas N/A N/A pd to_timedelta timedeltas box False N/A numbers N/A N/A np array numbers N/A expected numbers N/A N/A actual _ N/A N/A conventions encode_cf_timedelta timedeltas units N/A N/A N/A self assertArrayEqual expected actual N/A N/A N/A self assertEqual N/A expected dtype N/A actual dtype N/A N/A units None N/A N/A expected timedeltas N/A actual N/A N/A conventions decode_cf_timedelta numbers units N/A N/A N/A self assertArrayEqual expected actual N/A N/A N/A self assertEqual N/A expected dtype N/A actual dtype N/A expected N/A N/A np timedelta64 NaT ns N/A actual N/A N/A conventions decode_cf_timedelta N/A N/A np array N/A np nan days N/A N/A N/A self assertArrayEqual expected actual N/A test_infer_timedelta_units N/A N/A self N/A N/A N/A N/A deltas expected N/A N/A N/A N/A pd to_timedelta N/A 1 day 2 days days N/A N/A N/A pd to_timedelta N/A 1h 1 day 1 hour hours N/A N/A N/A pd to_timedelta N/A 1m 2m N/A np nan minutes N/A N/A N/A pd to_timedelta N/A 1m3s 1m4s seconds N/A N/A N/A N/A self assertEqual expected N/A N/A conventions infer_timedelta_units deltas N/A test_invalid_units_raises_eagerly N/A N/A self N/A N/A N/A ds N/A Dataset N/A time N/A time N/A 0 1 N/A units foobar since 123 N/A N/A N/A self assertRaisesRegexp ValueError unable to decode time N/A N/A N/A decode_cf ds N/A test_dataset_repr_with_netcdf4_datetimes N/A N/A self N/A N/A N/A attrs N/A units calendar days since 0001-01-01 noleap N/A N/A N/A warnings catch_warnings N/A N/A N/A N/A warnings filterwarnings ignore unable to decode time N/A ds N/A decode_cf N/A Dataset N/A time N/A time N/A 0 1 attrs N/A N/A N/A self assertIn (time) object N/A repr ds N/A attrs N/A units days since 1900-01-01 N/A ds N/A decode_cf N/A Dataset N/A time N/A time N/A 0 1 attrs N/A N/A N/A self assertIn (time) datetime64[ns] N/A repr ds N/A requires_netCDF4 N/A TestNativeEndiannessArray N/A TestCase N/A test N/A N/A self N/A N/A N/A x N/A N/A np arange 5 dtype >i8 N/A expected N/A N/A np arange 5 dtype int64 N/A a N/A N/A conventions NativeEndiannessArray x N/A N/A N/A a dtype N/A expected dtype N/A N/A N/A a dtype N/A N/A expected N/A dtype N/A N/A N/A self assertArrayEqual a expected N/A N/A TestEncodeCFVariable N/A TestCase N/A test_incompatible_attributes N/A N/A self N/A N/A N/A invalid_vars N/A N/A Variable N/A t N/A N/A pd date_range 2000-01-01 periods 3 N/A units foobar N/A Variable N/A t N/A N/A pd to_timedelta N/A 1 day N/A units foobar N/A Variable N/A t N/A 0 1 2 N/A add_offset 0 N/A add_offset 2 N/A Variable N/A t N/A 0 1 2 N/A _FillValue 0 N/A _FillValue 2 N/A var invalid_vars N/A N/A N/A N/A self assertRaises ValueError N/A N/A N/A N/A conventions encode_cf_variable var N/A test_missing_fillvalue N/A N/A self N/A N/A N/A v N/A Variable N/A x N/A N/A np array N/A N/A np nan 1 2 3 N/A N/A v encoding N/A dtype int16 N/A N/A N/A self assertWarns floating point data as an integer N/A N/A N/A N/A conventions encode_cf_variable v N/A N/A requires_netCDF4 TestDecodeCF N/A TestCase N/A test_dataset N/A N/A self N/A N/A N/A original N/A Dataset N/A t foo y N/A t N/A 0 1 2 N/A units days since 2000-01-01 N/A t N/A 0 0 0 N/A coordinates units y bar N/A t N/A 5 10 -999 N/A _FillValue -999 N/A expected N/A Dataset N/A foo N/A t N/A 0 0 0 N/A units bar N/A t y N/A N/A pd date_range 2000-01-01 periods 3 N/A t N/A 5.0 10.0 N/A np nan N/A actual N/A N/A conventions decode_cf original N/A N/A N/A self assertDatasetIdentical expected actual N/A test_invalid_coordinates N/A N/A self N/A N/A N/A original N/A Dataset N/A foo N/A t N/A 1 2 N/A coordinates invalid N/A actual N/A N/A conventions decode_cf original N/A N/A N/A self assertDatasetIdentical original actual N/A test_decode_coordinates N/A N/A self N/A N/A N/A original N/A Dataset N/A foo x N/A t N/A 1 2 N/A coordinates x N/A t N/A 4 5 N/A actual N/A N/A conventions decode_cf original N/A N/A N/A self assertEqual N/A N/A N/A actual foo encoding N/A coordinates x N/A test_0d_int32_encoding N/A N/A self N/A N/A N/A original N/A Variable N/A N/A N/A np int32 0 encoding N/A dtype int64 N/A expected N/A Variable N/A N/A N/A np int64 0 N/A actual N/A N/A conventions maybe_encode_dtype original N/A N/A N/A self assertDatasetIdentical expected actual N/A test_decode_cf_with_multiple_missing_values N/A N/A self N/A N/A N/A original N/A Variable N/A t N/A 0 1 2 N/A missing_value N/A N/A np array N/A 0 1 N/A expected N/A Variable N/A t N/A N/A np nan N/A np nan 2 N/A N/A N/A N/A warnings catch_warnings record True w N/A N/A actual N/A N/A conventions decode_cf_variable original N/A N/A N/A self assertDatasetIdentical expected actual N/A N/A N/A self assertIn variable has multiple fill N/A str N/A N/A w N/A 0 message N/A test_decode_cf_with_drop_variables N/A N/A self N/A N/A N/A original N/A Dataset N/A t x foo y N/A t N/A 0 1 2 N/A units days since 2000-01-01 N/A x N/A 9 8 7 N/A units km N/A N/A t x N/A N/A 0 0 0 N/A 1 1 1 N/A 2 2 2 N/A units bar N/A t N/A 5 10 -999 N/A _FillValue -999 N/A expected N/A Dataset N/A t x foo y N/A N/A pd date_range 2000-01-01 periods 3 N/A x N/A 0 1 2 N/A N/A t x N/A N/A 0 0 0 N/A 1 1 1 N/A 2 2 2 N/A units bar N/A t N/A 5 10 N/A np nan N/A actual N/A N/A conventions decode_cf original drop_variables N/A x N/A actual2 N/A N/A conventions decode_cf original drop_variables x N/A N/A N/A self assertDatasetIdentical expected actual N/A N/A N/A self assertDatasetIdentical expected actual2 N/A N/A requires_netCDF4 CFEncodedInMemoryStore N/A WritableCFDataStore InMemoryDataStore N/A N/A N/A NullWrapper N/A N/A utils NDArrayMixin N/A N/A 
    Just for testing, this lets us create a numpy array directly
    but make it look like its not in memory yet.
     __init__ N/A N/A self array N/A N/A N/A N/A self array array N/A __getitem__ N/A N/A self key N/A N/A N/A N/A N/A self array N/A N/A N/A indexing orthogonal_indexer key N/A self shape N/A N/A null_wrap N/A N/A ds N/A N/A N/A 
    Given a data store this wraps each variable in a NullWrapper so that
    it appears to be out of memory.
     N/A variables N/A dict N/A N/A k N/A Variable N/A v dims N/A NullWrapper N/A v values N/A v attrs N/A N/A k v N/A iteritems ds N/A N/A InMemoryDataStore variables variables attributes N/A ds attrs N/A TestCFEncodedDataStore N/A CFEncodedDataTest TestCase N/A create_store N/A N/A self N/A N/A N/A N/A N/A CFEncodedInMemoryStore N/A N/A contextlib contextmanager roundtrip N/A N/A self data save_kwargs open_kwargs N/A N/A N/A N/A N/A store N/A CFEncodedInMemoryStore N/A N/A N/A data dump_to_store store save_kwargs N/A N/A N/A open_dataset store open_kwargs N/A N/A contextlib contextmanager test_roundtrip_coordinates N/A N/A self N/A N/A N/A N/A N/A unittest SkipTest cannot roundtrip coordinates yet for CFEncodedInMemoryStore N/A test_invalid_dataarray_names_raise N/A N/A self N/A N/A N/A N/A test_encoding_kwarg N/A N/A self N/A N/A N/A N/A N/A requires_netCDF4