Module ImportFrom alias Import alias Import alias identifier ImportFrom alias Import alias Import alias Import alias Assign NameStore CompareGt SubscriptLoad AttributeLoad NameLoad attr Index Num Num If NameLoad body Assign NameStore NameLoad orelse Assign NameStore NameLoad TryExcept body Expr NameLoad handlers ExceptHandler type NameLoad body Assign NameStore NameLoad FunctionDef arguments args NameParam NameParam defaults body Return ListComp SubscriptLoad NameLoad Index NameLoad comprehension NameStore Call NameLoad Call NameLoad Call NameLoad NameLoad keyword AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign NameStore NameLoad Assign NameStore NameLoad While Num body TryExcept body Assign NameStore SubscriptLoad AttributeLoad NameLoad attr Index NameLoad Break handlers ExceptHandler body TryExcept body Assign NameStore AttributeLoad NameLoad attr handlers ExceptHandler body Raise Call NameLoad BinOpMod Str NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Expr Yield NameLoad For NameStore Call AttributeLoad AttributeLoad NameLoad attr attr body For NameStore Call NameLoad NameLoad body Expr Yield NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Assign NameStore Call NameLoad Num UnaryOpUSub NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad If CompareLt NameLoad Num body Assign NameStore Call NameLoad Call AttributeLoad NameLoad attr NameLoad orelse Assign NameStore Call NameLoad Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Call NameLoad Num UnaryOpUSub NameLoad Assign NameStore Call NameLoad Num NameLoad Assign NameStore BinOpDiv Call AttributeLoad NameLoad attr BinOpMult NameLoad NameLoad NameLoad If Call AttributeLoad NameLoad attr NameLoad body Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Return NameLoad orelse Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam NameParam defaults NameLoad NameLoad NameLoad NameLoad body Expr Str Assign NameStore Call NameLoad NameLoad If CompareEq NameLoad Num body Assign NameStore Num Assign NameStore TupleLoad Num If Call AttributeLoad NameLoad attr NameLoad body If BoolOpOr CompareEq Call NameLoad NameLoad AttributeLoad NameLoad attr BoolOpAnd CompareNotEq Call NameLoad NameLoad NameLoad Call AttributeLoad Call AttributeLoad NameLoad attr ListComp Call NameLoad NameLoad comprehension NameStore NameLoad attr body Assign NameStore ListLoad NameLoad For NameStore Call NameLoad BinOpAdd Call NameLoad NameLoad Num BinOpAdd NameLoad Num body Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad NameLoad NameLoad orelse Assign NameStore ListLoad NameLoad Assign NameStore ListLoad Assign NameStore Str For TupleStore NameStore NameStore Call NameLoad NameLoad body If CompareIn Call NameLoad NameLoad ListLoad NameLoad NameLoad NameLoad body TryExcept body Assign NameStore Call NameLoad NameLoad handlers ExceptHandler body Raise Call NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad If CompareGt AttributeLoad NameLoad attr Num body Raise Call NameLoad Str If BoolOpAnd NameLoad BoolOpAnd CompareIsNot NameLoad NameLoad CompareIsNot NameLoad NameLoad Call NameLoad NameLoad body TryExcept body Assign NameStore SubscriptLoad NameLoad Index NameLoad Assign NameStore Call NameLoad NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr handlers ExceptHandler type NameLoad body Assign NameStore NameLoad orelse Assign NameStore NameLoad If BoolOpAnd Call AttributeLoad NameLoad attr NameLoad CompareEq AttributeLoad AttributeLoad NameLoad attr attr Str body If BoolOpAnd UnaryOpNot NameLoad CompareNotEq SubscriptLoad NameLoad Index NameLoad Call NameLoad NameLoad body Assign NameStore Str Raise Call NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad If BoolOpAnd Call AttributeLoad NameLoad attr NameLoad CompareEq AttributeLoad AttributeLoad NameLoad attr attr Str body Assign NameStore Call AttributeLoad NameLoad attr CompareLt NameLoad Num BinOpAdd NameLoad SubscriptLoad NameLoad Index NameLoad NameLoad If Call AttributeLoad NameLoad attr CompareLt NameLoad Num body Raise Call NameLoad Str If CompareNotEq AttributeLoad NameLoad attr TupleLoad Num body Assign NameStore SubscriptLoad NameLoad Index NameLoad If NameLoad body Assign NameStore Call NameLoad BinOpAdd Call AttributeLoad NameLoad attr Num NameLoad If CompareGt BinOpAdd Call AttributeLoad NameLoad attr Num NameLoad body Assign NameStore Str Raise Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad orelse If CompareEq AttributeLoad AttributeLoad NameLoad attr attr Str body Expr Call AttributeLoad NameLoad attr NameLoad orelse If BoolOpOr CompareEq Call NameLoad NameLoad NameLoad CompareEq Call NameLoad NameLoad Call NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad orelse TryExcept body Assign NameStore Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad handlers ExceptHandler body Raise Call NameLoad NameLoad Assign NameStore NameLoad Assign NameStore NameLoad Assign NameStore ListLoad For NameStore NameLoad body Assign NameStore Call AttributeLoad NameLoad attr NameLoad If CompareEq Call NameLoad NameLoad Call NameLoad NameLoad body If NameLoad body Raise Call NameLoad Str Expr Call AttributeLoad NameLoad attr BinOpMult TupleLoad Call NameLoad NameLoad NameLoad NameLoad BinOpAdd BinOpSub NameLoad Call NameLoad NameLoad Num Assign NameStore NameLoad orelse If BoolOpAnd Call AttributeLoad NameLoad attr NameLoad CompareGt Call NameLoad NameLoad Num body Assign NameStore SubscriptLoad NameLoad Index Num Assign NameStore BinOpAdd SubscriptLoad NameLoad Index Num Num Assign NameStore BinOpSub SubscriptLoad NameLoad Index Num SubscriptLoad NameLoad Index Num TryExcept body Assign NameStore Call NameLoad NameLoad NameLoad NameLoad handlers ExceptHandler type NameLoad body Assign NameStore NameLoad If BoolOpAnd NameLoad CompareEq Call NameLoad NameLoad Call NameLoad NameLoad Call AttributeLoad CompareEq NameLoad Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad NameLoad NameLoad orelse Expr Call AttributeLoad NameLoad attr NameLoad orelse If BoolOpAnd Call AttributeLoad NameLoad attr NameLoad CompareEq Call NameLoad NameLoad Num body Expr Call AttributeLoad NameLoad attr Call NameLoad SubscriptLoad NameLoad Index Num BinOpAdd SubscriptLoad NameLoad Index Num Num Num orelse Expr Call AttributeLoad NameLoad attr NameLoad Assign NameStore NameLoad If CompareLt Call NameLoad NameLoad NameLoad body For NameStore Call NameLoad BinOpAdd Call NameLoad NameLoad Num BinOpAdd NameLoad Num body Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad NameLoad NameLoad If CompareGt Call NameLoad NameLoad NameLoad body Raise Call NameLoad Str Assign NameStore ListLoad For TupleStore NameStore NameStore Call NameLoad NameLoad body If Call AttributeLoad NameLoad attr NameLoad body Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr NameLoad orelse Expr Call AttributeLoad NameLoad attr Num Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad Num Assign NameStore Call AttributeLoad NameLoad attr NameLoad keyword NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad keyword NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad keyword NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad keyword NameLoad For TupleStore NameStore NameStore Call NameLoad NameLoad body Assign NameStore Call AttributeLoad NameLoad attr NameLoad If BoolOpAnd NameLoad BoolOpAnd CompareIsNot NameLoad NameLoad CompareIsNot NameLoad NameLoad Call NameLoad NameLoad body Assign NameStore SubscriptLoad NameLoad Index NameLoad Assign NameStore Call NameLoad NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr orelse Assign NameStore NameLoad If CompareEq Call NameLoad NameLoad NameLoad body If BoolOpAnd NameLoad CompareIsNot AttributeLoad NameLoad attr NameLoad CompareGt AttributeLoad NameLoad attr SubscriptLoad NameLoad Index NameLoad body Assign NameStore AttributeLoad NameLoad attr orelse If BoolOpAnd NameLoad CompareIs AttributeLoad NameLoad attr NameLoad CompareNotEq NameLoad TupleLoad body If CompareIs AttributeLoad NameLoad attr NameLoad body Assign NameStore SubscriptLoad NameLoad Index NameLoad orelse Assign NameStore BinOpAdd AttributeLoad NameLoad attr SubscriptLoad NameLoad Index NameLoad orelse If BoolOpAnd NameLoad CompareEq NameLoad TupleLoad CompareEq Call NameLoad NameLoad Num body Assign NameStore Num orelse Assign NameStore SubscriptLoad NameLoad Index NameLoad Assign TupleStore NameStore NameStore NameStore Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call NameLoad Call NameLoad NameLoad NameLoad NameLoad Assign SubscriptStore NameLoad ExtSlice Ellipsis Index NameLoad NameLoad Assign SubscriptStore NameLoad ExtSlice Ellipsis Index NameLoad NameLoad Assign SubscriptStore NameLoad ExtSlice Ellipsis Index NameLoad NameLoad Assign SubscriptStore NameLoad ExtSlice Ellipsis Index NameLoad Call NameLoad NameLoad orelse If BoolOpAnd Call AttributeLoad NameLoad attr NameLoad CompareIn AttributeLoad AttributeLoad Call AttributeLoad NameLoad attr NameLoad attr attr Str body Assign SubscriptStore NameLoad ExtSlice Ellipsis Index NameLoad Call AttributeLoad NameLoad attr Lambda arguments args NameParam defaults BinOpMult NameLoad NameLoad NameLoad Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Slice Num Assign SubscriptStore NameLoad ExtSlice Ellipsis Index NameLoad Call AttributeLoad NameLoad attr Lambda arguments args NameParam defaults BinOpMult Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index NameLoad NameLoad NameLoad Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Slice Num NameLoad Assign SubscriptStore NameLoad ExtSlice Ellipsis Index NameLoad Num Assign SubscriptStore NameLoad ExtSlice Ellipsis Index NameLoad Num orelse If CompareGtE NameLoad Num body Assign SubscriptStore NameLoad ExtSlice Ellipsis Index NameLoad NameLoad orelse If BoolOpAnd CompareLt NameLoad Num CompareLtE UnaryOpUSub NameLoad SubscriptLoad NameLoad Index NameLoad body Assign SubscriptStore NameLoad ExtSlice Ellipsis Index NameLoad BinOpAdd NameLoad SubscriptLoad NameLoad Index NameLoad orelse Raise Call NameLoad Str Assign SubscriptStore NameLoad ExtSlice Ellipsis Index NameLoad Num Assign SubscriptStore NameLoad ExtSlice Ellipsis Index NameLoad Num Assign SubscriptStore NameLoad ExtSlice Ellipsis Index NameLoad Num Return TupleLoad NameLoad NameLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call NameLoad SubscriptLoad AttributeLoad NameLoad attr Slice Num Assign NameStore ListLoad For TupleStore NameStore NameStore Call NameLoad NameLoad body If CompareEq NameLoad Num body Assign NameStore SubscriptLoad Call AttributeLoad SubscriptLoad NameLoad ExtSlice Ellipsis Index NameLoad attr Index Num Expr Call AttributeLoad NameLoad attr NameLoad orelse Expr Call AttributeLoad NameLoad attr NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body TryExcept body Expr CompareIn Num NameLoad handlers ExceptHandler body Return NameLoad If CompareEq Call NameLoad NameLoad Call NameLoad NameLoad body Return NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body TryExcept body Return CompareEq Call NameLoad NameLoad NameLoad handlers ExceptHandler body Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body TryExcept body Assign NameStore Call NameLoad NameLoad handlers ExceptHandler body Assign NameStore NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Import alias Assign NameStore Call AttributeLoad NameLoad attr Str For NameStore NameLoad body If CompareEq NameLoad Str body Continue Assign NameStore SubscriptLoad AttributeLoad NameLoad attr Index NameLoad Return NameLoad decorator_list FunctionDef arguments args defaults body ImportFrom alias Assign NameStore BinOpMod Str Call AttributeLoad AttributeLoad NameLoad attr attr SubscriptLoad AttributeLoad NameLoad attr Index Num TryExcept body Assign TupleStore NameStore NameStore Call AttributeLoad NameLoad attr SubscriptLoad AttributeLoad NameLoad attr Slice Num Str ListLoad Str Str Str handlers ExceptHandler body Assign TupleStore NameStore NameStore NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr BinOpMod Str NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Expr Call AttributeLoad NameLoad attr Num Assign NameStore NameLoad Assign NameStore NameLoad Assign NameStore NameLoad For NameStore NameLoad body If CompareEq SubscriptLoad NameLoad Index Num Str body Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Expr Call AttributeLoad NameLoad attr Num orelse If BoolOpOr CompareEq SubscriptLoad NameLoad Index Num Str CompareEq SubscriptLoad NameLoad Index Num Str body Assign NameStore SubscriptLoad NameLoad Index Num orelse If BoolOpOr CompareEq SubscriptLoad NameLoad Index Num Str CompareEq SubscriptLoad NameLoad Index Num Str body Assign NameStore SubscriptLoad NameLoad Index Num orelse If BoolOpOr CompareEq SubscriptLoad NameLoad Index Num Str CompareEq SubscriptLoad NameLoad Index Num Str body Assign NameStore SubscriptLoad NameLoad Index Num orelse Expr Call AttributeLoad AttributeLoad NameLoad attr attr BinOpMod Str SubscriptLoad NameLoad Index Num Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Expr Call AttributeLoad NameLoad attr Num Assign NameStore SubscriptLoad NameLoad Index Num Assign NameStore Call NameLoad NameLoad If CompareIs NameLoad NameLoad body If BoolOpAnd CompareIs NameLoad NameLoad CompareIs NameLoad NameLoad body Expr Call NameLoad NameLoad orelse If CompareIsNot NameLoad NameLoad body Expr Call NameLoad SubscriptLoad AttributeLoad NameLoad attr Index NameLoad If CompareIsNot NameLoad NameLoad body Expr Call NameLoad SubscriptLoad AttributeLoad NameLoad attr Index NameLoad orelse If BoolOpAnd CompareIs NameLoad NameLoad CompareIs NameLoad NameLoad body Expr Call NameLoad Call NameLoad NameLoad NameLoad orelse Assign NameStore Call NameLoad NameLoad NameLoad If CompareIsNot NameLoad NameLoad body Expr Call NameLoad SubscriptLoad AttributeLoad NameLoad attr Index NameLoad If CompareIsNot NameLoad NameLoad body Expr Call NameLoad SubscriptLoad AttributeLoad NameLoad attr Index NameLoad Expr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam NameParam defaults NameLoad Num NameLoad Str body Expr Str ImportFrom alias Assign NameStore Call NameLoad NameLoad Str If CompareNotEq AttributeLoad NameLoad attr Str body Raise Call NameLoad Str Assign NameStore Call NameLoad NameLoad Str keyword NameLoad keyword NameLoad Assign NameStore NameLoad Assign NameStore NameLoad If UnaryOpNot NameLoad body Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr If UnaryOpNot NameLoad body Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str For TupleStore NameStore NameStore Call AttributeLoad AttributeLoad NameLoad attr attr body If Call AttributeLoad NameLoad attr body Assign NameStore NameLoad Assign NameStore NameLoad Expr Call AttributeLoad NameLoad attr NameLoad NameLoad orelse Expr Call AttributeLoad NameLoad attr NameLoad Call NameLoad NameLoad For TupleStore NameStore NameStore Call AttributeLoad AttributeLoad NameLoad attr attr body If UnaryOpNot NameLoad body Expr Call AttributeLoad AttributeLoad NameLoad attr attr BinOpMod Str NameLoad If BoolOpAnd NameLoad CompareIn NameLoad AttributeLoad NameLoad attr body Assign NameStore NameLoad orelse Assign NameStore NameLoad If Call NameLoad NameLoad Str body Assign NameStore AttributeLoad NameLoad attr orelse Assign NameStore NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr keyword NameLoad Assign NameStore AttributeLoad NameLoad attr If CompareIn Str NameLoad body Delete SubscriptDel NameLoad Index Str Expr Call AttributeLoad NameLoad attr NameLoad If NameLoad body If NameLoad body Assign NameStore Num Assign NameStore Call NameLoad NameLoad Assign NameStore NameLoad If CompareLt NameLoad Num body Assign NameStore Num For NameStore Call NameLoad NameLoad NameLoad NameLoad body Assign NameStore BinOpAdd NameLoad NameLoad If CompareGt NameLoad Call NameLoad NameLoad body Assign NameStore Call NameLoad NameLoad Assign SubscriptStore NameLoad Slice NameLoad NameLoad SubscriptLoad NameLoad Slice NameLoad NameLoad orelse Assign SubscriptStore NameLoad Slice Num Call NameLoad NameLoad SubscriptLoad NameLoad Slice orelse Assign SubscriptStore NameLoad Slice SubscriptLoad NameLoad Slice Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args defaults body Assign NameStore BinOpMod Str Call AttributeLoad AttributeLoad NameLoad attr attr SubscriptLoad AttributeLoad NameLoad attr Index Num TryExcept body Assign TupleStore NameStore NameStore Call AttributeLoad NameLoad attr SubscriptLoad AttributeLoad NameLoad attr Slice Num Str ListLoad Str Str Str handlers ExceptHandler body Assign TupleStore NameStore NameStore NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr BinOpMod Str NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Expr Call AttributeLoad NameLoad attr Num Assign NameStore Num Assign NameStore Num Assign NameStore Str Assign NameStore Num For NameStore NameLoad body If CompareEq SubscriptLoad NameLoad Index Num Str body Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Expr Call AttributeLoad NameLoad attr Num orelse If CompareEq SubscriptLoad NameLoad Index Num Str body Assign NameStore Num orelse If CompareEq SubscriptLoad NameLoad Index Num Str body Assign NameStore Call NameLoad SubscriptLoad NameLoad Index Num orelse If CompareEq SubscriptLoad NameLoad Index Num Str body Assign NameStore SubscriptLoad NameLoad Index Num orelse If CompareEq SubscriptLoad NameLoad Index Num Str body Assign NameStore Call NameLoad SubscriptLoad NameLoad Index Num orelse Expr Call AttributeLoad AttributeLoad NameLoad attr attr BinOpMod Str SubscriptLoad NameLoad Index Num Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Expr Call AttributeLoad NameLoad attr Num If BoolOpOr CompareLt Call NameLoad NameLoad Num CompareGt Call NameLoad NameLoad Num body Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Expr Call AttributeLoad NameLoad attr Num Assign NameStore SubscriptLoad NameLoad Index Num Assign NameStore SubscriptLoad NameLoad Index Num Expr Call NameLoad NameLoad NameLoad keyword NameLoad keyword NameLoad keyword NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam defaults NameLoad NameLoad Num NameLoad NameLoad NameLoad NameLoad Num NameLoad Num NameLoad Num Num body Expr Str ImportFrom alias Assign NameStore Call NameLoad NameLoad Str If NameLoad body Assign NameStore Call NameLoad NameLoad Str keyword NameLoad keyword Str orelse Assign NameStore Call NameLoad NameLoad Str keyword NameLoad keyword Str Assign NameStore Num Assign NameStore NameLoad Assign NameStore NameLoad If UnaryOpNot NameLoad body Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr If UnaryOpNot NameLoad body Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str For TupleStore NameStore NameStore Call AttributeLoad AttributeLoad NameLoad attr attr body If Call AttributeLoad NameLoad attr body Assign NameStore NameLoad Assign NameStore NameLoad Expr Call AttributeLoad NameLoad attr NameLoad NameLoad If CompareEq NameLoad Num body Assign NameStore Call NameLoad NameLoad orelse Expr Call AttributeLoad NameLoad attr NameLoad Call NameLoad NameLoad If CompareIs NameLoad NameLoad body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr orelse Assign NameStore NameLoad For NameStore Call AttributeLoad AttributeLoad NameLoad attr attr body If BoolOpAnd CompareIn NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr CompareNotIn NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad For NameStore NameLoad body Assign NameStore SubscriptLoad AttributeLoad NameLoad attr Index NameLoad If UnaryOpNot NameLoad body Expr Call AttributeLoad AttributeLoad NameLoad attr attr BinOpMod Str NameLoad If BoolOpAnd CompareIsNot NameLoad NameLoad Call AttributeLoad NameLoad attr NameLoad body Assign NameStore SubscriptLoad NameLoad Index NameLoad If UnaryOpNot NameLoad body Expr Call AttributeLoad AttributeLoad NameLoad attr attr BinOpMod Str NameLoad orelse Assign NameStore NameLoad If BoolOpAnd NameLoad Call NameLoad NameLoad Str Call NameLoad NameLoad Str body Assign NameStore NameLoad Assign NameStore Str orelse Assign NameStore NameLoad Assign NameStore AttributeLoad NameLoad attr If BoolOpAnd NameLoad CompareIn NameLoad AttributeLoad NameLoad attr body Assign NameStore NameLoad orelse Assign NameStore NameLoad If NameLoad body If UnaryOpNot NameLoad body Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str If Call NameLoad NameLoad Str body Assign NameStore AttributeLoad NameLoad attr orelse Assign NameStore NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad AttributeLoad NameLoad attr keyword NameLoad keyword NameLoad keyword NameLoad keyword NameLoad keyword NameLoad keyword NameLoad Assign NameStore AttributeLoad NameLoad attr If CompareIn Str NameLoad body Delete SubscriptDel NameLoad Index Str If BoolOpAnd NameLoad CompareIn Str NameLoad body Delete SubscriptDel NameLoad Index Str If BoolOpAnd NameLoad CompareIn Str NameLoad body Delete SubscriptDel NameLoad Index Str If BoolOpAnd NameLoad CompareIn Str NameLoad body Assign SubscriptStore NameLoad Index Str NameLoad Expr Call AttributeLoad NameLoad attr NameLoad If NameLoad body If NameLoad body Assign NameStore NameLoad Assign NameStore NameLoad Assign NameStore NameLoad If CompareLt NameLoad Num body Assign NameStore Num For NameStore Call NameLoad NameLoad NameLoad NameLoad body Assign NameStore BinOpAdd NameLoad NameLoad If CompareGt NameLoad NameLoad body Assign NameStore NameLoad Assign NameStore SubscriptLoad NameLoad Slice NameLoad NameLoad If NameLoad body Assign NameStore Call AttributeLoad BinOpAdd BinOpMult AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Str AttributeLoad NameLoad attr attr Str If Call NameLoad NameLoad Str body Assign NameStore Call AttributeLoad NameLoad attr CompareEq NameLoad AttributeLoad NameLoad attr NameLoad NameLoad orelse Assign NameStore NameLoad Assign SubscriptStore NameLoad Slice BinOpSub NameLoad NameLoad BinOpSub NameLoad NameLoad NameLoad orelse Assign NameStore SubscriptLoad NameLoad Slice If NameLoad body Assign NameStore Call AttributeLoad BinOpAdd BinOpMult AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Str AttributeLoad NameLoad attr attr Str If Call NameLoad NameLoad Str body Assign NameStore Call AttributeLoad NameLoad attr CompareEq NameLoad AttributeLoad NameLoad attr NameLoad NameLoad orelse Assign NameStore NameLoad Assign SubscriptStore NameLoad Slice Num Call NameLoad NameLoad NameLoad orelse Assign NameStore SubscriptLoad NameLoad Slice If NameLoad body Assign NameStore Call AttributeLoad BinOpAdd BinOpMult AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Str AttributeLoad NameLoad attr attr Str If Call NameLoad NameLoad Str body Assign NameStore Call AttributeLoad NameLoad attr CompareEq NameLoad AttributeLoad NameLoad attr NameLoad NameLoad orelse Assign NameStore NameLoad Assign SubscriptStore NameLoad Slice NameLoad Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args defaults body Assign NameStore BinOpMod Str Call AttributeLoad AttributeLoad NameLoad attr attr SubscriptLoad AttributeLoad NameLoad attr Index Num TryExcept body Assign TupleStore NameStore NameStore Call AttributeLoad NameLoad attr SubscriptLoad AttributeLoad NameLoad attr Slice Num Str ListLoad Str Str Str Str Str Str Str Str Str Str Str Str handlers ExceptHandler body Assign TupleStore NameStore NameStore NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr BinOpMod Str NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Expr Call AttributeLoad NameLoad attr Num Assign NameStore Num Assign NameStore Num Assign NameStore Num Assign NameStore Num Assign NameStore Num Assign NameStore Num Assign NameStore Num Assign NameStore NameLoad Assign NameStore NameLoad Assign NameStore Num Assign NameStore Num Assign NameStore Num Assign NameStore Num For NameStore NameLoad body If CompareEq SubscriptLoad NameLoad Index Num Str body Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Expr Call AttributeLoad NameLoad attr Num orelse If CompareEq SubscriptLoad NameLoad Index Num Str body Assign NameStore Num orelse If CompareEq SubscriptLoad NameLoad Index Num Str body Assign NameStore Call NameLoad SubscriptLoad NameLoad Index Num orelse If CompareEq SubscriptLoad NameLoad Index Num Str body Assign NameStore Call NameLoad SubscriptLoad NameLoad Index Num orelse If CompareEq SubscriptLoad NameLoad Index Num Str body Assign NameStore Call NameLoad SubscriptLoad NameLoad Index Num orelse If CompareEq SubscriptLoad NameLoad Index Num Str body Assign NameStore Call NameLoad SubscriptLoad NameLoad Index Num orelse If CompareEq SubscriptLoad NameLoad Index Num Str body Assign NameStore Call NameLoad SubscriptLoad NameLoad Index Num orelse If CompareEq SubscriptLoad NameLoad Index Num Str body Assign NameStore Call NameLoad SubscriptLoad NameLoad Index Num orelse If CompareEq SubscriptLoad NameLoad Index Num Str body Assign NameStore Call NameLoad SubscriptLoad NameLoad Index Num orelse If CompareEq SubscriptLoad NameLoad Index Num Str body Assign NameStore Call NameLoad SubscriptLoad NameLoad Index Num orelse If CompareEq SubscriptLoad NameLoad Index Num Str body Assign NameStore SubscriptLoad NameLoad Index Num orelse If CompareEq SubscriptLoad NameLoad Index Num Str body Assign NameStore SubscriptLoad NameLoad Index Num orelse If CompareEq SubscriptLoad NameLoad Index Num Str body Assign NameStore Call NameLoad SubscriptLoad NameLoad Index Num orelse If CompareEq SubscriptLoad NameLoad Index Num Str body Assign NameStore Call NameLoad SubscriptLoad NameLoad Index Num orelse Expr Call AttributeLoad AttributeLoad NameLoad attr attr BinOpMod Str SubscriptLoad NameLoad Index Num Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Expr Call AttributeLoad NameLoad attr Num If BoolOpOr CompareLt Call NameLoad NameLoad Num CompareGt Call NameLoad NameLoad Num body Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Expr Call AttributeLoad NameLoad attr Num Assign NameStore SubscriptLoad NameLoad Index Num Assign NameStore SubscriptLoad NameLoad Index Num If CompareIsNot NameLoad NameLoad body Assign NameStore Dict For NameStore Call AttributeLoad NameLoad attr Str body Assign NameStore Call AttributeLoad NameLoad attr Str Assign SubscriptStore NameLoad Index SubscriptLoad NameLoad Index Num Call NameLoad SubscriptLoad NameLoad Index Num orelse Assign NameStore NameLoad If CompareIsNot NameLoad NameLoad body Assign NameStore Call AttributeLoad NameLoad attr Str Expr Call NameLoad NameLoad NameLoad keyword NameLoad keyword NameLoad keyword NameLoad keyword NameLoad keyword NameLoad keyword NameLoad keyword NameLoad keyword NameLoad keyword NameLoad keyword NameLoad keyword NameLoad keyword NameLoad keyword NameLoad decorator_list
N/A __future__ print_function N/A sys N/A numpy np numpy ma N/A warnings N/A getopt N/A os N/A python3 N/A N/A N/A sys version_info N/A 0 2 N/A python3 N/A N/A unicode str N/A N/A range xrange N/A N/A N/A bytes N/A N/A N/A NameError N/A N/A bytes str _sortbylist N/A N/A A B N/A N/A N/A N/A N/A A N/A i N/A i N/A sorted N/A range N/A len A key N/A B __getitem__ N/A _find_dim N/A N/A grp dimname N/A N/A N/A group grp N/A dim None N/A 1 N/A N/A N/A N/A dim N/A N/A group dimensions N/A dimname N/A N/A N/A N/A N/A N/A N/A group N/A group parent N/A N/A N/A N/A N/A ValueError N/A cannot find dimension %s in this group or parent groups dimname N/A dim N/A _walk_grps N/A N/A topgrp N/A N/A N/A Iterate through all (sub-) groups of topgrp, similar to os.walktree.

     N/A grps N/A N/A N/A topgrp groups values N/A N/A grps N/A grp N/A N/A N/A topgrp groups values N/A N/A children N/A _walk_grps grp N/A N/A N/A children N/A _quantize N/A N/A data least_significant_digit N/A N/A N/A 
quantize data to improve compression. data is quantized using
around(scale*data)/scale, where scale is 2**bits, and bits is determined
from the least_significant_digit. For example, if
least_significant_digit=1, bits will be 4.
     N/A precision N/A pow 10.0 N/A least_significant_digit N/A exp N/A N/A np log10 precision N/A N/A exp 0 N/A N/A exp N/A int N/A N/A np floor exp N/A N/A exp N/A int N/A N/A np ceil exp N/A bits N/A N/A np ceil N/A N/A np log2 N/A pow 10.0 N/A exp N/A scale N/A pow 2.0 bits N/A datout N/A N/A N/A np around N/A scale data scale N/A N/A N/A ma isMA datout N/A N/A N/A N/A datout set_fill_value N/A data fill_value N/A datout N/A N/A datout N/A _StartCountStride N/A N/A elem shape dimensions grp datashape put N/A None None None False N/A N/A Return start, count, stride and indices needed to store/extract data
    into/from a netCDF variable.

    This function is used to convert a slicing expression into a form that is
    compatible with the nc_get_vars function. Specifically, it needs
    to interpret integers, slices, Ellipses, and 1-d sequences of integers
    and booleans.

    Numpy uses "broadcasting indexing" to handle array-valued indices.
    "Broadcasting indexing" (a.k.a "fancy indexing") treats all multi-valued
    indices together to allow arbitrary points to be extracted. The index
    arrays can be multidimensional, and more than one can be specified in a
    slice, as long as they can be "broadcast" against each other.
    This style of indexing can be very powerful, but it is very hard
    to understand, explain, and implement (and can lead to hard to find bugs).
    Most other python packages and array processing
    languages (such as netcdf4-python, xray, biggus, matlab and fortran)
    use "orthogonal indexing" which only allows for 1-d index arrays and
    treats these arrays of indices independently along each dimension.

    The implementation of "orthogonal indexing" used here requires that
    index arrays be 1-d boolean or integer. If integer arrays are used,
    the index values must be sorted and contain no duplicates.

    In summary, slicing netcdf4-python variable objects with 1-d integer or
    boolean arrays is allowed, but may give a different result than slicing a
    numpy array.

    Numpy also supports slicing an array with a boolean array of the same
    shape. For example x[x>0] returns a 1-d array with all the positive values of x.
    This is also not supported in netcdf4-python, if x.ndim > 1.

    Orthogonal indexing can be used in to select netcdf variable slices
    using the dimension variables. For example, you can use v[lat>60,lon<180]
    to fetch the elements of v obeying conditions on latitude and longitude.
    Allow for this sort of simple variable subsetting is the reason we decided to
    deviate from numpy's slicing rules.

    This function is used both by the __setitem__ and __getitem__ method of
    the Variable class.

    Parameters
    ----------
    elem : tuple of integer, slice, ellipsis or 1-d boolean or integer
    sequences used to slice the netCDF Variable (Variable[elem]).
    shape : tuple containing the current shape of the netCDF variable.
    dimensions : sequence
      The name of the dimensions. This is only useful to find out
      whether or not some dimensions are unlimited. Only needed within
      __setitem__.
    grp  : netCDF Group
      The netCDF group to which the variable being set belongs to.
      Only needed within __setitem__.
    datashape : sequence
      The shape of the data that is being stored. Only needed by __setitime__
    put : True|False (default False).  If called from __setitem__, put is True.

    Returns
    -------
    start : ndarray (..., n)
      A starting indices array of dimension n+1. The first n
      dimensions identify different independent data chunks. The last dimension
      can be read as the starting indices.
    count : ndarray (..., n)
      An array of dimension (n+1) storing the number of elements to get.
    stride : ndarray (..., n)
      An array of dimension (n+1) storing the steps between each datum.
    indices : ndarray (..., n)
      An array storing the indices describing the location of the
      data chunk in the target/source array (__getitem__/__setitem__).

    Notes:

    netCDF data is accessed via the function:
       nc_get_vars(grpid, varid, start, count, stride, data)

    Assume that the variable has dimension n, then

    start is a n-tuple that contains the indices at the beginning of data chunk.
    count is a n-tuple that contains the number of elements to be accessed.
    stride is a n-tuple that contains the step length between each element.

     N/A nDims N/A len shape N/A N/A nDims 0 N/A N/A nDims 1 N/A shape N/A 1 N/A N/A N/A np iterable elem N/A N/A N/A N/A N/A type elem N/A np ndarray N/A N/A N/A type elem tuple N/A N/A N/A N/A np array N/A N/A _is_int e N/A e elem all N/A N/A elem N/A elem N/A n N/A range N/A N/A len elem 1 N/A nDims 1 N/A N/A N/A N/A elem append N/A slice None None None N/A N/A elem N/A elem N/A newElem N/A N/A IndexErrorMsg only integers, slices (`:`), ellipsis (`...`), and 1-d integer or boolean arrays are valid indices N/A N/A i e N/A enumerate elem N/A N/A N/A N/A type e N/A str bytes unicode N/A N/A N/A N/A e N/A int e N/A N/A N/A N/A N/A IndexError IndexErrorMsg N/A ea N/A N/A np asarray e N/A N/A N/A ea ndim 1 N/A N/A N/A IndexError Index cannot be multidimensional N/A N/A put N/A N/A dimensions None N/A grp None N/A len dimensions N/A N/A N/A N/A dimname N/A dimensions N/A i N/A dim N/A _find_dim grp dimname N/A unlim N/A N/A dim isunlimited N/A N/A N/A IndexError N/A N/A unlim False N/A N/A unlim False N/A N/A N/A N/A np iterable ea N/A N/A N/A ea dtype kind b N/A N/A N/A N/A unlim N/A N/A shape N/A i N/A len ea N/A N/A msg 
Boolean array must have the same shape as the data along this dimension. N/A N/A IndexError msg N/A ea N/A N/A np flatnonzero ea N/A N/A N/A N/A np iterable ea N/A N/A N/A ea dtype kind i N/A N/A ea N/A N/A np where N/A ea 0 N/A ea N/A shape N/A i ea N/A N/A N/A np any N/A ea 0 N/A N/A N/A IndexErro integer index out of range N/A N/A N/A ea shape N/A 0 N/A N/A elen N/A shape N/A i N/A unlim N/A N/A elen N/A max N/A N/A N/A ea max 1 elen N/A N/A N/A N/A N/A ea max 1 elen N/A N/A msg integer index exceeds dimension size N/A N/A IndexError msg N/A N/A N/A newElem append ea N/A N/A N/A N/A N/A ea dtype kind i N/A N/A N/A N/A newElem append e N/A N/A N/A N/A N/A type e slice N/A N/A type e N/A type Ellipsis N/A N/A N/A N/A newElem append e N/A N/A N/A N/A e N/A int e N/A N/A N/A newElem append e N/A N/A N/A N/A N/A IndexError IndexErrorMsg N/A elem newElem N/A hasEllipsis False N/A newElem N/A N/A e elem N/A N/A ea N/A N/A np asarray e N/A N/A N/A type e N/A type Ellipsis N/A N/A hasEllipsis N/A N/A N/A IndexError At most one ellipsis allowed in a slicing expression N/A N/A N/A newElem extend N/A N/A N/A slice None None None N/A N/A nDims N/A len elem 1 N/A hasEllipsis True N/A N/A N/A N/A N/A np iterable e N/A N/A len e 1 N/A N/A start N/A e N/A 0 N/A stop N/A N/A e N/A -1 1 N/A step N/A N/A e N/A 1 N/A e N/A 0 N/A N/A N/A ee N/A range start stop step N/A N/A N/A ValueError N/A N/A ee False N/A N/A ee N/A N/A len e N/A len ee N/A N/A N/A e N/A N/A np arange start stop step all N/A N/A N/A N/A newElem append N/A slice start stop step N/A N/A N/A N/A newElem append e N/A N/A N/A N/A N/A np iterable e N/A N/A len e 1 N/A N/A N/A N/A newElem append N/A slice N/A e N/A 0 N/A N/A e N/A 0 1 1 N/A N/A N/A N/A newElem append e N/A elem newElem N/A N/A N/A len elem nDims N/A N/A n N/A range N/A N/A len elem 1 N/A nDims 1 N/A N/A N/A N/A elem append N/A slice None None None N/A N/A N/A len elem nDims N/A N/A N/A ValueError slicing expression exceeds the number of dimensions of the variable N/A sdim N/A N/A N/A i e N/A enumerate elem N/A N/A N/A N/A np iterable e N/A N/A N/A N/A sdim append N/A N/A np alen e N/A N/A N/A N/A sdim append 1 N/A N/A N/A sdim append N/A max nDims 1 N/A start N/A N/A np empty sdim dtype int N/A count N/A N/A np empty sdim dtype int N/A stride N/A N/A np empty sdim dtype int N/A indices N/A N/A np empty sdim dtype object N/A N/A i e N/A enumerate elem N/A N/A ea N/A N/A np asarray e N/A N/A put N/A N/A dimensions None N/A grp None N/A len dimensions N/A N/A dimname N/A dimensions N/A i N/A dim N/A _find_dim grp dimname N/A unlim N/A N/A dim isunlimited N/A N/A unlim False N/A N/A N/A type e slice N/A N/A N/A unlim N/A N/A e stop None N/A N/A e stop N/A shape N/A i N/A N/A length N/A e stop N/A N/A N/A unlim N/A N/A e stop None N/A datashape N/A N/A N/A N/A N/A e start None N/A N/A length N/A datashape N/A i N/A N/A length N/A N/A e start N/A datashape N/A i N/A N/A N/A unlim N/A datashape N/A N/A N/A len dim 0 N/A N/A length 1 N/A N/A length N/A shape N/A i N/A N/A beg end inc N/A N/A e indices length N/A n N/A len N/A range beg end inc N/A N/A start N/A N/A N/A i beg N/A N/A count N/A N/A N/A i n N/A N/A stride N/A N/A N/A i inc N/A N/A indices N/A N/A N/A i N/A slice None N/A N/A N/A N/A N/A np iterable e N/A N/A N/A N/A N/A np array e dtype kind i N/A N/A N/A start N/A N/A N/A i N/A N/A np apply_along_axis N/A N/A N/A x N/A N/A e x i N/A N/A np ones N/A sdim N/A -1 N/A N/A indices N/A N/A N/A i N/A N/A np apply_along_axis N/A N/A N/A x N/A N/A N/A N/A np arange N/A sdim N/A i x i N/A N/A np ones N/A sdim N/A -1 int N/A N/A count N/A N/A N/A i 1 N/A N/A stride N/A N/A N/A i 1 N/A N/A N/A e 0 N/A N/A N/A start N/A N/A N/A i e N/A N/A N/A N/A e 0 N/A N/A e N/A shape N/A i N/A N/A N/A start N/A N/A N/A i N/A e N/A shape N/A i N/A N/A N/A IndexError Index out of range N/A N/A count N/A N/A N/A i 1 N/A N/A stride N/A N/A N/A i 1 N/A N/A indices N/A N/A N/A i -1 N/A N/A start count stride indices N/A _out_array_shape N/A N/A count N/A N/A N/A Return the output array shape given the count array created by getStartCountStride N/A s N/A list N/A N/A count shape N/A -1 N/A out N/A N/A N/A i n N/A enumerate s N/A N/A N/A n 1 N/A N/A c N/A N/A N/A N/A count N/A N/A N/A i ravel N/A 0 N/A N/A N/A out append c N/A N/A N/A N/A out append n N/A out N/A _is_container N/A N/A a N/A N/A N/A N/A N/A N/A 1 a N/A N/A N/A N/A False N/A N/A N/A type a N/A type basestring N/A N/A False N/A True N/A _is_int N/A N/A a N/A N/A N/A N/A N/A N/A N/A int a a N/A N/A N/A N/A False N/A _tostr N/A N/A s N/A N/A N/A N/A N/A ss N/A str s N/A N/A N/A N/A ss s N/A ss N/A _getgrp N/A N/A g p N/A N/A N/A posixpath N/A grps N/A N/A p split / N/A gname grps N/A N/A N/A gname N/A N/A N/A g N/A N/A g groups N/A gname N/A g N/A ncinfo N/A N/A N/A N/A netCDF4 Dataset N/A usage N/A 
 Print summary information about a netCDF file.

 usage: %s [-h] [-g grp or --group=grp] [-v var or --variable=var] [-d dim or --dimension=dim] filename

 -h -- Print usage message.
 -g <group name> or --group=<group name> -- Print info for this group
      (default is root group). Nested groups specified
      using posix paths ("group1/group2/group3").
 -v <variable name> or --variable=<variable name> -- Print info for this variable.
 -d <dimension name> or --dimension=<dimension name> -- Print info for this dimension.

 netcdf filename must be last argument.

 N/A N/A N/A os path basename N/A N/A sys argv N/A 0 N/A N/A N/A N/A opts pargs N/A N/A getopt getopt N/A N/A sys argv N/A 1 hv:g:d: N/A group= variable= dimension= N/A N/A N/A N/A N/A type value traceback N/A N/A sys exc_info N/A N/A N/A N/A sys stdout write N/A Error parsing the options. The error was: %s
 value N/A N/A N/A N/A sys stderr write usage N/A N/A N/A sys exit 0 N/A group None N/A var None N/A dim None N/A option opts N/A N/A N/A N/A option N/A 0 -h N/A N/A N/A N/A N/A sys stderr write usage N/A N/A N/A sys exit 0 N/A N/A N/A N/A N/A option N/A 0 --group N/A N/A option N/A 0 -g N/A N/A group N/A option N/A 1 N/A N/A N/A N/A N/A option N/A 0 --variable N/A N/A option N/A 0 -v N/A N/A var N/A option N/A 1 N/A N/A N/A N/A N/A option N/A 0 --dimension N/A N/A option N/A 0 -d N/A N/A dim N/A option N/A 1 N/A N/A N/A N/A N/A sys stdout write N/A %s: Unrecognized option
 N/A option N/A 0 N/A N/A N/A N/A sys stderr write usage N/A N/A N/A sys exit 0 N/A filename N/A pargs N/A -1 N/A f N/A Dataset filename N/A N/A group None N/A N/A N/A N/A var None N/A dim None N/A N/A N/A print f N/A N/A N/A var None N/A N/A N/A print N/A N/A f variables N/A var N/A N/A dim None N/A N/A N/A print N/A N/A f dimensions N/A dim N/A N/A N/A N/A var None N/A dim None N/A N/A N/A print N/A getgrp f group N/A N/A g N/A getgrp f group N/A N/A var None N/A N/A N/A print N/A N/A g variables N/A var N/A N/A dim None N/A N/A N/A print N/A N/A g dimensions N/A var N/A N/A N/A f close N/A _nc4tonc3 N/A N/A filename4 filename3 clobber nchunk quiet format N/A False 10 False NETCDF3_64BIT N/A N/A convert a netcdf 4 file (filename4) in NETCDF4_CLASSIC format
    to a netcdf 3 file (filename3) in NETCDF3_64BIT format. netCDF4 Dataset N/A ncfile4 N/A Dataset filename4 r N/A N/A N/A ncfile4 file_format NETCDF4_CLASSIC N/A N/A N/A IOError input file must be in NETCDF4_CLASSIC format N/A ncfile3 N/A Dataset filename3 w clobber clobber format format N/A unlimdimname False N/A unlimdim None N/A N/A quiet N/A N/A N/A N/A N/A sys stdout write copying global attributes ..
 N/A N/A N/A ncfile3 setncatts N/A ncfile4 __dict__ N/A N/A quiet N/A N/A N/A N/A N/A sys stdout write copying dimensions ..
 N/A N/A dimname dim N/A N/A N/A ncfile4 dimensions items N/A N/A N/A N/A dim isunlimited N/A N/A unlimdimname dimname N/A unlimdim dim N/A N/A N/A ncfile3 createDimension dimname None N/A N/A N/A N/A ncfile3 createDimension dimname N/A len dim N/A N/A varname ncvar N/A N/A N/A ncfile4 variables items N/A N/A N/A quiet N/A N/A N/A N/A N/A sys stdout write N/A copying variable %s
 varname N/A N/A unlimdimname N/A unlimdimname N/A ncvar dimensions N/A N/A hasunlimdim True N/A N/A hasunlimdim False N/A N/A hasattr ncvar _FillValue N/A N/A FillValue N/A ncvar _FillValue N/A N/A FillValue None N/A var N/A N/A ncfile3 createVariable varname N/A ncvar dtype N/A ncvar dimensions fill_value FillValue N/A attdict N/A ncvar __dict__ N/A N/A _FillValue attdict N/A N/A N/A attdict N/A _FillValue N/A N/A N/A var setncatts attdict N/A hasunlimdim N/A N/A nchunk N/A N/A start 0 N/A stop N/A len unlimdim N/A step nchunk N/A N/A step 1 N/A N/A step 1 N/A n N/A range start stop step N/A N/A nmax N/A n nchunk N/A N/A nmax N/A len unlimdim N/A N/A nmax N/A len unlimdim N/A N/A var N/A n nmax N/A ncvar N/A n nmax N/A N/A N/A var N/A 0 N/A len unlimdim N/A ncvar N/A N/A N/A N/A var N/A N/A ncvar N/A N/A N/A N/A ncfile3 sync N/A N/A N/A ncfile3 close N/A N/A N/A ncfile4 close N/A nc4tonc3 N/A N/A N/A N/A N/A usage N/A 
 Convert a netCDF 4 file (in NETCDF4_CLASSIC format) to netCDF 3 format.

 usage: %s [-h] [-o] [--chunk] netcdf4filename netcdf3filename
 -h -- Print usage message.
 -o -- Overwrite destination file (default is to raise an error if output file already exists).
 --quiet=(0|1)  -- if 1, don't print diagnostic information.
 --format -- netcdf3 format to use (NETCDF3_64BIT by default, can be set to NETCDF3_CLASSIC)
 --chunk=(integer) -- number of records along unlimited dimension to
     write at once.  Default 10.  Ignored if there is no unlimited
     dimension.  chunk=0 means write all the data at once.

 N/A N/A N/A os path basename N/A N/A sys argv N/A 0 N/A N/A N/A N/A opts pargs N/A N/A getopt getopt N/A N/A sys argv N/A 1 ho N/A format= chunk= quiet= N/A N/A N/A N/A N/A type value traceback N/A N/A sys exc_info N/A N/A N/A N/A sys stdout write N/A Error parsing the options. The error was: %s
 value N/A N/A N/A N/A sys stderr write usage N/A N/A N/A sys exit 0 N/A quiet 0 N/A chunk 1000 N/A format NETCDF3_64BIT N/A overwritefile 0 N/A option opts N/A N/A N/A N/A option N/A 0 -h N/A N/A N/A N/A N/A sys stderr write usage N/A N/A N/A sys exit 0 N/A N/A N/A N/A option N/A 0 -o N/A N/A overwritefile 1 N/A N/A N/A N/A option N/A 0 --quiet N/A N/A quiet N/A int N/A option N/A 1 N/A N/A N/A N/A option N/A 0 --format N/A N/A format N/A option N/A 1 N/A N/A N/A N/A option N/A 0 --chunk N/A N/A chunk N/A int N/A option N/A 1 N/A N/A N/A N/A N/A sys stdout write N/A %s : Unrecognized option
 N/A options N/A 0 N/A N/A N/A N/A sys stderr write usage N/A N/A N/A sys exit 0 N/A N/A N/A N/A len pargs 2 N/A N/A len pargs 2 N/A N/A N/A N/A N/A sys stdout write You need to pass both source and destination!
. N/A N/A N/A N/A sys stderr write usage N/A N/A N/A sys exit 0 N/A filename4 N/A pargs N/A 0 N/A filename3 N/A pargs N/A 1 N/A N/A _nc4tonc3 filename4 filename3 clobber overwritefile quiet quiet format format N/A _nc3tonc4 N/A N/A filename3 filename4 unpackshort zlib complevel shuffle fletcher32 clobber lsd_dict nchunk quiet classic vars istart istop N/A True True 6 True False False None 10 False 0 None 0 -1 N/A N/A convert a netcdf 3 file (filename3) to a netcdf 4 file
    The default format is 'NETCDF4', but can be set
    to NETCDF4_CLASSIC if classic=1.
    If unpackshort=True, variables stored as short
    integers with a scale and offset are unpacked to floats.
    in the netcdf 4 file.  If the lsd_dict is not None, variable names
    corresponding to the keys of the dict will be truncated to the decimal place
    specified by the values of the dict.  This improves compression by
    making it 'lossy'..
    If vars is not None, only variable names in the list
    will be copied (plus all the dimension variables).
    The zlib, complevel and shuffle keywords control
    how the compression is done. netCDF4 Dataset N/A ncfile3 N/A Dataset filename3 r N/A classic N/A N/A ncfile4 N/A Dataset filename4 w clobber clobber format NETCDF4_CLASSIC N/A N/A ncfile4 N/A Dataset filename4 w clobber clobber format NETCDF4 N/A mval 1e+30 N/A unlimdimname False N/A unlimdim None N/A N/A quiet N/A N/A N/A N/A N/A sys stdout write copying global attributes ..
 N/A N/A N/A ncfile4 setncatts N/A ncfile3 __dict__ N/A N/A quiet N/A N/A N/A N/A N/A sys stdout write copying dimensions ..
 N/A N/A dimname dim N/A N/A N/A ncfile3 dimensions items N/A N/A N/A N/A dim isunlimited N/A N/A unlimdimname dimname N/A unlimdim dim N/A N/A N/A ncfile4 createDimension dimname None N/A N/A istop -1 N/A N/A istop N/A len unlimdim N/A N/A N/A N/A ncfile4 createDimension dimname N/A len dim N/A N/A vars None N/A N/A varnames N/A N/A N/A ncfile3 variables keys N/A N/A varnames vars N/A dimname N/A N/A N/A ncfile3 dimensions keys N/A N/A N/A N/A dimname N/A N/A N/A ncfile3 variables keys N/A dimname varnames N/A N/A N/A N/A varnames append dimname N/A varname varnames N/A N/A ncvar N/A N/A ncfile3 variables N/A varname N/A N/A quiet N/A N/A N/A N/A N/A sys stdout write N/A copying variable %s
 varname N/A N/A N/A lsd_dict None N/A N/A lsd_dict has_key varname N/A N/A lsd N/A lsd_dict N/A varname N/A N/A quiet N/A N/A N/A N/A N/A sys stdout write N/A truncating to least_significant_digit = %d
 lsd N/A N/A lsd None N/A N/A unpackshort N/A hasattr ncvar scale_factor N/A hasattr ncvar add_offset N/A N/A dounpackshort True N/A datatype f4 N/A N/A dounpackshort False N/A datatype N/A ncvar dtype N/A N/A unlimdimname N/A unlimdimname N/A ncvar dimensions N/A N/A hasunlimdim True N/A N/A hasunlimdim False N/A dounpackshort N/A N/A N/A quiet N/A N/A N/A N/A N/A sys stdout write unpacking short integers to floats ...
 N/A N/A N/A N/A sys stdout write N/A N/A hasattr ncvar _FillValue N/A N/A FillValue N/A ncvar _FillValue N/A N/A FillValue None N/A var N/A N/A ncfile4 createVariable varname datatype N/A ncvar dimensions fill_value FillValue least_significant_digit lsd zlib zlib complevel complevel shuffle shuffle fletcher32 fletcher32 N/A attdict N/A ncvar __dict__ N/A N/A _FillValue attdict N/A N/A N/A attdict N/A _FillValue N/A N/A dounpackshort N/A add_offset attdict N/A N/A N/A attdict N/A add_offset N/A N/A dounpackshort N/A scale_factor attdict N/A N/A N/A attdict N/A scale_factor N/A N/A dounpackshort N/A missing_value attdict N/A N/A N/A attdict N/A missing_value mval N/A N/A N/A var setncatts attdict N/A hasunlimdim N/A N/A nchunk N/A N/A start istart N/A stop istop N/A step nchunk N/A N/A step 1 N/A N/A step 1 N/A n N/A range start stop step N/A N/A nmax N/A n nchunk N/A N/A nmax istop N/A N/A nmax istop N/A idata N/A ncvar N/A n nmax N/A dounpackshort N/A N/A tmpdata N/A N/A N/A N/A N/A ncvar scale_factor N/A N/A idata astype f N/A ncvar add_offset astype f N/A N/A hasattr ncvar missing_value N/A N/A tmpdata N/A N/A np where N/A idata N/A ncvar missing_value mval tmpdata N/A N/A tmpdata idata N/A N/A var N/A N/A n istart N/A nmax istart tmpdata N/A N/A idata N/A ncvar N/A N/A dounpackshort N/A N/A tmpdata N/A N/A N/A N/A N/A ncvar scale_factor N/A N/A idata astype f N/A ncvar add_offset astype f N/A N/A hasattr ncvar missing_value N/A N/A tmpdata N/A N/A np where N/A idata N/A ncvar missing_value mval tmpdata N/A N/A tmpdata idata N/A N/A var N/A 0 N/A len unlimdim tmpdata N/A N/A idata N/A ncvar N/A N/A dounpackshort N/A N/A tmpdata N/A N/A N/A N/A N/A ncvar scale_factor N/A N/A idata astype f N/A ncvar add_offset astype f N/A N/A hasattr ncvar missing_value N/A N/A tmpdata N/A N/A np where N/A idata N/A ncvar missing_value mval tmpdata N/A N/A tmpdata idata N/A N/A var N/A tmpdata N/A N/A N/A ncfile4 sync N/A N/A N/A ncfile3 close N/A N/A N/A ncfile4 close N/A nc3tonc4 N/A N/A N/A N/A N/A usage N/A 
 Convert a netCDF 3 file to netCDF 4 format, optionally
 unpacking variables packed as short integers (with scale_factor and add_offset)
 to floats, and adding zlib compression (with the HDF5 shuffle filter and fletcher32 checksum).
 Data may also be quantized (truncated) to a specified precision to improve compression.

 usage: %s [-h] [-o] [--vars=var1,var2,..] [--zlib=(0|1)] [--complevel=(1-9)] [--shuffle=(0|1)] [--fletcher32=(0|1)] [--unpackshort=(0|1)] [--quantize=var1=n1,var2=n2,..] netcdf3filename netcdf4filename
 -h -- Print usage message.
 -o -- Overwrite destination file (default is to raise an error if output file already exists).
 --vars -- comma separated list of variable names to copy (default is to copy
    all variables)
 --classic=(0|1) -- use NETCDF4_CLASSIC format instead of NETCDF4 (default 1)
 --zlib=(0|1) -- Activate (or disable) zlib compression (default is activate).
 --complevel=(1-9) -- Set zlib compression level (6 is default).
 --shuffle=(0|1) -- Activate (or disable) the shuffle filter (active by default).
 --fletcher32=(0|1) -- Activate (or disable) the fletcher32 checksum (not
     active by default).
 --unpackshort=(0|1) -- Unpack short integer variables to float variables
     using scale_factor and add_offset netCDF variable attributes (active by default).
 --quantize=(comma separated list of "variable name=integer" pairs) --
     Truncate the data in the specified variables to a given decimal precision.
     For example, 'speed=2, height=-2, temp=0' will cause the variable
     'speed' to be truncated to a precision of 0.01, 'height' to a precision of 100
     and 'temp' to 1. This can significantly improve compression. The default
     is not to quantize any of the variables.
 --quiet=(0|1)  -- if 1, don't print diagnostic information.
 --chunk=(integer) -- number of records along unlimited dimension to
     write at once.  Default 10.  Ignored if there is no unlimited
     dimension.  chunk=0 means write all the data at once.
 --istart=(integer) -- number of record to start at along unlimited dimension.
     Default 0.  Ignored if there is no unlimited dimension.
 --istop=(integer) -- number of record to stop at along unlimited dimension.
     Default -1.  Ignored if there is no unlimited dimension.

 N/A N/A N/A os path basename N/A N/A sys argv N/A 0 N/A N/A N/A N/A opts pargs N/A N/A getopt getopt N/A N/A sys argv N/A 1 ho N/A classic= vars= zlib= quiet= complevel= shuffle= fletcher32= unpackshort= quantize= chunk= istart= istop= N/A N/A N/A N/A N/A type value traceback N/A N/A sys exc_info N/A N/A N/A N/A sys stdout write N/A Error parsing the options. The error was: %s
 value N/A N/A N/A N/A sys stderr write usage N/A N/A N/A sys exit 0 N/A overwritefile 0 N/A complevel 6 N/A classic 1 N/A zlib 1 N/A shuffle 1 N/A fletcher32 0 N/A unpackshort 1 N/A vars None N/A quantize None N/A quiet 0 N/A chunk 1000 N/A istart 0 N/A istop -1 N/A option opts N/A N/A N/A N/A option N/A 0 -h N/A N/A N/A N/A N/A sys stderr write usage N/A N/A N/A sys exit 0 N/A N/A N/A N/A option N/A 0 -o N/A N/A overwritefile 1 N/A N/A N/A N/A option N/A 0 --classic N/A N/A classic N/A int N/A option N/A 1 N/A N/A N/A N/A option N/A 0 --zlib N/A N/A zlib N/A int N/A option N/A 1 N/A N/A N/A N/A option N/A 0 --quiet N/A N/A quiet N/A int N/A option N/A 1 N/A N/A N/A N/A option N/A 0 --complevel N/A N/A complevel N/A int N/A option N/A 1 N/A N/A N/A N/A option N/A 0 --shuffle N/A N/A shuffle N/A int N/A option N/A 1 N/A N/A N/A N/A option N/A 0 --fletcher32 N/A N/A fletcher32 N/A int N/A option N/A 1 N/A N/A N/A N/A option N/A 0 --unpackshort N/A N/A unpackshort N/A int N/A option N/A 1 N/A N/A N/A N/A option N/A 0 --chunk N/A N/A chunk N/A int N/A option N/A 1 N/A N/A N/A N/A option N/A 0 --vars N/A N/A vars N/A option N/A 1 N/A N/A N/A N/A option N/A 0 --quantize N/A N/A quantize N/A option N/A 1 N/A N/A N/A N/A option N/A 0 --istart N/A N/A istart N/A int N/A option N/A 1 N/A N/A N/A N/A option N/A 0 --istop N/A N/A istop N/A int N/A option N/A 1 N/A N/A N/A N/A N/A sys stdout write N/A %s: Unrecognized option
 N/A option N/A 0 N/A N/A N/A N/A sys stderr write usage N/A N/A N/A sys exit 0 N/A N/A N/A N/A len pargs 2 N/A N/A len pargs 2 N/A N/A N/A N/A N/A sys stdout write You need to pass both source and destination!.
 N/A N/A N/A N/A sys stderr write usage N/A N/A N/A sys exit 0 N/A filename3 N/A pargs N/A 0 N/A filename4 N/A pargs N/A 1 N/A N/A quantize None N/A N/A lsd_dict N/A N/A p N/A N/A quantize split , N/A N/A kv N/A N/A p split = N/A N/A lsd_dict N/A N/A kv N/A 0 N/A int N/A kv N/A 1 N/A N/A lsd_dict None N/A N/A vars None N/A N/A vars N/A N/A vars split , N/A N/A _nc3tonc4 filename3 filename4 unpackshort unpackshort zlib zlib complevel complevel shuffle shuffle fletcher32 fletcher32 clobber overwritefile lsd_dict lsd_dict nchunk chunk quiet quiet vars vars classic classic istart istart istop istop N/A