source: palm/trunk/UTIL/inifor/tests/test-prototype.f90 @ 3182

Last change on this file since 3182 was 3182, checked in by suehring, 3 years ago

New Inifor features: grid stretching, improved command-interface, support start dates in different formats in both YYYYMMDD and YYYYMMDDHH, Ability to manually control input file prefixes (--radiation-prefix, --soil-preifx, --flow-prefix, --soilmoisture-prefix) for compatiblity with DWD forcast naming scheme; GNU-style short and long option; Prepared output of large-scale forcing profiles (no computation yet); Added preprocessor flag netcdf4 to switch output format between netCDF 3 and 4; Updated netCDF variable names and attributes to comply with PIDS v1.9; Inifor bugfixes: Improved compatibility with older Intel Intel compilers by avoiding implicit array allocation; Added origin_lon/_lat values and correct reference time in dynamic driver global attributes; corresponding PALM changes: adjustments to revised Inifor; variables names in dynamic driver adjusted; enable geostrophic forcing also in offline nested mode; variable names in LES-LES and COSMO offline nesting changed; lateral boundary flags for nesting, in- and outflow conditions renamed

  • Property svn:keywords set to Id
File size: 1.8 KB
RevLine 
[2696]1!> @file tests/test-prototype.f90
2!------------------------------------------------------------------------------!
[2718]3! This file is part of the PALM model system.
[2696]4!
[2718]5! PALM is free software: you can redistribute it and/or modify it under the
6! terms of the GNU General Public License as published by the Free Software
7! Foundation, either version 3 of the License, or (at your option) any later
[2696]8! version.
9!
[2718]10! PALM is distributed in the hope that it will be useful, but WITHOUT ANY
11! WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR
12! A PARTICULAR PURPOSE.  See the GNU General Public License for more details.
[2696]13!
14! You should have received a copy of the GNU General Public License along with
15! PALM. If not, see <http://www.gnu.org/licenses/>.
16!
[2718]17! Copyright 2017-2018 Leibniz Universitaet Hannover
18! Copyright 2017-2018 Deutscher Wetterdienst Offenbach
[2696]19!------------------------------------------------------------------------------!
20!
21! Current revisions:
22! -----------------
[3182]23! Added usage hints
[2696]24!
25! Former revisions:
26! -----------------
27! $Id: test-prototype.f90 3182 2018-07-27 13:36:03Z suehring $
28! Initial revision
29!
30!
31!
32! Authors:
33! --------
34! @author Eckhard Kadasch
35!
36! Description:
37! ------------
38!> This prototype test does nothing, but serves as a template for programming
39!> new INIFOR tests.
40!------------------------------------------------------------------------------!
41 PROGRAM test_prototype
42
43    USE test_utils
44   
45    IMPLICIT NONE
46
47    CHARACTER(LEN=*), PARAMETER ::  title = "Prototype"
48    LOGICAL                     ::  res
49
50    CALL begin_test(title, res)
51
52    ! Arange
[3182]53    !define parameters and reference values
[2696]54
55    ! Act
[3182]56    !compute result
[2696]57
58    ! Assert
[3182]59    !res = res .AND. assert_equal(<result_array>, <reference_array>, 'description')
[2696]60
61    CALL end_test(title, res)
62
63 END PROGRAM test_prototype
Note: See TracBrowser for help on using the repository browser.