Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add runner for seviri #9

Merged
merged 55 commits into from
Apr 22, 2020
Merged

Conversation

smhi-erik
Copy link
Contributor

@smhi-erik smhi-erik commented Apr 21, 2020

This is a merge of a work done adapting the runner for SEVIRI by @smhi-erik and work done to merge the SMHI and Met Norway versions so they both work at both institutes.
This PR should then solve for PPSv2018 run at Met Norway and SMHI on polar satellite data and be able to run PPSv2018 on SEVIRI at SMHI

Signed-off-by: Erik Johansson <erik.johansson@smhi.se>
Signed-off-by: Erik Johansson <erik.johansson@smhi.se>
Signed-off-by: Erik Johansson <erik.johansson@smhi.se>
Signed-off-by: Erik Johansson <erik.johansson@smhi.se>
Signed-off-by: Erik Johansson <erik.johansson@smhi.se>
Signed-off-by: Erik Johansson <erik.johansson@smhi.se>
Signed-off-by: Erik Johansson <erik.johansson@smhi.se>
Signed-off-by: Erik Johansson <erik.johansson@smhi.se>
Signed-off-by: Erik Johansson <erik.johansson@smhi.se>
Signed-off-by: Erik Johansson <erik.johansson@smhi.se>
prepared import or bi. This should be redone before production

Signed-off-by: Erik Johansson <erik.johansson@smhi.se>
Signed-off-by: Erik Johansson <erik.johansson@smhi.se>
…ork anyhow

Signed-off-by: Erik Johansson <erik.johansson@smhi.se>
Signed-off-by: Erik Johansson <erik.johansson@smhi.se>
	Can run with meteosat file until pps-call
Signed-off-by: Erik Johansson <erik.johansson@smhi.se>
Signed-off-by: Erik Johansson <erik.johansson@smhi.se>
Signed-off-by: Erik Johansson <erik.johansson@smhi.se>
	Valid file extensions are yaml, cfg and ini
	pps2018_config.yaml is the deafault config file
Cleaned the os.environ.get

Signed-off-by: Erik Johansson <erik.johansson@smhi.se>
Signed-off-by: Erik Johansson <erik.johansson@smhi.se>
	option of adding it to configfile instead of enivonmental variable

Signed-off-by: Erik Johansson <erik.johansson@smhi.se>
Signed-off-by: Erik Johansson <erik.johansson@smhi.se>
Signed-off-by: Erik Johansson <erik.johansson@smhi.se>
Added run_pps_cpp
Removed some TODO
Cleaned unused code
Added options['run_pps_cpp']
Used options['number_of_threads'] to decid if run_nwp_and_pps shold be run in parallel
	This was decided by MODE before

Signed-off-by: Erik Johansson <erik.johansson@smhi.se>
Signed-off-by: Erik Johansson <erik.johansson@smhi.se>
smhi-erik and others added 25 commits April 7, 2020 18:33
…iri-converge-pr

Signed-off-by: Erik Johansson <erik.johansson@smhi.se>
Signed-off-by: Erik Johansson <erik.johansson@smhi.se>
… to fit new config file

removed PPS_OUTPUT_DIR and changed how pps_output_dir where decided to fit new config file

Bugfix

Signed-off-by: Erik Johansson <erik.johansson@smhi.se>
Signed-off-by: Erik Johansson <erik.johansson@smhi.se>
Small bugfix in relation to ConfigParser

Signed-off-by: Erik Johansson <erik.johansson@smhi.se>
Added try statement around ppstime_con.write_xml()
	ppstime_con.write_xml() do not work proberly in python3
	It will probably be fixe with a newer patch of pps

Signed-off-by: Erik Johansson <erik.johansson@smhi.se>
Signed-off-by: Erik Johansson <erik.johansson@smhi.se>
…iri-converge-pr

# Conflicts:
#	nwcsafpps_runner/config.py
#	nwcsafpps_runner/pps2018_runner.py
#	nwcsafpps_runner/prepare_nwp.py
#	nwcsafpps_runner/utils.py
Signed-off-by: Adam.Dybbroe <a000680@c21856.ad.smhi.se>
Signed-off-by: Adam.Dybbroe <a000680@c21856.ad.smhi.se>
Signed-off-by: Adam.Dybbroe <a000680@c21856.ad.smhi.se>
Signed-off-by: Adam.Dybbroe <a000680@c21856.ad.smhi.se>
Signed-off-by: Adam.Dybbroe <a000680@c21856.ad.smhi.se>
Signed-off-by: Adam.Dybbroe <a000680@c21856.ad.smhi.se>
…rge-pr

# Conflicts:
#	nwcsafpps_runner/config.py
#	nwcsafpps_runner/pps2018_runner.py
#	nwcsafpps_runner/prepare_nwp.py
#	nwcsafpps_runner/utils.py
#	setup.cfg

Signed-off-by: Adam.Dybbroe <a000680@c21856.ad.smhi.se>
Signed-off-by: Adam.Dybbroe <a000680@c21856.ad.smhi.se>
Signed-off-by: Erik Johansson <erik.johansson@smhi.se>
…oe/pytroll-pps-runner into add_runner_for_seviri

Signed-off-by: Erik Johansson <erik.johansson@smhi.se>
Signed-off-by: Erik Johansson <erik.johansson@smhi.se>
@mraspaud
Copy link
Member

Please write in english, this is an international package :)

@adybbroe adybbroe self-assigned this Apr 22, 2020
@adybbroe adybbroe merged commit ec702ed into pytroll:master Apr 22, 2020
@adybbroe
Copy link
Contributor

Please write in english, this is an international package :)

I fixed it just now @mraspaud (didn't see your comment until after) :-)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants