Skip to content

Opening multiple wrfout files as a single dataset #216

@Murk89

Description

@Murk89

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)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions