JiaweiZhuang / xESMF

Universal Regridder for Geospatial Data
http://xesmf.readthedocs.io/
MIT License
269 stars 49 forks source link

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

Open Matwayi opened 1 year ago

Matwayi commented 1 year ago
          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 https://github.com/JiaweiZhuang/xESMF/issues/41#issuecomment-1469494971

Matwayi commented 1 year ago

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.