[Git][debian-gis-team/pygac][upstream] New upstream version 1.6.0

Antonio Valentino (@antonio.valentino) gitlab at salsa.debian.org
Mon Aug 8 08:13:21 BST 2022



Antonio Valentino pushed to branch upstream at Debian GIS Project / pygac


Commits:
cc570d7f by Antonio Valentino at 2022-08-08T06:24:48+00:00
New upstream version 1.6.0
- - - - -


8 changed files:

- + .readthedocs.yml
- CHANGELOG.md
- README.md
- + doc/rtd_environment.yaml
- + doc/source/_static/.gitkeep
- doc/source/introduction.rst
- pygac/calibration.py
- pygac/data/calibration.json


Changes:

=====================================
.readthedocs.yml
=====================================
@@ -0,0 +1,14 @@
+# Read the Docs configuration file
+# See https://docs.readthedocs.io/en/stable/config-file/v2.html for details
+version: 2
+# Build documentation in the docs/ directory with Sphinx
+sphinx:
+  configuration: doc/source/conf.py
+  fail_on_warning: true
+
+build:
+  os: "ubuntu-20.04"
+  tools:
+    python: "mambaforge-4.10"
+conda:
+  environment: doc/rtd_environment.yaml


=====================================
CHANGELOG.md
=====================================
@@ -1,3 +1,26 @@
+## Version <1.6.0> (2022/08/04)
+
+### Issues Closed
+
+* [Issue 107](https://github.com/pytroll/pygac/issues/107) - Fix sun-earth distance correction
+* [Issue 104](https://github.com/pytroll/pygac/issues/104) - Links to POD/KLM user guides are mixed up ([PR 105](https://github.com/pytroll/pygac/pull/105) by [@mraspaud](https://github.com/mraspaud))
+* [Issue 103](https://github.com/pytroll/pygac/issues/103) - API is missing on readthedocs
+* [Issue 40](https://github.com/pytroll/pygac/issues/40) - Calculated sun-earth distance correction factor once and add as attribute
+
+In this release 4 issues were closed.
+
+### Pull Requests Merged
+
+#### Features added
+
+* [PR 109](https://github.com/pytroll/pygac/pull/109) - Add new unpublished METOPC VIS calibration coefficients from Patmos-x
+
+#### Documentation changes
+
+* [PR 105](https://github.com/pytroll/pygac/pull/105) - Fix the pod and klm guide links ([104](https://github.com/pytroll/pygac/issues/104))
+
+In this release 2 pull requests were closed.
+
 ## Version 1.5.0 (2022/01/10)
 
 ### Issues Closed


=====================================
README.md
=====================================
@@ -3,6 +3,7 @@ pygac
 
 [![Build](https://github.com/pytroll/pygac/actions/workflows/ci.yaml/badge.svg)](https://github.com/pytroll/pygac/actions/workflows/ci.yaml)
 [![Coverage](https://codecov.io/gh/pytroll/pygac/branch/main/graph/badge.svg?token=DQMgf2LxuM)](https://codecov.io/gh/pytroll/pygac)
+[![DOI](https://zenodo.org/badge/DOI/10.5281/zenodo.5832775.svg)](https://doi.org/10.5281/zenodo.5832775)
 
 
 Pygac is a Python package to read, calibrate and navigate data from the AVHRR 


=====================================
doc/rtd_environment.yaml
=====================================
@@ -0,0 +1,27 @@
+name: readthedocs
+channels:
+  - conda-forge
+dependencies:
+  - python=3.9
+  - numpy
+  - scipy
+  - bottleneck
+  - python-dateutil
+  - hdf5
+  - h5py
+  - graphviz
+  - setuptools
+  - setuptools_scm
+  - setuptools_scm_git_archive
+  - sphinx
+  - sphinx_rtd_theme
+  - sphinxcontrib-apidoc
+  - pip
+  - pip:
+    - docutils
+    - pyorbital
+    - python-geotiepoints
+    - trollimage
+    - pyspectral
+    - pyorbital
+    - ..  # relative path to the pygac project


=====================================
doc/source/_static/.gitkeep
=====================================


=====================================
doc/source/introduction.rst
=====================================
@@ -18,9 +18,9 @@ obtained from `NOAA CLASS`_, where you can also find a comprehensive
 .. _NOAA CLASS:
     https://www.class.noaa.gov/
 .. _POD:
-    https://www.ncei.noaa.gov/pub/data/satellite/publications/podguides/N-15%20thru%20N-19/
-.. _KLM:
     https://www.ncei.noaa.gov/pub/data/satellite/publications/podguides/TIROS-N%20thru%20N-14/
+.. _KLM:
+    https://www.ncei.noaa.gov/pub/data/satellite/publications/podguides/N-15%20thru%20N-19/
 .. _introduction:
     https://www.class.noaa.gov/release/data_available/avhrr/index.htm
 
@@ -44,4 +44,4 @@ Related Projects
 
 .. _level1c4pps: https://github.com/foua-pps/level1c4pps
 .. _NWCSAF/PPS: https://www.nwcsaf.org/16
-.. _pygac-fdr: https://github.com/pytroll/pygac-fdr
\ No newline at end of file
+.. _pygac-fdr: https://github.com/pytroll/pygac-fdr


=====================================
pygac/calibration.py
=====================================
@@ -59,7 +59,7 @@ class Calibrator(object):
             'name': 'PATMOS-x, v2017r1',
             'status': CoeffStatus.NOMINAL
         },
-        '87ae8f270e63d17178b0e764c5869f4f': {
+        '689386c822de18a07194ac7fd71652ea': {
             'name': 'PATMOS-x, v2017r1, with provisional coefficients for MetOp-C',
             'status': CoeffStatus.PROVISIONAL
         }
@@ -156,9 +156,11 @@ class Calibrator(object):
     @classmethod
     def read_coeffs(cls, coeffs_file):
         """Read calibration coefficients for all satellites from file.
-        Argument
+
+        Args:
             coeffs_file (str): path to coefficients file
-        Returns
+
+        Returns:
             coeffs (dict): dictionary containing coefficients for all satellites
             version (str): version of the coefficients (None if unknown)
         """


=====================================
pygac/data/calibration.json
=====================================
@@ -201,23 +201,23 @@
         "channel_1": {
             "dark_count": 40.41,
             "gain_switch": 498.68,
-            "s0": 0.10699999999916181,
-            "s1": 0.0,
-            "s2": -0.0
+            "s0": 0.10866666666666668,
+            "s1": 7.424,
+            "s2": -2.579
         },
         "channel_2": {
             "dark_count": 40.94,
             "gain_switch": 500.01,
-            "s0": 0.10633333333441988,
-            "s1": 0.0,
-            "s2": -0.0
+            "s0": 0.13,
+            "s1": -0.9,
+            "s2": 1.278
         },
         "channel_3a": {
             "dark_count": 40.57,
             "gain_switch": 498.72,
-            "s0": 0.1032,
-            "s1": 0.0,
-            "s2": -0.0
+            "s0": 0.16228571428571428,
+            "s1": -45.535,
+            "s2": 20.122
         },
         "channel_3b": {
             "b0": 0.0,



View it on GitLab: https://salsa.debian.org/debian-gis-team/pygac/-/commit/cc570d7faba7fce7d305259a5398c50e014d4da3

-- 
View it on GitLab: https://salsa.debian.org/debian-gis-team/pygac/-/commit/cc570d7faba7fce7d305259a5398c50e014d4da3
You're receiving this email because of your account on salsa.debian.org.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/pkg-grass-devel/attachments/20220808/012d9005/attachment-0001.htm>


More information about the Pkg-grass-devel mailing list