The spatial resolution #631
-
Hi. My name is Go Sato, and I am a PhD student. I would like to analyze the piControl and midHolocene SST data from the AWI-ESM model, but I cannot understand the coordinate system of this ocean component. Could you tell me how to specify the SST in latitude and longitude? For example, how can I plot the SST in Python in longitude and latitude at a specific moment? |
Beta Was this translation helpful? Give feedback.
Replies: 5 comments 6 replies
-
Hi Go Sato, the fesom2 repository has a folder named visualisation, in it are four suggestions what can be used to visualize fesom2 data. If you know python there is pyfesom2 (https://github.com/FESOM/pyfesom2, https://pyfesom2.readthedocs.io/en/stable/) and tripyview (https://github.com/FESOM/tripyview) that could help you to make your plots relatively easy. If you are next week at awi i could give you a brief introduction to tripyview |
Beta Was this translation helpful? Give feedback.
-
So indeed i think you deal with cmorized cmip fesom14 data! The corresponding mesh files that belong to that data you could be found in /pool/data/AWICM/FESOM1/MESHES . The mesh you used here should be "core". |
Beta Was this translation helpful? Give feedback.
-
In the levante folder /pool/data/AWICM/FESOM1/MESHES/core you also find the griddes.nc file that is needed to do the interpolation to regular grid using CDO Here is also detailed description how to do the interpolation to regular grid with AWI-ESM for CMIP6 data https://fesom.de/cmip6/work-with-awi-cm-unstructured-data/ |
Beta Was this translation helpful? Give feedback.
-
I only have swift.dkrz.de which I got here; https://github.com/FESOM/pyfesom/blob/master/notebooks/get_data.ipynb. |
Beta Was this translation helpful? Give feedback.
-
Hi Go Sato I just checked a bit, you dont need the extra fesom1.4 mesh information to be able to interpolate the fesom14CMIP6 data to a regular grid. These datas already contain lon/lat information that is necessary for the interpolation. All you have to do is using CDO (Climate Data Operator) ...
... this will conservatively interpolate your data to a 1x1deg regular grid (see here: https://fesom.de/cmip6/work-with-awi-cm-unstructured-data/). You can also store the interpolation weights extra and reuse them for interpolation with ...
With cdo you can also do all kind of averages, regional selctions etc. ... As long as you stick to scalar quantities interpolation is fine, but if you also want to analyze horizontal transports and fluxes than you should do as much as you can on the native grid. Because interpolation might alternate the outcome to a certain degree. However if you really want to work with the native fesom14 unstructured grid and you want to plot the unstructured grid, than you need the original grid files. But these grid files you can also find on that dkrz swift browser: https://swiftbrowser.dkrz.de/public/dkrz_035d8f6ff058403bb42f8302e6badfbc/pyfesom-data/COREII/. Than you could use tripyview e.g. https://github.com/FESOM/tripyview/blob/main/tools/fesom14cmip6/template_cmip6_hslice.ipynb to plot your data as shown in the example. |
Beta Was this translation helpful? Give feedback.
Hi Go Sato, the fesom2 repository has a folder named visualisation, in it are four suggestions what can be used to visualize fesom2 data. If you know python there is pyfesom2 (https://github.com/FESOM/pyfesom2, https://pyfesom2.readthedocs.io/en/stable/) and tripyview (https://github.com/FESOM/tripyview) that could help you to make your plots relatively easy. If you are next week at awi i could give you a brief introduction to tripyview