regrid ntdcf file usig xarray
import xarray as xr
import numpy as np
ds = xr.open_dataset(path_file)
new_lon = np.arange(0,360,0.25) #to regrid all 0.25°
new_lat = np.arange(90,-90.25,-0.25)
dsi = ds.interp(lat = new_lat, lon = new_lon)
regrid ntdcf file usig xarray
import xarray as xr
import numpy as np
ds = xr.open_dataset(path_file)
new_lon = np.arange(0,360,0.25) #to regrid all 0.25°
new_lat = np.arange(90,-90.25,-0.25)
dsi = ds.interp(lat = new_lat, lon = new_lon)
Copyright © 2021 Codeinu
Forgot your account's password or having trouble logging into your Account? Don't worry, we'll help you to get back your account. Enter your email address and we'll send you a recovery link to reset your password. If you are experiencing problems resetting your password contact us