Hello everyone,
can someone explain to me when I got this error, please?
grdcontour [ERROR]: Cannot determine if a native 4-byte grid is float or int without more information.
grdcontour [ERROR]: You must append =bf (float) or =bi (integer) to avoid this situation.
grdcontour (gmtapi_import_grid): Non-unique grid format [data/bmg2023fqis/bmg2023fqis.b]
I use pygmt v0.8.0 and GMT v6.4.0 and this is my script in pygmt
grd_eta = ‘data/bmg2023fqis/bmg2023fqis.b’
fig.grdcontour(grid=grd_eta,
interval=1,
annotation=2)
So, where should I put =bf
or =bi
in the script?