Wind input files
At present, for different wind input files, different headers are used, which are read in different ways in the sourcecode. Some effort has been put in making the files more self-descriptive, readible and to make the input of the different files more consistent. For three wind-input options, a suggestion to standardise the headers is shown below. The suggestion is conform a possible transition to NetCDF format in the future. See NetCDF standard names for more information on the used standard NetCDF names. For Pseudo ArcInfo wind, wind on a separate curvi-linear grid and Spiderweb wind three examples of input files are shown below. Comments are indicated by a # (this is open for discussion).
- Pseudo ArcInfo wind:
### START OF HEADER ### This file is created by Deltares ### All text on a line behind the first # is parsed as commentary ### Additional commments FileVersion = 1.0 # Version of meteo input file, to check if the new file format is used (1.0) meteotype = arcinfo # Type of meteo input file: curvi, arcinfo or spiderweb NODATA_value = -9999.000 # Value used for undefined or missing data n_cols = 400 # Number of columns used for wind datafield n_rows = 16 # Number of rows used for wind datafield grid_unit = degree # Unit of distances on the grid in both x- and y-direction #grid_unit = m x_llcorner = -12.000 # Xcoordinate of lower left corner of grid (in units specified in grid_unit) y_llcorner = 48.000 # Ycoordinate of lower left corner of grid (in units specified in grid_unit) value_pos = centre # Location where the data is specified in a cell (centre or corner) #value_pos = corner dx = 0.12500 # Grid dimensions: dx and dy (in units specified in grid_unit) dy = 0.083333333 n_quantity = 3 # Number of quantities prescribed in the file quantity1 = x_wind # Name of quantity1 #quantity1 = y_wind # Name of quantity1 #quantity1 = air_pressure # Name of quantity1 unit1 = m s-1 # Unit of quantity1 #unit1 = Pa # Unit of quantity1 ### END OF HEADER TIME = 0 minutes since 2007-10-08 15:24:00 -02:00 # Fixed format: time unit since date time time difference (time zone) 1.388999 1.388999 1.388999 1.388999 1.388999 1.388999 1.388999 1.388999 1.388999 1.388999 155.0000 346.2500 357.5000 8.750000 20.00000 31.25000 42.50000 53.75000 65.00000 76.25000 5300.000 5300.000 5300.000 5300.000 5300.000 5300.000 5300.000 5300.000 5300.000 5300.000 time = 1440 minutes since 2007-10-08 15:24:00 -02:00 # Fixed format: time unit since date time time difference (time zone) 2.435253 2.435253 2.435253 2.435253 2.435253 2.435253 2.435253 2.435253 2.435253 2.435253 65.01978 75.11859 85.25320 95.45370 105.7529 116.1833 126.7762 137.5612 148.5649 159.8090 5298.544 5298.544 5298.544 5298.544 5298.544 5298.544 5298.544 5298.544 5298.544 5298.544
- Wind on a separate curvi-linear grid:
### START OF HEADER ### This file is created by Deltares ### All text on a line behind the first # is parsed as commentary ### Additional commments FileVersion = 1.0 # Version of meteo input file, to check if the new file format is used (1.0) meteotype = curvi # Type of meteo input file: curvi, arcinfo or spiderweb NODATA_value = -999.999 # Value used for undefined or missing data curvi_grid_file = hirlam.grd # Separate (curvi-linear) grid on which the wind can be specified first_data_value = grid_llcorner # Options: grid_llcorner, grid_ul_corner, grid_lrcorner or grid_urcorner data_row = grid_row # Options: grid_row or grid_col. For switching rows and columns. n_quantity = 1 # Number of quantities prescribed in the file quantity1 = x_wind # Name of quantity1 #quantity1 = y_wind # Name of quantity1 #quantity1 = air_pressure # Name of quantity1 unit1 = m s-1 # Unit of quantity1 #unit1 = Pa # Unit of quantity1 ### END OF HEADER TIME = 0 hours since 2006-01-01 00:00:00 -06:00 # Fixed format: time unit since date time time difference (time zone) 1.388999 1.388999 1.388999 1.388999 1.388999 1.388999 1.388999 1.388999 1.388999 1.388999 155.0000 346.2500 357.5000 8.750000 20.00000 31.25000 42.50000 53.75000 65.00000 76.25000 5300.000 5300.000 5300.000 5300.000 5300.000 5300.000 5300.000 5300.000 5300.000 5300.000 TIME = 1440 hours since 2006-01-01 00:00:00 -06:00 # Fixed format: time unit since date time time difference (time zone) 2.435253 2.435253 2.435253 2.435253 2.435253 2.435253 2.435253 2.435253 2.435253 2.435253 65.01978 75.11859 85.25320 95.45370 105.7529 116.1833 126.7762 137.5612 148.5649 159.8090 5298.544 5298.544 5298.544 5298.544 5298.544 5298.544 5298.544 5298.544 5298.544 5298.544
- Spiderweb wind:
### START OF HEADER ### This file is created by Deltares ### All text on a line behind the first # is parsed as commentary ### Additional commments FileVersion = 1.0 # Version of meteo input file, to check if the new file format is used (1.0) meteotype = spiderweb # Type of meteo input file: curvi, arcinfo or spiderweb NODATA_value = -999.000 # Value used for undefined or missing data n_cols = 400 # Number of columns used for wind datafield n_rows = 16 # Number of rows used for wind datafield spw_radius = 600000.00 # Radius of spiderweb (in units specified in rad_unit) spw_rad_unit = m # Unit of radius n_quantity = 3 # Number of quantities prescribed in the file quantity1 = wind_speed # Name of quantity1 quantity2 = wind_from_direction # Name of quantity2 quantity3 = air_pressure_drop # Name of quantity3 unit1 = m s-1 # Unit of quantity1 unit2 = degree # Unit of quantity2 unit3 = Pa # Unit of quantity3 ### END OF HEADER TIME = 0 minutes since 2004-01-03 11:02:00 +01:00 # Fixed format: time unit since date time time difference (time zone) x_spw_eye = 115.4 # Xcoordinate of cyclone eye (Spiderweb centre) at specified TIME y_spw_eye = 18.9 # Ycoordinate of cyclone eye (Spiderweb centre) at specified TIME p_drop_spw_eye = 5300 # Pressure drop at cyclone eye (Spiderweb centre) at specified TIME 1.388999 1.388999 1.388999 1.388999 1.388999 1.388999 1.388999 1.388999 1.388999 1.388999 155.0000 346.2500 357.5000 8.750000 20.00000 31.25000 42.50000 53.75000 65.00000 76.25000 5300.000 5300.000 5300.000 5300.000 5300.000 5300.000 5300.000 5300.000 5300.000 5300.000 TIME = 1440 minutes since 2004-01-03 11:02:00 +01:00 # Fixed format: time unit since date time time difference (time zone) x_spw_eye = 114.4000 # Xcoordinate of cyclone eye (Spiderweb centre) at specified TIME y_spw_eye = 18.90000 # Ycoordinate of cyclone eye (Spiderweb centre) at specified TIME p_drop_spw_eye = 5300.000 # Pressure drop at cyclone eye (Spiderweb centre) at specified TIME 2.435253 2.435253 2.435253 2.435253 2.435253 2.435253 2.435253 2.435253 2.435253 2.435253 65.01978 75.11859 85.25320 95.45370 105.7529 116.1833 126.7762 137.5612 148.5649 159.8090 5298.544 5298.544 5298.544 5298.544 5298.544 5298.544 5298.544 5298.544 5298.544 5298.544