Adib
Adib

Reputation: 1

Converting hdf5 file to nc file using Python

guys I have a list of hdf5 files in my directory and I want to convert hdf5 files to nc files. Is there a way to do this in Python?

I tried using bash but encountered a lot of problems in the wsl. So I want to do this in Python. I suppose there's a way to do this with netCDF library. Can you please help?

Upvotes: -1

Views: 696

Answers (1)

Adib
Adib

Reputation: 1

Thanks @Micheal Delgado

xr.open_dataset

ds.to_netcdf

Upvotes: 0

Related Questions