You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Originally posted by gtmaskall December 12, 2023
The default behaviour of make_geocube with categorical data is to append a nodata string to the <varname>_categories variable. This makes sense from a Python indexing perspective inasmuch as the corresponding integer code for this is -1. This seems to override the fill argument. Again this makes sense with the use of -1 and the position of nodata. But if I'm correct in this, the documentation could be tightened up a little to clarify that fill only applies to numerical data.
The text was updated successfully, but these errors were encountered:
Discussed in #151
Originally posted by gtmaskall December 12, 2023
The default behaviour of
make_geocube
with categorical data is to append anodata
string to the<varname>_categories
variable. This makes sense from a Python indexing perspective inasmuch as the corresponding integer code for this is -1. This seems to override thefill
argument. Again this makes sense with the use of -1 and the position ofnodata
. But if I'm correct in this, the documentation could be tightened up a little to clarify thatfill
only applies to numerical data.The text was updated successfully, but these errors were encountered: