We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Field.fieldtype
In the Field constructor:
Parcels/parcels/field.py
Lines 106 to 107 in 5fff42c
However the underlying behaviour looks to be a bit different.
Line 198 in 5fff42c
This leads to strange stuff like:
>>> field = Field("newfld", fieldset.U.data, lon=fieldset.U.lon, lat=fieldset.U.lat) >>> fieldset.add_field(field) >>> print(fieldset.newfld.fieldtype) "newfld"
I don't think this is a bug per-se (doubt it affects interpolation), but it is worth cleaning up to be None in this case.
None
The text was updated successfully, but these errors were encountered:
This will likely be moved to the internal API/scheduled for removal anyway. .units already provides unit information
.units
Sorry, something went wrong.
Good catch; yes this can certainly be cleaned up!
No branches or pull requests
In the Field constructor:
Parcels/parcels/field.py
Lines 106 to 107 in 5fff42c
However the underlying behaviour looks to be a bit different.
Parcels/parcels/field.py
Line 198 in 5fff42c
This leads to strange stuff like:
I don't think this is a bug per-se (doubt it affects interpolation), but it is worth cleaning up to be
None
in this case.The text was updated successfully, but these errors were encountered: