Changeset 991df6a in flex_extract.git for python/GribTools.py


Ignore:
Timestamp:
May 14, 2018, 10:11:29 PM (6 years ago)
Author:
Anne Philipp <anne.philipp@…>
Branches:
master, ctbto, dev
Children:
812283d
Parents:
efdb01a
Message:

finished documentation (except plot_retrieved)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • python/GribTools.py

    refdb01a r991df6a  
    33#************************************************************************
    44# TODO AP
    5 #AP
    65# - GribTools name möglicherweise etwas verwirrend.
    76# - change self.filename in self.filenames!!!
    8 # - add file description
    97# - bis auf --init-- und index wird keine Funktion verwendet!?
    108#************************************************************************
    11 """
    12 @Author: Anne Fouilloux (University of Oslo)
    13 
    14 @Date: July 2014
    15 
    16 @ChangeHistory:
    17    February 2018 - Anne Philipp (University of Vienna):
    18         - applied PEP8 style guide
    19         - added documentation
    20         - changed some naming
    21 
    22 @License:
    23     (C) Copyright 2014-2018.
    24 
    25     This software is licensed under the terms of the Apache Licence Version 2.0
    26     which can be obtained at http://www.apache.org/licenses/LICENSE-2.0.
    27 
    28 @Requirements:
    29     - A standard python 2.6 or 2.7 installation
    30     - dateutils
    31     - ECMWF specific packages, all available from https://software.ecmwf.int/
    32         ECMWF WebMARS, gribAPI with python enabled, emoslib and
    33         ecaccess web toolkit
    34 
    35 @Description:
    36     Further documentation may be obtained from www.flexpart.eu.
    37 
    38     ...
    39 """
     9#*******************************************************************************
     10# @Author: Anne Fouilloux (University of Oslo)
     11#
     12# @Date: July 2014
     13#
     14# @Change History:
     15#   February 2018 - Anne Philipp (University of Vienna):
     16#        - applied PEP8 style guide
     17#        - added documentation
     18#        - changed some naming
     19#
     20# @License:
     21#    (C) Copyright 2014-2018.
     22#
     23#    This software is licensed under the terms of the Apache Licence Version 2.0
     24#    which can be obtained at http://www.apache.org/licenses/LICENSE-2.0.
     25#
     26# @Class Description:
     27#    The GRIB API provides all necessary tools to work directly with the
     28#    grib files. Nevertheless, the GRIB API tools are very basic and are in
     29#    direct connection with the grib files. This class provides some higher
     30#    functions which apply a set of GRIB API tools together in the respective
     31#    context. So, the class initially contains a list of grib files (their
     32#    names) and the using program then applies the methods directly on the
     33#    class objects without having to think about how the actual GRIB API
     34#    tools have to be arranged.
     35#
     36# @Class Content:
     37#    - __init__
     38#    - getkeys
     39#    - setkeys
     40#    - copy
     41#    - index
     42#
     43#*******************************************************************************
     44
    4045# ------------------------------------------------------------------------------
    4146# MODULES
    4247# ------------------------------------------------------------------------------
     48import os
    4349from gribapi import *
    44 import traceback
    45 import sys
    46 import os
     50
    4751# ------------------------------------------------------------------------------
    4852# CLASS
Note: See TracChangeset for help on using the changeset viewer.
hosted by ZAMG