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

parallax correction and high resolution winds #32

Merged
merged 15 commits into from
Aug 29, 2016

Conversation

meteoswiss-mdr
Copy link

Hi Martin et al,
I pushed the updates for the parallax correction to the pre-master branch.
I hope this is fine.
There are also two files:
mpop/satin/nwcsaf_hrw_hdf.py
mpop/imageo/HRWimage.py
that can read the NWC-SAF high resolution winds (converted to hdf with the tool provided by NWC-SAF) and plot them.
Please let me know, if I need to change something.
Cheers, Uli

a new file for reading NWCSAF data is submitted
it can read CTTH, CMa, CT, CCR, CRPh, PC, SPhR

added a small option to scene.py
in order to specify which level specifies the desired format
of the input file
geo-hdf is a possible data format that you can order
from the EUMETSAT data archive
It enables to specify smaller regions.
TRT is an MeteoSwiss tool to detect
thunderstorm cells.
The data can be processed with this file.
Updated initialization of the _Calibrator function
in mpop/satin/msg_seviri_hdf.py

msg_seviri_hdf.py uses the _Calibrator function in
mipp/xrit/MSG.py that was updated by
Martin and now takes another number of input arguments:

before Martin s change
class _Calibrator(object):
    def __init__(self, hdr, channel_name):

after Martin s change
class _Calibrator(object):
    def __init__(self, hdr, channel_name, bits_per_pixel):

so now the argument bits_per_pixel is set to 10.
add 8 and 9 entry for meteosat 8 and 9
before only 08 and 09 were possible
added new functions:
   mpop/tools.py   -> estimate_cth
   mpop/scene.py   -> get_orbital
                      parallax_corr
   mpop/channel.py -> get_viewing_geometry
                      parallax_corr
                      vinc_vect

estimate_cth
  simple estimation of cloud top height comparing 10.8 micron temperature with temperature profile

get_orbital
  small wrapper to get the satellite orbital from pyorbital

parallax_corr (scene.py)
  performs parallax correction for all loaded channels

get_viewing_geometry
  small function returning viewing azimuth and elevation angle for current channel

parallax_corr (channel.py)
  performs parallax correction for a single channel

vinc_vect
  parallized version of the vinc function
@coveralls
Copy link

coveralls commented Jul 12, 2016

Coverage Status

Coverage decreased (-2.3%) to 12.269% when pulling 8cc2131 on meteoswiss-mdr:pre-master into 36c3e4e on pytroll:pre-master.

introduced a optional argument if cth should be estimated or not.
Additionally introduced a small function to extract the satellite number.
@coveralls
Copy link

coveralls commented Jul 25, 2016

Coverage Status

Coverage decreased (-2.3%) to 12.264% when pulling 8a6840f on meteoswiss-mdr:pre-master into 36c3e4e on pytroll:pre-master.

@mraspaud mraspaud merged commit 53ccdb2 into pytroll:pre-master Aug 29, 2016
meteoswiss-mdr pushed a commit to meteoswiss-mdr/mpop that referenced this pull request Nov 29, 2016
[tests] Skip deprecation warnings in test_gauss_multi_uncert
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants