U

����� gN����������������������@���s��d�Z�G�dd��de�ZG�dd��de�ZG�dd��de�ZG�dd��de�ZG�d	d
��d
e�ZG�dd��de�ZG�d
d��de�Z	G�dd��de
�ZG�dd��de�ZG�dd��de�Z
G�dd��de�ZG�dd��de�ZG�dd��de�ZG�dd��de�ZG�dd��de�ZG�dd ��d e�ZG�d!d"��d"e�ZG�d#d$��d$e�ZG�d%d&��d&e�ZG�d'd(��d(e�ZG�d)d*��d*e�ZG�d+d,��d,e�ZG�d-d.��d.e�ZG�d/d0��d0e�ZG�d1d2��d2e�ZG�d3d4��d4e�ZG�d5d6��d6e�ZG�d7d8��d8e�ZG�d9d:��d:e�Z G�d;d<��d<e �Z!G�d=d>��d>e�Z"G�d?d@��d@e"�Z#G�dAdB��dBe"�Z$G�dCdD��dDe�Z%G�dEdF��dFe�Z&G�dGdH��dHe�Z'G�dIdJ��dJe'�Z(G�dKdL��dLe'�Z)G�dMdN��dNe'�Z*G�dOdP��dPe*�Z+G�dQdR��dRe*�Z,G�dSdT��dTe�Z-G�dUdV��dVe-�Z.G�dWdX��dXe-�Z/G�dYdZ��dZe-�Z0G�d[d\��d\e-�Z1G�d]d^��d^e-�Z2G�d_d`��d`e-�Z3G�dadb��dbe-�Z4G�dcdd��dde-�Z5G�dedf��dfe-�Z6G�dgdh��dhe6�Z7G�didj��dje6�Z8G�dkdl��dle6�Z9G�dmdn��dne6�Z:G�dodp��dpe6�Z;G�dqdr��dre6�Z<G�dsdt��dte�Z=G�dudv��dve=�Z>G�dwdx��dxe=�Z?G�dydz��dze=�Z@G�d{d|��d|e=�ZAG�d}d~��d~eA�ZBG�dd���d�eA�ZCG�d�d���d�e=�ZDG�d�d���d�e=�ZEG�d�d���d�eE�ZFG�d�d���d�e=�ZGG�d�d���d�eG�ZHG�d�d���d�eG�ZIG�d�d���d�e=�ZJG�d�d���d�e�ZKG�d�d���d�eK�ZLG�d�d���d�eK�ZMG�d�d���d�eM�ZNG�d�d���d�eM�ZOG�d�d���d�eK�ZPG�d�d���d�eK�ZQG�d�d���d�eK�ZRG�d�d���d�e�ZSG�d�d���d�eS�ZTG�d�d���d�eT�ZUG�d�d���d�eT�ZVG�d�d���d�eT�ZWG�d�d���d�eT�ZXG�d�d���d�eT�ZYG�d�d���d�eT�ZZG�d�d���d�e�Z[G�d�d���d�e�Z\G�d�d���d�e[�Z]G�d�d���d�e[�Z^G�d�d���d�e[�Z_G�d�d���d�e[�Z`G�d�d���d�e[�ZaG�d�d���d�e[�ZbG�d�d���d�e�ZcG�d�d„�d�ec�ZdG�d�dĄ�d�ec�ZeG�d�dƄ�d�e�ZfG�d�dȄ�d�ef�ZgG�d�dʄ�d�ef�ZhG�d�d̄�d�ef�ZiG�d�d΄�d�ef�ZjG�d�dЄ�d�e�ZkG�d�d҄�d�e�ZlG�d�dԄ�d�e�ZmG�d�dք�d�em�ZnG�d�d؄�d�em�ZoG�d�dڄ�d�em�ZpG�d�d܄�d�em�ZqG�d�dބ�d�em�ZrG�d�d���d�em�ZsG�d�d��d�em�Ztd�S�)�z�!Exceptions raised by the hwrf package

This module contains exceptions raised by the hwrf package.  The only
exceptions are the hwrf.revital and hwrf.storminfo modules which
contain their own exceptions for backward compatibility to old
scripts.c�������������������@���s���e�Zd�ZdZdS�)�	HWRFErrora���!Base class of all exceptions in this module.

    This is the base class of exceptions raised by the HWRF module
    due to HWRF-specific failures.  It is possible to get other
    exceptions from the StandardException hierarchy in certain failure
    cases.  For example, trying to obtain the fifth of three domains
    may raise KeyError.  Also, see pom.exceptions for exceptions that
    may be raised from the pom package.  See the produtil package for
    exceptions that may come from lower levels.N��__name__�
__module__�__qualname__�__doc__��r���r����</lfs/h1/ops/prod/packages/hmon.v3.2.7/ush/hwrf/exceptions.pyr���	���s���r���c�������������������@���s���e�Zd�ZdZdS�)�DuplicateTaskNamez]!Raised when more than one task is registered with the same
    name in an HWRFConfig object.Nr���r���r���r���r���r	������s���r	���c�������������������@���s���e�Zd�ZdZdS�)�InvalidConfigOptNamezG!Raised when one tries to use an invalid string for an option
    name.Nr���r���r���r���r���r
������s���r
���c�������������������@���s���e�Zd�ZdZdS�)�FailureTestExceptionz;!Raised to simulate a failure condition in the HWRF system.Nr���r���r���r���r���r���"���s���r���c�������������������@���s���e�Zd�ZdZdS�)�ExpectedFailureTestzv!Raised to simulate a failure condition in the HWRF system that
    should be caught, and trigger automated fallbacks.Nr���r���r���r���r���r���%���s���r���c�������������������@���s���e�Zd�ZdZdS�)�UnexpectedFailureTestz�!Raised to simulate a failure condition in the HWRF system that
    should never happen, and should result in an immediate abort of
    the workflow, even if automated fallbacks are enabled.    Nr���r���r���r���r���r
���)���s���r
���c�������������������@���s���e�Zd�ZdZdS�)�NamelistValueErrorzY!Raised when hwrf.namelist cannot convert a value to or from
    Fortran namelist format.Nr���r���r���r���r���r���5���s���r���c�����������������������s0���e�Zd�ZdZ��fdd�Zdd��Zdd��Z���ZS�)�NamelistKeyErrorzI!Raised when an hwrf.namelist is asked for a key that does not
    exist.c��������������������s&���t�t|���|��||�_||�_||�_dS�)z�!Constructor.
        @param message the string message
        @param section the section that was searched
        @param var the option that was requestedN)�superr����__init__�section�var�message)�selfr���r���r�����	__class__r���r���r���D���s����zNamelistKeyError.__init__c�����������������C���s2���|�j�dkrd|�j|�jf�S�d|�j�|�j|�jf�S�dS�)z2!Generates a string description of this exception.z-trait-ztrait %s: %sz
&%s %s: %sN)r���r���r����r���r���r���r����__str__M���s����
zNamelistKeyError.__str__c�����������������C���s ���dt�|�j�t�|�j�t�|�j�f�S�)z2!Generates a string representation of this object.zNamelistError(%s,%s,%s))�reprr���r���r���r���r���r���r����__repr__S���s�����zNamelistKeyError.__repr__)r���r���r���r���r���r���r����
__classcell__r���r���r���r���r���8���s���	r���c�������������������@���s���e�Zd�ZdZdS�)�HWRFSanityErrorz-!Base class of all sanity checker exceptions.Nr���r���r���r���r���r���[���s���r���c�����������������������s ���e�Zd�ZdZ��fdd�Z���ZS�)�
HWRFDirInsanez<!Raised when a directory is unspecified, missing or invalid.c��������������������s���t�t|���|��||�_dS�)z�!HWRFDirInsane constructor.
        @param message  a string explanation of the problem
        @param dir      the directory in questionN)r���r���r����dir)r���r���r���r���r���r���r���b���s����zHWRFDirInsane.__init__�r���r���r���r���r���r���r���r���r���r���r���]���s���r���c�������������������@���s���e�Zd�ZdZdS�)�HWRFConfigInsanezY!Raised when the requested configuration conf or hwrf_expt files
    fail a sanity check.Nr���r���r���r���r���r!���h���s���r!���c�������������������@���s���e�Zd�ZdZdS�)�HWRFConfigUnsupportedzZ!Raised when the user requests a configuration that makes sense,
    but is not supported.Nr���r���r���r���r���r"���k���s���r"���c�������������������@���s���e�Zd�ZdZdS�)�HWRFConfigFileOrderzC!Raised when configuration files were specified in the wrong order.Nr���r���r���r���r���r#���n���s���r#���c�������������������@���s���e�Zd�ZdZdS�)�HWRFStormInsanezC!Raised when the configuration had a different storm than expected.Nr���r���r���r���r���r$���p���s���r$���c�������������������@���s���e�Zd�ZdZdS�)�HWRFCycleInsanezC!Raised when the configuration had a different cycle than expected.Nr���r���r���r���r���r%���r���s���r%���c�������������������@���s���e�Zd�ZdZdS�)�HWRFVariableInsanez9!Raised when a sanity check on a variable's value failed.Nr���r���r���r���r���r&���t���s���r&���c�������������������@���s���e�Zd�ZdZdS�)�HWRFInputInsanez5!Raised when input files to HWRF fail a sanity check.Nr���r���r���r���r���r'���v���s���r'���c�������������������@���s���e�Zd�ZdZdS�)�HWRFScriptInsanez.!Raised when HWRF scripts fail a sanity check.Nr���r���r���r���r���r(���x���s���r(���c�������������������@���s���e�Zd�ZdZdS�)�HWRFExecutableInsanez6!Raised when the HWRF executables fail a sanity check.Nr���r���r���r���r���r)���z���s���r)���c�������������������@���s���e�Zd�ZdZdS�)�
HWRFFixInsanez4!Raised when the HWRF fix files fail a sanity check.Nr���r���r���r���r���r*���|���s���r*���c�������������������@���s���e�Zd�ZdZdS�)�HWRFArchiveInsanezG!Raised when the sanity check of the HWRF archiving settings
    fails.Nr���r���r���r���r���r+���~���s���r+���c�������������������@���s���e�Zd�ZdZdS�)�OceanInitFailedzB!Raised when the ocean init did not produce some expected outputs.Nr���r���r���r���r���r,�������s���r,���c�������������������@���s���e�Zd�ZdZdS�)�NoOceanDataz@!Raised when the parent global ocean model data was unavailable.Nr���r���r���r���r���r-�������s���r-���c�������������������@���s���e�Zd�ZdZdS�)�OceanExeUnspecifiedzV!Raised when the HyCOM init foregets to choose an executable for
    the forecast job.Nr���r���r���r���r���r.�������s���r.���c�������������������@���s���e�Zd�ZdZdS�)�InvalidOceanInitMethodzA!Raised when an invalid ocean initialization method is requested.Nr���r���r���r���r���r/�������s���r/���c�������������������@���s���e�Zd�ZdZdS�)�OceanRestartMissingz/!Raised when the ocean restart file is missing.Nr���r���r���r���r���r0�������s���r0���c�������������������@���s���e�Zd�ZdZdS�)�NoOceanBasinzD!Raised when there is no ocean basin for the selected domain center.Nr���r���r���r���r���r1�������s���r1���c�������������������@���s���e�Zd�ZdZdS�)�OceanDataInvalidz7!Raised when an ocean input file contains invalid data.Nr���r���r���r���r���r2�������s���r2���c�������������������@���s���e�Zd�ZdZdS�)�WaveInitFailedz,!Raised when the wave initialization failes.Nr���r���r���r���r���r3�������s���r3���c�������������������@���s���e�Zd�ZdZdS�)�
WW3InputErrorz9!Raised when the wavewatch 3 cannot find necessary input.Nr���r���r���r���r���r4�������s���r4���c�������������������@���s���e�Zd�ZdZdS�)�HWRFCouplingErrorzI!Superclass of atmosphere-ocean-wave-otherthings coupling
    exceptions.Nr���r���r���r���r���r5�������s���r5���c�������������������@���s���e�Zd�ZdZdS�)�NoCoupledComponentszZ!Raised when one requests a coupled forecast without specifying
    what is being coupled.Nr���r���r���r���r���r6�������s���r6���c�������������������@���s���e�Zd�ZdZdS�)�EmptyCouplerNamelistzg!Raised when the NCEP Coupler is to be used for coupling but its
    namelist file is empty or missing.Nr���r���r���r���r���r7�������s���r7���c�������������������@���s���e�Zd�ZdZdS�)�
GSIInputErrorz3!Raised when GSI cannot find a required input file.Nr���r���r���r���r���r8�������s���r8���c�������������������@���s���e�Zd�ZdZdS�)�ExpectedTDRzD!Used in failure testing to abort the system if TDR was not present.Nr���r���r���r���r���r9�������s���r9���c�������������������@���s���e�Zd�ZdZdS�)�TrackerErrorz'!Base class of hwrf.tracker exceptions.Nr���r���r���r���r���r:�������s���r:���c�������������������@���s���e�Zd�ZdZdS�)�TrackerModeErrorz�!Raised when an impossible tracker configuration is requested,
    such as running with a grid that is both regional and global.Nr���r���r���r���r���r;�������s���r;���c�������������������@���s���e�Zd�ZdZdS�)�TrackerStormErrorzJ!Raised when multiple storms are requested, but only one was
    expected.Nr���r���r���r���r���r<�������s���r<���c�������������������@���s���e�Zd�ZdZdS�)�TrackerInputErrorz[!Base class of exceptions raised when the tracker's input files
    are missing or invalid.Nr���r���r���r���r���r=�������s���r=���c�������������������@���s���e�Zd�ZdZdS�)�MissingGRIBErrorzZ!Not currently used, this would be raised when GRIB inputs to
    the tracker are missing.Nr���r���r���r���r���r>�������s���r>���c�������������������@���s���e�Zd�ZdZdS�)�GRIBLocationErrorzH!Raised when no location is specified for a tracker input GRIB
    file.Nr���r���r���r���r���r?�������s���r?���c�������������������@���s���e�Zd�ZdZdS�)�
HWRFTimeErrorz2!Base class used for time-related HWRF exceptions.Nr���r���r���r���r���r@�������s���r@���c�������������������@���s���e�Zd�ZdZdS�)�InvalidTimestepzq!Raised when a timestep is invalid, such as a negative timestep
    for a situation that requires a positive one.Nr���r���r���r���r���rA�������s���rA���c�������������������@���s���e�Zd�ZdZdS�)�TimestepModularityErrorzF!Called when one hour is not divisable by the WRF output
    timestep.Nr���r���r���r���r���rB�������s���rB���c�������������������@���s���e�Zd�ZdZdS�)�OverspecifiedOutputTimez�!Raised when an output time is specified in two redundant ways.

    For example, one could specify a forecast time directly, and also
    specify the analysis time and forecast time delta.Nr���r���r���r���r���rC�������s���rC���c�������������������@���s���e�Zd�ZdZdS�)�NoOutputTimez8!Raised when a time was required, but none was provided.Nr���r���r���r���r���rD�������s���rD���c�������������������@���s���e�Zd�ZdZdS�)�TimezoneProvidedzl!Raised when a timezone is provided.  The hwrf package does not
    support timezones: all times are in UTC.Nr���r���r���r���r���rE�������s���rE���c�������������������@���s���e�Zd�ZdZdS�)�PrecisionTooHigha��!Raised when a time was requested with higher precision than available.

    Raised when a time was provided that contained fractions of a
    second, for a function that cannot handle that.  For example, the
    WRF output files must be exactly on a second boundary.Nr���r���r���r���r���rF�������s���rF���c�������������������@���s���e�Zd�ZdZdS�)�
NotInTimespanzT!Raised when a time is outside the range of times being
    processed by a function.Nr���r���r���r���r���rG�������s���rG���c�������������������@���s���e�Zd�ZdZdS�)�NoNearbyValueszw!Raised when an operation has a set of known times, but another
    provided time is not near one of those known times.Nr���r���r���r���r���rH�������s���rH���c�����������������������s ���e�Zd�ZdZ��fdd�Z���ZS�)�InvalidTimespanzn!Superclass of exceptions relating to groups of one or more
    distinct times and relationships between them.c��������������������s ���t�t|���|��||�_||�_dS�)z�! Constructor for InvalidTimespan
        
        @param message the string explanation of the problem
        @param start the start of the timespan
        @param end   the end of the timespanN)r���rI���r����start�end)r���r���rJ���rK���r���r���r���r�������s����zInvalidTimespan.__init__r ���r���r���r���r���rI�������s���rI���c�������������������@���s���e�Zd�ZdZdS�)�EndBeforeStartz;!Raised when the end of a timespan is before the beginning.Nr���r���r���r���r���rL�������s���rL���c�������������������@���s���e�Zd�ZdZdS�)�EndNotTimestepa��!Raised when the end of a timespan is not a timestep.
    Presently unused.

    Presently unused, this was to indicate that the end of a timespan
    is not on a timestep, for temporally discrete processes.  Such end
    times are allowed in WRF, so this exception is unused.Nr���r���r���r���r���rM�������s���rM���c�������������������@���s���e�Zd�ZdZdS�)�StartNotAtParentTimestepz9!Raised when a timespan's beginning is not at a timestep.Nr���r���r���r���r���rN�����s���rN���c�������������������@���s���e�Zd�ZdZdS�)�TimestepTooLongzL!Raised when a timestep is too long for the process under
    consideration.Nr���r���r���r���r���rO�����s���rO���c�������������������@���s���e�Zd�ZdZdS�)�TimestepTooShortzM!Raised when a timestep is too short for the process under
    consideration.Nr���r���r���r���r���rP���	��s���rP���c�������������������@���s���e�Zd�ZdZdS�)�
NoTimespanz=!Raised when a timespan was expected, but none was available.Nr���r���r���r���r���rQ�����s���rQ���c�������������������@���s���e�Zd�ZdZdS�)�RegribErrorz%!Superclass of errors used by Regrib.Nr���r���r���r���r���rR�����s���rR���c�������������������@���s���e�Zd�ZdZdS�)�GRIBInputErrorz�!Raised when a GRIB file is invalid.  

    Raised when a GRIB file is provided, but that file is invalid.
    This can be due to either an input to an operation, or the output
    from the operation.Nr���r���r���r���r���rS�����s���rS���c�������������������@���s���e�Zd�ZdZdS�)�
Subsetlessze!Raised when a Regrib was expecting a GRIB subsetter function,
    but no such function was provided.Nr���r���r���r���r���rT�����s���rT���c�������������������@���s���e�Zd�ZdZdS�)�InvalidRegribResultz�!Debug assetion in hwrf.regrib used to detect type mismatches.

    Part of debug assertions in hwrf.regrib, this is raised when the
    wrong type is generated by the "make" function.Nr���r���r���r���r���rU�����s���rU���c�������������������@���s���e�Zd�ZdZdS�)�RegribProductErrorz2!Superclass of errors relating to regrib products.Nr���r���r���r���r���rV���$��s���rV���c�������������������@���s���e�Zd�ZdZdS�)�NoProductErrorzx!Raised when an operation that produces input to Regrib should
    have produced a Product, but produced nothing at all.Nr���r���r���r���r���rW���&��s���rW���c�������������������@���s���e�Zd�ZdZdS�)�ProductAmbiguityErrorz[!Raised when an operation that provides input to Regrib produces
    more than one product.Nr���r���r���r���r���rX���)��s���rX���c�������������������@���s���e�Zd�ZdZdS�)�NoIndexErrorzL!Raised when a GRIB file should have an index file already, but
    doesn't.Nr���r���r���r���r���rY���,��s���rY���c�������������������@���s���e�Zd�ZdZdS�)�RegribManyErrorz5!Base class of errors from the hwrf.regrib.RegribManyNr���r���r���r���r���rZ���0��s���rZ���c�������������������@���s���e�Zd�ZdZdS�)�RegribKeyErrorzj!Raised when a RegribMany is given an invalid name: one that
    does not match a known grid or operation.Nr���r���r���r���r���r[���2��s���r[���c�������������������@���s���e�Zd�ZdZdS�)�RegribGridErrorz*!Base class of grid-related regrib errors.Nr���r���r���r���r���r\���6��s���r\���c�������������������@���s���e�Zd�ZdZdS�)�
GridlessErrorz7!Raised when a grid was expected but none was provided.Nr���r���r���r���r���r]���8��s���r]���c�������������������@���s���e�Zd�ZdZdS�)�GridMismatchErrorzY!Raised when two GRIB files have non-matching grids, but a
    matching grid is required.Nr���r���r���r���r���r^���:��s���r^���c�������������������@���s���e�Zd�ZdZdS�)�GribberErrorz�!Exceptions for hwrf.regrib.GRIBTask for certain internal errors.

    Raised by GRIBTask for unexpected errors that did not come from
    the underlying RegribAll object.  This is used in GRIBTask.run's
    "run it now" mode, when setting raiseall=True.Nr���r���r���r���r���r_���>��s���r_���c�������������������@���s���e�Zd�ZdZdS�)�WRFErrorz"!Base class of WRF-related errors.Nr���r���r���r���r���r`���H��s���r`���c�������������������@���s���e�Zd�ZdZdS�)�DomainsDonezZ!Raised when it is no longer possible to add domains, but the
    caller tried to add one.Nr���r���r���r���r���ra���J��s���ra���c�����������������������s"���e�Zd�ZdZd��fdd�	Z���ZS�)�WRFDomainErrorz.!Base class of errors related to a WRF domain.Nc��������������������s���t�t|���|��||�_dS�)z�! WRFDomainError constructor.
        @param message the string description of the message
        @param domainname the name of the hwrf.wrf.WRFDomain in questionN)r���rb���r����
domainname)r���r���rc���r���r���r���r���O��s����zWRFDomainError.__init__)Nr ���r���r���r���r���rb���M��s���rb���c�������������������@���s���e�Zd�ZdZdS�)�InvalidDomainStartz�!Raised when the hwrf.wrf.WRFDomain start type is unrecognized.

    Raised when the conf value specifying the type of domain parent
    start information contains invalid data (not "fixed" or "auto.")Nr���r���r���r���r���rd���X��s���rd���c�������������������@���s���e�Zd�ZdZdS�)�DomainExistszN!Raised when adding a domain, if a domain by the same name
    already exists.Nr���r���r���r���r���re���]��s���re���c�������������������@���s���e�Zd�ZdZdS�)�OutputStreamDisabledzm!Raised when attempting to obtain information about when a WRF
    stream outputs, if the stream is disabled.Nr���r���r���r���r���rf���`��s���rf���c�������������������@���s���e�Zd�ZdZdS�)�RealNMMErrorz1!Raised when failing to run the real_nmm program.Nr���r���r���r���r���rg���c��s���rg���c�������������������@���s���e�Zd�ZdZdS�)�
SetNestFailedzb!Raised when failing to set the parent start location via the
    set_nest (set_ij_start) program.Nr���r���r���r���r���rh���e��s���rh���c�������������������@���s���e�Zd�ZdZdS�)�ForecastInputErrorz@!Parent class of exceptions specific to the hwrf.fcsttask moduleNr���r���r���r���r���ri���l��s���ri���c�������������������@���s���e�Zd�ZdZdS�)�
WRFMissingzF!Raised when wrf or real want to run but needed input data is missing.Nr���r���r���r���r���rj���n��s���rj���c�������������������@���s���e�Zd�ZdZdS�)�WRFGeogridMissingz@!Raised when wrf or real want to run but geogrid data is missingNr���r���r���r���r���rk���p��s���rk���c�������������������@���s���e�Zd�ZdZdS�)�WRFMetgridMissingzB!Raised when wrf or real want to run, but metgrid data is missing.Nr���r���r���r���r���rl���r��s���rl���c�������������������@���s���e�Zd�ZdZdS�)�WRFInputMissingzE!Raised when wrf or real want to run, but wrfinput files are missing.Nr���r���r���r���r���rm���t��s���rm���c�������������������@���s���e�Zd�ZdZdS�)�
WRFBdyMissingzC!Raised when wrf or real want to run, but wrfbdy files are missing.Nr���r���r���r���r���rn���v��s���rn���c�������������������@���s���e�Zd�ZdZdS�)�
WRFAnlMissingzC!Raised when wrf or real want to run, but wrfanl files are missing.Nr���r���r���r���r���ro���x��s���ro���c�������������������@���s���e�Zd�ZdZdS�)�WRFPrepMissingzB!Raised when real wants prep_hybrid data, but that data is missingNr���r���r���r���r���rp���z��s���rp���c�������������������@���s���e�Zd�ZdZdS�)�WPSErrorz&!Base class of WPS-related exceptions.Nr���r���r���r���r���rq������s���rq���c�������������������@���s���e�Zd�ZdZdS�)�WPSAssertionz(!Raised when WPS inputs are implausable.Nr���r���r���r���r���rr������s���rr���c�������������������@���s���e�Zd�ZdZdS�)�GeogridNoLogz/!Raised when geogrid did not create a log file.Nr���r���r���r���r���rs������s���rs���c�������������������@���s���e�Zd�ZdZdS�)�GeogridNoOutputz7!Raised when a geogrid output file is missing or empty.Nr���r���r���r���r���rt������s���rt���c�������������������@���s���e�Zd�ZdZdS�)�
UngribNoInputz7!Raised when ungrib cannot find an input file it needs.Nr���r���r���r���r���ru������s���ru���c�������������������@���s���e�Zd�ZdZdS�)�UngribInputUnknownz�!Raised for hwrf.wps.Ungrib input problems.

    Raised when ungrib cannot figure out if an input file is GRIB1 or
    GRIB2.  This error usually means it is neither file type (or it is
    empty).Nr���r���r���r���r���rv������s���rv���c�������������������@���s���e�Zd�ZdZdS�)�UngribSubsetErrorz@!Raised when wgrib or wgrib2 generates an empty or invalid file.Nr���r���r���r���r���rw������s���rw���c�������������������@���s���e�Zd�ZdZdS�)�UngribCannotSubsetz�!Raised when hwrf.wps.Ungrib cannot subset files as requested.

    Raised when the caller wants to merge and subset GRIB files in
    a single operation.  The Ungrib class does not presently support
    that.Nr���r���r���r���r���rx������s���rx���c�������������������@���s���e�Zd�ZdZdS�)�PrepHybridErrorz=!Base class of exceptions related to the prep_hybrid program.Nr���r���r���r���r���ry������s���ry���c�������������������@���s���e�Zd�ZdZdS�)�
NoGeogDatazM!Raised when the prep_hybrid program cannot find WPS geogrid
    output data.Nr���r���r���r���r���rz������s���rz���c�������������������@���s���e�Zd�ZdZdS�)�NoSpectralDatazj!Raised when the spectral input files to prep_hybrid do not
    exist after some specified amount of time.Nr���r���r���r���r���r{������s���r{���c�������������������@���s���e�Zd�ZdZdS�)�HWRFInputErrorz;!Base class of exceptions related to the hwrf.input module.Nr���r���r���r���r���r|������s���r|���c�������������������@���s���e�Zd�ZdZdS�)�InputSourceBadTypezW!Raised when a configuration file requests a DataCatalog class
    that does not exist.Nr���r���r���r���r���r}������s���r}���c�������������������@���s���e�Zd�ZdZdS�)�InvalidInputSpecificationzX!Raised when an input source is missing the location, or both
    histprio and fcstprio.Nr���r���r���r���r���r~������s���r~���c�������������������@���s���e�Zd�ZdZdS�)�PartialTransferzI!Raised when a file transfer, done by an InputSource, was
    incomplete.Nr���r���r���r���r���r������s���r���c�������������������@���s���e�Zd�ZdZdS�)�UnsupportedTransferzl!Raised when a configuration file requests an unsupported data
    transfer method (such as carrier pigeon).Nr���r���r���r���r���r�������s���r����c�������������������@���s���e�Zd�ZdZdS�)�
PostFailedzo!Raised upon errors that would cause a retry, in the
    PostOneWRF.run when passed the raiseall=True argument.Nr���r���r���r���r���r�������s���r����c�������������������@���s���e�Zd�ZdZdS�)�PostHasNoInputz[!Raised when the post's input file is not available and
    raiseall=True in PostOneWRF.runNr���r���r���r���r���r�������s���r����c�������������������@���s���e�Zd�ZdZdS�)�RelocationErrorz6!Raised when something in the vortex relocation fails.Nr���r���r���r���r���r�������s���r����c�������������������@���s���e�Zd�ZdZdS�)�RelocationInputErrorz;!Raised when required inputs to the relocation are missing.Nr���r���r���r���r���r�������s���r����c�������������������@���s���e�Zd�ZdZdS�)�RelocationConfigurationErrorz6!Raised when an impossible configuration is requested.Nr���r���r���r���r���r�������s���r����c�������������������@���s���e�Zd�ZdZdS�)�RelocateOutputMissingzN!Raised when a relocation program did not produce an expected
    output file.Nr���r���r���r���r���r�������s���r����c�������������������@���s���e�Zd�ZdZdS�)�UnexpectedColdStartzm!Raised when the relocation could not find the prior cycle's 6hr
    forecast, but it expected to be able to.Nr���r���r���r���r���r�������s���r����c�������������������@���s���e�Zd�ZdZdS�)�StormRadiusErrorz^!Raised when the merge cannot find the storm_radius file in the
    relocate or fix directory.Nr���r���r���r���r���r�������s���r����c�������������������@���s���e�Zd�ZdZdS�)�NoSuchDomainzl!Raised by hwrf.input when trying to get the wrong domain from
    its hwrf.relocate.Relocate child objects.Nr���r���r���r���r���r�������s���r����c�������������������@���s���e�Zd�ZdZdS�)�EnsdaTrackerMissingzxRaised when the relocation could not find the prior cycle's 
    ensemble forecast track, but it expected to be able to.Nr���r���r���r���r���r�������s���r����N)ur����	Exceptionr���r	���r
���r���r���r
����
ValueErrorr����KeyErrorr���r���r���r!���r"���r#���r$���r%���r&���r'���r(���r)���r*���r+���r,���r-���r.���r/���r0���r1���r2���r3���r4���r5���r6���r7���r8���r9���r:���r;���r<���r=���r>���r?���r@���rA���rB���rC���rD���rE���rF���rG���rH���rI���rL���rM���rN���rO���rP���rQ���rR���rS���rT���rU���rV���rW���rX���rY���rZ���r[���r\���r]���r^���r_���r`���ra���rb���rd���re���rf���rg���rh���ri���rj���rk���rl���rm���rn���ro���rp���rq���rr���rs���rt���ru���rv���rw���rx���ry���rz���r{���r|���r}���r~���r���r����r����r����r����r����r����r����r����r����r����r����r���r���r���r����<module>���s����#