Hi. 
I am merging a series of wrfout files, in this specific case only variables P and T: 
    # Load available files
    ds_list = []
    for f in wrf_files:
        try:
            ds_list.append(xr.open_dataset(f)[["P", "T"]].isel(bottom_top=0))
        except FileNotFoundError:
            print(f"Missing file: {f}, skipping.")
    # Merge while keeping missing time steps as NaN
    ds_merged = xr.concat(ds_list, dim="Time", fill_value=np.nan)
After ds_merged is completed, 
saved to netcdf on disk, and 
reopened with wrf.getvar I am failing to get T2 (air temp at 2 meters). 
Variables T and P alone (as shown above in the snippet) are 
not sufficient to compute (internally) the diagnostic variable. My questions, if you know: 
1. what are the needed variables to compute T2, so to include them in the merging? 
2. Is there any better, more efficient, faster, less CPU-intesive way do merge/concat a large list of files? I am doing this because I only need a handful of variables, and only at surface level. wrf get var does not seem to offer this flexibility, xarray does. So I am doing the heavy lifting in xarray, saving to disk and reopening in wrf. 
Thanks for the advice and happy coding
Marco