Changeset 2718 for trunk/NEMOGCM/TOOLS/WEIGHTS/README
- Timestamp:
- 2011-04-04T12:03:24+02:00 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/NEMOGCM/TOOLS/WEIGHTS/README
r2448 r2718 48 48 ./ 49 49 | 50 +-------------+--------------+ 51 SCRIP1.4 nocsutil bin50 +-------------+--------------+--------------+ 51 SCRIP1.4 nocsutil src bin 52 52 53 53 SCRIP1.4 contains the unmodified copy (apart from compression of two sample netcdf … … 56 56 57 57 The bin directory contains python script freeform.py. 58 This is run to reformat the code for use within the NEMO 3.3 FCm framework.58 This is run to reformat the code for use within the NEMO 3.3 fcm framework. 59 59 It creates and populates a directory called 'src' with copied and modified versions 60 of the SCRIP library routines. Changes are described in the src/CHANGES file. 60 of the SCRIP library routines (and derived programs from the nocsutil directory). 61 Changes are described in the src/CHANGES file. 61 62 This script has already been run and only needs to be re-executed if SCRIP is updated. 62 63 63 The nocscrip directory contains the code for the three programs used to64 generate a weights file. Theseare:64 The src directory also contains the three programs used to generate a weights file. 65 The three programs are: 65 66 66 67 scripgrid.exe (scripgrid.F90) which creates two grid description files suitable for … … 88 89 example namelists provided are located in its refout subdirectory. 89 90 90 Installation is by use of the makenemo script. 91 Installation is by use of the maketools script. 92 E.g. change to the NEMOGCM/TOOLS directory and type: 93 94 ./maketools -help 95 96 and, for example: 97 98 ./maketools -m gfortran_linux -n WEIGHTS 99 91 100 92 101 Example Use … … 173 182 the grid centre and corner locations required by scrip. In the example given, 174 183 a file called 'coordinates.nc' must exist in the current directory. This is 175 recognised by scripgrid as a nemo coordinates file and the correct corner184 used by scripgrid as a nemo coordinates file and the correct corner 176 185 locations appropriate to the named grid centres are obtained (i.e. since 177 186 glamt is named, glamf and gphif will be used to provide corner coordinates). 187 The nemo file need not be called 'coordinates.nc' (e.g. '1_coordinates.nc' instead), 188 but must have longitude and latitude variables which start with the four 189 characters 'gphi' and 'glam' respectively. 178 190 "input_file" file must contain at least one variable on a grid whose axes are 179 191 described by the netcdf coordinate variables named in input_lon and input_lat.
Note: See TracChangeset
for help on using the changeset viewer.