python不使用GDAL实现批量nc转tif
import xarray as xr
import numpy as np
import cartopy.crs as ccrs
import rioxarray
import netCDF4 as nc
import os
path = nc文件的输入文件夹
out_file = tif文件的输出文件夹
dirs = os.listdir(path)
print(dirs)</
python不使用GDAL实现批量nc转tif
import xarray as xr
import numpy as np
import cartopy.crs as ccrs
import rioxarray
import netCDF4 as nc
import os
path = nc文件的输入文件夹
out_file = tif文件的输出文件夹
dirs = os.listdir(path)
print(dirs)</