Hdf warning
In accordance with #12268 this is now a separate PR.

I think that this warning could be useful either way for no non-daily hdf user:
- Telling that string method is preferred
- Adding a warning
