Skip to content

force-parameter: mismatch between value and documentation #411

@pjonsson

Description

@pjonsson

Is it a bug?
Please consider that the bug may be an error in usage, or may be related to wrong settings of your system, e.g. bad access rights. If you are sufficiently sure that it is a bug, please go ahead and file a bug report. If not, please post the question in our self-help Google Group

Describe the bug

Running force-parameter test.prm LEVEL2 with latest develop branch gives a file which contains:

# This is the tile size (in target units, commonly in meters) of the
# gridded output. tiles are square; not used if DO_TILE = FALSE.
# Type: Double. Valid range: ]0,...
TILE_SIZE = 30000 30000

Other parameters that have Type: Double. in their documentation are initialized to a single value, not two.

Expected behavior

Either the type and valid range comments should be Double Double and ]0,... ]0,..., or TILE_SIZE should be initialized to a single value.

Parameterization
force-parameter test.prm LEVEL2

Setup
Always add information on your system, e.g.

  • FORCE version: latest develop
  • OS and version: FORCE Docker image
  • bare metal Linux server or virtual machine?
  • did you deviate from the installation instruction?
  • RAM and number of CPUs on your machine

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions