New URL for NEMO forge!   http://forge.nemo-ocean.eu

Since March 2022 along with NEMO 4.2 release, the code development moved to a self-hosted GitLab.
This present forge is now archived and remained online for history.
namelist_example_bilin in branches/2014/dev_r4650_UKMO11_restart_functionality/NEMOGCM/TOOLS/WEIGHTS/nocsutil – NEMO

source: branches/2014/dev_r4650_UKMO11_restart_functionality/NEMOGCM/TOOLS/WEIGHTS/nocsutil/namelist_example_bilin @ 5312

Last change on this file since 5312 was 5312, checked in by timgraham, 9 years ago

Reset svn:keywords Id property

  • Property svn:keywords set to Id
File size: 4.0 KB
Line 
1&comments
2 -----------------------------------------------------------------------------------
3 - grid_inputs holds parameters for the scripgrid routine which reformats information
4   about the input grids
5 - scripgrid always needs a coordinates.nc file in the
6   current directory and creates the remapped grid file correspondingly
7 - it uses the following namelist block to determine its actions
8     method:  only 'regular' is yet implemented, this assumes a cartesian grid
9     input_lon: name of longitude variable in the input_file
10     input_lat: name of latitude variable in the input_file
11     nemo_lon: name of longitude variable in the coordinates.nc
12     nemo_lat: name of latitude variable in the coordinates.nc
13/
14&grid_inputs
15    input_file = 'snow_1m_DUM_1958.nc'
16    nemo_file = 'coordinates.nc'
17    datagrid_file = 'remap_data_grid.nc'
18    nemogrid_file = 'remap_nemo_grid.nc'
19    method = 'regular'
20    input_lon = 'lon'
21    input_lat = 'lat'
22    nemo_lon = 'glamt'
23    nemo_lat = 'gphit'
24    nemo_mask = 'none'
25    nemo_mask_value = 10
26    input_mask = 'none'
27    input_mask_value = 10
28/
29&comments
30 -----------------------------------------------------------------------------------
31 - remap_inputs holds parameters for the scrip routine which calculates the weights
32   needed to convert between two grids
33 - two remap grid files are required as output by scripgrid
34 - num_maps is either 1 or 2 depending on whether the reverse transformation is required
35 - one or two interp_file names are then supplied; these hold the weights to convert
36   one grid to another
37 - the map_name variable is just descriptive
38 - map_method can be 'bilinear' 'bicubic' or 'conservative' (the latter untested)
39 - normalize_opt should usually be 'frac' or else the user needs to do this scaling
40   manually (this seems to the case for fractional ice cover)
41 - restrict_type should be 'latitude' or 'latlon' in which case num_srch_bins only are
42   used in one or two directions
43 - use_grid_area fields override the scrip calculation of area in case the model gets
44   slightly different answers, but the area needs to be supplied in the input files
45 - output_opt may be supplied and set to either 'scrip' or 'ncar-csm'
46/
47&remap_inputs
48    num_maps = 1
49    grid1_file = 'remap_data_grid.nc'
50    grid2_file = 'remap_nemo_grid.nc'
51    interp_file1 = 'data_nemo_bilin.nc'
52    interp_file2 = 'nemo_data_bilin.nc'
53    map1_name = 'data to nemo bilin Mapping'
54    map2_name = 'nemo to data bilin Mapping'
55    map_method = 'bilinear'
56    normalize_opt = 'frac'
57    output_opt = 'scrip'
58    restrict_type = 'latitude'
59    num_srch_bins = 90
60    luse_grid1_area = .false.
61    luse_grid2_area = .false.
62/
63
64&interp_inputs
65    input_file = "snow_1m_DUM_1958.nc"
66    interp_file = "data_nemo_bilin.nc"
67    input_name = "snow"
68    input_start = 1,1,1,1
69    input_stride = 1,1,1,1
70    input_stop = 0,0,0,1
71    input_vars = 'initial_time0_hours'
72/
73
74&interp_outputs
75    output_file = "snow_orca.nc"
76    output_mode = "create"
77    output_dims = 'x', 'y', 'time_counter'
78    output_scaling = "snow|1.0", "time_counter|86400.0"
79    output_name = 'snow'
80    output_lon = 'x'
81    output_lat = 'y'
82    output_vars = 'time_counter'
83    output_attributes = 'time_counter|units|seconds since 1995-00-00 00:00:00',
84                        'time_counter|calendar|noleap',
85                        'snow|units|mm/s'
86/
87
88&comments
89 -----------------------------------------------------------------------------------
90 -  shape_inputs are the input fields required by scripshape.f90
91 -  first is the interpolation file created by scrip.f90 mapping data to model grid
92 -  second is the name of the output weights file to create
93 -  third is the east-west wrap to assume in the model (needed when calculating gradient
94          terms in the bicubic scheme); the number is just the number of columns on one side
95          that are repeats of those on the opposite side (-1 for not cyclic)
96/
97&shape_inputs
98    interp_file = 'data_nemo_bilin.nc'
99    output_file = 'weights_bilin.nc'
100    ew_wrap     = 0
101/
Note: See TracBrowser for help on using the repository browser.