Commit c837c71a authored by Fabrice PEIX's avatar Fabrice PEIX
Browse files

Add operator website management

parent 01eba676
......@@ -75,6 +75,7 @@ def init_station(station):
"site_name": station.toponyme(),
"contact": station.observatory().network_contact(),
"owner": station.observatory().description(),
"owner_website": station.observatory().url(),
"comments": [],
"locations": [],
"sensors": [],
......
......@@ -6,9 +6,9 @@ author:
% for author in authors
- &{{author.dbird_code()}} [ ["{{author.author().firstname()}} {{author.author().lastname()}}"], [], [{{author.author().contact().email_list()|join(",")}}], [{{author.author().contact().phone_list() | join(",")}}] ]
% endfor
% else
% else
author: []
%endif
%endif
network:
comment:
......@@ -28,7 +28,8 @@ station:
definition: [ "{{station.iris_code()}}", "{{station.install_date() | dbirddate}}", "{{station.close_date() | dbirddate}}", [{{station.latitude()}}, {{station.latitude_min_err() | optional_value("null")}},{{station.latitude_plus_err() | optional_value("null")}}], [{{station.longitude()}}, {{station.longitude_min_err() | optional_value("null")}},{{station.longitude_plus_err() | optional_value("null")}}], [{{station.altitude() * station.altitude_unit().mksa()}}, {{station.altitude_min_err() | optional_value("null")}},{{station.altitude_plus_err() | optional_value("null")}}], "{{station.toponyme()}}" ]
contact: "{{station.observatory().network_contact()}}"
owner: "{{station.observatory().description()}}"
owner_website: "{{station.observatory().url()}}"
% if station.comment() is not empty or station.selected_channel_comment() is not empty
comment:
% for comment in station.comment()
......@@ -37,7 +38,7 @@ station:
% for comment in station.selected_channel_comment()
- &{{station.iris_code()}}_{{ comment.dbird_code() }} [ "{{ comment.comment().value() }}", "{{ comment.comment().begin_time()|dbirddate }}", "{{ comment.comment().end_time()|dbirddate }}", [ {{ comment.author_list() | prefix_list_elt("*") | join(",") }} ], "C" ]
% endfor
% else
% else
comment: []
% endif
location:
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment