oq-engine: Support calculation geometry specified in a `sites_file`

Bug #1097618 reported by Lars Butler
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenQuake (deprecated)
Fix Released
Low
Lars Butler

Bug Description

Currently, we support definition of calculation geometry as a region (polygon) or a list of individual points. The latter option is done in the job.ini file by specifying a single line of text containing a list of site coordinates. Example:

sites = 161.3 79.1, 161.2 79.0

Users running large, complex calculations have requested to be able specifying this site list in a text/csv file, rather than a single line of text. If there is a large number of sites the user wishes to consider, a single line of text is unwieldy. A csv file with two columns (lon, lat) would be much easier for the user to handle. This file would be specified with an alternate parameter `sites_file`. This would leave us with 3 mutually exclusive options for specifying geometry:

- region / region_grid_spacing
- sites
- sites_files

Changed in openquake:
status: New → Confirmed
description: updated
Changed in openquake:
assignee: nobody → Lars Butler (lars-butler)
Revision history for this message
Lars Butler (lars-butler) wrote :

I have decided to implement this in a slightly different way: instead of `sites_file`, I've called the parameter `sites_csv`.

Pull request containing these updates is here: https://github.com/gem/oq-engine/pull/1113

summary: - oq-engine: Support calculation geometry specified in a `sites_file`
+ oq-engine: Support calculation geometry specified in a `sites_csv`
summary: - oq-engine: Support calculation geometry specified in a `sites_csv`
+ oq-engine: Support calculation geometry specified in a `sites_file`
Changed in openquake:
milestone: none → 1.0.0
importance: Undecided → Low
status: Confirmed → In Progress
Changed in openquake:
status: In Progress → Fix Committed
Changed in openquake:
status: Fix Committed → Fix Released
status: Fix Released → Fix Committed
Changed in openquake:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.