title: Converting generic grid type to a lonlat gridtype using cdo
body: <p>I am currently trying to use one NetCDF file (open-source data which can be downloaded from <a href="https://doi.pangaea.de/10.1594/PANGAEA.828650" rel="nofollow noreferrer">https://doi.pangaea.de/10.1594/PANGAEA.828650</a>) to extract specific latitudes from this dataset (<a href="https://www.nodc.noaa.gov/archive/arc0105/0160558/3.3/data/0-data/spco2_1982-2015_MPI_SOM-FFN_v2016.nc" rel="nofollow noreferrer">https://www.nodc.noaa.gov/archive/arc0105/0160558/3.3/data/0-data/spco2_1982-2015_MPI_SOM-FFN_v2016.nc</a>, again open source).</p>
  <p>The first dataset is defined regions of the global oceans known as biomes, I have successfully extracted the area which covers biomes labelled as 16 and 17 from this region.</p>
  <p>This dataset has the following gridtype:</p>
  <pre><code>gridtype  = generic
  gridsize  = 64800
  xsize     = 180
  ysize     = 360
  xname     = lat
  xunits    = &quot;degrees latitude&quot;
  yname     = lon
  yunits    = &quot;degrees longitude&quot;
  xfirst    = -89.5
  xinc      = 1
  yfirst    = -179.5
  yinc      = 1
  </code></pre>
  <p>The second grid type is a global dataset of ocean carbon fluxes (parameter: fgco2_raw) and I wish to extract values from the region defined by biome 16 and 17 in the Time_Varying_Biomes.nc.</p>
  <p>This dataset, spco2_1982-2015_MPI_SOM-FFN_v2016.nc, has the following gridtype:</p>
  <pre><code>gridtype  = lonlat
  gridsize  = 64800
  datatype  = float
  xsize     = 360
  ysize     = 180
  xname     = lon
  xlongname = &quot;longitude&quot;
  xunits    = &quot;degrees_east&quot;
  yname     = lat
  ylongname = &quot;latitude&quot;
  yunits    = &quot;degrees_north&quot;
  xfirst    = -179.5
  xinc      = 1
  </code></pre>
  <p>When I have attempted to regrid Time_Varying doing the following:</p>
  <p>cdo remapbil,mygridtype Time_Varying_Biomes.nc TVB_rg.nc</p>
  <p>I have received this error:</p>
  <pre><code>cdo remapbil (Abort): Unsupported generic coordinates (Variable: MeanBiomes)!
  </code></pre>
  <p>Has anyone experienced this issue before, and do you have any idea on how I can fix it? Let me know if you need any further information to solve the problem.</p>
  <p>Thanks in advance!</p>