Grid/
checkperio.pro
check ORCA2 and ORCA05 periodicity (east-west and noth fold) for files related to the T GRID ONLY
checkperio
Grid
checkperio, file, WRITE=scalar: 0 or 1
Parameters
file
in
required
type: scalar string
A string giving the name of the NetCdf file
Keywords
WRITE
type: scalar: 0 or 1
default: 0
Define to 1 to write the good periodicity in the file.
By default print only mesage of periodicity errors
Examples
IDL> checkperio, '/Users/smasson/OPA/modipsl/bin/runoff_1m_nomask.nc'
checkperio, '/Users/smasson/OPA/modipsl/bin/runoff_1m_nomask.nc'
nav_lon bad y periodicity (1)
nav_lon bad y periodicity (2)
nav_lon bad x periodicity (1)
nav_lon bad x periodicity (2)
nav_lat bad y periodicity (1)
nav_lat bad y periodicity (2)
nav_lat bad x periodicity (1)
nav_lat bad x periodicity (2)
socoefr bad y periodicity (1)
socoefr bad x periodicity (1)
socoefr bad x periodicity (2)
sorunoff bad x periodicity (1)
sorunoff bad x periodicity (2)
IDL> checkperio, '/Users/smasson/OPA/modipsl/bin/runoff_1m_nomask.nc', /WRITE
IDL> checkperio, '/Users/smasson/OPA/modipsl/bin/runoff_1m_nomask.nc'
Version history
Version
$Id: checkperio.pro 197 2006-10-26 10:45:17Z smasson $
History
October 2006: Sebastien Masson (smasson@locean-ipsl.upmc.fr)
Known issues
Restrictions
Works only for grid T points
if the WRITE keyword is activated, we need the writing access on the file!
Produced by IDLdoc 2.0.