The Pandas update has led to the deprecation of infer_datetime_format. Reference (18 September 2022).
I used stackstac 0.4.4.
(I encountered some troubleshooting issues when using more recent versions of stackstac related to the errors_as_nodata=(RasterioIOError(".*"),), in stackstac.stack.)
I'm using Pandas 2.2.2, so I received the following message:
/Users/basilegoussard/Desktop/Software/miniconda3/envs/datafactory-poetry/lib/python3.10/site-packages/stackstac/prepare.py:364: UserWarning: The argument 'infer_datetime_format' is deprecated and will be removed in a future version. A strict version of it is now the default, see https://pandas.pydata.org/pdeps/0004-consistent-to-datetime-parsing.html. You can safely remove this argument.
times = pd.to_datetime(
I can easily bypass the warning by commenting out the line in stackstac/prepare.py:364:
The Pandas update has led to the deprecation of
infer_datetime_format
.Reference (18 September 2022).
I used
stackstac 0.4.4
.(I encountered some troubleshooting issues when using more recent versions of stackstac related to the
errors_as_nodata=(RasterioIOError(".*"),),
instackstac.stack
.)I'm using Pandas 2.2.2, so I received the following message:
I can easily bypass the warning by commenting out the line in
stackstac/prepare.py:364
: