-
Notifications
You must be signed in to change notification settings - Fork 139
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Deprecation warning for
fieldfilebuffer
- Loading branch information
1 parent
001a3dc
commit a30af00
Showing
2 changed files
with
23 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
import warnings | ||
|
||
from parcels._fieldfilebuffer import DaskFileBuffer, DeferredDaskFileBuffer, NetcdfFileBuffer, _FileBuffer | ||
|
||
__all__ = ["DaskFileBuffer", "DeferredDaskFileBuffer", "NetcdfFileBuffer", "_FileBuffer"] | ||
|
||
warnings.warn( | ||
"The `parcels.fieldfilebuffer` module is deprecated as it has been marked private. " | ||
"Users are not expected to use it in their scripts. See https://github.com/OceanParcels/Parcels/issues/1773 " | ||
"to continue discussion.", | ||
DeprecationWarning, | ||
stacklevel=2, | ||
) # TODO: Remove 6 months after v3.1.1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters