Closed xinqu2016 closed 3 years ago
How many time steps does the wrfout contain?
I assume a single time step. I put in a PR that fixes this case, but in the meantime I suggest to simply run WRF for at least two timesteps to avoid the issue.
It's one timestep indeed.
xinqu2016
To confirm, the file needs to contain at two timesteps. The dimension of Time needs to be 2 or above.
xinqu2016
Describe the bug After loading a raw wrfout file, I'd like to view geopotential height on 500 hPa. I know I need to interpolate the variable onto 500 hPa. I checked the Interpolate Vertical Level box, picked the hydrostatic pressure as the vertical variable and enter 500 in the Desired Level box. Then I click the Interpolate button. Got the following error:
plugins/gis4wrf/core/transforms/wrf_netcdf_to_gdal.py", line 162, in convert_wrf_nc_var_to_gdal_dataset assert len(dims) == len(shape), f'|{dims}| != |{shape}|' AssertionError: |('Time', 'south_north', 'west_east')| != |(399, 399)|
To Reproduce Steps to reproduce the behavior:
Expected behavior A clear and concise description of what you expected to happen.
Screenshots If applicable, add screenshots to help explain your problem.
System Information (please complete the following information):
Additional context Add any other context about the problem here.