You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am trying to concatenate my wrfout files with salem and it is generating this error:
OSError: [Errno -101] NetCDF: HDF error: b'F:\rcp4.5\D02-2090-2100\wrfout_d02_2099-02-06_00_00_00.nc'
The files concatenate well with xarray, but I wanted to try with salem as it is way easier to deal with WRF projection using salem.
Would appreciate any help.
My code is: import xarray as xr import pandas as pd import numpy as np import salem import dask ds=salem.open_mf_wrf_dataset("F:\\rcp4.5\\D02-2090-2100\\*.nc", chunks={'Time':1},compat='no_conflicts', preprocess=None)
The text was updated successfully, but these errors were encountered:
These kinds of errors are very difficult to diagnose, sorry.
It if works with xarray, you should still be able to use pure xarray to concatenate, and then use the salem accessor to get access to the projection information: https://salem.readthedocs.io/en/stable/xarray_acc.html
Hi,
I am trying to concatenate my wrfout files with salem and it is generating this error:
OSError: [Errno -101] NetCDF: HDF error: b'F:\rcp4.5\D02-2090-2100\wrfout_d02_2099-02-06_00_00_00.nc'
The files concatenate well with xarray, but I wanted to try with salem as it is way easier to deal with WRF projection using salem.
Would appreciate any help.
My code is:
import xarray as xr
import pandas as pd
import numpy as np
import salem
import dask
ds=salem.open_mf_wrf_dataset("F:\\rcp4.5\\D02-2090-2100\\*.nc", chunks={'Time':1},compat='no_conflicts', preprocess=None)
The text was updated successfully, but these errors were encountered: