JiaweiZhuang/xESMF

Hi, want to regrid wrfout (rainc+rainnc) data

Matwayi opened this issue · 1 comments

          Hi, want to regrid  wrfout (rainc+rainnc) data following this [example](https://github.com/zxdawn/GEOSChem-python-tutorial/blob/master/Chapter04_regridding_WRFChem.ipynb) but getting an error:

---> 19 area_wrf = xe.util.cell_area(wrf_grid_with_bounds)
20 area_grid = xe.util.cell_area(nested_grid)

AttributeError: module 'xesmf.util' has no attribute 'cell_area'

Could it be related with the xesmf version (xesmf= 0.6.3) or something? I will appreciate for any feedback.

Originally posted by @Matwayi in #41 (comment)

Hi, want to regrid wrfout (rainc+rainnc) data following this example but getting an error:

---> 19 area_wrf = xe.util.cell_area(wrf_grid_with_bounds)
20 area_grid = xe.util.cell_area(nested_grid)

AttributeError: module 'xesmf.util' has no attribute 'cell_area'

Could it be related with the xesmf version (xesmf= 0.6.3) or something? I will appreciate for any feedback.