you can use the remapping facilities in cdo
cdo remapcon,gridfile.txt in.nc out.nc
You need to specify a grid description in the gridfile.txt file, e.g. containing the first lat/lon, number of points and the increment:
gridtype = lonlat
xsize = nlon
ysize = nlat
xfirst = lon1
xinc = dlon
yfirst = lat1
yinc = dlat
or you can also set the grid specification directly
cdo remapcon,grid-specification in.nc out.nc
so to remap to a regular 720 by 360 lon-lat grid you can do
cdo remapcon,r720x360 in.nc out.nc
Note that the "con" in "remapcon" stands for "conservative" remapping. There are other remapping options available, such as 2nd order conservative remapping (remapcon2), bilinear interpolation (remapbil), nearest neighbour remapping (remapnn) and more... see the documention for further details:
https://code.mpimet.mpg.de/projects/cdo/embedded/index.html