NOAA-ORR-ERD / cell_tree2d

Cell Tree data structure for fast searching of an unstructured grid for the polygon containing the specified point
16 stars 11 forks source link

clean up array conversion #9

Open ChrisBarker-NOAA opened 7 years ago

ChrisBarker-NOAA commented 7 years ago

not a big deal, but when we need a particular array, we should use:

np.ascontiguousarray(in_array, dtype-the_dtype)

i.e conversion to array and dtype specification at the same time.

just putting it here to us me to do it someday.