3
$\begingroup$

I have coordinates obtained from Google Maps (latitude and longitude). I also downloaded a number of NetCDF4 files for different years and months that contain sea surface temperature (SST) from the link below. This data is related to ORAS5 global ocean reanalysis monthly data. https://cds.climate.copernicus.eu/cdsapp#!/dataset/reanalysis-oras5?tab=form

Now I want to extract the sea surface temperature data related to these coordinates from the NetCDF4 files. Datum for Google Maps is WGS84 and Projection is a ”web Mercator”. The projection for the NetCDF4 files is also “Tripolar model grid”.

If I need to change the NC files projection to Web Mercator, how is it done?

In general, what should be done to correctly extract SST data in NetCDF files for Google Maps coordinates?

I also work with Python and MATLAB.

$\endgroup$
3
  • 3
    $\begingroup$ I don't think you need to change projection, as the tripolar grid produces longitude-latitude output. The coordinates in the NetCDF files are a mesh of degrees east (nav_lon) and degrees north (nav_lat). You can use Google Earth to find the coordinates you need and then subset the exact location or area indices from nav_lon and nav_lat. $\endgroup$ Feb 10 at 20:14
  • 1
    $\begingroup$ Hi and welcome! What exactly do you mean by "Google Map coordinates"? The NetCDF files already have latitude and longitude coordinates, what else do you need? Could you could explain more about what your end goal? $\endgroup$
    – ouranos
    Feb 12 at 0:52
  • $\begingroup$ Hello and thanks for your attention to my question, I manually extracted a number of coordinates (point) from the coastline of several countries from Google Maps. Now I want to extract the sea surface temperature from the NC files for the odd months from 1980 until now. I have 246 NC files. In NC files, the lat and long variables each have two dimensions! I used to work with a regular one dimension. I'm confused about extraction. How can I extract SST for coordinates? $\endgroup$
    – arman H
    Feb 12 at 12:24

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.