fmaussion / salem

Add geolocalised subsetting, masking, and plotting operations to xarray
http://salem.readthedocs.io
Other
186 stars 44 forks source link

Concatenating and ValueError: 'PRCP' is not present in all datasets. #217

Open Murk89 opened 2 years ago

Murk89 commented 2 years ago

Hi,

I am trying to concatenate ten years of WRF output. Some setups were run with frames_per_outfile=1000 so it is a single wrfout file with all the timesteps; where as some years setups were run with frames_per_outfile=1, hence daily wrfout files. I am getting this error while trying to concatenate these files as a single dataset:

ValueError: 'PRCP' is not present in all datasets.

Any suggestion on how to overcome this? Many thanks.

Zhangtc1013 commented 2 years ago

me too!!!

fmaussion commented 2 years ago

This sounds like something that could be solved within salem, but its a very specific use case and needs someone who know the format of the files and knows what salem should do in this case: contributions welcome!

Otherwize you might have a look at https://wrf-python.readthedocs.io