--- title: "Temperature Data Fields | Definitions" slug: "temparature-data-fields" description: "Learn the data inputs and appropriate datafile format for temperature when using the water quality solver. " tags: ["1D river modelling"] updated: 2022-08-12T14:35:02Z published: 2022-08-12T14:35:02Z canonical: "help.floodmodeller.com/temparature-data-fields" stale: true --- > ## Documentation Index > Fetch the complete documentation index at: https://help.floodmodeller.com/llms.txt > Use this file to discover all available pages before exploring further. # Temperature Data Fields ## Data Input In order to input the required information for this pollutant into the Water Quality model, the user needs to make sure that the Tab Temperature appears in the WQ General Tab (please follow the description on the page [Preparing a Water Quality Datafile](/v1/docs/preparing-a-water-quality-datafile) for this). Then the user needs to select the Tab Temperature (as shown on the Figure below) and type in the necessary information for this pollutant in the fields which are shown on this Tab. Alternatively the necessary information for this pollutant can be typed in the .con file opened in a Textpad editor in the datafile format mentioned below. ## Datafile Format *If a constant water temperature is to be simulated then the following format should be used:* Line 1 TEMPERATURE Line 2 CONSTANT Line 3 celsius *If a variable water temperature is to be simulated then use the following format:* Line 1 TEMPERATURE Line 2 VARIABLE Line 3 ftemp, celsius *If a prescribed temperature is to be used then use:* Line 1 TEMPERATURE Line 2 PRESCRIBED Line 3 'DATE', 'DAYS', 'WEEKS', 'LUNAR', 'MONTHS', 'YEARS', 'DECADES' or 'MULTIPLIER' *If the keyword 'MULTIPLIER' is used, then the following lines are read:* Line 4 fmult Line 5 ndat *Or if the keyword 'MULTIPLIER' is not used, then the following line is read:* Line 4 ndat The following lines are repeated 'ndat' times. *If the keyword 'DATE' is used, then temperatures must be specified using dates.* Line 5-end iday, imonth, iyear, temp *Or if the keyword 'DATE' is not used, then temperatures must be specified using times.* Line 5-end time, temp (Line 6 if keyword 'MULTIPLIER' was used) Where: TEMPERATURE = keyword CONSTANT = keyword VARIABLE = keyword PRESCRIBED = keyword celsius = Constant temperature imposed over whole model (celsius). ftemp, celsius = Heat exchange coefficient at water surface (hour-1), equilibrium water temperature (celsius). fmult = Multiplier for times in prescribed TEMPERATURE data to convert to hours. ndat = Number of data points in time-history data. iday, imonth, iyear, temp = Date (day/ month/ year), prescribed temperature (celsius). time, temp = Time (days, weeks, months etc), prescribed temperature (celsius). --- Overview [Temperature](/v1/docs/temperature)