Frequently Asked Questions

Supplementary Grid files

How does PyDom handle the grids ?

In order to use PyDom for a given model configuration, the users should provide the files which define the grid. These grid files are used to build the PyDom.OPA_C_Grid instances. Note that different methods are available for building PyDom.OPA_C_Grid instances. Default grid files and method are described in PyDom.__defgrids__.

Where can I find the grid files ?

Standard ORCA2 grid files can be found  here.

Where should I put the grid files ?

By default, the grid files should be stored in your ~/data/. More information with :

import PyDom.__defgrids__
PyDom.__defgrids__._list_all_ext_files()

e.g. with

wget http://www.legi.hmg.inpg.fr/~lesommer/download/data/ORCA/ORCA2/bathy_level.nc 
wget http://www.legi.hmg.inpg.fr/~lesommer/download/data/ORCA/ORCA2/ORCA2_example_gridT.nc     
wget http://www.legi.hmg.inpg.fr/~lesommer/download/data/ORCA/ORCA2/coordinates.nc