UMR-CNRM / EPyGrAM

Enhanced Python for Graphics and Analysis of Meteorological fields
Other
14 stars 15 forks source link

Warning during wfacilo call #2

Closed SebastienRietteMTO closed 2 years ago

SebastienRietteMTO commented 2 years ago

A warning is issued when converting the wfacilo output into array

EPyGrAM/epygram/formats/FA.py:793: VisibleDeprecationWarning: Creating an ndarray from ragged nested sequences (which is a list-or-tuple of lists-or-tuples-or ndarrays with different lengths or shapes) is deprecated. If you meant to do this, you must specify 'dtype=object' when creating the ndarray. data, masked, masked_value = numpy.array(wfa.wfacilo(datasize,

AlexandreMary commented 2 years ago

Fixed in v-1.4.15