6

First download the esmf tar file from http://www.earthsystemmodeling.org/esmf_releases/public/ESMF_7_1_0r/reg/ESMF_Framework_Down.html Then install netcdf library and gfortran compiler using sudo apt-get install git tcsh pkg-config sudo apt-get install gfortran sudo apt-get install netcdf-bin libnetcdf-dev libnetcdff-dev sudo apt-get install openmpi-bin ...


2

Actually, you probably shouldn't install it. If you're comfortable using Linux, then you would be better advised to use the docker container instead, with it already installed. That way your system stays clean and you can have someone else maintain it for you. Check docker hub for different versions and find the one you like (here). Install docker using: ...


2

I got the solution https://www.researchgate.net/post/How_to_convert_the_units_of_specific_cloud_liquid_water_from_ERA5_kg_kg_to_kg_m2 and https://www.nwpsaf.eu/site/download/documentation/rtm/docs_rttov12/rttov_gas_cloud_aerosol_units.pdf In the above link the conversions between $\small\mathsf{kg/kg}$ , $\small\mathsf{g/m^3}$ , $\small\mathsf{kg/m^2}$ ...


1

The simplest way I've found in Python is to use the getvar function with the 'ua,' 'va,' or 'wa' variables from the WRF-Python module. Alternatively, you can take the midpoint between the staggers. Edit: For example, using the WRF-Python module, you can get the destaggered wind variables with the following code import netcdf4 as nc import wrf f=nc.Dataset('...


1

I've come to a solution. I have followed @gansub's suggestion to check what there is already there, before reinventing the wheel. I found MetPy's code very (too) well structured, so the code for advection was sparse among several different functions; not so immediate to trace back and put a function together. However, GrADS brings a very nice example on how ...


Only top voted, non community-wiki answers of a minimum length are eligible