NOTICE: This library is no longer being developed. Use Ensaio instead (https://www.fatiando.org/ensaio). -- Download geophysical models/datasets and load them in Python
The Bedmap2 datasets are originally given in different data types. For example, the surface or bed datasets are int64, while the geoid is a float64.
Most of them include no data values, flagged as a great number.
When loading them, fetch_bedmap2() converts these no data values into nans.
This converts the data type of the dataset into float64 independently of its original data type.
Would be nice to at least have an optional argument in order to prevent the no data vals to be converted. This lets the user to get the datasets on the original data type.
Are you willing to help implement and maintain this feature? Yes
Description of the desired feature
The Bedmap2 datasets are originally given in different data types. For example, the
surface
orbed
datasets areint64
, while thegeoid
is afloat64
. Most of them include no data values, flagged as a great number. When loading them,fetch_bedmap2()
converts these no data values intonan
s. This converts the data type of the dataset intofloat64
independently of its original data type.Would be nice to at least have an optional argument in order to prevent the no data vals to be converted. This lets the user to get the datasets on the original data type.
Are you willing to help implement and maintain this feature? Yes