[Met_help] [rt.rap.ucar.edu #79605] History for ImportError: No module named constants_pdef

Julie Prestopnik via RT met_help at ucar.edu
Mon Apr 3 14:16:07 MDT 2017


----------------------------------------------------------------
  Initial Request
----------------------------------------------------------------

Hi,


When I ran the mater_met_plus.py, it says:


ImportError: No module named constants_pdef


Seems it doesn't recognize constants_pdef as its module.


Thanks,

Xinxia


----------------------------------------------------------------
  Complete Ticket History
----------------------------------------------------------------

Subject: ImportError: No module named constants_pdef
From: Julie Prestopnik
Time: Wed Feb 22 09:24:20 2017

Hi Xinxia.

Could you please check to make sure that the ush directory with
constants_pdef.py is in your PYTHONPATH in your .cshrc file (or
.bashrc or
similar file)?  The parm directory should also be in your PYTHONPATH.

For example,

setenv PYTHONPATH
/d1/jpresto/sbu/METplus/ush:/d1/jpresto/sbu/METplus/parm

Please also check make sure that the path to the ush directory is also
specified your your path environment variable.  For example,

set path = (/usr/local/bin \
                 /usr/local/python/bin/python \
                 /d1/jpresto/sbu/METplus/ush )

If they are not there, please add them and then source the file (e.g.
run
"source ~/.cshrc").

Thank you!  Please let us know how it goes.

Julie




On Tue, Feb 21, 2017 at 4:49 PM, Xinxia Song via RT
<met_help at ucar.edu>
wrote:

>
> Tue Feb 21 16:49:28 2017: Request 79605 was acted upon.
> Transaction: Ticket created by Xinxia_Song at outlook.com
>        Queue: met_help
>      Subject: ImportError: No module named constants_pdef
>        Owner: Nobody
>   Requestors: Xinxia_Song at outlook.com
>       Status: new
>  Ticket <URL:
https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=79605 >
>
>
> Hi,
>
>
> When I ran the mater_met_plus.py, it says:
>
>
> ImportError: No module named constants_pdef
>
>
> Seems it doesn't recognize constants_pdef as its module.
>
>
> Thanks,
>
> Xinxia
>
>

------------------------------------------------
Subject: ImportError: No module named constants_pdef
From: Xinxia Song
Time: Wed Feb 22 10:24:42 2017

Hi Julie,


Since I don't have setenv, I added these 3 sentence into my .bashrc
file:


export PYTHONPATH="/D2/xinxia/METplus/METplus/parm"


export USHROOT=/D2/xinxia/METplus/METplus/ush

export PATH=$USHROOT:$PATH


I sourced the ~/.bashrc, and checked that the variables are set, but
the program still can't find the module.


Thanks,

Xinxia

________________________________
From: Julie Prestopnik via RT <met_help at ucar.edu>
Sent: Thursday, February 23, 2017 6:24:21 AM
To: Xinxia_Song at outlook.com
Subject: Re: [rt.rap.ucar.edu #79605] ImportError: No module named
constants_pdef

Hi Xinxia.

Could you please check to make sure that the ush directory with
constants_pdef.py is in your PYTHONPATH in your .cshrc file (or
.bashrc or
similar file)?  The parm directory should also be in your PYTHONPATH.

For example,

setenv PYTHONPATH
/d1/jpresto/sbu/METplus/ush:/d1/jpresto/sbu/METplus/parm

Please also check make sure that the path to the ush directory is also
specified your your path environment variable.  For example,

set path = (/usr/local/bin \
                 /usr/local/python/bin/python \
                 /d1/jpresto/sbu/METplus/ush )

If they are not there, please add them and then source the file (e.g.
run
"source ~/.cshrc").

Thank you!  Please let us know how it goes.

Julie




On Tue, Feb 21, 2017 at 4:49 PM, Xinxia Song via RT
<met_help at ucar.edu>
wrote:

>
> Tue Feb 21 16:49:28 2017: Request 79605 was acted upon.
> Transaction: Ticket created by Xinxia_Song at outlook.com
>        Queue: met_help
>      Subject: ImportError: No module named constants_pdef
>        Owner: Nobody
>   Requestors: Xinxia_Song at outlook.com
>       Status: new
>  Ticket <URL:
https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=79605 >
>
>
> Hi,
>
>
> When I ran the mater_met_plus.py, it says:
>
>
> ImportError: No module named constants_pdef
>
>
> Seems it doesn't recognize constants_pdef as its module.
>
>
> Thanks,
>
> Xinxia
>
>


------------------------------------------------
Subject: ImportError: No module named constants_pdef
From: Julie Prestopnik
Time: Wed Feb 22 10:30:06 2017

Hi Xinxia.

I believe that python doesn't know how to find the module because the
ush
directory is not in your PYTHONPATH.  Both the parm and ush directory
need
to be specified in your PYTHONPATH.  Please add the ush directory to
your
PYTHONPATH, source ~/.bashrc, and let us know how it goes.

Thanks,
Julie

On Wed, Feb 22, 2017 at 10:24 AM, Xinxia Song via RT
<met_help at ucar.edu>
wrote:

>
> <URL: https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=79605 >
>
> Hi Julie,
>
>
> Since I don't have setenv, I added these 3 sentence into my .bashrc
file:
>
>
> export PYTHONPATH="/D2/xinxia/METplus/METplus/parm"
>
>
> export USHROOT=/D2/xinxia/METplus/METplus/ush
>
> export PATH=$USHROOT:$PATH
>
>
> I sourced the ~/.bashrc, and checked that the variables are set, but
the
> program still can't find the module.
>
>
> Thanks,
>
> Xinxia
>
> ________________________________
> From: Julie Prestopnik via RT <met_help at ucar.edu>
> Sent: Thursday, February 23, 2017 6:24:21 AM
> To: Xinxia_Song at outlook.com
> Subject: Re: [rt.rap.ucar.edu #79605] ImportError: No module named
> constants_pdef
>
> Hi Xinxia.
>
> Could you please check to make sure that the ush directory with
> constants_pdef.py is in your PYTHONPATH in your .cshrc file (or
.bashrc or
> similar file)?  The parm directory should also be in your
PYTHONPATH.
>
> For example,
>
> setenv PYTHONPATH
/d1/jpresto/sbu/METplus/ush:/d1/jpresto/sbu/METplus/parm
>
> Please also check make sure that the path to the ush directory is
also
> specified your your path environment variable.  For example,
>
> set path = (/usr/local/bin \
>                  /usr/local/python/bin/python \
>                  /d1/jpresto/sbu/METplus/ush )
>
> If they are not there, please add them and then source the file
(e.g. run
> "source ~/.cshrc").
>
> Thank you!  Please let us know how it goes.
>
> Julie
>
>
>
>
> On Tue, Feb 21, 2017 at 4:49 PM, Xinxia Song via RT
<met_help at ucar.edu>
> wrote:
>
> >
> > Tue Feb 21 16:49:28 2017: Request 79605 was acted upon.
> > Transaction: Ticket created by Xinxia_Song at outlook.com
> >        Queue: met_help
> >      Subject: ImportError: No module named constants_pdef
> >        Owner: Nobody
> >   Requestors: Xinxia_Song at outlook.com
> >       Status: new
> >  Ticket <URL:
https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=79605 >
> >
> >
> > Hi,
> >
> >
> > When I ran the mater_met_plus.py, it says:
> >
> >
> > ImportError: No module named constants_pdef
> >
> >
> > Seems it doesn't recognize constants_pdef as its module.
> >
> >
> > Thanks,
> >
> > Xinxia
> >
> >
>
>
>

------------------------------------------------
Subject: ImportError: No module named constants_pdef
From: Xinxia Song
Time: Wed Feb 22 12:06:45 2017

Hi Julie,


Now I can run the program, but when I look at the log file in the
output, it shows error below:


ERROR| /D2/xinxia/METplus/METplus/ush/run_tc_stat.py:tc_stat from
calling MET TC-STAT with command:/D2/xinxia/METplus/MET/met-
5.2/bin/tc_stat -job filter -lookin
/D2/xinxia/METplus/MET/input/tc_pairs/201412 -init_inc 20141201_00
-match_points true -dump_row
/D2/xinxia/METplus/MET/out/extract_tiles/20141201_00/filter_20141201_00.tcst
-basin ML -out_init_mask /D2/xinxia/METplus/MET/met-
5.2/share/met/poly/CONUS.poly


How should I fix it?


Thanks,


Xinxia

________________________________
From: Julie Prestopnik via RT <met_help at ucar.edu>
Sent: Thursday, February 23, 2017 7:30:06 AM
To: Xinxia_Song at outlook.com
Subject: Re: [rt.rap.ucar.edu #79605] ImportError: No module named
constants_pdef

Hi Xinxia.

I believe that python doesn't know how to find the module because the
ush
directory is not in your PYTHONPATH.  Both the parm and ush directory
need
to be specified in your PYTHONPATH.  Please add the ush directory to
your
PYTHONPATH, source ~/.bashrc, and let us know how it goes.

Thanks,
Julie

On Wed, Feb 22, 2017 at 10:24 AM, Xinxia Song via RT
<met_help at ucar.edu>
wrote:

>
> <URL: https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=79605 >
>
> Hi Julie,
>
>
> Since I don't have setenv, I added these 3 sentence into my .bashrc
file:
>
>
> export PYTHONPATH="/D2/xinxia/METplus/METplus/parm"
>
>
> export USHROOT=/D2/xinxia/METplus/METplus/ush
>
> export PATH=$USHROOT:$PATH
>
>
> I sourced the ~/.bashrc, and checked that the variables are set, but
the
> program still can't find the module.
>
>
> Thanks,
>
> Xinxia
>
> ________________________________
> From: Julie Prestopnik via RT <met_help at ucar.edu>
> Sent: Thursday, February 23, 2017 6:24:21 AM
> To: Xinxia_Song at outlook.com
> Subject: Re: [rt.rap.ucar.edu #79605] ImportError: No module named
> constants_pdef
>
> Hi Xinxia.
>
> Could you please check to make sure that the ush directory with
> constants_pdef.py is in your PYTHONPATH in your .cshrc file (or
.bashrc or
> similar file)?  The parm directory should also be in your
PYTHONPATH.
>
> For example,
>
> setenv PYTHONPATH
/d1/jpresto/sbu/METplus/ush:/d1/jpresto/sbu/METplus/parm
>
> Please also check make sure that the path to the ush directory is
also
> specified your your path environment variable.  For example,
>
> set path = (/usr/local/bin \
>                  /usr/local/python/bin/python \
>                  /d1/jpresto/sbu/METplus/ush )
>
> If they are not there, please add them and then source the file
(e.g. run
> "source ~/.cshrc").
>
> Thank you!  Please let us know how it goes.
>
> Julie
>
>
>
>
> On Tue, Feb 21, 2017 at 4:49 PM, Xinxia Song via RT
<met_help at ucar.edu>
> wrote:
>
> >
> > Tue Feb 21 16:49:28 2017: Request 79605 was acted upon.
> > Transaction: Ticket created by Xinxia_Song at outlook.com
> >        Queue: met_help
> >      Subject: ImportError: No module named constants_pdef
> >        Owner: Nobody
> >   Requestors: Xinxia_Song at outlook.com
> >       Status: new
> >  Ticket <URL:
https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=79605 >
> >
> >
> > Hi,
> >
> >
> > When I ran the mater_met_plus.py, it says:
> >
> >
> > ImportError: No module named constants_pdef
> >
> >
> > Seems it doesn't recognize constants_pdef as its module.
> >
> >
> > Thanks,
> >
> > Xinxia
> >
> >
>
>
>


------------------------------------------------
Subject: ImportError: No module named constants_pdef
From: Julie Prestopnik
Time: Wed Feb 22 12:11:31 2017

Hi Xinxia.

I think it would be helpful if I could take a look at the log file.
Could
you please upload your file to our anonymous ftp site as follows so
that I
can take a look?

   http://www.dtcenter.org/met/users/support/met_help.php#ftp

Also, could you please try running the following manually and send the
output to me?

"/D2/xinxia/METplus/MET/met-5.2/bin/tc_stat -job filter -lookin
/D2/xinxia/METplus/MET/input/tc_pairs/201412 -init_inc 20141201_00
-match_points true -dump_row /D2/xinxia/METplus/MET/out/
extract_tiles/20141201_00/filter_20141201_00.tcst  -basin ML
-out_init_mask
/D2/xinxia/METplus/MET/met-5.2/share/met/poly/CONUS.poly"

Thank you!

Julie



On Wed, Feb 22, 2017 at 12:06 PM, Xinxia Song via RT
<met_help at ucar.edu>
wrote:

>
> <URL: https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=79605 >
>
> Hi Julie,
>
>
> Now I can run the program, but when I look at the log file in the
output,
> it shows error below:
>
>
> ERROR| /D2/xinxia/METplus/METplus/ush/run_tc_stat.py:tc_stat from
calling
> MET TC-STAT with command:/D2/xinxia/METplus/MET/met-5.2/bin/tc_stat
-job
> filter -lookin /D2/xinxia/METplus/MET/input/tc_pairs/201412
-init_inc
> 20141201_00 -match_points true -dump_row /D2/xinxia/METplus/MET/out/
> extract_tiles/20141201_00/filter_20141201_00.tcst  -basin ML
> -out_init_mask /D2/xinxia/METplus/MET/met-
5.2/share/met/poly/CONUS.poly
>
>
> How should I fix it?
>
>
> Thanks,
>
>
> Xinxia
>
> ________________________________
> From: Julie Prestopnik via RT <met_help at ucar.edu>
> Sent: Thursday, February 23, 2017 7:30:06 AM
> To: Xinxia_Song at outlook.com
> Subject: Re: [rt.rap.ucar.edu #79605] ImportError: No module named
> constants_pdef
>
> Hi Xinxia.
>
> I believe that python doesn't know how to find the module because
the ush
> directory is not in your PYTHONPATH.  Both the parm and ush
directory need
> to be specified in your PYTHONPATH.  Please add the ush directory to
your
> PYTHONPATH, source ~/.bashrc, and let us know how it goes.
>
> Thanks,
> Julie
>
> On Wed, Feb 22, 2017 at 10:24 AM, Xinxia Song via RT
<met_help at ucar.edu>
> wrote:
>
> >
> > <URL: https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=79605 >
> >
> > Hi Julie,
> >
> >
> > Since I don't have setenv, I added these 3 sentence into my
.bashrc file:
> >
> >
> > export PYTHONPATH="/D2/xinxia/METplus/METplus/parm"
> >
> >
> > export USHROOT=/D2/xinxia/METplus/METplus/ush
> >
> > export PATH=$USHROOT:$PATH
> >
> >
> > I sourced the ~/.bashrc, and checked that the variables are set,
but the
> > program still can't find the module.
> >
> >
> > Thanks,
> >
> > Xinxia
> >
> > ________________________________
> > From: Julie Prestopnik via RT <met_help at ucar.edu>
> > Sent: Thursday, February 23, 2017 6:24:21 AM
> > To: Xinxia_Song at outlook.com
> > Subject: Re: [rt.rap.ucar.edu #79605] ImportError: No module named
> > constants_pdef
> >
> > Hi Xinxia.
> >
> > Could you please check to make sure that the ush directory with
> > constants_pdef.py is in your PYTHONPATH in your .cshrc file (or
.bashrc
> or
> > similar file)?  The parm directory should also be in your
PYTHONPATH.
> >
> > For example,
> >
> > setenv PYTHONPATH /d1/jpresto/sbu/METplus/ush:/
> d1/jpresto/sbu/METplus/parm
> >
> > Please also check make sure that the path to the ush directory is
also
> > specified your your path environment variable.  For example,
> >
> > set path = (/usr/local/bin \
> >                  /usr/local/python/bin/python \
> >                  /d1/jpresto/sbu/METplus/ush )
> >
> > If they are not there, please add them and then source the file
(e.g. run
> > "source ~/.cshrc").
> >
> > Thank you!  Please let us know how it goes.
> >
> > Julie
> >
> >
> >
> >
> > On Tue, Feb 21, 2017 at 4:49 PM, Xinxia Song via RT
<met_help at ucar.edu>
> > wrote:
> >
> > >
> > > Tue Feb 21 16:49:28 2017: Request 79605 was acted upon.
> > > Transaction: Ticket created by Xinxia_Song at outlook.com
> > >        Queue: met_help
> > >      Subject: ImportError: No module named constants_pdef
> > >        Owner: Nobody
> > >   Requestors: Xinxia_Song at outlook.com
> > >       Status: new
> > >  Ticket <URL:
https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=79605
> >
> > >
> > >
> > > Hi,
> > >
> > >
> > > When I ran the mater_met_plus.py, it says:
> > >
> > >
> > > ImportError: No module named constants_pdef
> > >
> > >
> > > Seems it doesn't recognize constants_pdef as its module.
> > >
> > >
> > > Thanks,
> > >
> > > Xinxia
> > >
> > >
> >
> >
> >
>
>
>

------------------------------------------------
Subject: ImportError: No module named constants_pdef
From: Xinxia Song
Time: Wed Feb 22 12:39:13 2017

Hi Julie,


I uploaded the log file under xinxia_data directory.


Thanks,


Xinxia


________________________________
From: Julie Prestopnik via RT <met_help at ucar.edu>
Sent: Thursday, February 23, 2017 9:11:32 AM
To: Xinxia_Song at outlook.com
Subject: Re: [rt.rap.ucar.edu #79605] ImportError: No module named
constants_pdef

Hi Xinxia.

I think it would be helpful if I could take a look at the log file.
Could
you please upload your file to our anonymous ftp site as follows so
that I
can take a look?

   http://www.dtcenter.org/met/users/support/met_help.php#ftp

Also, could you please try running the following manually and send the
output to me?

"/D2/xinxia/METplus/MET/met-5.2/bin/tc_stat -job filter -lookin
/D2/xinxia/METplus/MET/input/tc_pairs/201412 -init_inc 20141201_00
-match_points true -dump_row /D2/xinxia/METplus/MET/out/
extract_tiles/20141201_00/filter_20141201_00.tcst  -basin ML
-out_init_mask
/D2/xinxia/METplus/MET/met-5.2/share/met/poly/CONUS.poly"

Thank you!

Julie



On Wed, Feb 22, 2017 at 12:06 PM, Xinxia Song via RT
<met_help at ucar.edu>
wrote:

>
> <URL: https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=79605 >
>
> Hi Julie,
>
>
> Now I can run the program, but when I look at the log file in the
output,
> it shows error below:
>
>
> ERROR| /D2/xinxia/METplus/METplus/ush/run_tc_stat.py:tc_stat from
calling
> MET TC-STAT with command:/D2/xinxia/METplus/MET/met-5.2/bin/tc_stat
-job
> filter -lookin /D2/xinxia/METplus/MET/input/tc_pairs/201412
-init_inc
> 20141201_00 -match_points true -dump_row /D2/xinxia/METplus/MET/out/
> extract_tiles/20141201_00/filter_20141201_00.tcst  -basin ML
> -out_init_mask /D2/xinxia/METplus/MET/met-
5.2/share/met/poly/CONUS.poly
>
>
> How should I fix it?
>
>
> Thanks,
>
>
> Xinxia
>
> ________________________________
> From: Julie Prestopnik via RT <met_help at ucar.edu>
> Sent: Thursday, February 23, 2017 7:30:06 AM
> To: Xinxia_Song at outlook.com
> Subject: Re: [rt.rap.ucar.edu #79605] ImportError: No module named
> constants_pdef
>
> Hi Xinxia.
>
> I believe that python doesn't know how to find the module because
the ush
> directory is not in your PYTHONPATH.  Both the parm and ush
directory need
> to be specified in your PYTHONPATH.  Please add the ush directory to
your
> PYTHONPATH, source ~/.bashrc, and let us know how it goes.
>
> Thanks,
> Julie
>
> On Wed, Feb 22, 2017 at 10:24 AM, Xinxia Song via RT
<met_help at ucar.edu>
> wrote:
>
> >
> > <URL: https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=79605 >
> >
> > Hi Julie,
> >
> >
> > Since I don't have setenv, I added these 3 sentence into my
.bashrc file:
> >
> >
> > export PYTHONPATH="/D2/xinxia/METplus/METplus/parm"
> >
> >
> > export USHROOT=/D2/xinxia/METplus/METplus/ush
> >
> > export PATH=$USHROOT:$PATH
> >
> >
> > I sourced the ~/.bashrc, and checked that the variables are set,
but the
> > program still can't find the module.
> >
> >
> > Thanks,
> >
> > Xinxia
> >
> > ________________________________
> > From: Julie Prestopnik via RT <met_help at ucar.edu>
> > Sent: Thursday, February 23, 2017 6:24:21 AM
> > To: Xinxia_Song at outlook.com
> > Subject: Re: [rt.rap.ucar.edu #79605] ImportError: No module named
> > constants_pdef
> >
> > Hi Xinxia.
> >
> > Could you please check to make sure that the ush directory with
> > constants_pdef.py is in your PYTHONPATH in your .cshrc file (or
.bashrc
> or
> > similar file)?  The parm directory should also be in your
PYTHONPATH.
> >
> > For example,
> >
> > setenv PYTHONPATH /d1/jpresto/sbu/METplus/ush:/
> d1/jpresto/sbu/METplus/parm
> >
> > Please also check make sure that the path to the ush directory is
also
> > specified your your path environment variable.  For example,
> >
> > set path = (/usr/local/bin \
> >                  /usr/local/python/bin/python \
> >                  /d1/jpresto/sbu/METplus/ush )
> >
> > If they are not there, please add them and then source the file
(e.g. run
> > "source ~/.cshrc").
> >
> > Thank you!  Please let us know how it goes.
> >
> > Julie
> >
> >
> >
> >
> > On Tue, Feb 21, 2017 at 4:49 PM, Xinxia Song via RT
<met_help at ucar.edu>
> > wrote:
> >
> > >
> > > Tue Feb 21 16:49:28 2017: Request 79605 was acted upon.
> > > Transaction: Ticket created by Xinxia_Song at outlook.com
> > >        Queue: met_help
> > >      Subject: ImportError: No module named constants_pdef
> > >        Owner: Nobody
> > >   Requestors: Xinxia_Song at outlook.com
> > >       Status: new
> > >  Ticket <URL:
https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=79605
> >
> > >
> > >
> > > Hi,
> > >
> > >
> > > When I ran the mater_met_plus.py, it says:
> > >
> > >
> > > ImportError: No module named constants_pdef
> > >
> > >
> > > Seems it doesn't recognize constants_pdef as its module.
> > >
> > >
> > > Thanks,
> > >
> > > Xinxia
> > >
> > >
> >
> >
> >
>
>
>


------------------------------------------------
Subject: ImportError: No module named constants_pdef
From: Julie Prestopnik
Time: Wed Feb 22 13:04:55 2017

Thank you.  Unfortunately, the level of detail in the log file wasn't
what
I hoped for.  I'd like to have you try two things.

First, could you please send me your output of your manual run of the
following?

"/D2/xinxia/METplus/MET/met-5.2/bin/tc_stat -job filter -lookin
/D2/xinxia/METplus/MET/input/tc_pairs/201412 -init_inc 20141201_00
-match_points true -dump_row /D2/xinxia/METplus/MET/out/
extract_tiles/20141201_00/ filter_20141201_00.tcst  -basin ML
-out_init_mask
/D2/xinxia/METplus/MET/met-5.2/share/met/poly/CONUS.poly"

Second, could you please change your log level in your configuration
file
from

LOG_LEVEL = "INFO"

to

LOG_LEVEL = "DEBUG"

then rerun and upload your log file to our ftp server again?

Thank you!

Julie


On Wed, Feb 22, 2017 at 12:39 PM, Xinxia Song via RT
<met_help at ucar.edu>
wrote:

>
> <URL: https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=79605 >
>
> Hi Julie,
>
>
> I uploaded the log file under xinxia_data directory.
>
>
> Thanks,
>
>
> Xinxia
>
>
> ________________________________
> From: Julie Prestopnik via RT <met_help at ucar.edu>
> Sent: Thursday, February 23, 2017 9:11:32 AM
> To: Xinxia_Song at outlook.com
> Subject: Re: [rt.rap.ucar.edu #79605] ImportError: No module named
> constants_pdef
>
> Hi Xinxia.
>
> I think it would be helpful if I could take a look at the log file.
Could
> you please upload your file to our anonymous ftp site as follows so
that I
> can take a look?
>
>    http://www.dtcenter.org/met/users/support/met_help.php#ftp
>
> Also, could you please try running the following manually and send
the
> output to me?
>
> "/D2/xinxia/METplus/MET/met-5.2/bin/tc_stat -job filter -lookin
> /D2/xinxia/METplus/MET/input/tc_pairs/201412 -init_inc 20141201_00
> -match_points true -dump_row /D2/xinxia/METplus/MET/out/
> extract_tiles/20141201_00/filter_20141201_00.tcst  -basin ML
> -out_init_mask
> /D2/xinxia/METplus/MET/met-5.2/share/met/poly/CONUS.poly"
>
> Thank you!
>
> Julie
>
>
>
> On Wed, Feb 22, 2017 at 12:06 PM, Xinxia Song via RT
<met_help at ucar.edu>
> wrote:
>
> >
> > <URL: https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=79605 >
> >
> > Hi Julie,
> >
> >
> > Now I can run the program, but when I look at the log file in the
output,
> > it shows error below:
> >
> >
> > ERROR| /D2/xinxia/METplus/METplus/ush/run_tc_stat.py:tc_stat from
> calling
> > MET TC-STAT with command:/D2/xinxia/METplus/MET/met-
5.2/bin/tc_stat -job
> > filter -lookin /D2/xinxia/METplus/MET/input/tc_pairs/201412
-init_inc
> > 20141201_00 -match_points true -dump_row
/D2/xinxia/METplus/MET/out/
> > extract_tiles/20141201_00/filter_20141201_00.tcst  -basin ML
> > -out_init_mask /D2/xinxia/METplus/MET/met-
5.2/share/met/poly/CONUS.poly
> >
> >
> > How should I fix it?
> >
> >
> > Thanks,
> >
> >
> > Xinxia
> >
> > ________________________________
> > From: Julie Prestopnik via RT <met_help at ucar.edu>
> > Sent: Thursday, February 23, 2017 7:30:06 AM
> > To: Xinxia_Song at outlook.com
> > Subject: Re: [rt.rap.ucar.edu #79605] ImportError: No module named
> > constants_pdef
> >
> > Hi Xinxia.
> >
> > I believe that python doesn't know how to find the module because
the ush
> > directory is not in your PYTHONPATH.  Both the parm and ush
directory
> need
> > to be specified in your PYTHONPATH.  Please add the ush directory
to your
> > PYTHONPATH, source ~/.bashrc, and let us know how it goes.
> >
> > Thanks,
> > Julie
> >
> > On Wed, Feb 22, 2017 at 10:24 AM, Xinxia Song via RT
<met_help at ucar.edu>
> > wrote:
> >
> > >
> > > <URL: https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=79605 >
> > >
> > > Hi Julie,
> > >
> > >
> > > Since I don't have setenv, I added these 3 sentence into my
.bashrc
> file:
> > >
> > >
> > > export PYTHONPATH="/D2/xinxia/METplus/METplus/parm"
> > >
> > >
> > > export USHROOT=/D2/xinxia/METplus/METplus/ush
> > >
> > > export PATH=$USHROOT:$PATH
> > >
> > >
> > > I sourced the ~/.bashrc, and checked that the variables are set,
but
> the
> > > program still can't find the module.
> > >
> > >
> > > Thanks,
> > >
> > > Xinxia
> > >
> > > ________________________________
> > > From: Julie Prestopnik via RT <met_help at ucar.edu>
> > > Sent: Thursday, February 23, 2017 6:24:21 AM
> > > To: Xinxia_Song at outlook.com
> > > Subject: Re: [rt.rap.ucar.edu #79605] ImportError: No module
named
> > > constants_pdef
> > >
> > > Hi Xinxia.
> > >
> > > Could you please check to make sure that the ush directory with
> > > constants_pdef.py is in your PYTHONPATH in your .cshrc file (or
.bashrc
> > or
> > > similar file)?  The parm directory should also be in your
PYTHONPATH.
> > >
> > > For example,
> > >
> > > setenv PYTHONPATH /d1/jpresto/sbu/METplus/ush:/
> > d1/jpresto/sbu/METplus/parm
> > >
> > > Please also check make sure that the path to the ush directory
is also
> > > specified your your path environment variable.  For example,
> > >
> > > set path = (/usr/local/bin \
> > >                  /usr/local/python/bin/python \
> > >                  /d1/jpresto/sbu/METplus/ush )
> > >
> > > If they are not there, please add them and then source the file
(e.g.
> run
> > > "source ~/.cshrc").
> > >
> > > Thank you!  Please let us know how it goes.
> > >
> > > Julie
> > >
> > >
> > >
> > >
> > > On Tue, Feb 21, 2017 at 4:49 PM, Xinxia Song via RT
<met_help at ucar.edu
> >
> > > wrote:
> > >
> > > >
> > > > Tue Feb 21 16:49:28 2017: Request 79605 was acted upon.
> > > > Transaction: Ticket created by Xinxia_Song at outlook.com
> > > >        Queue: met_help
> > > >      Subject: ImportError: No module named constants_pdef
> > > >        Owner: Nobody
> > > >   Requestors: Xinxia_Song at outlook.com
> > > >       Status: new
> > > >  Ticket <URL: https://rt.rap.ucar.edu/rt/
> Ticket/Display.html?id=79605
> > >
> > > >
> > > >
> > > > Hi,
> > > >
> > > >
> > > > When I ran the mater_met_plus.py, it says:
> > > >
> > > >
> > > > ImportError: No module named constants_pdef
> > > >
> > > >
> > > > Seems it doesn't recognize constants_pdef as its module.
> > > >
> > > >
> > > > Thanks,
> > > >
> > > > Xinxia
> > > >
> > > >
> > >
> > >
> > >
> >
> >
> >
>
>
>

------------------------------------------------
Subject: ImportError: No module named constants_pdef
From: Xinxia Song
Time: Wed Feb 22 14:54:48 2017

Hi Julie,


[xinxia at chaos ush]$ /D2/xinxia/METplus/MET/met-5.2/bin/tc_stat -job
filter -lookin

/D2/xinxia/METplus/MET/met-5.2/bin/tc_stat: error while loading shared
libraries: libgsl.so.19: cannot open shared object file: No such file
or directory


[xinxia at chaos ush]$ /D2/xinxia/METplus/MET/input/tc_pairs/201412
-init_inc 20141201_00 -match_points true -dump_row

-bash: /D2/xinxia/METplus/MET/input/tc_pairs/201412: is a directory


[xinxia at chaos ush]$
/D2/xinxia/METplus/MET/out/extract_tiles/20141201_00/
filter_20141201_00.tcst  -basin ML -out_init_mask
/D2/xinxia/METplus/MET/met-5.2/share/met/poly/CONUS.poly

-bash: /D2/xinxia/METplus/MET/out/extract_tiles/20141201_00/: No such
file or directory


After I change the LOG_LEVEL, I ran the master_met_plus.py, it says:

[xinxia at chaos ush]$ python master_met_plus.py

sh: run_tc_pairs.py: command not found



Thanks,


Xinxia


________________________________
From: Julie Prestopnik via RT <met_help at ucar.edu>
Sent: Thursday, February 23, 2017 10:04:55 AM
To: Xinxia_Song at outlook.com
Subject: Re: [rt.rap.ucar.edu #79605] ImportError: No module named
constants_pdef

Thank you.  Unfortunately, the level of detail in the log file wasn't
what
I hoped for.  I'd like to have you try two things.

First, could you please send me your output of your manual run of the
following?

"/D2/xinxia/METplus/MET/met-5.2/bin/tc_stat -job filter -lookin
/D2/xinxia/METplus/MET/input/tc_pairs/201412 -init_inc 20141201_00
-match_points true -dump_row /D2/xinxia/METplus/MET/out/
extract_tiles/20141201_00/ filter_20141201_00.tcst  -basin ML
-out_init_mask
/D2/xinxia/METplus/MET/met-5.2/share/met/poly/CONUS.poly"

Second, could you please change your log level in your configuration
file
from

LOG_LEVEL = "INFO"

to

LOG_LEVEL = "DEBUG"

then rerun and upload your log file to our ftp server again?

Thank you!

Julie


On Wed, Feb 22, 2017 at 12:39 PM, Xinxia Song via RT
<met_help at ucar.edu>
wrote:

>
> <URL: https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=79605 >
>
> Hi Julie,
>
>
> I uploaded the log file under xinxia_data directory.
>
>
> Thanks,
>
>
> Xinxia
>
>
> ________________________________
> From: Julie Prestopnik via RT <met_help at ucar.edu>
> Sent: Thursday, February 23, 2017 9:11:32 AM
> To: Xinxia_Song at outlook.com
> Subject: Re: [rt.rap.ucar.edu #79605] ImportError: No module named
> constants_pdef
>
> Hi Xinxia.
>
> I think it would be helpful if I could take a look at the log file.
Could
> you please upload your file to our anonymous ftp site as follows so
that I
> can take a look?
>
>    http://www.dtcenter.org/met/users/support/met_help.php#ftp
>
> Also, could you please try running the following manually and send
the
> output to me?
>
> "/D2/xinxia/METplus/MET/met-5.2/bin/tc_stat -job filter -lookin
> /D2/xinxia/METplus/MET/input/tc_pairs/201412 -init_inc 20141201_00
> -match_points true -dump_row /D2/xinxia/METplus/MET/out/
> extract_tiles/20141201_00/filter_20141201_00.tcst  -basin ML
> -out_init_mask
> /D2/xinxia/METplus/MET/met-5.2/share/met/poly/CONUS.poly"
>
> Thank you!
>
> Julie
>
>
>
> On Wed, Feb 22, 2017 at 12:06 PM, Xinxia Song via RT
<met_help at ucar.edu>
> wrote:
>
> >
> > <URL: https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=79605 >
> >
> > Hi Julie,
> >
> >
> > Now I can run the program, but when I look at the log file in the
output,
> > it shows error below:
> >
> >
> > ERROR| /D2/xinxia/METplus/METplus/ush/run_tc_stat.py:tc_stat from
> calling
> > MET TC-STAT with command:/D2/xinxia/METplus/MET/met-
5.2/bin/tc_stat -job
> > filter -lookin /D2/xinxia/METplus/MET/input/tc_pairs/201412
-init_inc
> > 20141201_00 -match_points true -dump_row
/D2/xinxia/METplus/MET/out/
> > extract_tiles/20141201_00/filter_20141201_00.tcst  -basin ML
> > -out_init_mask /D2/xinxia/METplus/MET/met-
5.2/share/met/poly/CONUS.poly
> >
> >
> > How should I fix it?
> >
> >
> > Thanks,
> >
> >
> > Xinxia
> >
> > ________________________________
> > From: Julie Prestopnik via RT <met_help at ucar.edu>
> > Sent: Thursday, February 23, 2017 7:30:06 AM
> > To: Xinxia_Song at outlook.com
> > Subject: Re: [rt.rap.ucar.edu #79605] ImportError: No module named
> > constants_pdef
> >
> > Hi Xinxia.
> >
> > I believe that python doesn't know how to find the module because
the ush
> > directory is not in your PYTHONPATH.  Both the parm and ush
directory
> need
> > to be specified in your PYTHONPATH.  Please add the ush directory
to your
> > PYTHONPATH, source ~/.bashrc, and let us know how it goes.
> >
> > Thanks,
> > Julie
> >
> > On Wed, Feb 22, 2017 at 10:24 AM, Xinxia Song via RT
<met_help at ucar.edu>
> > wrote:
> >
> > >
> > > <URL: https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=79605 >
> > >
> > > Hi Julie,
> > >
> > >
> > > Since I don't have setenv, I added these 3 sentence into my
.bashrc
> file:
> > >
> > >
> > > export PYTHONPATH="/D2/xinxia/METplus/METplus/parm"
> > >
> > >
> > > export USHROOT=/D2/xinxia/METplus/METplus/ush
> > >
> > > export PATH=$USHROOT:$PATH
> > >
> > >
> > > I sourced the ~/.bashrc, and checked that the variables are set,
but
> the
> > > program still can't find the module.
> > >
> > >
> > > Thanks,
> > >
> > > Xinxia
> > >
> > > ________________________________
> > > From: Julie Prestopnik via RT <met_help at ucar.edu>
> > > Sent: Thursday, February 23, 2017 6:24:21 AM
> > > To: Xinxia_Song at outlook.com
> > > Subject: Re: [rt.rap.ucar.edu #79605] ImportError: No module
named
> > > constants_pdef
> > >
> > > Hi Xinxia.
> > >
> > > Could you please check to make sure that the ush directory with
> > > constants_pdef.py is in your PYTHONPATH in your .cshrc file (or
.bashrc
> > or
> > > similar file)?  The parm directory should also be in your
PYTHONPATH.
> > >
> > > For example,
> > >
> > > setenv PYTHONPATH /d1/jpresto/sbu/METplus/ush:/
> > d1/jpresto/sbu/METplus/parm
> > >
> > > Please also check make sure that the path to the ush directory
is also
> > > specified your your path environment variable.  For example,
> > >
> > > set path = (/usr/local/bin \
> > >                  /usr/local/python/bin/python \
> > >                  /d1/jpresto/sbu/METplus/ush )
> > >
> > > If they are not there, please add them and then source the file
(e.g.
> run
> > > "source ~/.cshrc").
> > >
> > > Thank you!  Please let us know how it goes.
> > >
> > > Julie
> > >
> > >
> > >
> > >
> > > On Tue, Feb 21, 2017 at 4:49 PM, Xinxia Song via RT
<met_help at ucar.edu
> >
> > > wrote:
> > >
> > > >
> > > > Tue Feb 21 16:49:28 2017: Request 79605 was acted upon.
> > > > Transaction: Ticket created by Xinxia_Song at outlook.com
> > > >        Queue: met_help
> > > >      Subject: ImportError: No module named constants_pdef
> > > >        Owner: Nobody
> > > >   Requestors: Xinxia_Song at outlook.com
> > > >       Status: new
> > > >  Ticket <URL: https://rt.rap.ucar.edu/rt/
> Ticket/Display.html?id=79605
> > >
> > > >
> > > >
> > > > Hi,
> > > >
> > > >
> > > > When I ran the mater_met_plus.py, it says:
> > > >
> > > >
> > > > ImportError: No module named constants_pdef
> > > >
> > > >
> > > > Seems it doesn't recognize constants_pdef as its module.
> > > >
> > > >
> > > > Thanks,
> > > >
> > > > Xinxia
> > > >
> > > >
> > >
> > >
> > >
> >
> >
> >
>
>
>


------------------------------------------------
Subject: ImportError: No module named constants_pdef
From: Julie Prestopnik
Time: Thu Feb 23 09:15:57 2017

Hi Xinxia.

I can see that your command, which should have been all on one line,
was
broken up into several lines.  Please try running the command again,
making
sure that the entire command is on one line:

/D2/xinxia/METplus/MET/met-5.2/bin/tc_stat -job filter -lookin
/D2/xinxia/METplus/MET/input/tc_pairs/201412 -init_inc 20141201_00
-match_points true -dump_row
/D2/xinxia/METplus/MET/out/extract_tiles/20141201_00/
filter_20141201_00.tcst  -basin ML -out_init_mask
/D2/xinxia/METplus/MET/met-5.2/share/met/poly/CONUS.poly

Then, please send the output from that command.

Regarding, your error:

sh: run_tc_pairs.py: command not found

It's strange that would only have occurred after having changed the
LOG_LEVEL.  Could you please send us your configuration file?

Thanks!

Julie

On Wed, Feb 22, 2017 at 2:54 PM, Xinxia Song via RT
<met_help at ucar.edu>
wrote:

>
> <URL: https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=79605 >
>
> Hi Julie,
>
>
> [xinxia at chaos ush]$ /D2/xinxia/METplus/MET/met-5.2/bin/tc_stat -job
> filter -lookin
>
> /D2/xinxia/METplus/MET/met-5.2/bin/tc_stat: error while loading
shared
> libraries: libgsl.so.19: cannot open shared object file: No such
file or
> directory
>
>
> [xinxia at chaos ush]$ /D2/xinxia/METplus/MET/input/tc_pairs/201412
> -init_inc 20141201_00 -match_points true -dump_row
>
> -bash: /D2/xinxia/METplus/MET/input/tc_pairs/201412: is a directory
>
>
> [xinxia at chaos ush]$
/D2/xinxia/METplus/MET/out/extract_tiles/20141201_00/
> filter_20141201_00.tcst  -basin ML -out_init_mask
> /D2/xinxia/METplus/MET/met-5.2/share/met/poly/CONUS.poly
>
> -bash: /D2/xinxia/METplus/MET/out/extract_tiles/20141201_00/: No
such
> file or directory
>
>
> After I change the LOG_LEVEL, I ran the master_met_plus.py, it says:
>
> [xinxia at chaos ush]$ python master_met_plus.py
>
> sh: run_tc_pairs.py: command not found
>
>
>
> Thanks,
>
>
> Xinxia
>
>
> ________________________________
> From: Julie Prestopnik via RT <met_help at ucar.edu>
> Sent: Thursday, February 23, 2017 10:04:55 AM
> To: Xinxia_Song at outlook.com
> Subject: Re: [rt.rap.ucar.edu #79605] ImportError: No module named
> constants_pdef
>
> Thank you.  Unfortunately, the level of detail in the log file
wasn't what
> I hoped for.  I'd like to have you try two things.
>
> First, could you please send me your output of your manual run of
the
> following?
>
> "/D2/xinxia/METplus/MET/met-5.2/bin/tc_stat -job filter -lookin
> /D2/xinxia/METplus/MET/input/tc_pairs/201412 -init_inc 20141201_00
> -match_points true -dump_row /D2/xinxia/METplus/MET/out/
> extract_tiles/20141201_00/ filter_20141201_00.tcst  -basin ML
> -out_init_mask
> /D2/xinxia/METplus/MET/met-5.2/share/met/poly/CONUS.poly"
>
> Second, could you please change your log level in your configuration
file
> from
>
> LOG_LEVEL = "INFO"
>
> to
>
> LOG_LEVEL = "DEBUG"
>
> then rerun and upload your log file to our ftp server again?
>
> Thank you!
>
> Julie
>
>
> On Wed, Feb 22, 2017 at 12:39 PM, Xinxia Song via RT
<met_help at ucar.edu>
> wrote:
>
> >
> > <URL: https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=79605 >
> >
> > Hi Julie,
> >
> >
> > I uploaded the log file under xinxia_data directory.
> >
> >
> > Thanks,
> >
> >
> > Xinxia
> >
> >
> > ________________________________
> > From: Julie Prestopnik via RT <met_help at ucar.edu>
> > Sent: Thursday, February 23, 2017 9:11:32 AM
> > To: Xinxia_Song at outlook.com
> > Subject: Re: [rt.rap.ucar.edu #79605] ImportError: No module named
> > constants_pdef
> >
> > Hi Xinxia.
> >
> > I think it would be helpful if I could take a look at the log
file.
> Could
> > you please upload your file to our anonymous ftp site as follows
so that
> I
> > can take a look?
> >
> >    http://www.dtcenter.org/met/users/support/met_help.php#ftp
> >
> > Also, could you please try running the following manually and send
the
> > output to me?
> >
> > "/D2/xinxia/METplus/MET/met-5.2/bin/tc_stat -job filter -lookin
> > /D2/xinxia/METplus/MET/input/tc_pairs/201412 -init_inc 20141201_00
> > -match_points true -dump_row /D2/xinxia/METplus/MET/out/
> > extract_tiles/20141201_00/filter_20141201_00.tcst  -basin ML
> > -out_init_mask
> > /D2/xinxia/METplus/MET/met-5.2/share/met/poly/CONUS.poly"
> >
> > Thank you!
> >
> > Julie
> >
> >
> >
> > On Wed, Feb 22, 2017 at 12:06 PM, Xinxia Song via RT
<met_help at ucar.edu>
> > wrote:
> >
> > >
> > > <URL: https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=79605 >
> > >
> > > Hi Julie,
> > >
> > >
> > > Now I can run the program, but when I look at the log file in
the
> output,
> > > it shows error below:
> > >
> > >
> > > ERROR| /D2/xinxia/METplus/METplus/ush/run_tc_stat.py:tc_stat
from
> > calling
> > > MET TC-STAT with command:/D2/xinxia/METplus/MET/met-
5.2/bin/tc_stat
> -job
> > > filter -lookin /D2/xinxia/METplus/MET/input/tc_pairs/201412
-init_inc
> > > 20141201_00 -match_points true -dump_row
/D2/xinxia/METplus/MET/out/
> > > extract_tiles/20141201_00/filter_20141201_00.tcst  -basin ML
> > > -out_init_mask /D2/xinxia/METplus/MET/met-5.
> 2/share/met/poly/CONUS.poly
> > >
> > >
> > > How should I fix it?
> > >
> > >
> > > Thanks,
> > >
> > >
> > > Xinxia
> > >
> > > ________________________________
> > > From: Julie Prestopnik via RT <met_help at ucar.edu>
> > > Sent: Thursday, February 23, 2017 7:30:06 AM
> > > To: Xinxia_Song at outlook.com
> > > Subject: Re: [rt.rap.ucar.edu #79605] ImportError: No module
named
> > > constants_pdef
> > >
> > > Hi Xinxia.
> > >
> > > I believe that python doesn't know how to find the module
because the
> ush
> > > directory is not in your PYTHONPATH.  Both the parm and ush
directory
> > need
> > > to be specified in your PYTHONPATH.  Please add the ush
directory to
> your
> > > PYTHONPATH, source ~/.bashrc, and let us know how it goes.
> > >
> > > Thanks,
> > > Julie
> > >
> > > On Wed, Feb 22, 2017 at 10:24 AM, Xinxia Song via RT <
> met_help at ucar.edu>
> > > wrote:
> > >
> > > >
> > > > <URL: https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=79605
>
> > > >
> > > > Hi Julie,
> > > >
> > > >
> > > > Since I don't have setenv, I added these 3 sentence into my
.bashrc
> > file:
> > > >
> > > >
> > > > export PYTHONPATH="/D2/xinxia/METplus/METplus/parm"
> > > >
> > > >
> > > > export USHROOT=/D2/xinxia/METplus/METplus/ush
> > > >
> > > > export PATH=$USHROOT:$PATH
> > > >
> > > >
> > > > I sourced the ~/.bashrc, and checked that the variables are
set, but
> > the
> > > > program still can't find the module.
> > > >
> > > >
> > > > Thanks,
> > > >
> > > > Xinxia
> > > >
> > > > ________________________________
> > > > From: Julie Prestopnik via RT <met_help at ucar.edu>
> > > > Sent: Thursday, February 23, 2017 6:24:21 AM
> > > > To: Xinxia_Song at outlook.com
> > > > Subject: Re: [rt.rap.ucar.edu #79605] ImportError: No module
named
> > > > constants_pdef
> > > >
> > > > Hi Xinxia.
> > > >
> > > > Could you please check to make sure that the ush directory
with
> > > > constants_pdef.py is in your PYTHONPATH in your .cshrc file
(or
> .bashrc
> > > or
> > > > similar file)?  The parm directory should also be in your
PYTHONPATH.
> > > >
> > > > For example,
> > > >
> > > > setenv PYTHONPATH /d1/jpresto/sbu/METplus/ush:/
> > > d1/jpresto/sbu/METplus/parm
> > > >
> > > > Please also check make sure that the path to the ush directory
is
> also
> > > > specified your your path environment variable.  For example,
> > > >
> > > > set path = (/usr/local/bin \
> > > >                  /usr/local/python/bin/python \
> > > >                  /d1/jpresto/sbu/METplus/ush )
> > > >
> > > > If they are not there, please add them and then source the
file (e.g.
> > run
> > > > "source ~/.cshrc").
> > > >
> > > > Thank you!  Please let us know how it goes.
> > > >
> > > > Julie
> > > >
> > > >
> > > >
> > > >
> > > > On Tue, Feb 21, 2017 at 4:49 PM, Xinxia Song via RT <
> met_help at ucar.edu
> > >
> > > > wrote:
> > > >
> > > > >
> > > > > Tue Feb 21 16:49:28 2017: Request 79605 was acted upon.
> > > > > Transaction: Ticket created by Xinxia_Song at outlook.com
> > > > >        Queue: met_help
> > > > >      Subject: ImportError: No module named constants_pdef
> > > > >        Owner: Nobody
> > > > >   Requestors: Xinxia_Song at outlook.com
> > > > >       Status: new
> > > > >  Ticket <URL: https://rt.rap.ucar.edu/rt/
> > Ticket/Display.html?id=79605
> > > >
> > > > >
> > > > >
> > > > > Hi,
> > > > >
> > > > >
> > > > > When I ran the mater_met_plus.py, it says:
> > > > >
> > > > >
> > > > > ImportError: No module named constants_pdef
> > > > >
> > > > >
> > > > > Seems it doesn't recognize constants_pdef as its module.
> > > > >
> > > > >
> > > > > Thanks,
> > > > >
> > > > > Xinxia
> > > > >
> > > > >
> > > >
> > > >
> > > >
> > >
> > >
> > >
> >
> >
> >
>
>
>

------------------------------------------------
Subject: ImportError: No module named constants_pdef
From: Xinxia Song
Time: Thu Feb 23 10:14:00 2017

Hi Julie,


[xinxia at chaos ush]$ /D2/xinxia/METplus/MET/met-5.2/bin/tc_stat -job
filter -lookin /D2/xinxia/METplus/MET/input/tc_pairs/201412 -init_inc
20141201_00 -match_points true -dump_row
/D2/xinxia/METplus/MET/out/extract_tiles/20141201_00/
filter_20141201_00.tcst  -basin ML -out_init_mask
/D2/xinxia/METplus/MET/met-5.2/share/met/poly/CONUS.poly

/D2/xinxia/METplus/MET/met-5.2/bin/tc_stat: error while loading shared
libraries: libgsl.so.19: cannot open shared object file: No such file
or directory


And I uploaded the configuration file (constants_pdef.py) under
xinxia_data directory.


Thanks,


Xinxia

________________________________
From: Julie Prestopnik via RT <met_help at ucar.edu>
Sent: Friday, February 24, 2017 6:15:57 AM
To: Xinxia_Song at outlook.com
Subject: Re: [rt.rap.ucar.edu #79605] ImportError: No module named
constants_pdef

Hi Xinxia.

I can see that your command, which should have been all on one line,
was
broken up into several lines.  Please try running the command again,
making
sure that the entire command is on one line:

/D2/xinxia/METplus/MET/met-5.2/bin/tc_stat -job filter -lookin
/D2/xinxia/METplus/MET/input/tc_pairs/201412 -init_inc 20141201_00
-match_points true -dump_row
/D2/xinxia/METplus/MET/out/extract_tiles/20141201_00/
filter_20141201_00.tcst  -basin ML -out_init_mask
/D2/xinxia/METplus/MET/met-5.2/share/met/poly/CONUS.poly

Then, please send the output from that command.

Regarding, your error:

sh: run_tc_pairs.py: command not found

It's strange that would only have occurred after having changed the
LOG_LEVEL.  Could you please send us your configuration file?

Thanks!

Julie

On Wed, Feb 22, 2017 at 2:54 PM, Xinxia Song via RT
<met_help at ucar.edu>
wrote:

>
> <URL: https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=79605 >
>
> Hi Julie,
>
>
> [xinxia at chaos ush]$ /D2/xinxia/METplus/MET/met-5.2/bin/tc_stat -job
> filter -lookin
>
> /D2/xinxia/METplus/MET/met-5.2/bin/tc_stat: error while loading
shared
> libraries: libgsl.so.19: cannot open shared object file: No such
file or
> directory
>
>
> [xinxia at chaos ush]$ /D2/xinxia/METplus/MET/input/tc_pairs/201412
> -init_inc 20141201_00 -match_points true -dump_row
>
> -bash: /D2/xinxia/METplus/MET/input/tc_pairs/201412: is a directory
>
>
> [xinxia at chaos ush]$
/D2/xinxia/METplus/MET/out/extract_tiles/20141201_00/
> filter_20141201_00.tcst  -basin ML -out_init_mask
> /D2/xinxia/METplus/MET/met-5.2/share/met/poly/CONUS.poly
>
> -bash: /D2/xinxia/METplus/MET/out/extract_tiles/20141201_00/: No
such
> file or directory
>
>
> After I change the LOG_LEVEL, I ran the master_met_plus.py, it says:
>
> [xinxia at chaos ush]$ python master_met_plus.py
>
> sh: run_tc_pairs.py: command not found
>
>
>
> Thanks,
>
>
> Xinxia
>
>
> ________________________________
> From: Julie Prestopnik via RT <met_help at ucar.edu>
> Sent: Thursday, February 23, 2017 10:04:55 AM
> To: Xinxia_Song at outlook.com
> Subject: Re: [rt.rap.ucar.edu #79605] ImportError: No module named
> constants_pdef
>
> Thank you.  Unfortunately, the level of detail in the log file
wasn't what
> I hoped for.  I'd like to have you try two things.
>
> First, could you please send me your output of your manual run of
the
> following?
>
> "/D2/xinxia/METplus/MET/met-5.2/bin/tc_stat -job filter -lookin
> /D2/xinxia/METplus/MET/input/tc_pairs/201412 -init_inc 20141201_00
> -match_points true -dump_row /D2/xinxia/METplus/MET/out/
> extract_tiles/20141201_00/ filter_20141201_00.tcst  -basin ML
> -out_init_mask
> /D2/xinxia/METplus/MET/met-5.2/share/met/poly/CONUS.poly"
>
> Second, could you please change your log level in your configuration
file
> from
>
> LOG_LEVEL = "INFO"
>
> to
>
> LOG_LEVEL = "DEBUG"
>
> then rerun and upload your log file to our ftp server again?
>
> Thank you!
>
> Julie
>
>
> On Wed, Feb 22, 2017 at 12:39 PM, Xinxia Song via RT
<met_help at ucar.edu>
> wrote:
>
> >
> > <URL: https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=79605 >
> >
> > Hi Julie,
> >
> >
> > I uploaded the log file under xinxia_data directory.
> >
> >
> > Thanks,
> >
> >
> > Xinxia
> >
> >
> > ________________________________
> > From: Julie Prestopnik via RT <met_help at ucar.edu>
> > Sent: Thursday, February 23, 2017 9:11:32 AM
> > To: Xinxia_Song at outlook.com
> > Subject: Re: [rt.rap.ucar.edu #79605] ImportError: No module named
> > constants_pdef
> >
> > Hi Xinxia.
> >
> > I think it would be helpful if I could take a look at the log
file.
> Could
> > you please upload your file to our anonymous ftp site as follows
so that
> I
> > can take a look?
> >
> >    http://www.dtcenter.org/met/users/support/met_help.php#ftp
> >
> > Also, could you please try running the following manually and send
the
> > output to me?
> >
> > "/D2/xinxia/METplus/MET/met-5.2/bin/tc_stat -job filter -lookin
> > /D2/xinxia/METplus/MET/input/tc_pairs/201412 -init_inc 20141201_00
> > -match_points true -dump_row /D2/xinxia/METplus/MET/out/
> > extract_tiles/20141201_00/filter_20141201_00.tcst  -basin ML
> > -out_init_mask
> > /D2/xinxia/METplus/MET/met-5.2/share/met/poly/CONUS.poly"
> >
> > Thank you!
> >
> > Julie
> >
> >
> >
> > On Wed, Feb 22, 2017 at 12:06 PM, Xinxia Song via RT
<met_help at ucar.edu>
> > wrote:
> >
> > >
> > > <URL: https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=79605 >
> > >
> > > Hi Julie,
> > >
> > >
> > > Now I can run the program, but when I look at the log file in
the
> output,
> > > it shows error below:
> > >
> > >
> > > ERROR| /D2/xinxia/METplus/METplus/ush/run_tc_stat.py:tc_stat
from
> > calling
> > > MET TC-STAT with command:/D2/xinxia/METplus/MET/met-
5.2/bin/tc_stat
> -job
> > > filter -lookin /D2/xinxia/METplus/MET/input/tc_pairs/201412
-init_inc
> > > 20141201_00 -match_points true -dump_row
/D2/xinxia/METplus/MET/out/
> > > extract_tiles/20141201_00/filter_20141201_00.tcst  -basin ML
> > > -out_init_mask /D2/xinxia/METplus/MET/met-5.
> 2/share/met/poly/CONUS.poly
> > >
> > >
> > > How should I fix it?
> > >
> > >
> > > Thanks,
> > >
> > >
> > > Xinxia
> > >
> > > ________________________________
> > > From: Julie Prestopnik via RT <met_help at ucar.edu>
> > > Sent: Thursday, February 23, 2017 7:30:06 AM
> > > To: Xinxia_Song at outlook.com
> > > Subject: Re: [rt.rap.ucar.edu #79605] ImportError: No module
named
> > > constants_pdef
> > >
> > > Hi Xinxia.
> > >
> > > I believe that python doesn't know how to find the module
because the
> ush
> > > directory is not in your PYTHONPATH.  Both the parm and ush
directory
> > need
> > > to be specified in your PYTHONPATH.  Please add the ush
directory to
> your
> > > PYTHONPATH, source ~/.bashrc, and let us know how it goes.
> > >
> > > Thanks,
> > > Julie
> > >
> > > On Wed, Feb 22, 2017 at 10:24 AM, Xinxia Song via RT <
> met_help at ucar.edu>
> > > wrote:
> > >
> > > >
> > > > <URL: https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=79605
>
> > > >
> > > > Hi Julie,
> > > >
> > > >
> > > > Since I don't have setenv, I added these 3 sentence into my
.bashrc
> > file:
> > > >
> > > >
> > > > export PYTHONPATH="/D2/xinxia/METplus/METplus/parm"
> > > >
> > > >
> > > > export USHROOT=/D2/xinxia/METplus/METplus/ush
> > > >
> > > > export PATH=$USHROOT:$PATH
> > > >
> > > >
> > > > I sourced the ~/.bashrc, and checked that the variables are
set, but
> > the
> > > > program still can't find the module.
> > > >
> > > >
> > > > Thanks,
> > > >
> > > > Xinxia
> > > >
> > > > ________________________________
> > > > From: Julie Prestopnik via RT <met_help at ucar.edu>
> > > > Sent: Thursday, February 23, 2017 6:24:21 AM
> > > > To: Xinxia_Song at outlook.com
> > > > Subject: Re: [rt.rap.ucar.edu #79605] ImportError: No module
named
> > > > constants_pdef
> > > >
> > > > Hi Xinxia.
> > > >
> > > > Could you please check to make sure that the ush directory
with
> > > > constants_pdef.py is in your PYTHONPATH in your .cshrc file
(or
> .bashrc
> > > or
> > > > similar file)?  The parm directory should also be in your
PYTHONPATH.
> > > >
> > > > For example,
> > > >
> > > > setenv PYTHONPATH /d1/jpresto/sbu/METplus/ush:/
> > > d1/jpresto/sbu/METplus/parm
> > > >
> > > > Please also check make sure that the path to the ush directory
is
> also
> > > > specified your your path environment variable.  For example,
> > > >
> > > > set path = (/usr/local/bin \
> > > >                  /usr/local/python/bin/python \
> > > >                  /d1/jpresto/sbu/METplus/ush )
> > > >
> > > > If they are not there, please add them and then source the
file (e.g.
> > run
> > > > "source ~/.cshrc").
> > > >
> > > > Thank you!  Please let us know how it goes.
> > > >
> > > > Julie
> > > >
> > > >
> > > >
> > > >
> > > > On Tue, Feb 21, 2017 at 4:49 PM, Xinxia Song via RT <
> met_help at ucar.edu
> > >
> > > > wrote:
> > > >
> > > > >
> > > > > Tue Feb 21 16:49:28 2017: Request 79605 was acted upon.
> > > > > Transaction: Ticket created by Xinxia_Song at outlook.com
> > > > >        Queue: met_help
> > > > >      Subject: ImportError: No module named constants_pdef
> > > > >        Owner: Nobody
> > > > >   Requestors: Xinxia_Song at outlook.com
> > > > >       Status: new
> > > > >  Ticket <URL: https://rt.rap.ucar.edu/rt/
> > Ticket/Display.html?id=79605
> > > >
> > > > >
> > > > >
> > > > > Hi,
> > > > >
> > > > >
> > > > > When I ran the mater_met_plus.py, it says:
> > > > >
> > > > >
> > > > > ImportError: No module named constants_pdef
> > > > >
> > > > >
> > > > > Seems it doesn't recognize constants_pdef as its module.
> > > > >
> > > > >
> > > > > Thanks,
> > > > >
> > > > > Xinxia
> > > > >
> > > > >
> > > >
> > > >
> > > >
> > >
> > >
> > >
> >
> >
> >
>
>
>


------------------------------------------------
Subject: ImportError: No module named constants_pdef
From: Julie Prestopnik
Time: Thu Feb 23 10:41:18 2017

Hi Xinxia.  Regarding the error:

/D2/xinxia/METplus/MET/met-5.2/bin/tc_stat: error while loading shared
libraries: libgsl.so.19: cannot open shared object file: No such file
or
directory

By default, MET version 5.1 is compiled using dynamic linking.  Rather
than
compiling the external library code in with the MET executables (which
is
called static linking), it looks for them at runtime.  And it's
looking for
those "shared object" (.so) library files.

This should be easy to fix. We just need to tell it where to find
them, and
we do that by setting (or adding to the LD_LIBRARY_PATH).  Look in
your
~/.bashrc file.  If LD_LIBRARY_PATH is already defined in there, add
the
path to the libgsl.so.19 to the end of it.  If not, add an
LD_LIBRARY_PATH
entry in your ~/.bashrc file.  So, for example, if the path to your
libgsl.so.19 file is /D2/xinxia/METplus/MET/external_libs/GSL/gsl-
1.16/lib
you would add teh following to your ~/.bashrc file:

  export
LD_LIBRARY_PATH=/D2/xinxia/METplus/MET/external_libs/GSL/gsl-1.16/lib

Then save the change and source that file:

  source ~/.bashrc

Then, please try rerunning the command manually and let me know if it
works.

I believe that this was the cause of the initial error you received
from
MET+:

ERROR| /D2/xinxia/METplus/METplus/ush/run_tc_stat.py:tc_stat from
calling
MET TC-STAT with command:/D2/xinxia/METplus/MET/met-5.2/bin/tc_stat
-job
filter -lookin /D2/xinxia/METplus/MET/input/tc_pairs/201412 -init_inc
20141201_00 -match_points true -dump_row /D2/xinxia/METplus/MET/out/
extract_tiles/20141201_00/filter_20141201_00.tcst  -basin ML
-out_init_mask
/D2/xinxia/METplus/MET/met-5.2/share/met/poly/CONUS.poly


Thanks,
Julie

On Thu, Feb 23, 2017 at 10:14 AM, Xinxia Song via RT
<met_help at ucar.edu>
wrote:

>
> <URL: https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=79605 >
>
> Hi Julie,
>
>
> [xinxia at chaos ush]$ /D2/xinxia/METplus/MET/met-5.2/bin/tc_stat -job
> filter -lookin /D2/xinxia/METplus/MET/input/tc_pairs/201412
-init_inc
> 20141201_00 -match_points true -dump_row
/D2/xinxia/METplus/MET/out/extract_tiles/20141201_00/
> filter_20141201_00.tcst  -basin ML -out_init_mask
> /D2/xinxia/METplus/MET/met-5.2/share/met/poly/CONUS.poly
>
> /D2/xinxia/METplus/MET/met-5.2/bin/tc_stat: error while loading
shared
> libraries: libgsl.so.19: cannot open shared object file: No such
file or
> directory
>
>
> And I uploaded the configuration file (constants_pdef.py) under
> xinxia_data directory.
>
>
> Thanks,
>
>
> Xinxia
>
> ________________________________
> From: Julie Prestopnik via RT <met_help at ucar.edu>
> Sent: Friday, February 24, 2017 6:15:57 AM
> To: Xinxia_Song at outlook.com
> Subject: Re: [rt.rap.ucar.edu #79605] ImportError: No module named
> constants_pdef
>
> Hi Xinxia.
>
> I can see that your command, which should have been all on one line,
was
> broken up into several lines.  Please try running the command again,
making
> sure that the entire command is on one line:
>
> /D2/xinxia/METplus/MET/met-5.2/bin/tc_stat -job filter -lookin
> /D2/xinxia/METplus/MET/input/tc_pairs/201412 -init_inc 20141201_00
> -match_points true -dump_row
> /D2/xinxia/METplus/MET/out/extract_tiles/20141201_00/
> filter_20141201_00.tcst  -basin ML -out_init_mask
> /D2/xinxia/METplus/MET/met-5.2/share/met/poly/CONUS.poly
>
> Then, please send the output from that command.
>
> Regarding, your error:
>
> sh: run_tc_pairs.py: command not found
>
> It's strange that would only have occurred after having changed the
> LOG_LEVEL.  Could you please send us your configuration file?
>
> Thanks!
>
> Julie
>
> On Wed, Feb 22, 2017 at 2:54 PM, Xinxia Song via RT
<met_help at ucar.edu>
> wrote:
>
> >
> > <URL: https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=79605 >
> >
> > Hi Julie,
> >
> >
> > [xinxia at chaos ush]$ /D2/xinxia/METplus/MET/met-5.2/bin/tc_stat
-job
> > filter -lookin
> >
> > /D2/xinxia/METplus/MET/met-5.2/bin/tc_stat: error while loading
shared
> > libraries: libgsl.so.19: cannot open shared object file: No such
file or
> > directory
> >
> >
> > [xinxia at chaos ush]$ /D2/xinxia/METplus/MET/input/tc_pairs/201412
> > -init_inc 20141201_00 -match_points true -dump_row
> >
> > -bash: /D2/xinxia/METplus/MET/input/tc_pairs/201412: is a
directory
> >
> >
> > [xinxia at chaos ush]$ /D2/xinxia/METplus/MET/out/
> extract_tiles/20141201_00/
> > filter_20141201_00.tcst  -basin ML -out_init_mask
> > /D2/xinxia/METplus/MET/met-5.2/share/met/poly/CONUS.poly
> >
> > -bash: /D2/xinxia/METplus/MET/out/extract_tiles/20141201_00/: No
such
> > file or directory
> >
> >
> > After I change the LOG_LEVEL, I ran the master_met_plus.py, it
says:
> >
> > [xinxia at chaos ush]$ python master_met_plus.py
> >
> > sh: run_tc_pairs.py: command not found
> >
> >
> >
> > Thanks,
> >
> >
> > Xinxia
> >
> >
> > ________________________________
> > From: Julie Prestopnik via RT <met_help at ucar.edu>
> > Sent: Thursday, February 23, 2017 10:04:55 AM
> > To: Xinxia_Song at outlook.com
> > Subject: Re: [rt.rap.ucar.edu #79605] ImportError: No module named
> > constants_pdef
> >
> > Thank you.  Unfortunately, the level of detail in the log file
wasn't
> what
> > I hoped for.  I'd like to have you try two things.
> >
> > First, could you please send me your output of your manual run of
the
> > following?
> >
> > "/D2/xinxia/METplus/MET/met-5.2/bin/tc_stat -job filter -lookin
> > /D2/xinxia/METplus/MET/input/tc_pairs/201412 -init_inc 20141201_00
> > -match_points true -dump_row /D2/xinxia/METplus/MET/out/
> > extract_tiles/20141201_00/ filter_20141201_00.tcst  -basin ML
> > -out_init_mask
> > /D2/xinxia/METplus/MET/met-5.2/share/met/poly/CONUS.poly"
> >
> > Second, could you please change your log level in your
configuration file
> > from
> >
> > LOG_LEVEL = "INFO"
> >
> > to
> >
> > LOG_LEVEL = "DEBUG"
> >
> > then rerun and upload your log file to our ftp server again?
> >
> > Thank you!
> >
> > Julie
> >
> >
> > On Wed, Feb 22, 2017 at 12:39 PM, Xinxia Song via RT
<met_help at ucar.edu>
> > wrote:
> >
> > >
> > > <URL: https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=79605 >
> > >
> > > Hi Julie,
> > >
> > >
> > > I uploaded the log file under xinxia_data directory.
> > >
> > >
> > > Thanks,
> > >
> > >
> > > Xinxia
> > >
> > >
> > > ________________________________
> > > From: Julie Prestopnik via RT <met_help at ucar.edu>
> > > Sent: Thursday, February 23, 2017 9:11:32 AM
> > > To: Xinxia_Song at outlook.com
> > > Subject: Re: [rt.rap.ucar.edu #79605] ImportError: No module
named
> > > constants_pdef
> > >
> > > Hi Xinxia.
> > >
> > > I think it would be helpful if I could take a look at the log
file.
> > Could
> > > you please upload your file to our anonymous ftp site as follows
so
> that
> > I
> > > can take a look?
> > >
> > >    http://www.dtcenter.org/met/users/support/met_help.php#ftp
> > >
> > > Also, could you please try running the following manually and
send the
> > > output to me?
> > >
> > > "/D2/xinxia/METplus/MET/met-5.2/bin/tc_stat -job filter -lookin
> > > /D2/xinxia/METplus/MET/input/tc_pairs/201412 -init_inc
20141201_00
> > > -match_points true -dump_row /D2/xinxia/METplus/MET/out/
> > > extract_tiles/20141201_00/filter_20141201_00.tcst  -basin ML
> > > -out_init_mask
> > > /D2/xinxia/METplus/MET/met-5.2/share/met/poly/CONUS.poly"
> > >
> > > Thank you!
> > >
> > > Julie
> > >
> > >
> > >
> > > On Wed, Feb 22, 2017 at 12:06 PM, Xinxia Song via RT <
> met_help at ucar.edu>
> > > wrote:
> > >
> > > >
> > > > <URL: https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=79605
>
> > > >
> > > > Hi Julie,
> > > >
> > > >
> > > > Now I can run the program, but when I look at the log file in
the
> > output,
> > > > it shows error below:
> > > >
> > > >
> > > > ERROR| /D2/xinxia/METplus/METplus/ush/run_tc_stat.py:tc_stat
from
> > > calling
> > > > MET TC-STAT with command:/D2/xinxia/METplus/MET/met-
5.2/bin/tc_stat
> > -job
> > > > filter -lookin /D2/xinxia/METplus/MET/input/tc_pairs/201412
> -init_inc
> > > > 20141201_00 -match_points true -dump_row
/D2/xinxia/METplus/MET/out/
> > > > extract_tiles/20141201_00/filter_20141201_00.tcst  -basin ML
> > > > -out_init_mask /D2/xinxia/METplus/MET/met-5.
> > 2/share/met/poly/CONUS.poly
> > > >
> > > >
> > > > How should I fix it?
> > > >
> > > >
> > > > Thanks,
> > > >
> > > >
> > > > Xinxia
> > > >
> > > > ________________________________
> > > > From: Julie Prestopnik via RT <met_help at ucar.edu>
> > > > Sent: Thursday, February 23, 2017 7:30:06 AM
> > > > To: Xinxia_Song at outlook.com
> > > > Subject: Re: [rt.rap.ucar.edu #79605] ImportError: No module
named
> > > > constants_pdef
> > > >
> > > > Hi Xinxia.
> > > >
> > > > I believe that python doesn't know how to find the module
because the
> > ush
> > > > directory is not in your PYTHONPATH.  Both the parm and ush
directory
> > > need
> > > > to be specified in your PYTHONPATH.  Please add the ush
directory to
> > your
> > > > PYTHONPATH, source ~/.bashrc, and let us know how it goes.
> > > >
> > > > Thanks,
> > > > Julie
> > > >
> > > > On Wed, Feb 22, 2017 at 10:24 AM, Xinxia Song via RT <
> > met_help at ucar.edu>
> > > > wrote:
> > > >
> > > > >
> > > > > <URL:
https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=79605 >
> > > > >
> > > > > Hi Julie,
> > > > >
> > > > >
> > > > > Since I don't have setenv, I added these 3 sentence into my
.bashrc
> > > file:
> > > > >
> > > > >
> > > > > export PYTHONPATH="/D2/xinxia/METplus/METplus/parm"
> > > > >
> > > > >
> > > > > export USHROOT=/D2/xinxia/METplus/METplus/ush
> > > > >
> > > > > export PATH=$USHROOT:$PATH
> > > > >
> > > > >
> > > > > I sourced the ~/.bashrc, and checked that the variables are
set,
> but
> > > the
> > > > > program still can't find the module.
> > > > >
> > > > >
> > > > > Thanks,
> > > > >
> > > > > Xinxia
> > > > >
> > > > > ________________________________
> > > > > From: Julie Prestopnik via RT <met_help at ucar.edu>
> > > > > Sent: Thursday, February 23, 2017 6:24:21 AM
> > > > > To: Xinxia_Song at outlook.com
> > > > > Subject: Re: [rt.rap.ucar.edu #79605] ImportError: No module
named
> > > > > constants_pdef
> > > > >
> > > > > Hi Xinxia.
> > > > >
> > > > > Could you please check to make sure that the ush directory
with
> > > > > constants_pdef.py is in your PYTHONPATH in your .cshrc file
(or
> > .bashrc
> > > > or
> > > > > similar file)?  The parm directory should also be in your
> PYTHONPATH.
> > > > >
> > > > > For example,
> > > > >
> > > > > setenv PYTHONPATH /d1/jpresto/sbu/METplus/ush:/
> > > > d1/jpresto/sbu/METplus/parm
> > > > >
> > > > > Please also check make sure that the path to the ush
directory is
> > also
> > > > > specified your your path environment variable.  For example,
> > > > >
> > > > > set path = (/usr/local/bin \
> > > > >                  /usr/local/python/bin/python \
> > > > >                  /d1/jpresto/sbu/METplus/ush )
> > > > >
> > > > > If they are not there, please add them and then source the
file
> (e.g.
> > > run
> > > > > "source ~/.cshrc").
> > > > >
> > > > > Thank you!  Please let us know how it goes.
> > > > >
> > > > > Julie
> > > > >
> > > > >
> > > > >
> > > > >
> > > > > On Tue, Feb 21, 2017 at 4:49 PM, Xinxia Song via RT <
> > met_help at ucar.edu
> > > >
> > > > > wrote:
> > > > >
> > > > > >
> > > > > > Tue Feb 21 16:49:28 2017: Request 79605 was acted upon.
> > > > > > Transaction: Ticket created by Xinxia_Song at outlook.com
> > > > > >        Queue: met_help
> > > > > >      Subject: ImportError: No module named constants_pdef
> > > > > >        Owner: Nobody
> > > > > >   Requestors: Xinxia_Song at outlook.com
> > > > > >       Status: new
> > > > > >  Ticket <URL: https://rt.rap.ucar.edu/rt/
> > > Ticket/Display.html?id=79605
> > > > >
> > > > > >
> > > > > >
> > > > > > Hi,
> > > > > >
> > > > > >
> > > > > > When I ran the mater_met_plus.py, it says:
> > > > > >
> > > > > >
> > > > > > ImportError: No module named constants_pdef
> > > > > >
> > > > > >
> > > > > > Seems it doesn't recognize constants_pdef as its module.
> > > > > >
> > > > > >
> > > > > > Thanks,
> > > > > >
> > > > > > Xinxia
> > > > > >
> > > > > >
> > > > >
> > > > >
> > > > >
> > > >
> > > >
> > > >
> > >
> > >
> > >
> >
> >
> >
>
>
>

------------------------------------------------
Subject: ImportError: No module named constants_pdef
From: Julie Prestopnik
Time: Thu Feb 23 10:42:21 2017

My apologies, my response should have said, "By default, MET version
5.2 is
compiled using dynamic linking."  It's true for both, but I see you're
using 5.2 and I inadvertently referred to 5.1.

On Thu, Feb 23, 2017 at 10:40 AM, Julie Prestopnik <jpresto at ucar.edu>
wrote:

> Hi Xinxia.  Regarding the error:
>
> /D2/xinxia/METplus/MET/met-5.2/bin/tc_stat: error while loading
shared
> libraries: libgsl.so.19: cannot open shared object file: No such
file or
> directory
>
> By default, MET version 5.1 is compiled using dynamic linking.
Rather
> than compiling the external library code in with the MET executables
(which
> is
> called static linking), it looks for them at runtime.  And it's
looking
> for those "shared object" (.so) library files.
>
> This should be easy to fix. We just need to tell it where to find
them,
> and we do that by setting (or adding to the LD_LIBRARY_PATH).  Look
in your
> ~/.bashrc file.  If LD_LIBRARY_PATH is already defined in there, add
the
> path to the libgsl.so.19 to the end of it.  If not, add an
> LD_LIBRARY_PATH entry in your ~/.bashrc file.  So, for example, if
the path
> to your libgsl.so.19 file is
/D2/xinxia/METplus/MET/external_libs/GSL/gsl-1.16/lib
> you would add teh following to your ~/.bashrc file:
>
>   export LD_LIBRARY_PATH=/D2/xinxia/METplus/MET/external_libs/GSL/
> gsl-1.16/lib
>
> Then save the change and source that file:
>
>   source ~/.bashrc
>
> Then, please try rerunning the command manually and let me know if
it
> works.
>
> I believe that this was the cause of the initial error you received
from
> MET+:
>
> ERROR| /D2/xinxia/METplus/METplus/ush/run_tc_stat.py:tc_stat from
calling
> MET TC-STAT with command:/D2/xinxia/METplus/MET/met-5.2/bin/tc_stat
-job
> filter -lookin /D2/xinxia/METplus/MET/input/tc_pairs/201412
-init_inc
> 20141201_00 -match_points true -dump_row
/D2/xinxia/METplus/MET/out/ext
> ract_tiles/20141201_00/filter_20141201_00.tcst  -basin ML
-out_init_mask
> /D2/xinxia/METplus/MET/met-5.2/share/met/poly/CONUS.poly
>
>
> Thanks,
> Julie
>
> On Thu, Feb 23, 2017 at 10:14 AM, Xinxia Song via RT
<met_help at ucar.edu>
> wrote:
>
>>
>> <URL: https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=79605 >
>>
>> Hi Julie,
>>
>>
>> [xinxia at chaos ush]$ /D2/xinxia/METplus/MET/met-5.2/bin/tc_stat -job
>> filter -lookin /D2/xinxia/METplus/MET/input/tc_pairs/201412
-init_inc
>> 20141201_00 -match_points true -dump_row
/D2/xinxia/METplus/MET/out/extract_tiles/20141201_00/
>> filter_20141201_00.tcst  -basin ML -out_init_mask
>> /D2/xinxia/METplus/MET/met-5.2/share/met/poly/CONUS.poly
>>
>> /D2/xinxia/METplus/MET/met-5.2/bin/tc_stat: error while loading
shared
>> libraries: libgsl.so.19: cannot open shared object file: No such
file or
>> directory
>>
>>
>> And I uploaded the configuration file (constants_pdef.py) under
>> xinxia_data directory.
>>
>>
>> Thanks,
>>
>>
>> Xinxia
>>
>> ________________________________
>> From: Julie Prestopnik via RT <met_help at ucar.edu>
>> Sent: Friday, February 24, 2017 6:15:57 AM
>> To: Xinxia_Song at outlook.com
>> Subject: Re: [rt.rap.ucar.edu #79605] ImportError: No module named
>> constants_pdef
>>
>> Hi Xinxia.
>>
>> I can see that your command, which should have been all on one
line, was
>> broken up into several lines.  Please try running the command
again,
>> making
>> sure that the entire command is on one line:
>>
>> /D2/xinxia/METplus/MET/met-5.2/bin/tc_stat -job filter -lookin
>> /D2/xinxia/METplus/MET/input/tc_pairs/201412 -init_inc 20141201_00
>> -match_points true -dump_row
>> /D2/xinxia/METplus/MET/out/extract_tiles/20141201_00/
>> filter_20141201_00.tcst  -basin ML -out_init_mask
>> /D2/xinxia/METplus/MET/met-5.2/share/met/poly/CONUS.poly
>>
>> Then, please send the output from that command.
>>
>> Regarding, your error:
>>
>> sh: run_tc_pairs.py: command not found
>>
>> It's strange that would only have occurred after having changed the
>> LOG_LEVEL.  Could you please send us your configuration file?
>>
>> Thanks!
>>
>> Julie
>>
>> On Wed, Feb 22, 2017 at 2:54 PM, Xinxia Song via RT
<met_help at ucar.edu>
>> wrote:
>>
>> >
>> > <URL: https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=79605 >
>> >
>> > Hi Julie,
>> >
>> >
>> > [xinxia at chaos ush]$ /D2/xinxia/METplus/MET/met-5.2/bin/tc_stat
-job
>> > filter -lookin
>> >
>> > /D2/xinxia/METplus/MET/met-5.2/bin/tc_stat: error while loading
shared
>> > libraries: libgsl.so.19: cannot open shared object file: No such
file or
>> > directory
>> >
>> >
>> > [xinxia at chaos ush]$ /D2/xinxia/METplus/MET/input/tc_pairs/201412
>> > -init_inc 20141201_00 -match_points true -dump_row
>> >
>> > -bash: /D2/xinxia/METplus/MET/input/tc_pairs/201412: is a
directory
>> >
>> >
>> > [xinxia at chaos ush]$ /D2/xinxia/METplus/MET/out/ext
>> ract_tiles/20141201_00/
>> > filter_20141201_00.tcst  -basin ML -out_init_mask
>> > /D2/xinxia/METplus/MET/met-5.2/share/met/poly/CONUS.poly
>> >
>> > -bash: /D2/xinxia/METplus/MET/out/extract_tiles/20141201_00/: No
such
>> > file or directory
>> >
>> >
>> > After I change the LOG_LEVEL, I ran the master_met_plus.py, it
says:
>> >
>> > [xinxia at chaos ush]$ python master_met_plus.py
>> >
>> > sh: run_tc_pairs.py: command not found
>> >
>> >
>> >
>> > Thanks,
>> >
>> >
>> > Xinxia
>> >
>> >
>> > ________________________________
>> > From: Julie Prestopnik via RT <met_help at ucar.edu>
>> > Sent: Thursday, February 23, 2017 10:04:55 AM
>> > To: Xinxia_Song at outlook.com
>> > Subject: Re: [rt.rap.ucar.edu #79605] ImportError: No module
named
>> > constants_pdef
>> >
>> > Thank you.  Unfortunately, the level of detail in the log file
wasn't
>> what
>> > I hoped for.  I'd like to have you try two things.
>> >
>> > First, could you please send me your output of your manual run of
the
>> > following?
>> >
>> > "/D2/xinxia/METplus/MET/met-5.2/bin/tc_stat -job filter -lookin
>> > /D2/xinxia/METplus/MET/input/tc_pairs/201412 -init_inc
20141201_00
>> > -match_points true -dump_row /D2/xinxia/METplus/MET/out/
>> > extract_tiles/20141201_00/ filter_20141201_00.tcst  -basin ML
>> > -out_init_mask
>> > /D2/xinxia/METplus/MET/met-5.2/share/met/poly/CONUS.poly"
>> >
>> > Second, could you please change your log level in your
configuration
>> file
>> > from
>> >
>> > LOG_LEVEL = "INFO"
>> >
>> > to
>> >
>> > LOG_LEVEL = "DEBUG"
>> >
>> > then rerun and upload your log file to our ftp server again?
>> >
>> > Thank you!
>> >
>> > Julie
>> >
>> >
>> > On Wed, Feb 22, 2017 at 12:39 PM, Xinxia Song via RT
<met_help at ucar.edu
>> >
>> > wrote:
>> >
>> > >
>> > > <URL: https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=79605 >
>> > >
>> > > Hi Julie,
>> > >
>> > >
>> > > I uploaded the log file under xinxia_data directory.
>> > >
>> > >
>> > > Thanks,
>> > >
>> > >
>> > > Xinxia
>> > >
>> > >
>> > > ________________________________
>> > > From: Julie Prestopnik via RT <met_help at ucar.edu>
>> > > Sent: Thursday, February 23, 2017 9:11:32 AM
>> > > To: Xinxia_Song at outlook.com
>> > > Subject: Re: [rt.rap.ucar.edu #79605] ImportError: No module
named
>> > > constants_pdef
>> > >
>> > > Hi Xinxia.
>> > >
>> > > I think it would be helpful if I could take a look at the log
file.
>> > Could
>> > > you please upload your file to our anonymous ftp site as
follows so
>> that
>> > I
>> > > can take a look?
>> > >
>> > >    http://www.dtcenter.org/met/users/support/met_help.php#ftp
>> > >
>> > > Also, could you please try running the following manually and
send the
>> > > output to me?
>> > >
>> > > "/D2/xinxia/METplus/MET/met-5.2/bin/tc_stat -job filter -lookin
>> > > /D2/xinxia/METplus/MET/input/tc_pairs/201412 -init_inc
20141201_00
>> > > -match_points true -dump_row /D2/xinxia/METplus/MET/out/
>> > > extract_tiles/20141201_00/filter_20141201_00.tcst  -basin ML
>> > > -out_init_mask
>> > > /D2/xinxia/METplus/MET/met-5.2/share/met/poly/CONUS.poly"
>> > >
>> > > Thank you!
>> > >
>> > > Julie
>> > >
>> > >
>> > >
>> > > On Wed, Feb 22, 2017 at 12:06 PM, Xinxia Song via RT <
>> met_help at ucar.edu>
>> > > wrote:
>> > >
>> > > >
>> > > > <URL: https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=79605
>
>> > > >
>> > > > Hi Julie,
>> > > >
>> > > >
>> > > > Now I can run the program, but when I look at the log file in
the
>> > output,
>> > > > it shows error below:
>> > > >
>> > > >
>> > > > ERROR| /D2/xinxia/METplus/METplus/ush/run_tc_stat.py:tc_stat
from
>> > > calling
>> > > > MET TC-STAT with command:/D2/xinxia/METplus/MET/met-
5.2/bin/tc_stat
>> > -job
>> > > > filter -lookin /D2/xinxia/METplus/MET/input/tc_pairs/201412
>> -init_inc
>> > > > 20141201_00 -match_points true -dump_row
/D2/xinxia/METplus/MET/out/
>> > > > extract_tiles/20141201_00/filter_20141201_00.tcst  -basin ML
>> > > > -out_init_mask /D2/xinxia/METplus/MET/met-5.
>> > 2/share/met/poly/CONUS.poly
>> > > >
>> > > >
>> > > > How should I fix it?
>> > > >
>> > > >
>> > > > Thanks,
>> > > >
>> > > >
>> > > > Xinxia
>> > > >
>> > > > ________________________________
>> > > > From: Julie Prestopnik via RT <met_help at ucar.edu>
>> > > > Sent: Thursday, February 23, 2017 7:30:06 AM
>> > > > To: Xinxia_Song at outlook.com
>> > > > Subject: Re: [rt.rap.ucar.edu #79605] ImportError: No module
named
>> > > > constants_pdef
>> > > >
>> > > > Hi Xinxia.
>> > > >
>> > > > I believe that python doesn't know how to find the module
because
>> the
>> > ush
>> > > > directory is not in your PYTHONPATH.  Both the parm and ush
>> directory
>> > > need
>> > > > to be specified in your PYTHONPATH.  Please add the ush
directory to
>> > your
>> > > > PYTHONPATH, source ~/.bashrc, and let us know how it goes.
>> > > >
>> > > > Thanks,
>> > > > Julie
>> > > >
>> > > > On Wed, Feb 22, 2017 at 10:24 AM, Xinxia Song via RT <
>> > met_help at ucar.edu>
>> > > > wrote:
>> > > >
>> > > > >
>> > > > > <URL:
https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=79605 >
>> > > > >
>> > > > > Hi Julie,
>> > > > >
>> > > > >
>> > > > > Since I don't have setenv, I added these 3 sentence into my
>> .bashrc
>> > > file:
>> > > > >
>> > > > >
>> > > > > export PYTHONPATH="/D2/xinxia/METplus/METplus/parm"
>> > > > >
>> > > > >
>> > > > > export USHROOT=/D2/xinxia/METplus/METplus/ush
>> > > > >
>> > > > > export PATH=$USHROOT:$PATH
>> > > > >
>> > > > >
>> > > > > I sourced the ~/.bashrc, and checked that the variables are
set,
>> but
>> > > the
>> > > > > program still can't find the module.
>> > > > >
>> > > > >
>> > > > > Thanks,
>> > > > >
>> > > > > Xinxia
>> > > > >
>> > > > > ________________________________
>> > > > > From: Julie Prestopnik via RT <met_help at ucar.edu>
>> > > > > Sent: Thursday, February 23, 2017 6:24:21 AM
>> > > > > To: Xinxia_Song at outlook.com
>> > > > > Subject: Re: [rt.rap.ucar.edu #79605] ImportError: No
module
>> named
>> > > > > constants_pdef
>> > > > >
>> > > > > Hi Xinxia.
>> > > > >
>> > > > > Could you please check to make sure that the ush directory
with
>> > > > > constants_pdef.py is in your PYTHONPATH in your .cshrc file
(or
>> > .bashrc
>> > > > or
>> > > > > similar file)?  The parm directory should also be in your
>> PYTHONPATH.
>> > > > >
>> > > > > For example,
>> > > > >
>> > > > > setenv PYTHONPATH /d1/jpresto/sbu/METplus/ush:/
>> > > > d1/jpresto/sbu/METplus/parm
>> > > > >
>> > > > > Please also check make sure that the path to the ush
directory is
>> > also
>> > > > > specified your your path environment variable.  For
example,
>> > > > >
>> > > > > set path = (/usr/local/bin \
>> > > > >                  /usr/local/python/bin/python \
>> > > > >                  /d1/jpresto/sbu/METplus/ush )
>> > > > >
>> > > > > If they are not there, please add them and then source the
file
>> (e.g.
>> > > run
>> > > > > "source ~/.cshrc").
>> > > > >
>> > > > > Thank you!  Please let us know how it goes.
>> > > > >
>> > > > > Julie
>> > > > >
>> > > > >
>> > > > >
>> > > > >
>> > > > > On Tue, Feb 21, 2017 at 4:49 PM, Xinxia Song via RT <
>> > met_help at ucar.edu
>> > > >
>> > > > > wrote:
>> > > > >
>> > > > > >
>> > > > > > Tue Feb 21 16:49:28 2017: Request 79605 was acted upon.
>> > > > > > Transaction: Ticket created by Xinxia_Song at outlook.com
>> > > > > >        Queue: met_help
>> > > > > >      Subject: ImportError: No module named constants_pdef
>> > > > > >        Owner: Nobody
>> > > > > >   Requestors: Xinxia_Song at outlook.com
>> > > > > >       Status: new
>> > > > > >  Ticket <URL: https://rt.rap.ucar.edu/rt/
>> > > Ticket/Display.html?id=79605
>> > > > >
>> > > > > >
>> > > > > >
>> > > > > > Hi,
>> > > > > >
>> > > > > >
>> > > > > > When I ran the mater_met_plus.py, it says:
>> > > > > >
>> > > > > >
>> > > > > > ImportError: No module named constants_pdef
>> > > > > >
>> > > > > >
>> > > > > > Seems it doesn't recognize constants_pdef as its module.
>> > > > > >
>> > > > > >
>> > > > > > Thanks,
>> > > > > >
>> > > > > > Xinxia
>> > > > > >
>> > > > > >
>> > > > >
>> > > > >
>> > > > >
>> > > >
>> > > >
>> > > >
>> > >
>> > >
>> > >
>> >
>> >
>> >
>>
>>
>>
>

------------------------------------------------
Subject: ImportError: No module named constants_pdef
From: Xinxia Song
Time: Thu Feb 23 11:06:11 2017

Hi Julie,


After I ran the long one line command:

[xinxia at chaos parm]$ /D2/xinxia/METplus/MET/met-5.2/bin/tc_stat -job
filter -lookin /D2/xinxia/METplus/MET/input/tc_pairs/201412 -init_inc
20141201_00 -match_points true -dump_row
/D2/xinxia/METplus/MET/out/extract_tiles/20141201_00/
filter_20141201_00.tcst  -basin ML -out_init_mask
/D2/xinxia/METplus/MET/met-5.2/share/met/poly/CONUS.poly


DEBUG 1: [Source 1] Lookin:
/D2/xinxia/METplus/MET/input/tc_pairs/201412

ERROR  :

ERROR  : TCStatJob *TCStatJobFactory::new_tc_stat_job(const char
*jobstring) -> unsupported job command options
"filter_20141201_00.tcst".

ERROR  :


And for the master_met_plus.py, I got the error:

[xinxia at chaos ush]$ python master_met_plus.py

sh: run_tc_pairs.py: command not found


Thanks,


Xinxia

________________________________
From: Julie Prestopnik via RT <met_help at ucar.edu>
Sent: Friday, February 24, 2017 7:42:21 AM
To: Xinxia_Song at outlook.com
Subject: Re: [rt.rap.ucar.edu #79605] ImportError: No module named
constants_pdef

My apologies, my response should have said, "By default, MET version
5.2 is
compiled using dynamic linking."  It's true for both, but I see you're
using 5.2 and I inadvertently referred to 5.1.

On Thu, Feb 23, 2017 at 10:40 AM, Julie Prestopnik <jpresto at ucar.edu>
wrote:

> Hi Xinxia.  Regarding the error:
>
> /D2/xinxia/METplus/MET/met-5.2/bin/tc_stat: error while loading
shared
> libraries: libgsl.so.19: cannot open shared object file: No such
file or
> directory
>
> By default, MET version 5.1 is compiled using dynamic linking.
Rather
> than compiling the external library code in with the MET executables
(which
> is
> called static linking), it looks for them at runtime.  And it's
looking
> for those "shared object" (.so) library files.
>
> This should be easy to fix. We just need to tell it where to find
them,
> and we do that by setting (or adding to the LD_LIBRARY_PATH).  Look
in your
> ~/.bashrc file.  If LD_LIBRARY_PATH is already defined in there, add
the
> path to the libgsl.so.19 to the end of it.  If not, add an
> LD_LIBRARY_PATH entry in your ~/.bashrc file.  So, for example, if
the path
> to your libgsl.so.19 file is
/D2/xinxia/METplus/MET/external_libs/GSL/gsl-1.16/lib
> you would add teh following to your ~/.bashrc file:
>
>   export LD_LIBRARY_PATH=/D2/xinxia/METplus/MET/external_libs/GSL/
> gsl-1.16/lib
>
> Then save the change and source that file:
>
>   source ~/.bashrc
>
> Then, please try rerunning the command manually and let me know if
it
> works.
>
> I believe that this was the cause of the initial error you received
from
> MET+:
>
> ERROR| /D2/xinxia/METplus/METplus/ush/run_tc_stat.py:tc_stat from
calling
> MET TC-STAT with command:/D2/xinxia/METplus/MET/met-5.2/bin/tc_stat
-job
> filter -lookin /D2/xinxia/METplus/MET/input/tc_pairs/201412
-init_inc
> 20141201_00 -match_points true -dump_row
/D2/xinxia/METplus/MET/out/ext
> ract_tiles/20141201_00/filter_20141201_00.tcst  -basin ML
-out_init_mask
> /D2/xinxia/METplus/MET/met-5.2/share/met/poly/CONUS.poly
>
>
> Thanks,
> Julie
>
> On Thu, Feb 23, 2017 at 10:14 AM, Xinxia Song via RT
<met_help at ucar.edu>
> wrote:
>
>>
>> <URL: https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=79605 >
>>
>> Hi Julie,
>>
>>
>> [xinxia at chaos ush]$ /D2/xinxia/METplus/MET/met-5.2/bin/tc_stat -job
>> filter -lookin /D2/xinxia/METplus/MET/input/tc_pairs/201412
-init_inc
>> 20141201_00 -match_points true -dump_row
/D2/xinxia/METplus/MET/out/extract_tiles/20141201_00/
>> filter_20141201_00.tcst  -basin ML -out_init_mask
>> /D2/xinxia/METplus/MET/met-5.2/share/met/poly/CONUS.poly
>>
>> /D2/xinxia/METplus/MET/met-5.2/bin/tc_stat: error while loading
shared
>> libraries: libgsl.so.19: cannot open shared object file: No such
file or
>> directory
>>
>>
>> And I uploaded the configuration file (constants_pdef.py) under
>> xinxia_data directory.
>>
>>
>> Thanks,
>>
>>
>> Xinxia
>>
>> ________________________________
>> From: Julie Prestopnik via RT <met_help at ucar.edu>
>> Sent: Friday, February 24, 2017 6:15:57 AM
>> To: Xinxia_Song at outlook.com
>> Subject: Re: [rt.rap.ucar.edu #79605] ImportError: No module named
>> constants_pdef
>>
>> Hi Xinxia.
>>
>> I can see that your command, which should have been all on one
line, was
>> broken up into several lines.  Please try running the command
again,
>> making
>> sure that the entire command is on one line:
>>
>> /D2/xinxia/METplus/MET/met-5.2/bin/tc_stat -job filter -lookin
>> /D2/xinxia/METplus/MET/input/tc_pairs/201412 -init_inc 20141201_00
>> -match_points true -dump_row
>> /D2/xinxia/METplus/MET/out/extract_tiles/20141201_00/
>> filter_20141201_00.tcst  -basin ML -out_init_mask
>> /D2/xinxia/METplus/MET/met-5.2/share/met/poly/CONUS.poly
>>
>> Then, please send the output from that command.
>>
>> Regarding, your error:
>>
>> sh: run_tc_pairs.py: command not found
>>
>> It's strange that would only have occurred after having changed the
>> LOG_LEVEL.  Could you please send us your configuration file?
>>
>> Thanks!
>>
>> Julie
>>
>> On Wed, Feb 22, 2017 at 2:54 PM, Xinxia Song via RT
<met_help at ucar.edu>
>> wrote:
>>
>> >
>> > <URL: https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=79605 >
>> >
>> > Hi Julie,
>> >
>> >
>> > [xinxia at chaos ush]$ /D2/xinxia/METplus/MET/met-5.2/bin/tc_stat
-job
>> > filter -lookin
>> >
>> > /D2/xinxia/METplus/MET/met-5.2/bin/tc_stat: error while loading
shared
>> > libraries: libgsl.so.19: cannot open shared object file: No such
file or
>> > directory
>> >
>> >
>> > [xinxia at chaos ush]$ /D2/xinxia/METplus/MET/input/tc_pairs/201412
>> > -init_inc 20141201_00 -match_points true -dump_row
>> >
>> > -bash: /D2/xinxia/METplus/MET/input/tc_pairs/201412: is a
directory
>> >
>> >
>> > [xinxia at chaos ush]$ /D2/xinxia/METplus/MET/out/ext
>> ract_tiles/20141201_00/
>> > filter_20141201_00.tcst  -basin ML -out_init_mask
>> > /D2/xinxia/METplus/MET/met-5.2/share/met/poly/CONUS.poly
>> >
>> > -bash: /D2/xinxia/METplus/MET/out/extract_tiles/20141201_00/: No
such
>> > file or directory
>> >
>> >
>> > After I change the LOG_LEVEL, I ran the master_met_plus.py, it
says:
>> >
>> > [xinxia at chaos ush]$ python master_met_plus.py
>> >
>> > sh: run_tc_pairs.py: command not found
>> >
>> >
>> >
>> > Thanks,
>> >
>> >
>> > Xinxia
>> >
>> >
>> > ________________________________
>> > From: Julie Prestopnik via RT <met_help at ucar.edu>
>> > Sent: Thursday, February 23, 2017 10:04:55 AM
>> > To: Xinxia_Song at outlook.com
>> > Subject: Re: [rt.rap.ucar.edu #79605] ImportError: No module
named
>> > constants_pdef
>> >
>> > Thank you.  Unfortunately, the level of detail in the log file
wasn't
>> what
>> > I hoped for.  I'd like to have you try two things.
>> >
>> > First, could you please send me your output of your manual run of
the
>> > following?
>> >
>> > "/D2/xinxia/METplus/MET/met-5.2/bin/tc_stat -job filter -lookin
>> > /D2/xinxia/METplus/MET/input/tc_pairs/201412 -init_inc
20141201_00
>> > -match_points true -dump_row /D2/xinxia/METplus/MET/out/
>> > extract_tiles/20141201_00/ filter_20141201_00.tcst  -basin ML
>> > -out_init_mask
>> > /D2/xinxia/METplus/MET/met-5.2/share/met/poly/CONUS.poly"
>> >
>> > Second, could you please change your log level in your
configuration
>> file
>> > from
>> >
>> > LOG_LEVEL = "INFO"
>> >
>> > to
>> >
>> > LOG_LEVEL = "DEBUG"
>> >
>> > then rerun and upload your log file to our ftp server again?
>> >
>> > Thank you!
>> >
>> > Julie
>> >
>> >
>> > On Wed, Feb 22, 2017 at 12:39 PM, Xinxia Song via RT
<met_help at ucar.edu
>> >
>> > wrote:
>> >
>> > >
>> > > <URL: https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=79605 >
>> > >
>> > > Hi Julie,
>> > >
>> > >
>> > > I uploaded the log file under xinxia_data directory.
>> > >
>> > >
>> > > Thanks,
>> > >
>> > >
>> > > Xinxia
>> > >
>> > >
>> > > ________________________________
>> > > From: Julie Prestopnik via RT <met_help at ucar.edu>
>> > > Sent: Thursday, February 23, 2017 9:11:32 AM
>> > > To: Xinxia_Song at outlook.com
>> > > Subject: Re: [rt.rap.ucar.edu #79605] ImportError: No module
named
>> > > constants_pdef
>> > >
>> > > Hi Xinxia.
>> > >
>> > > I think it would be helpful if I could take a look at the log
file.
>> > Could
>> > > you please upload your file to our anonymous ftp site as
follows so
>> that
>> > I
>> > > can take a look?
>> > >
>> > >    http://www.dtcenter.org/met/users/support/met_help.php#ftp
>> > >
>> > > Also, could you please try running the following manually and
send the
>> > > output to me?
>> > >
>> > > "/D2/xinxia/METplus/MET/met-5.2/bin/tc_stat -job filter -lookin
>> > > /D2/xinxia/METplus/MET/input/tc_pairs/201412 -init_inc
20141201_00
>> > > -match_points true -dump_row /D2/xinxia/METplus/MET/out/
>> > > extract_tiles/20141201_00/filter_20141201_00.tcst  -basin ML
>> > > -out_init_mask
>> > > /D2/xinxia/METplus/MET/met-5.2/share/met/poly/CONUS.poly"
>> > >
>> > > Thank you!
>> > >
>> > > Julie
>> > >
>> > >
>> > >
>> > > On Wed, Feb 22, 2017 at 12:06 PM, Xinxia Song via RT <
>> met_help at ucar.edu>
>> > > wrote:
>> > >
>> > > >
>> > > > <URL: https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=79605
>
>> > > >
>> > > > Hi Julie,
>> > > >
>> > > >
>> > > > Now I can run the program, but when I look at the log file in
the
>> > output,
>> > > > it shows error below:
>> > > >
>> > > >
>> > > > ERROR| /D2/xinxia/METplus/METplus/ush/run_tc_stat.py:tc_stat
from
>> > > calling
>> > > > MET TC-STAT with command:/D2/xinxia/METplus/MET/met-
5.2/bin/tc_stat
>> > -job
>> > > > filter -lookin /D2/xinxia/METplus/MET/input/tc_pairs/201412
>> -init_inc
>> > > > 20141201_00 -match_points true -dump_row
/D2/xinxia/METplus/MET/out/
>> > > > extract_tiles/20141201_00/filter_20141201_00.tcst  -basin ML
>> > > > -out_init_mask /D2/xinxia/METplus/MET/met-5.
>> > 2/share/met/poly/CONUS.poly
>> > > >
>> > > >
>> > > > How should I fix it?
>> > > >
>> > > >
>> > > > Thanks,
>> > > >
>> > > >
>> > > > Xinxia
>> > > >
>> > > > ________________________________
>> > > > From: Julie Prestopnik via RT <met_help at ucar.edu>
>> > > > Sent: Thursday, February 23, 2017 7:30:06 AM
>> > > > To: Xinxia_Song at outlook.com
>> > > > Subject: Re: [rt.rap.ucar.edu #79605] ImportError: No module
named
>> > > > constants_pdef
>> > > >
>> > > > Hi Xinxia.
>> > > >
>> > > > I believe that python doesn't know how to find the module
because
>> the
>> > ush
>> > > > directory is not in your PYTHONPATH.  Both the parm and ush
>> directory
>> > > need
>> > > > to be specified in your PYTHONPATH.  Please add the ush
directory to
>> > your
>> > > > PYTHONPATH, source ~/.bashrc, and let us know how it goes.
>> > > >
>> > > > Thanks,
>> > > > Julie
>> > > >
>> > > > On Wed, Feb 22, 2017 at 10:24 AM, Xinxia Song via RT <
>> > met_help at ucar.edu>
>> > > > wrote:
>> > > >
>> > > > >
>> > > > > <URL:
https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=79605 >
>> > > > >
>> > > > > Hi Julie,
>> > > > >
>> > > > >
>> > > > > Since I don't have setenv, I added these 3 sentence into my
>> .bashrc
>> > > file:
>> > > > >
>> > > > >
>> > > > > export PYTHONPATH="/D2/xinxia/METplus/METplus/parm"
>> > > > >
>> > > > >
>> > > > > export USHROOT=/D2/xinxia/METplus/METplus/ush
>> > > > >
>> > > > > export PATH=$USHROOT:$PATH
>> > > > >
>> > > > >
>> > > > > I sourced the ~/.bashrc, and checked that the variables are
set,
>> but
>> > > the
>> > > > > program still can't find the module.
>> > > > >
>> > > > >
>> > > > > Thanks,
>> > > > >
>> > > > > Xinxia
>> > > > >
>> > > > > ________________________________
>> > > > > From: Julie Prestopnik via RT <met_help at ucar.edu>
>> > > > > Sent: Thursday, February 23, 2017 6:24:21 AM
>> > > > > To: Xinxia_Song at outlook.com
>> > > > > Subject: Re: [rt.rap.ucar.edu #79605] ImportError: No
module
>> named
>> > > > > constants_pdef
>> > > > >
>> > > > > Hi Xinxia.
>> > > > >
>> > > > > Could you please check to make sure that the ush directory
with
>> > > > > constants_pdef.py is in your PYTHONPATH in your .cshrc file
(or
>> > .bashrc
>> > > > or
>> > > > > similar file)?  The parm directory should also be in your
>> PYTHONPATH.
>> > > > >
>> > > > > For example,
>> > > > >
>> > > > > setenv PYTHONPATH /d1/jpresto/sbu/METplus/ush:/
>> > > > d1/jpresto/sbu/METplus/parm
>> > > > >
>> > > > > Please also check make sure that the path to the ush
directory is
>> > also
>> > > > > specified your your path environment variable.  For
example,
>> > > > >
>> > > > > set path = (/usr/local/bin \
>> > > > >                  /usr/local/python/bin/python \
>> > > > >                  /d1/jpresto/sbu/METplus/ush )
>> > > > >
>> > > > > If they are not there, please add them and then source the
file
>> (e.g.
>> > > run
>> > > > > "source ~/.cshrc").
>> > > > >
>> > > > > Thank you!  Please let us know how it goes.
>> > > > >
>> > > > > Julie
>> > > > >
>> > > > >
>> > > > >
>> > > > >
>> > > > > On Tue, Feb 21, 2017 at 4:49 PM, Xinxia Song via RT <
>> > met_help at ucar.edu
>> > > >
>> > > > > wrote:
>> > > > >
>> > > > > >
>> > > > > > Tue Feb 21 16:49:28 2017: Request 79605 was acted upon.
>> > > > > > Transaction: Ticket created by Xinxia_Song at outlook.com
>> > > > > >        Queue: met_help
>> > > > > >      Subject: ImportError: No module named constants_pdef
>> > > > > >        Owner: Nobody
>> > > > > >   Requestors: Xinxia_Song at outlook.com
>> > > > > >       Status: new
>> > > > > >  Ticket <URL: https://rt.rap.ucar.edu/rt/
>> > > Ticket/Display.html?id=79605
>> > > > >
>> > > > > >
>> > > > > >
>> > > > > > Hi,
>> > > > > >
>> > > > > >
>> > > > > > When I ran the mater_met_plus.py, it says:
>> > > > > >
>> > > > > >
>> > > > > > ImportError: No module named constants_pdef
>> > > > > >
>> > > > > >
>> > > > > > Seems it doesn't recognize constants_pdef as its module.
>> > > > > >
>> > > > > >
>> > > > > > Thanks,
>> > > > > >
>> > > > > > Xinxia
>> > > > > >
>> > > > > >
>> > > > >
>> > > > >
>> > > > >
>> > > >
>> > > >
>> > > >
>> > >
>> > >
>> > >
>> >
>> >
>> >
>>
>>
>>
>


------------------------------------------------
Subject: ImportError: No module named constants_pdef
From: Julie Prestopnik
Time: Thu Feb 23 11:30:00 2017

Hi Xinxia.

It looks like there is a space where there should not be a space
(between
/D2/xinxia/METplus/MET/out/extract_tiles/20141201_00/ and
filter_20141201_00.tcst after the -dump_row option).

Could you please try it again without the space?

/D2/xinxia/METplus/METplus/ush/run_tc_stat.py:tc_stat from calling MET
TC-STAT with command:/D2/xinxia/METplus/MET/met-5.2/bin/tc_stat -job
filter
-lookin /D2/xinxia/METplus/MET/input/tc_pairs/201412 -init_inc
20141201_00
-match_points true -dump_row /D2/xinxia/METplus/MET/out/
extract_tiles/20141201_00/filter_20141201_00.tcst  -basin ML
-out_init_mask
/D2/xinxia/METplus/MET/met-5.2/share/met/poly/CONUS.poly

Regarding the master_met_plus.py run, please try running the following
two
commands and send me the output:

which run_tc_pairs.py

which python

Thanks!

Julie

On Thu, Feb 23, 2017 at 11:06 AM, Xinxia Song via RT
<met_help at ucar.edu>
wrote:

>
> <URL: https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=79605 >
>
> Hi Julie,
>
>
> After I ran the long one line command:
>
> [xinxia at chaos parm]$ /D2/xinxia/METplus/MET/met-5.2/bin/tc_stat -job
> filter -lookin /D2/xinxia/METplus/MET/input/tc_pairs/201412
-init_inc
> 20141201_00 -match_points true -dump_row
/D2/xinxia/METplus/MET/out/extract_tiles/20141201_00/
> filter_20141201_00.tcst  -basin ML -out_init_mask
> /D2/xinxia/METplus/MET/met-5.2/share/met/poly/CONUS.poly
>
>
> DEBUG 1: [Source 1] Lookin:
/D2/xinxia/METplus/MET/input/tc_pairs/201412
>
> ERROR  :
>
> ERROR  : TCStatJob *TCStatJobFactory::new_tc_stat_job(const char
> *jobstring) -> unsupported job command options
"filter_20141201_00.tcst".
>
> ERROR  :
>
>
> And for the master_met_plus.py, I got the error:
>
> [xinxia at chaos ush]$ python master_met_plus.py
>
> sh: run_tc_pairs.py: command not found
>
>
> Thanks,
>
>
> Xinxia
>
> ________________________________
> From: Julie Prestopnik via RT <met_help at ucar.edu>
> Sent: Friday, February 24, 2017 7:42:21 AM
> To: Xinxia_Song at outlook.com
> Subject: Re: [rt.rap.ucar.edu #79605] ImportError: No module named
> constants_pdef
>
> My apologies, my response should have said, "By default, MET version
5.2 is
> compiled using dynamic linking."  It's true for both, but I see
you're
> using 5.2 and I inadvertently referred to 5.1.
>
> On Thu, Feb 23, 2017 at 10:40 AM, Julie Prestopnik
<jpresto at ucar.edu>
> wrote:
>
> > Hi Xinxia.  Regarding the error:
> >
> > /D2/xinxia/METplus/MET/met-5.2/bin/tc_stat: error while loading
shared
> > libraries: libgsl.so.19: cannot open shared object file: No such
file or
> > directory
> >
> > By default, MET version 5.1 is compiled using dynamic linking.
Rather
> > than compiling the external library code in with the MET
executables
> (which
> > is
> > called static linking), it looks for them at runtime.  And it's
looking
> > for those "shared object" (.so) library files.
> >
> > This should be easy to fix. We just need to tell it where to find
them,
> > and we do that by setting (or adding to the LD_LIBRARY_PATH).
Look in
> your
> > ~/.bashrc file.  If LD_LIBRARY_PATH is already defined in there,
add the
> > path to the libgsl.so.19 to the end of it.  If not, add an
> > LD_LIBRARY_PATH entry in your ~/.bashrc file.  So, for example, if
the
> path
> > to your libgsl.so.19 file is /D2/xinxia/METplus/MET/externa
> l_libs/GSL/gsl-1.16/lib
> > you would add teh following to your ~/.bashrc file:
> >
> >   export LD_LIBRARY_PATH=/D2/xinxia/METplus/MET/external_libs/GSL/
> > gsl-1.16/lib
> >
> > Then save the change and source that file:
> >
> >   source ~/.bashrc
> >
> > Then, please try rerunning the command manually and let me know if
it
> > works.
> >
> > I believe that this was the cause of the initial error you
received from
> > MET+:
> >
> > ERROR| /D2/xinxia/METplus/METplus/ush/run_tc_stat.py:tc_stat from
> calling
> > MET TC-STAT with command:/D2/xinxia/METplus/MET/met-
5.2/bin/tc_stat -job
> > filter -lookin /D2/xinxia/METplus/MET/input/tc_pairs/201412
-init_inc
> > 20141201_00 -match_points true -dump_row
/D2/xinxia/METplus/MET/out/ext
> > ract_tiles/20141201_00/filter_20141201_00.tcst  -basin ML
-out_init_mask
> > /D2/xinxia/METplus/MET/met-5.2/share/met/poly/CONUS.poly
> >
> >
> > Thanks,
> > Julie
> >
> > On Thu, Feb 23, 2017 at 10:14 AM, Xinxia Song via RT
<met_help at ucar.edu>
> > wrote:
> >
> >>
> >> <URL: https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=79605 >
> >>
> >> Hi Julie,
> >>
> >>
> >> [xinxia at chaos ush]$ /D2/xinxia/METplus/MET/met-5.2/bin/tc_stat
-job
> >> filter -lookin /D2/xinxia/METplus/MET/input/tc_pairs/201412
-init_inc
> >> 20141201_00 -match_points true -dump_row
/D2/xinxia/METplus/MET/out/ext
> ract_tiles/20141201_00/
> >> filter_20141201_00.tcst  -basin ML -out_init_mask
> >> /D2/xinxia/METplus/MET/met-5.2/share/met/poly/CONUS.poly
> >>
> >> /D2/xinxia/METplus/MET/met-5.2/bin/tc_stat: error while loading
shared
> >> libraries: libgsl.so.19: cannot open shared object file: No such
file or
> >> directory
> >>
> >>
> >> And I uploaded the configuration file (constants_pdef.py) under
> >> xinxia_data directory.
> >>
> >>
> >> Thanks,
> >>
> >>
> >> Xinxia
> >>
> >> ________________________________
> >> From: Julie Prestopnik via RT <met_help at ucar.edu>
> >> Sent: Friday, February 24, 2017 6:15:57 AM
> >> To: Xinxia_Song at outlook.com
> >> Subject: Re: [rt.rap.ucar.edu #79605] ImportError: No module
named
> >> constants_pdef
> >>
> >> Hi Xinxia.
> >>
> >> I can see that your command, which should have been all on one
line, was
> >> broken up into several lines.  Please try running the command
again,
> >> making
> >> sure that the entire command is on one line:
> >>
> >> /D2/xinxia/METplus/MET/met-5.2/bin/tc_stat -job filter -lookin
> >> /D2/xinxia/METplus/MET/input/tc_pairs/201412 -init_inc
20141201_00
> >> -match_points true -dump_row
> >> /D2/xinxia/METplus/MET/out/extract_tiles/20141201_00/
> >> filter_20141201_00.tcst  -basin ML -out_init_mask
> >> /D2/xinxia/METplus/MET/met-5.2/share/met/poly/CONUS.poly
> >>
> >> Then, please send the output from that command.
> >>
> >> Regarding, your error:
> >>
> >> sh: run_tc_pairs.py: command not found
> >>
> >> It's strange that would only have occurred after having changed
the
> >> LOG_LEVEL.  Could you please send us your configuration file?
> >>
> >> Thanks!
> >>
> >> Julie
> >>
> >> On Wed, Feb 22, 2017 at 2:54 PM, Xinxia Song via RT
<met_help at ucar.edu>
> >> wrote:
> >>
> >> >
> >> > <URL: https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=79605 >
> >> >
> >> > Hi Julie,
> >> >
> >> >
> >> > [xinxia at chaos ush]$ /D2/xinxia/METplus/MET/met-5.2/bin/tc_stat
-job
> >> > filter -lookin
> >> >
> >> > /D2/xinxia/METplus/MET/met-5.2/bin/tc_stat: error while loading
> shared
> >> > libraries: libgsl.so.19: cannot open shared object file: No
such file
> or
> >> > directory
> >> >
> >> >
> >> > [xinxia at chaos ush]$
/D2/xinxia/METplus/MET/input/tc_pairs/201412
> >> > -init_inc 20141201_00 -match_points true -dump_row
> >> >
> >> > -bash: /D2/xinxia/METplus/MET/input/tc_pairs/201412: is a
directory
> >> >
> >> >
> >> > [xinxia at chaos ush]$ /D2/xinxia/METplus/MET/out/ext
> >> ract_tiles/20141201_00/
> >> > filter_20141201_00.tcst  -basin ML -out_init_mask
> >> > /D2/xinxia/METplus/MET/met-5.2/share/met/poly/CONUS.poly
> >> >
> >> > -bash: /D2/xinxia/METplus/MET/out/extract_tiles/20141201_00/:
No such
> >> > file or directory
> >> >
> >> >
> >> > After I change the LOG_LEVEL, I ran the master_met_plus.py, it
says:
> >> >
> >> > [xinxia at chaos ush]$ python master_met_plus.py
> >> >
> >> > sh: run_tc_pairs.py: command not found
> >> >
> >> >
> >> >
> >> > Thanks,
> >> >
> >> >
> >> > Xinxia
> >> >
> >> >
> >> > ________________________________
> >> > From: Julie Prestopnik via RT <met_help at ucar.edu>
> >> > Sent: Thursday, February 23, 2017 10:04:55 AM
> >> > To: Xinxia_Song at outlook.com
> >> > Subject: Re: [rt.rap.ucar.edu #79605] ImportError: No module
named
> >> > constants_pdef
> >> >
> >> > Thank you.  Unfortunately, the level of detail in the log file
wasn't
> >> what
> >> > I hoped for.  I'd like to have you try two things.
> >> >
> >> > First, could you please send me your output of your manual run
of the
> >> > following?
> >> >
> >> > "/D2/xinxia/METplus/MET/met-5.2/bin/tc_stat -job filter -lookin
> >> > /D2/xinxia/METplus/MET/input/tc_pairs/201412 -init_inc
20141201_00
> >> > -match_points true -dump_row /D2/xinxia/METplus/MET/out/
> >> > extract_tiles/20141201_00/ filter_20141201_00.tcst  -basin ML
> >> > -out_init_mask
> >> > /D2/xinxia/METplus/MET/met-5.2/share/met/poly/CONUS.poly"
> >> >
> >> > Second, could you please change your log level in your
configuration
> >> file
> >> > from
> >> >
> >> > LOG_LEVEL = "INFO"
> >> >
> >> > to
> >> >
> >> > LOG_LEVEL = "DEBUG"
> >> >
> >> > then rerun and upload your log file to our ftp server again?
> >> >
> >> > Thank you!
> >> >
> >> > Julie
> >> >
> >> >
> >> > On Wed, Feb 22, 2017 at 12:39 PM, Xinxia Song via RT <
> met_help at ucar.edu
> >> >
> >> > wrote:
> >> >
> >> > >
> >> > > <URL: https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=79605
>
> >> > >
> >> > > Hi Julie,
> >> > >
> >> > >
> >> > > I uploaded the log file under xinxia_data directory.
> >> > >
> >> > >
> >> > > Thanks,
> >> > >
> >> > >
> >> > > Xinxia
> >> > >
> >> > >
> >> > > ________________________________
> >> > > From: Julie Prestopnik via RT <met_help at ucar.edu>
> >> > > Sent: Thursday, February 23, 2017 9:11:32 AM
> >> > > To: Xinxia_Song at outlook.com
> >> > > Subject: Re: [rt.rap.ucar.edu #79605] ImportError: No module
named
> >> > > constants_pdef
> >> > >
> >> > > Hi Xinxia.
> >> > >
> >> > > I think it would be helpful if I could take a look at the log
file.
> >> > Could
> >> > > you please upload your file to our anonymous ftp site as
follows so
> >> that
> >> > I
> >> > > can take a look?
> >> > >
> >> > >    http://www.dtcenter.org/met/users/support/met_help.php#ftp
> >> > >
> >> > > Also, could you please try running the following manually and
send
> the
> >> > > output to me?
> >> > >
> >> > > "/D2/xinxia/METplus/MET/met-5.2/bin/tc_stat -job filter
-lookin
> >> > > /D2/xinxia/METplus/MET/input/tc_pairs/201412 -init_inc
20141201_00
> >> > > -match_points true -dump_row /D2/xinxia/METplus/MET/out/
> >> > > extract_tiles/20141201_00/filter_20141201_00.tcst  -basin ML
> >> > > -out_init_mask
> >> > > /D2/xinxia/METplus/MET/met-5.2/share/met/poly/CONUS.poly"
> >> > >
> >> > > Thank you!
> >> > >
> >> > > Julie
> >> > >
> >> > >
> >> > >
> >> > > On Wed, Feb 22, 2017 at 12:06 PM, Xinxia Song via RT <
> >> met_help at ucar.edu>
> >> > > wrote:
> >> > >
> >> > > >
> >> > > > <URL:
https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=79605 >
> >> > > >
> >> > > > Hi Julie,
> >> > > >
> >> > > >
> >> > > > Now I can run the program, but when I look at the log file
in the
> >> > output,
> >> > > > it shows error below:
> >> > > >
> >> > > >
> >> > > > ERROR|
/D2/xinxia/METplus/METplus/ush/run_tc_stat.py:tc_stat from
> >> > > calling
> >> > > > MET TC-STAT with command:/D2/xinxia/METplus/MET
> /met-5.2/bin/tc_stat
> >> > -job
> >> > > > filter -lookin /D2/xinxia/METplus/MET/input/tc_pairs/201412
> >> -init_inc
> >> > > > 20141201_00 -match_points true -dump_row
> /D2/xinxia/METplus/MET/out/
> >> > > > extract_tiles/20141201_00/filter_20141201_00.tcst  -basin
ML
> >> > > > -out_init_mask /D2/xinxia/METplus/MET/met-5.
> >> > 2/share/met/poly/CONUS.poly
> >> > > >
> >> > > >
> >> > > > How should I fix it?
> >> > > >
> >> > > >
> >> > > > Thanks,
> >> > > >
> >> > > >
> >> > > > Xinxia
> >> > > >
> >> > > > ________________________________
> >> > > > From: Julie Prestopnik via RT <met_help at ucar.edu>
> >> > > > Sent: Thursday, February 23, 2017 7:30:06 AM
> >> > > > To: Xinxia_Song at outlook.com
> >> > > > Subject: Re: [rt.rap.ucar.edu #79605] ImportError: No
module
> named
> >> > > > constants_pdef
> >> > > >
> >> > > > Hi Xinxia.
> >> > > >
> >> > > > I believe that python doesn't know how to find the module
because
> >> the
> >> > ush
> >> > > > directory is not in your PYTHONPATH.  Both the parm and ush
> >> directory
> >> > > need
> >> > > > to be specified in your PYTHONPATH.  Please add the ush
directory
> to
> >> > your
> >> > > > PYTHONPATH, source ~/.bashrc, and let us know how it goes.
> >> > > >
> >> > > > Thanks,
> >> > > > Julie
> >> > > >
> >> > > > On Wed, Feb 22, 2017 at 10:24 AM, Xinxia Song via RT <
> >> > met_help at ucar.edu>
> >> > > > wrote:
> >> > > >
> >> > > > >
> >> > > > > <URL:
https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=79605 >
> >> > > > >
> >> > > > > Hi Julie,
> >> > > > >
> >> > > > >
> >> > > > > Since I don't have setenv, I added these 3 sentence into
my
> >> .bashrc
> >> > > file:
> >> > > > >
> >> > > > >
> >> > > > > export PYTHONPATH="/D2/xinxia/METplus/METplus/parm"
> >> > > > >
> >> > > > >
> >> > > > > export USHROOT=/D2/xinxia/METplus/METplus/ush
> >> > > > >
> >> > > > > export PATH=$USHROOT:$PATH
> >> > > > >
> >> > > > >
> >> > > > > I sourced the ~/.bashrc, and checked that the variables
are set,
> >> but
> >> > > the
> >> > > > > program still can't find the module.
> >> > > > >
> >> > > > >
> >> > > > > Thanks,
> >> > > > >
> >> > > > > Xinxia
> >> > > > >
> >> > > > > ________________________________
> >> > > > > From: Julie Prestopnik via RT <met_help at ucar.edu>
> >> > > > > Sent: Thursday, February 23, 2017 6:24:21 AM
> >> > > > > To: Xinxia_Song at outlook.com
> >> > > > > Subject: Re: [rt.rap.ucar.edu #79605] ImportError: No
module
> >> named
> >> > > > > constants_pdef
> >> > > > >
> >> > > > > Hi Xinxia.
> >> > > > >
> >> > > > > Could you please check to make sure that the ush
directory with
> >> > > > > constants_pdef.py is in your PYTHONPATH in your .cshrc
file (or
> >> > .bashrc
> >> > > > or
> >> > > > > similar file)?  The parm directory should also be in your
> >> PYTHONPATH.
> >> > > > >
> >> > > > > For example,
> >> > > > >
> >> > > > > setenv PYTHONPATH /d1/jpresto/sbu/METplus/ush:/
> >> > > > d1/jpresto/sbu/METplus/parm
> >> > > > >
> >> > > > > Please also check make sure that the path to the ush
directory
> is
> >> > also
> >> > > > > specified your your path environment variable.  For
example,
> >> > > > >
> >> > > > > set path = (/usr/local/bin \
> >> > > > >                  /usr/local/python/bin/python \
> >> > > > >                  /d1/jpresto/sbu/METplus/ush )
> >> > > > >
> >> > > > > If they are not there, please add them and then source
the file
> >> (e.g.
> >> > > run
> >> > > > > "source ~/.cshrc").
> >> > > > >
> >> > > > > Thank you!  Please let us know how it goes.
> >> > > > >
> >> > > > > Julie
> >> > > > >
> >> > > > >
> >> > > > >
> >> > > > >
> >> > > > > On Tue, Feb 21, 2017 at 4:49 PM, Xinxia Song via RT <
> >> > met_help at ucar.edu
> >> > > >
> >> > > > > wrote:
> >> > > > >
> >> > > > > >
> >> > > > > > Tue Feb 21 16:49:28 2017: Request 79605 was acted upon.
> >> > > > > > Transaction: Ticket created by Xinxia_Song at outlook.com
> >> > > > > >        Queue: met_help
> >> > > > > >      Subject: ImportError: No module named
constants_pdef
> >> > > > > >        Owner: Nobody
> >> > > > > >   Requestors: Xinxia_Song at outlook.com
> >> > > > > >       Status: new
> >> > > > > >  Ticket <URL: https://rt.rap.ucar.edu/rt/
> >> > > Ticket/Display.html?id=79605
> >> > > > >
> >> > > > > >
> >> > > > > >
> >> > > > > > Hi,
> >> > > > > >
> >> > > > > >
> >> > > > > > When I ran the mater_met_plus.py, it says:
> >> > > > > >
> >> > > > > >
> >> > > > > > ImportError: No module named constants_pdef
> >> > > > > >
> >> > > > > >
> >> > > > > > Seems it doesn't recognize constants_pdef as its
module.
> >> > > > > >
> >> > > > > >
> >> > > > > > Thanks,
> >> > > > > >
> >> > > > > > Xinxia
> >> > > > > >
> >> > > > > >
> >> > > > >
> >> > > > >
> >> > > > >
> >> > > >
> >> > > >
> >> > > >
> >> > >
> >> > >
> >> > >
> >> >
> >> >
> >> >
> >>
> >>
> >>
> >
>
>
>

------------------------------------------------
Subject: ImportError: No module named constants_pdef
From: Xinxia Song
Time: Thu Feb 23 11:44:57 2017

Hi Julie,


I removed the space.

[xinxia at chaos parm]$ /D2/xinxia/METplus/MET/met-5.2/bin/tc_stat -job
filter -lookin /D2/xinxia/METplus/MET/input/tc_pairs/201412 -init_inc
20141201_00 -match_points true -dump_row
/D2/xinxia/METplus/MET/out/extract_tiles/20141201_00/filter_20141201_00.tcst
-basin ML -out_init_mask /D2/xinxia/METplus/MET/met-
5.2/share/met/poly/CONUS.poly

DEBUG 1: [Source 1] Lookin:
/D2/xinxia/METplus/MET/input/tc_pairs/201412

DEBUG 2:

DEBUG 2: Processing Job 1: -job filter -basin ML -init_inc
20141201_000000 -match_points true -out_init_mask
/D2/xinxia/METplus/MET/met-5.2/share/met/poly/CONUS.poly -dump_row
/D2/xinxia/METplus/MET/out/extract_tiles/20141201_00/filter_20141201_00.tcst

DEBUG 1: Creating output dump file:
/D2/xinxia/METplus/MET/out/extract_tiles/20141201_00/filter_20141201_00.tcst

FILTER: -job filter -basin ML -init_inc 20141201_000000 -match_points
true -out_init_mask /D2/xinxia/METplus/MET/met-
5.2/share/met/poly/CONUS.poly -dump_row
/D2/xinxia/METplus/MET/out/extract_tiles/20141201_00/filter_20141201_00.tcst


DEBUG 2: Job 1 used 0 out of 27292 lines read.


Because I don't have the right, I can't find run_tc_pairs.py, but I
know it's under

/D2/xinxia/METplus/METplus/ush


For Python,

[xinxia at chaos ~]$ which python

/usr/bin/python


Xinxia

________________________________
From: Julie Prestopnik via RT <met_help at ucar.edu>
Sent: Friday, February 24, 2017 8:30:01 AM
To: Xinxia_Song at outlook.com
Subject: Re: [rt.rap.ucar.edu #79605] ImportError: No module named
constants_pdef

Hi Xinxia.

It looks like there is a space where there should not be a space
(between
/D2/xinxia/METplus/MET/out/extract_tiles/20141201_00/ and
filter_20141201_00.tcst after the -dump_row option).

Could you please try it again without the space?

/D2/xinxia/METplus/METplus/ush/run_tc_stat.py:tc_stat from calling MET
TC-STAT with command:/D2/xinxia/METplus/MET/met-5.2/bin/tc_stat -job
filter
-lookin /D2/xinxia/METplus/MET/input/tc_pairs/201412 -init_inc
20141201_00
-match_points true -dump_row /D2/xinxia/METplus/MET/out/
extract_tiles/20141201_00/filter_20141201_00.tcst  -basin ML
-out_init_mask
/D2/xinxia/METplus/MET/met-5.2/share/met/poly/CONUS.poly

Regarding the master_met_plus.py run, please try running the following
two
commands and send me the output:

which run_tc_pairs.py

which python

Thanks!

Julie

On Thu, Feb 23, 2017 at 11:06 AM, Xinxia Song via RT
<met_help at ucar.edu>
wrote:

>
> <URL: https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=79605 >
>
> Hi Julie,
>
>
> After I ran the long one line command:
>
> [xinxia at chaos parm]$ /D2/xinxia/METplus/MET/met-5.2/bin/tc_stat -job
> filter -lookin /D2/xinxia/METplus/MET/input/tc_pairs/201412
-init_inc
> 20141201_00 -match_points true -dump_row
/D2/xinxia/METplus/MET/out/extract_tiles/20141201_00/
> filter_20141201_00.tcst  -basin ML -out_init_mask
> /D2/xinxia/METplus/MET/met-5.2/share/met/poly/CONUS.poly
>
>
> DEBUG 1: [Source 1] Lookin:
/D2/xinxia/METplus/MET/input/tc_pairs/201412
>
> ERROR  :
>
> ERROR  : TCStatJob *TCStatJobFactory::new_tc_stat_job(const char
> *jobstring) -> unsupported job command options
"filter_20141201_00.tcst".
>
> ERROR  :
>
>
> And for the master_met_plus.py, I got the error:
>
> [xinxia at chaos ush]$ python master_met_plus.py
>
> sh: run_tc_pairs.py: command not found
>
>
> Thanks,
>
>
> Xinxia
>
> ________________________________
> From: Julie Prestopnik via RT <met_help at ucar.edu>
> Sent: Friday, February 24, 2017 7:42:21 AM
> To: Xinxia_Song at outlook.com
> Subject: Re: [rt.rap.ucar.edu #79605] ImportError: No module named
> constants_pdef
>
> My apologies, my response should have said, "By default, MET version
5.2 is
> compiled using dynamic linking."  It's true for both, but I see
you're
> using 5.2 and I inadvertently referred to 5.1.
>
> On Thu, Feb 23, 2017 at 10:40 AM, Julie Prestopnik
<jpresto at ucar.edu>
> wrote:
>
> > Hi Xinxia.  Regarding the error:
> >
> > /D2/xinxia/METplus/MET/met-5.2/bin/tc_stat: error while loading
shared
> > libraries: libgsl.so.19: cannot open shared object file: No such
file or
> > directory
> >
> > By default, MET version 5.1 is compiled using dynamic linking.
Rather
> > than compiling the external library code in with the MET
executables
> (which
> > is
> > called static linking), it looks for them at runtime.  And it's
looking
> > for those "shared object" (.so) library files.
> >
> > This should be easy to fix. We just need to tell it where to find
them,
> > and we do that by setting (or adding to the LD_LIBRARY_PATH).
Look in
> your
> > ~/.bashrc file.  If LD_LIBRARY_PATH is already defined in there,
add the
> > path to the libgsl.so.19 to the end of it.  If not, add an
> > LD_LIBRARY_PATH entry in your ~/.bashrc file.  So, for example, if
the
> path
> > to your libgsl.so.19 file is /D2/xinxia/METplus/MET/externa
> l_libs/GSL/gsl-1.16/lib
> > you would add teh following to your ~/.bashrc file:
> >
> >   export LD_LIBRARY_PATH=/D2/xinxia/METplus/MET/external_libs/GSL/
> > gsl-1.16/lib
> >
> > Then save the change and source that file:
> >
> >   source ~/.bashrc
> >
> > Then, please try rerunning the command manually and let me know if
it
> > works.
> >
> > I believe that this was the cause of the initial error you
received from
> > MET+:
> >
> > ERROR| /D2/xinxia/METplus/METplus/ush/run_tc_stat.py:tc_stat from
> calling
> > MET TC-STAT with command:/D2/xinxia/METplus/MET/met-
5.2/bin/tc_stat -job
> > filter -lookin /D2/xinxia/METplus/MET/input/tc_pairs/201412
-init_inc
> > 20141201_00 -match_points true -dump_row
/D2/xinxia/METplus/MET/out/ext
> > ract_tiles/20141201_00/filter_20141201_00.tcst  -basin ML
-out_init_mask
> > /D2/xinxia/METplus/MET/met-5.2/share/met/poly/CONUS.poly
> >
> >
> > Thanks,
> > Julie
> >
> > On Thu, Feb 23, 2017 at 10:14 AM, Xinxia Song via RT
<met_help at ucar.edu>
> > wrote:
> >
> >>
> >> <URL: https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=79605 >
> >>
> >> Hi Julie,
> >>
> >>
> >> [xinxia at chaos ush]$ /D2/xinxia/METplus/MET/met-5.2/bin/tc_stat
-job
> >> filter -lookin /D2/xinxia/METplus/MET/input/tc_pairs/201412
-init_inc
> >> 20141201_00 -match_points true -dump_row
/D2/xinxia/METplus/MET/out/ext
> ract_tiles/20141201_00/
> >> filter_20141201_00.tcst  -basin ML -out_init_mask
> >> /D2/xinxia/METplus/MET/met-5.2/share/met/poly/CONUS.poly
> >>
> >> /D2/xinxia/METplus/MET/met-5.2/bin/tc_stat: error while loading
shared
> >> libraries: libgsl.so.19: cannot open shared object file: No such
file or
> >> directory
> >>
> >>
> >> And I uploaded the configuration file (constants_pdef.py) under
> >> xinxia_data directory.
> >>
> >>
> >> Thanks,
> >>
> >>
> >> Xinxia
> >>
> >> ________________________________
> >> From: Julie Prestopnik via RT <met_help at ucar.edu>
> >> Sent: Friday, February 24, 2017 6:15:57 AM
> >> To: Xinxia_Song at outlook.com
> >> Subject: Re: [rt.rap.ucar.edu #79605] ImportError: No module
named
> >> constants_pdef
> >>
> >> Hi Xinxia.
> >>
> >> I can see that your command, which should have been all on one
line, was
> >> broken up into several lines.  Please try running the command
again,
> >> making
> >> sure that the entire command is on one line:
> >>
> >> /D2/xinxia/METplus/MET/met-5.2/bin/tc_stat -job filter -lookin
> >> /D2/xinxia/METplus/MET/input/tc_pairs/201412 -init_inc
20141201_00
> >> -match_points true -dump_row
> >> /D2/xinxia/METplus/MET/out/extract_tiles/20141201_00/
> >> filter_20141201_00.tcst  -basin ML -out_init_mask
> >> /D2/xinxia/METplus/MET/met-5.2/share/met/poly/CONUS.poly
> >>
> >> Then, please send the output from that command.
> >>
> >> Regarding, your error:
> >>
> >> sh: run_tc_pairs.py: command not found
> >>
> >> It's strange that would only have occurred after having changed
the
> >> LOG_LEVEL.  Could you please send us your configuration file?
> >>
> >> Thanks!
> >>
> >> Julie
> >>
> >> On Wed, Feb 22, 2017 at 2:54 PM, Xinxia Song via RT
<met_help at ucar.edu>
> >> wrote:
> >>
> >> >
> >> > <URL: https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=79605 >
> >> >
> >> > Hi Julie,
> >> >
> >> >
> >> > [xinxia at chaos ush]$ /D2/xinxia/METplus/MET/met-5.2/bin/tc_stat
-job
> >> > filter -lookin
> >> >
> >> > /D2/xinxia/METplus/MET/met-5.2/bin/tc_stat: error while loading
> shared
> >> > libraries: libgsl.so.19: cannot open shared object file: No
such file
> or
> >> > directory
> >> >
> >> >
> >> > [xinxia at chaos ush]$
/D2/xinxia/METplus/MET/input/tc_pairs/201412
> >> > -init_inc 20141201_00 -match_points true -dump_row
> >> >
> >> > -bash: /D2/xinxia/METplus/MET/input/tc_pairs/201412: is a
directory
> >> >
> >> >
> >> > [xinxia at chaos ush]$ /D2/xinxia/METplus/MET/out/ext
> >> ract_tiles/20141201_00/
> >> > filter_20141201_00.tcst  -basin ML -out_init_mask
> >> > /D2/xinxia/METplus/MET/met-5.2/share/met/poly/CONUS.poly
> >> >
> >> > -bash: /D2/xinxia/METplus/MET/out/extract_tiles/20141201_00/:
No such
> >> > file or directory
> >> >
> >> >
> >> > After I change the LOG_LEVEL, I ran the master_met_plus.py, it
says:
> >> >
> >> > [xinxia at chaos ush]$ python master_met_plus.py
> >> >
> >> > sh: run_tc_pairs.py: command not found
> >> >
> >> >
> >> >
> >> > Thanks,
> >> >
> >> >
> >> > Xinxia
> >> >
> >> >
> >> > ________________________________
> >> > From: Julie Prestopnik via RT <met_help at ucar.edu>
> >> > Sent: Thursday, February 23, 2017 10:04:55 AM
> >> > To: Xinxia_Song at outlook.com
> >> > Subject: Re: [rt.rap.ucar.edu #79605] ImportError: No module
named
> >> > constants_pdef
> >> >
> >> > Thank you.  Unfortunately, the level of detail in the log file
wasn't
> >> what
> >> > I hoped for.  I'd like to have you try two things.
> >> >
> >> > First, could you please send me your output of your manual run
of the
> >> > following?
> >> >
> >> > "/D2/xinxia/METplus/MET/met-5.2/bin/tc_stat -job filter -lookin
> >> > /D2/xinxia/METplus/MET/input/tc_pairs/201412 -init_inc
20141201_00
> >> > -match_points true -dump_row /D2/xinxia/METplus/MET/out/
> >> > extract_tiles/20141201_00/ filter_20141201_00.tcst  -basin ML
> >> > -out_init_mask
> >> > /D2/xinxia/METplus/MET/met-5.2/share/met/poly/CONUS.poly"
> >> >
> >> > Second, could you please change your log level in your
configuration
> >> file
> >> > from
> >> >
> >> > LOG_LEVEL = "INFO"
> >> >
> >> > to
> >> >
> >> > LOG_LEVEL = "DEBUG"
> >> >
> >> > then rerun and upload your log file to our ftp server again?
> >> >
> >> > Thank you!
> >> >
> >> > Julie
> >> >
> >> >
> >> > On Wed, Feb 22, 2017 at 12:39 PM, Xinxia Song via RT <
> met_help at ucar.edu
> >> >
> >> > wrote:
> >> >
> >> > >
> >> > > <URL: https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=79605
>
> >> > >
> >> > > Hi Julie,
> >> > >
> >> > >
> >> > > I uploaded the log file under xinxia_data directory.
> >> > >
> >> > >
> >> > > Thanks,
> >> > >
> >> > >
> >> > > Xinxia
> >> > >
> >> > >
> >> > > ________________________________
> >> > > From: Julie Prestopnik via RT <met_help at ucar.edu>
> >> > > Sent: Thursday, February 23, 2017 9:11:32 AM
> >> > > To: Xinxia_Song at outlook.com
> >> > > Subject: Re: [rt.rap.ucar.edu #79605] ImportError: No module
named
> >> > > constants_pdef
> >> > >
> >> > > Hi Xinxia.
> >> > >
> >> > > I think it would be helpful if I could take a look at the log
file.
> >> > Could
> >> > > you please upload your file to our anonymous ftp site as
follows so
> >> that
> >> > I
> >> > > can take a look?
> >> > >
> >> > >    http://www.dtcenter.org/met/users/support/met_help.php#ftp
> >> > >
> >> > > Also, could you please try running the following manually and
send
> the
> >> > > output to me?
> >> > >
> >> > > "/D2/xinxia/METplus/MET/met-5.2/bin/tc_stat -job filter
-lookin
> >> > > /D2/xinxia/METplus/MET/input/tc_pairs/201412 -init_inc
20141201_00
> >> > > -match_points true -dump_row /D2/xinxia/METplus/MET/out/
> >> > > extract_tiles/20141201_00/filter_20141201_00.tcst  -basin ML
> >> > > -out_init_mask
> >> > > /D2/xinxia/METplus/MET/met-5.2/share/met/poly/CONUS.poly"
> >> > >
> >> > > Thank you!
> >> > >
> >> > > Julie
> >> > >
> >> > >
> >> > >
> >> > > On Wed, Feb 22, 2017 at 12:06 PM, Xinxia Song via RT <
> >> met_help at ucar.edu>
> >> > > wrote:
> >> > >
> >> > > >
> >> > > > <URL:
https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=79605 >
> >> > > >
> >> > > > Hi Julie,
> >> > > >
> >> > > >
> >> > > > Now I can run the program, but when I look at the log file
in the
> >> > output,
> >> > > > it shows error below:
> >> > > >
> >> > > >
> >> > > > ERROR|
/D2/xinxia/METplus/METplus/ush/run_tc_stat.py:tc_stat from
> >> > > calling
> >> > > > MET TC-STAT with command:/D2/xinxia/METplus/MET
> /met-5.2/bin/tc_stat
> >> > -job
> >> > > > filter -lookin /D2/xinxia/METplus/MET/input/tc_pairs/201412
> >> -init_inc
> >> > > > 20141201_00 -match_points true -dump_row
> /D2/xinxia/METplus/MET/out/
> >> > > > extract_tiles/20141201_00/filter_20141201_00.tcst  -basin
ML
> >> > > > -out_init_mask /D2/xinxia/METplus/MET/met-5.
> >> > 2/share/met/poly/CONUS.poly
> >> > > >
> >> > > >
> >> > > > How should I fix it?
> >> > > >
> >> > > >
> >> > > > Thanks,
> >> > > >
> >> > > >
> >> > > > Xinxia
> >> > > >
> >> > > > ________________________________
> >> > > > From: Julie Prestopnik via RT <met_help at ucar.edu>
> >> > > > Sent: Thursday, February 23, 2017 7:30:06 AM
> >> > > > To: Xinxia_Song at outlook.com
> >> > > > Subject: Re: [rt.rap.ucar.edu #79605] ImportError: No
module
> named
> >> > > > constants_pdef
> >> > > >
> >> > > > Hi Xinxia.
> >> > > >
> >> > > > I believe that python doesn't know how to find the module
because
> >> the
> >> > ush
> >> > > > directory is not in your PYTHONPATH.  Both the parm and ush
> >> directory
> >> > > need
> >> > > > to be specified in your PYTHONPATH.  Please add the ush
directory
> to
> >> > your
> >> > > > PYTHONPATH, source ~/.bashrc, and let us know how it goes.
> >> > > >
> >> > > > Thanks,
> >> > > > Julie
> >> > > >
> >> > > > On Wed, Feb 22, 2017 at 10:24 AM, Xinxia Song via RT <
> >> > met_help at ucar.edu>
> >> > > > wrote:
> >> > > >
> >> > > > >
> >> > > > > <URL:
https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=79605 >
> >> > > > >
> >> > > > > Hi Julie,
> >> > > > >
> >> > > > >
> >> > > > > Since I don't have setenv, I added these 3 sentence into
my
> >> .bashrc
> >> > > file:
> >> > > > >
> >> > > > >
> >> > > > > export PYTHONPATH="/D2/xinxia/METplus/METplus/parm"
> >> > > > >
> >> > > > >
> >> > > > > export USHROOT=/D2/xinxia/METplus/METplus/ush
> >> > > > >
> >> > > > > export PATH=$USHROOT:$PATH
> >> > > > >
> >> > > > >
> >> > > > > I sourced the ~/.bashrc, and checked that the variables
are set,
> >> but
> >> > > the
> >> > > > > program still can't find the module.
> >> > > > >
> >> > > > >
> >> > > > > Thanks,
> >> > > > >
> >> > > > > Xinxia
> >> > > > >
> >> > > > > ________________________________
> >> > > > > From: Julie Prestopnik via RT <met_help at ucar.edu>
> >> > > > > Sent: Thursday, February 23, 2017 6:24:21 AM
> >> > > > > To: Xinxia_Song at outlook.com
> >> > > > > Subject: Re: [rt.rap.ucar.edu #79605] ImportError: No
module
> >> named
> >> > > > > constants_pdef
> >> > > > >
> >> > > > > Hi Xinxia.
> >> > > > >
> >> > > > > Could you please check to make sure that the ush
directory with
> >> > > > > constants_pdef.py is in your PYTHONPATH in your .cshrc
file (or
> >> > .bashrc
> >> > > > or
> >> > > > > similar file)?  The parm directory should also be in your
> >> PYTHONPATH.
> >> > > > >
> >> > > > > For example,
> >> > > > >
> >> > > > > setenv PYTHONPATH /d1/jpresto/sbu/METplus/ush:/
> >> > > > d1/jpresto/sbu/METplus/parm
> >> > > > >
> >> > > > > Please also check make sure that the path to the ush
directory
> is
> >> > also
> >> > > > > specified your your path environment variable.  For
example,
> >> > > > >
> >> > > > > set path = (/usr/local/bin \
> >> > > > >                  /usr/local/python/bin/python \
> >> > > > >                  /d1/jpresto/sbu/METplus/ush )
> >> > > > >
> >> > > > > If they are not there, please add them and then source
the file
> >> (e.g.
> >> > > run
> >> > > > > "source ~/.cshrc").
> >> > > > >
> >> > > > > Thank you!  Please let us know how it goes.
> >> > > > >
> >> > > > > Julie
> >> > > > >
> >> > > > >
> >> > > > >
> >> > > > >
> >> > > > > On Tue, Feb 21, 2017 at 4:49 PM, Xinxia Song via RT <
> >> > met_help at ucar.edu
> >> > > >
> >> > > > > wrote:
> >> > > > >
> >> > > > > >
> >> > > > > > Tue Feb 21 16:49:28 2017: Request 79605 was acted upon.
> >> > > > > > Transaction: Ticket created by Xinxia_Song at outlook.com
> >> > > > > >        Queue: met_help
> >> > > > > >      Subject: ImportError: No module named
constants_pdef
> >> > > > > >        Owner: Nobody
> >> > > > > >   Requestors: Xinxia_Song at outlook.com
> >> > > > > >       Status: new
> >> > > > > >  Ticket <URL: https://rt.rap.ucar.edu/rt/
> >> > > Ticket/Display.html?id=79605
> >> > > > >
> >> > > > > >
> >> > > > > >
> >> > > > > > Hi,
> >> > > > > >
> >> > > > > >
> >> > > > > > When I ran the mater_met_plus.py, it says:
> >> > > > > >
> >> > > > > >
> >> > > > > > ImportError: No module named constants_pdef
> >> > > > > >
> >> > > > > >
> >> > > > > > Seems it doesn't recognize constants_pdef as its
module.
> >> > > > > >
> >> > > > > >
> >> > > > > > Thanks,
> >> > > > > >
> >> > > > > > Xinxia
> >> > > > > >
> >> > > > > >
> >> > > > >
> >> > > > >
> >> > > > >
> >> > > >
> >> > > >
> >> > > >
> >> > >
> >> > >
> >> > >
> >> >
> >> >
> >> >
> >>
> >>
> >>
> >
>
>
>


------------------------------------------------
Subject: ImportError: No module named constants_pdef
From: Julie Prestopnik
Time: Thu Feb 23 11:52:16 2017

Hi Xinxia.

It looks like you got a successful run of tc_stat - that's great news!

I'm not sure what you mean by "Because I don't have the right, I can't
find
run_tc_pairs.py, but I know it's under

/D2/xinxia/METplus/METplus/ush".

Can you please explain?  What happened when you ran "which
run_tc_pairs.py"?

Thanks,
Julie






On Thu, Feb 23, 2017 at 11:44 AM, Xinxia Song via RT
<met_help at ucar.edu>
wrote:

>
> <URL: https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=79605 >
>
> Hi Julie,
>
>
> I removed the space.
>
> [xinxia at chaos parm]$ /D2/xinxia/METplus/MET/met-5.2/bin/tc_stat -job
> filter -lookin /D2/xinxia/METplus/MET/input/tc_pairs/201412
-init_inc
> 20141201_00 -match_points true -dump_row /D2/xinxia/METplus/MET/out/
> extract_tiles/20141201_00/filter_20141201_00.tcst  -basin ML
> -out_init_mask /D2/xinxia/METplus/MET/met-
5.2/share/met/poly/CONUS.poly
>
> DEBUG 1: [Source 1] Lookin:
/D2/xinxia/METplus/MET/input/tc_pairs/201412
>
> DEBUG 2:
>
> DEBUG 2: Processing Job 1: -job filter -basin ML -init_inc
20141201_000000
> -match_points true -out_init_mask /D2/xinxia/METplus/MET/met-
5.2/share/met/poly/CONUS.poly
> -dump_row /D2/xinxia/METplus/MET/out/extract_tiles/20141201_00/
> filter_20141201_00.tcst
>
> DEBUG 1: Creating output dump file: /D2/xinxia/METplus/MET/out/
> extract_tiles/20141201_00/filter_20141201_00.tcst
>
> FILTER: -job filter -basin ML -init_inc 20141201_000000
-match_points true
> -out_init_mask /D2/xinxia/METplus/MET/met-
5.2/share/met/poly/CONUS.poly
> -dump_row /D2/xinxia/METplus/MET/out/extract_tiles/20141201_00/
> filter_20141201_00.tcst
>
>
> DEBUG 2: Job 1 used 0 out of 27292 lines read.
>
>
> Because I don't have the right, I can't find run_tc_pairs.py, but I
know
> it's under
>
> /D2/xinxia/METplus/METplus/ush
>
>
> For Python,
>
> [xinxia at chaos ~]$ which python
>
> /usr/bin/python
>
>
> Xinxia
>
> ________________________________
> From: Julie Prestopnik via RT <met_help at ucar.edu>
> Sent: Friday, February 24, 2017 8:30:01 AM
> To: Xinxia_Song at outlook.com
> Subject: Re: [rt.rap.ucar.edu #79605] ImportError: No module named
> constants_pdef
>
> Hi Xinxia.
>
> It looks like there is a space where there should not be a space
(between
> /D2/xinxia/METplus/MET/out/extract_tiles/20141201_00/ and
> filter_20141201_00.tcst after the -dump_row option).
>
> Could you please try it again without the space?
>
> /D2/xinxia/METplus/METplus/ush/run_tc_stat.py:tc_stat from calling
MET
> TC-STAT with command:/D2/xinxia/METplus/MET/met-5.2/bin/tc_stat -job
> filter
> -lookin /D2/xinxia/METplus/MET/input/tc_pairs/201412 -init_inc
20141201_00
> -match_points true -dump_row /D2/xinxia/METplus/MET/out/
> extract_tiles/20141201_00/filter_20141201_00.tcst  -basin ML
> -out_init_mask
> /D2/xinxia/METplus/MET/met-5.2/share/met/poly/CONUS.poly
>
> Regarding the master_met_plus.py run, please try running the
following two
> commands and send me the output:
>
> which run_tc_pairs.py
>
> which python
>
> Thanks!
>
> Julie
>
> On Thu, Feb 23, 2017 at 11:06 AM, Xinxia Song via RT
<met_help at ucar.edu>
> wrote:
>
> >
> > <URL: https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=79605 >
> >
> > Hi Julie,
> >
> >
> > After I ran the long one line command:
> >
> > [xinxia at chaos parm]$ /D2/xinxia/METplus/MET/met-5.2/bin/tc_stat
-job
> > filter -lookin /D2/xinxia/METplus/MET/input/tc_pairs/201412
-init_inc
> > 20141201_00 -match_points true -dump_row
/D2/xinxia/METplus/MET/out/
> extract_tiles/20141201_00/
> > filter_20141201_00.tcst  -basin ML -out_init_mask
> > /D2/xinxia/METplus/MET/met-5.2/share/met/poly/CONUS.poly
> >
> >
> > DEBUG 1: [Source 1] Lookin:
/D2/xinxia/METplus/MET/input/tc_pairs/201412
> >
> > ERROR  :
> >
> > ERROR  : TCStatJob *TCStatJobFactory::new_tc_stat_job(const char
> > *jobstring) -> unsupported job command options
"filter_20141201_00.tcst".
> >
> > ERROR  :
> >
> >
> > And for the master_met_plus.py, I got the error:
> >
> > [xinxia at chaos ush]$ python master_met_plus.py
> >
> > sh: run_tc_pairs.py: command not found
> >
> >
> > Thanks,
> >
> >
> > Xinxia
> >
> > ________________________________
> > From: Julie Prestopnik via RT <met_help at ucar.edu>
> > Sent: Friday, February 24, 2017 7:42:21 AM
> > To: Xinxia_Song at outlook.com
> > Subject: Re: [rt.rap.ucar.edu #79605] ImportError: No module named
> > constants_pdef
> >
> > My apologies, my response should have said, "By default, MET
version 5.2
> is
> > compiled using dynamic linking."  It's true for both, but I see
you're
> > using 5.2 and I inadvertently referred to 5.1.
> >
> > On Thu, Feb 23, 2017 at 10:40 AM, Julie Prestopnik
<jpresto at ucar.edu>
> > wrote:
> >
> > > Hi Xinxia.  Regarding the error:
> > >
> > > /D2/xinxia/METplus/MET/met-5.2/bin/tc_stat: error while loading
shared
> > > libraries: libgsl.so.19: cannot open shared object file: No such
file
> or
> > > directory
> > >
> > > By default, MET version 5.1 is compiled using dynamic linking.
Rather
> > > than compiling the external library code in with the MET
executables
> > (which
> > > is
> > > called static linking), it looks for them at runtime.  And it's
looking
> > > for those "shared object" (.so) library files.
> > >
> > > This should be easy to fix. We just need to tell it where to
find them,
> > > and we do that by setting (or adding to the LD_LIBRARY_PATH).
Look in
> > your
> > > ~/.bashrc file.  If LD_LIBRARY_PATH is already defined in there,
add
> the
> > > path to the libgsl.so.19 to the end of it.  If not, add an
> > > LD_LIBRARY_PATH entry in your ~/.bashrc file.  So, for example,
if the
> > path
> > > to your libgsl.so.19 file is /D2/xinxia/METplus/MET/externa
> > l_libs/GSL/gsl-1.16/lib
> > > you would add teh following to your ~/.bashrc file:
> > >
> > >   export
LD_LIBRARY_PATH=/D2/xinxia/METplus/MET/external_libs/GSL/
> > > gsl-1.16/lib
> > >
> > > Then save the change and source that file:
> > >
> > >   source ~/.bashrc
> > >
> > > Then, please try rerunning the command manually and let me know
if it
> > > works.
> > >
> > > I believe that this was the cause of the initial error you
received
> from
> > > MET+:
> > >
> > > ERROR| /D2/xinxia/METplus/METplus/ush/run_tc_stat.py:tc_stat
from
> > calling
> > > MET TC-STAT with command:/D2/xinxia/METplus/MET/met-
5.2/bin/tc_stat
> -job
> > > filter -lookin /D2/xinxia/METplus/MET/input/tc_pairs/201412
-init_inc
> > > 20141201_00 -match_points true -dump_row
/D2/xinxia/METplus/MET/out/ext
> > > ract_tiles/20141201_00/filter_20141201_00.tcst  -basin ML
> -out_init_mask
> > > /D2/xinxia/METplus/MET/met-5.2/share/met/poly/CONUS.poly
> > >
> > >
> > > Thanks,
> > > Julie
> > >
> > > On Thu, Feb 23, 2017 at 10:14 AM, Xinxia Song via RT <
> met_help at ucar.edu>
> > > wrote:
> > >
> > >>
> > >> <URL: https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=79605 >
> > >>
> > >> Hi Julie,
> > >>
> > >>
> > >> [xinxia at chaos ush]$ /D2/xinxia/METplus/MET/met-5.2/bin/tc_stat
-job
> > >> filter -lookin /D2/xinxia/METplus/MET/input/tc_pairs/201412
-init_inc
> > >> 20141201_00 -match_points true -dump_row
> /D2/xinxia/METplus/MET/out/ext
> > ract_tiles/20141201_00/
> > >> filter_20141201_00.tcst  -basin ML -out_init_mask
> > >> /D2/xinxia/METplus/MET/met-5.2/share/met/poly/CONUS.poly
> > >>
> > >> /D2/xinxia/METplus/MET/met-5.2/bin/tc_stat: error while loading
> shared
> > >> libraries: libgsl.so.19: cannot open shared object file: No
such file
> or
> > >> directory
> > >>
> > >>
> > >> And I uploaded the configuration file (constants_pdef.py) under
> > >> xinxia_data directory.
> > >>
> > >>
> > >> Thanks,
> > >>
> > >>
> > >> Xinxia
> > >>
> > >> ________________________________
> > >> From: Julie Prestopnik via RT <met_help at ucar.edu>
> > >> Sent: Friday, February 24, 2017 6:15:57 AM
> > >> To: Xinxia_Song at outlook.com
> > >> Subject: Re: [rt.rap.ucar.edu #79605] ImportError: No module
named
> > >> constants_pdef
> > >>
> > >> Hi Xinxia.
> > >>
> > >> I can see that your command, which should have been all on one
line,
> was
> > >> broken up into several lines.  Please try running the command
again,
> > >> making
> > >> sure that the entire command is on one line:
> > >>
> > >> /D2/xinxia/METplus/MET/met-5.2/bin/tc_stat -job filter -lookin
> > >> /D2/xinxia/METplus/MET/input/tc_pairs/201412 -init_inc
20141201_00
> > >> -match_points true -dump_row
> > >> /D2/xinxia/METplus/MET/out/extract_tiles/20141201_00/
> > >> filter_20141201_00.tcst  -basin ML -out_init_mask
> > >> /D2/xinxia/METplus/MET/met-5.2/share/met/poly/CONUS.poly
> > >>
> > >> Then, please send the output from that command.
> > >>
> > >> Regarding, your error:
> > >>
> > >> sh: run_tc_pairs.py: command not found
> > >>
> > >> It's strange that would only have occurred after having changed
the
> > >> LOG_LEVEL.  Could you please send us your configuration file?
> > >>
> > >> Thanks!
> > >>
> > >> Julie
> > >>
> > >> On Wed, Feb 22, 2017 at 2:54 PM, Xinxia Song via RT <
> met_help at ucar.edu>
> > >> wrote:
> > >>
> > >> >
> > >> > <URL: https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=79605
>
> > >> >
> > >> > Hi Julie,
> > >> >
> > >> >
> > >> > [xinxia at chaos ush]$ /D2/xinxia/METplus/MET/met-
5.2/bin/tc_stat -job
> > >> > filter -lookin
> > >> >
> > >> > /D2/xinxia/METplus/MET/met-5.2/bin/tc_stat: error while
loading
> > shared
> > >> > libraries: libgsl.so.19: cannot open shared object file: No
such
> file
> > or
> > >> > directory
> > >> >
> > >> >
> > >> > [xinxia at chaos ush]$
/D2/xinxia/METplus/MET/input/tc_pairs/201412
> > >> > -init_inc 20141201_00 -match_points true -dump_row
> > >> >
> > >> > -bash: /D2/xinxia/METplus/MET/input/tc_pairs/201412: is a
directory
> > >> >
> > >> >
> > >> > [xinxia at chaos ush]$ /D2/xinxia/METplus/MET/out/ext
> > >> ract_tiles/20141201_00/
> > >> > filter_20141201_00.tcst  -basin ML -out_init_mask
> > >> > /D2/xinxia/METplus/MET/met-5.2/share/met/poly/CONUS.poly
> > >> >
> > >> > -bash: /D2/xinxia/METplus/MET/out/extract_tiles/20141201_00/:
No
> such
> > >> > file or directory
> > >> >
> > >> >
> > >> > After I change the LOG_LEVEL, I ran the master_met_plus.py,
it says:
> > >> >
> > >> > [xinxia at chaos ush]$ python master_met_plus.py
> > >> >
> > >> > sh: run_tc_pairs.py: command not found
> > >> >
> > >> >
> > >> >
> > >> > Thanks,
> > >> >
> > >> >
> > >> > Xinxia
> > >> >
> > >> >
> > >> > ________________________________
> > >> > From: Julie Prestopnik via RT <met_help at ucar.edu>
> > >> > Sent: Thursday, February 23, 2017 10:04:55 AM
> > >> > To: Xinxia_Song at outlook.com
> > >> > Subject: Re: [rt.rap.ucar.edu #79605] ImportError: No module
named
> > >> > constants_pdef
> > >> >
> > >> > Thank you.  Unfortunately, the level of detail in the log
file
> wasn't
> > >> what
> > >> > I hoped for.  I'd like to have you try two things.
> > >> >
> > >> > First, could you please send me your output of your manual
run of
> the
> > >> > following?
> > >> >
> > >> > "/D2/xinxia/METplus/MET/met-5.2/bin/tc_stat -job filter
-lookin
> > >> > /D2/xinxia/METplus/MET/input/tc_pairs/201412 -init_inc
20141201_00
> > >> > -match_points true -dump_row /D2/xinxia/METplus/MET/out/
> > >> > extract_tiles/20141201_00/ filter_20141201_00.tcst  -basin ML
> > >> > -out_init_mask
> > >> > /D2/xinxia/METplus/MET/met-5.2/share/met/poly/CONUS.poly"
> > >> >
> > >> > Second, could you please change your log level in your
configuration
> > >> file
> > >> > from
> > >> >
> > >> > LOG_LEVEL = "INFO"
> > >> >
> > >> > to
> > >> >
> > >> > LOG_LEVEL = "DEBUG"
> > >> >
> > >> > then rerun and upload your log file to our ftp server again?
> > >> >
> > >> > Thank you!
> > >> >
> > >> > Julie
> > >> >
> > >> >
> > >> > On Wed, Feb 22, 2017 at 12:39 PM, Xinxia Song via RT <
> > met_help at ucar.edu
> > >> >
> > >> > wrote:
> > >> >
> > >> > >
> > >> > > <URL:
https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=79605 >
> > >> > >
> > >> > > Hi Julie,
> > >> > >
> > >> > >
> > >> > > I uploaded the log file under xinxia_data directory.
> > >> > >
> > >> > >
> > >> > > Thanks,
> > >> > >
> > >> > >
> > >> > > Xinxia
> > >> > >
> > >> > >
> > >> > > ________________________________
> > >> > > From: Julie Prestopnik via RT <met_help at ucar.edu>
> > >> > > Sent: Thursday, February 23, 2017 9:11:32 AM
> > >> > > To: Xinxia_Song at outlook.com
> > >> > > Subject: Re: [rt.rap.ucar.edu #79605] ImportError: No
module
> named
> > >> > > constants_pdef
> > >> > >
> > >> > > Hi Xinxia.
> > >> > >
> > >> > > I think it would be helpful if I could take a look at the
log
> file.
> > >> > Could
> > >> > > you please upload your file to our anonymous ftp site as
follows
> so
> > >> that
> > >> > I
> > >> > > can take a look?
> > >> > >
> > >> > >
http://www.dtcenter.org/met/users/support/met_help.php#ftp
> > >> > >
> > >> > > Also, could you please try running the following manually
and send
> > the
> > >> > > output to me?
> > >> > >
> > >> > > "/D2/xinxia/METplus/MET/met-5.2/bin/tc_stat -job filter
-lookin
> > >> > > /D2/xinxia/METplus/MET/input/tc_pairs/201412 -init_inc
> 20141201_00
> > >> > > -match_points true -dump_row /D2/xinxia/METplus/MET/out/
> > >> > > extract_tiles/20141201_00/filter_20141201_00.tcst  -basin
ML
> > >> > > -out_init_mask
> > >> > > /D2/xinxia/METplus/MET/met-5.2/share/met/poly/CONUS.poly"
> > >> > >
> > >> > > Thank you!
> > >> > >
> > >> > > Julie
> > >> > >
> > >> > >
> > >> > >
> > >> > > On Wed, Feb 22, 2017 at 12:06 PM, Xinxia Song via RT <
> > >> met_help at ucar.edu>
> > >> > > wrote:
> > >> > >
> > >> > > >
> > >> > > > <URL:
https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=79605 >
> > >> > > >
> > >> > > > Hi Julie,
> > >> > > >
> > >> > > >
> > >> > > > Now I can run the program, but when I look at the log
file in
> the
> > >> > output,
> > >> > > > it shows error below:
> > >> > > >
> > >> > > >
> > >> > > > ERROR|
/D2/xinxia/METplus/METplus/ush/run_tc_stat.py:tc_stat
> from
> > >> > > calling
> > >> > > > MET TC-STAT with command:/D2/xinxia/METplus/MET
> > /met-5.2/bin/tc_stat
> > >> > -job
> > >> > > > filter -lookin
/D2/xinxia/METplus/MET/input/tc_pairs/201412
> > >> -init_inc
> > >> > > > 20141201_00 -match_points true -dump_row
> > /D2/xinxia/METplus/MET/out/
> > >> > > > extract_tiles/20141201_00/filter_20141201_00.tcst  -basin
ML
> > >> > > > -out_init_mask /D2/xinxia/METplus/MET/met-5.
> > >> > 2/share/met/poly/CONUS.poly
> > >> > > >
> > >> > > >
> > >> > > > How should I fix it?
> > >> > > >
> > >> > > >
> > >> > > > Thanks,
> > >> > > >
> > >> > > >
> > >> > > > Xinxia
> > >> > > >
> > >> > > > ________________________________
> > >> > > > From: Julie Prestopnik via RT <met_help at ucar.edu>
> > >> > > > Sent: Thursday, February 23, 2017 7:30:06 AM
> > >> > > > To: Xinxia_Song at outlook.com
> > >> > > > Subject: Re: [rt.rap.ucar.edu #79605] ImportError: No
module
> > named
> > >> > > > constants_pdef
> > >> > > >
> > >> > > > Hi Xinxia.
> > >> > > >
> > >> > > > I believe that python doesn't know how to find the module
> because
> > >> the
> > >> > ush
> > >> > > > directory is not in your PYTHONPATH.  Both the parm and
ush
> > >> directory
> > >> > > need
> > >> > > > to be specified in your PYTHONPATH.  Please add the ush
> directory
> > to
> > >> > your
> > >> > > > PYTHONPATH, source ~/.bashrc, and let us know how it
goes.
> > >> > > >
> > >> > > > Thanks,
> > >> > > > Julie
> > >> > > >
> > >> > > > On Wed, Feb 22, 2017 at 10:24 AM, Xinxia Song via RT <
> > >> > met_help at ucar.edu>
> > >> > > > wrote:
> > >> > > >
> > >> > > > >
> > >> > > > > <URL:
https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=79605
> >
> > >> > > > >
> > >> > > > > Hi Julie,
> > >> > > > >
> > >> > > > >
> > >> > > > > Since I don't have setenv, I added these 3 sentence
into my
> > >> .bashrc
> > >> > > file:
> > >> > > > >
> > >> > > > >
> > >> > > > > export PYTHONPATH="/D2/xinxia/METplus/METplus/parm"
> > >> > > > >
> > >> > > > >
> > >> > > > > export USHROOT=/D2/xinxia/METplus/METplus/ush
> > >> > > > >
> > >> > > > > export PATH=$USHROOT:$PATH
> > >> > > > >
> > >> > > > >
> > >> > > > > I sourced the ~/.bashrc, and checked that the variables
are
> set,
> > >> but
> > >> > > the
> > >> > > > > program still can't find the module.
> > >> > > > >
> > >> > > > >
> > >> > > > > Thanks,
> > >> > > > >
> > >> > > > > Xinxia
> > >> > > > >
> > >> > > > > ________________________________
> > >> > > > > From: Julie Prestopnik via RT <met_help at ucar.edu>
> > >> > > > > Sent: Thursday, February 23, 2017 6:24:21 AM
> > >> > > > > To: Xinxia_Song at outlook.com
> > >> > > > > Subject: Re: [rt.rap.ucar.edu #79605] ImportError: No
module
> > >> named
> > >> > > > > constants_pdef
> > >> > > > >
> > >> > > > > Hi Xinxia.
> > >> > > > >
> > >> > > > > Could you please check to make sure that the ush
directory
> with
> > >> > > > > constants_pdef.py is in your PYTHONPATH in your .cshrc
file
> (or
> > >> > .bashrc
> > >> > > > or
> > >> > > > > similar file)?  The parm directory should also be in
your
> > >> PYTHONPATH.
> > >> > > > >
> > >> > > > > For example,
> > >> > > > >
> > >> > > > > setenv PYTHONPATH /d1/jpresto/sbu/METplus/ush:/
> > >> > > > d1/jpresto/sbu/METplus/parm
> > >> > > > >
> > >> > > > > Please also check make sure that the path to the ush
directory
> > is
> > >> > also
> > >> > > > > specified your your path environment variable.  For
example,
> > >> > > > >
> > >> > > > > set path = (/usr/local/bin \
> > >> > > > >                  /usr/local/python/bin/python \
> > >> > > > >                  /d1/jpresto/sbu/METplus/ush )
> > >> > > > >
> > >> > > > > If they are not there, please add them and then source
the
> file
> > >> (e.g.
> > >> > > run
> > >> > > > > "source ~/.cshrc").
> > >> > > > >
> > >> > > > > Thank you!  Please let us know how it goes.
> > >> > > > >
> > >> > > > > Julie
> > >> > > > >
> > >> > > > >
> > >> > > > >
> > >> > > > >
> > >> > > > > On Tue, Feb 21, 2017 at 4:49 PM, Xinxia Song via RT <
> > >> > met_help at ucar.edu
> > >> > > >
> > >> > > > > wrote:
> > >> > > > >
> > >> > > > > >
> > >> > > > > > Tue Feb 21 16:49:28 2017: Request 79605 was acted
upon.
> > >> > > > > > Transaction: Ticket created by
Xinxia_Song at outlook.com
> > >> > > > > >        Queue: met_help
> > >> > > > > >      Subject: ImportError: No module named
constants_pdef
> > >> > > > > >        Owner: Nobody
> > >> > > > > >   Requestors: Xinxia_Song at outlook.com
> > >> > > > > >       Status: new
> > >> > > > > >  Ticket <URL: https://rt.rap.ucar.edu/rt/
> > >> > > Ticket/Display.html?id=79605
> > >> > > > >
> > >> > > > > >
> > >> > > > > >
> > >> > > > > > Hi,
> > >> > > > > >
> > >> > > > > >
> > >> > > > > > When I ran the mater_met_plus.py, it says:
> > >> > > > > >
> > >> > > > > >
> > >> > > > > > ImportError: No module named constants_pdef
> > >> > > > > >
> > >> > > > > >
> > >> > > > > > Seems it doesn't recognize constants_pdef as its
module.
> > >> > > > > >
> > >> > > > > >
> > >> > > > > > Thanks,
> > >> > > > > >
> > >> > > > > > Xinxia
> > >> > > > > >
> > >> > > > > >
> > >> > > > >
> > >> > > > >
> > >> > > > >
> > >> > > >
> > >> > > >
> > >> > > >
> > >> > >
> > >> > >
> > >> > >
> > >> >
> > >> >
> > >> >
> > >>
> > >>
> > >>
> > >
> >
> >
> >
>
>
>

------------------------------------------------
Subject: ImportError: No module named constants_pdef
From: Xinxia Song
Time: Thu Feb 23 11:55:51 2017

Hi Julie,


I'm running met in a machine that's owned by our department, I don't
have sudo right, so when I type which run_tc_pairs.py, it says
couldn't find it.

no run_tc_pairs.py in (/opt/ncl/bin:/opt/intel-
soft/bin:/opt/ncl/bin:/opt/ncl/bin:/opt/intel-
soft/bin:/opt/ncl/bin:/home/xinxia/anaconda/bin:/home/xinxia/anaconda/bin:/opt/ncl/bin:/opt/intel-
soft/bin:/opt/ncl/bin:/usr/lib64/qt-
3.3/bin:/usr/local/bin:/bin:/usr/bin:/usr/local/sbin:/usr/sbin:/sbin:/sbin:/usr/sbin:/cm/local/apps/environment-
modules/3.2.10/bin:/home/xinxia/bin:/opt/ncl-621/bin)


But I could find it manually in that directory.


Thanks,


Xinxia

________________________________
From: Julie Prestopnik via RT <met_help at ucar.edu>
Sent: Friday, February 24, 2017 8:52:16 AM
To: Xinxia_Song at outlook.com
Subject: Re: [rt.rap.ucar.edu #79605] ImportError: No module named
constants_pdef

Hi Xinxia.

It looks like you got a successful run of tc_stat - that's great news!

I'm not sure what you mean by "Because I don't have the right, I can't
find
run_tc_pairs.py, but I know it's under

/D2/xinxia/METplus/METplus/ush".

Can you please explain?  What happened when you ran "which
run_tc_pairs.py"?

Thanks,
Julie






On Thu, Feb 23, 2017 at 11:44 AM, Xinxia Song via RT
<met_help at ucar.edu>
wrote:

>
> <URL: https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=79605 >
>
> Hi Julie,
>
>
> I removed the space.
>
> [xinxia at chaos parm]$ /D2/xinxia/METplus/MET/met-5.2/bin/tc_stat -job
> filter -lookin /D2/xinxia/METplus/MET/input/tc_pairs/201412
-init_inc
> 20141201_00 -match_points true -dump_row /D2/xinxia/METplus/MET/out/
> extract_tiles/20141201_00/filter_20141201_00.tcst  -basin ML
> -out_init_mask /D2/xinxia/METplus/MET/met-
5.2/share/met/poly/CONUS.poly
>
> DEBUG 1: [Source 1] Lookin:
/D2/xinxia/METplus/MET/input/tc_pairs/201412
>
> DEBUG 2:
>
> DEBUG 2: Processing Job 1: -job filter -basin ML -init_inc
20141201_000000
> -match_points true -out_init_mask /D2/xinxia/METplus/MET/met-
5.2/share/met/poly/CONUS.poly
> -dump_row /D2/xinxia/METplus/MET/out/extract_tiles/20141201_00/
> filter_20141201_00.tcst
>
> DEBUG 1: Creating output dump file: /D2/xinxia/METplus/MET/out/
> extract_tiles/20141201_00/filter_20141201_00.tcst
>
> FILTER: -job filter -basin ML -init_inc 20141201_000000
-match_points true
> -out_init_mask /D2/xinxia/METplus/MET/met-
5.2/share/met/poly/CONUS.poly
> -dump_row /D2/xinxia/METplus/MET/out/extract_tiles/20141201_00/
> filter_20141201_00.tcst
>
>
> DEBUG 2: Job 1 used 0 out of 27292 lines read.
>
>
> Because I don't have the right, I can't find run_tc_pairs.py, but I
know
> it's under
>
> /D2/xinxia/METplus/METplus/ush
>
>
> For Python,
>
> [xinxia at chaos ~]$ which python
>
> /usr/bin/python
>
>
> Xinxia
>
> ________________________________
> From: Julie Prestopnik via RT <met_help at ucar.edu>
> Sent: Friday, February 24, 2017 8:30:01 AM
> To: Xinxia_Song at outlook.com
> Subject: Re: [rt.rap.ucar.edu #79605] ImportError: No module named
> constants_pdef
>
> Hi Xinxia.
>
> It looks like there is a space where there should not be a space
(between
> /D2/xinxia/METplus/MET/out/extract_tiles/20141201_00/ and
> filter_20141201_00.tcst after the -dump_row option).
>
> Could you please try it again without the space?
>
> /D2/xinxia/METplus/METplus/ush/run_tc_stat.py:tc_stat from calling
MET
> TC-STAT with command:/D2/xinxia/METplus/MET/met-5.2/bin/tc_stat -job
> filter
> -lookin /D2/xinxia/METplus/MET/input/tc_pairs/201412 -init_inc
20141201_00
> -match_points true -dump_row /D2/xinxia/METplus/MET/out/
> extract_tiles/20141201_00/filter_20141201_00.tcst  -basin ML
> -out_init_mask
> /D2/xinxia/METplus/MET/met-5.2/share/met/poly/CONUS.poly
>
> Regarding the master_met_plus.py run, please try running the
following two
> commands and send me the output:
>
> which run_tc_pairs.py
>
> which python
>
> Thanks!
>
> Julie
>
> On Thu, Feb 23, 2017 at 11:06 AM, Xinxia Song via RT
<met_help at ucar.edu>
> wrote:
>
> >
> > <URL: https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=79605 >
> >
> > Hi Julie,
> >
> >
> > After I ran the long one line command:
> >
> > [xinxia at chaos parm]$ /D2/xinxia/METplus/MET/met-5.2/bin/tc_stat
-job
> > filter -lookin /D2/xinxia/METplus/MET/input/tc_pairs/201412
-init_inc
> > 20141201_00 -match_points true -dump_row
/D2/xinxia/METplus/MET/out/
> extract_tiles/20141201_00/
> > filter_20141201_00.tcst  -basin ML -out_init_mask
> > /D2/xinxia/METplus/MET/met-5.2/share/met/poly/CONUS.poly
> >
> >
> > DEBUG 1: [Source 1] Lookin:
/D2/xinxia/METplus/MET/input/tc_pairs/201412
> >
> > ERROR  :
> >
> > ERROR  : TCStatJob *TCStatJobFactory::new_tc_stat_job(const char
> > *jobstring) -> unsupported job command options
"filter_20141201_00.tcst".
> >
> > ERROR  :
> >
> >
> > And for the master_met_plus.py, I got the error:
> >
> > [xinxia at chaos ush]$ python master_met_plus.py
> >
> > sh: run_tc_pairs.py: command not found
> >
> >
> > Thanks,
> >
> >
> > Xinxia
> >
> > ________________________________
> > From: Julie Prestopnik via RT <met_help at ucar.edu>
> > Sent: Friday, February 24, 2017 7:42:21 AM
> > To: Xinxia_Song at outlook.com
> > Subject: Re: [rt.rap.ucar.edu #79605] ImportError: No module named
> > constants_pdef
> >
> > My apologies, my response should have said, "By default, MET
version 5.2
> is
> > compiled using dynamic linking."  It's true for both, but I see
you're
> > using 5.2 and I inadvertently referred to 5.1.
> >
> > On Thu, Feb 23, 2017 at 10:40 AM, Julie Prestopnik
<jpresto at ucar.edu>
> > wrote:
> >
> > > Hi Xinxia.  Regarding the error:
> > >
> > > /D2/xinxia/METplus/MET/met-5.2/bin/tc_stat: error while loading
shared
> > > libraries: libgsl.so.19: cannot open shared object file: No such
file
> or
> > > directory
> > >
> > > By default, MET version 5.1 is compiled using dynamic linking.
Rather
> > > than compiling the external library code in with the MET
executables
> > (which
> > > is
> > > called static linking), it looks for them at runtime.  And it's
looking
> > > for those "shared object" (.so) library files.
> > >
> > > This should be easy to fix. We just need to tell it where to
find them,
> > > and we do that by setting (or adding to the LD_LIBRARY_PATH).
Look in
> > your
> > > ~/.bashrc file.  If LD_LIBRARY_PATH is already defined in there,
add
> the
> > > path to the libgsl.so.19 to the end of it.  If not, add an
> > > LD_LIBRARY_PATH entry in your ~/.bashrc file.  So, for example,
if the
> > path
> > > to your libgsl.so.19 file is /D2/xinxia/METplus/MET/externa
> > l_libs/GSL/gsl-1.16/lib
> > > you would add teh following to your ~/.bashrc file:
> > >
> > >   export
LD_LIBRARY_PATH=/D2/xinxia/METplus/MET/external_libs/GSL/
> > > gsl-1.16/lib
> > >
> > > Then save the change and source that file:
> > >
> > >   source ~/.bashrc
> > >
> > > Then, please try rerunning the command manually and let me know
if it
> > > works.
> > >
> > > I believe that this was the cause of the initial error you
received
> from
> > > MET+:
> > >
> > > ERROR| /D2/xinxia/METplus/METplus/ush/run_tc_stat.py:tc_stat
from
> > calling
> > > MET TC-STAT with command:/D2/xinxia/METplus/MET/met-
5.2/bin/tc_stat
> -job
> > > filter -lookin /D2/xinxia/METplus/MET/input/tc_pairs/201412
-init_inc
> > > 20141201_00 -match_points true -dump_row
/D2/xinxia/METplus/MET/out/ext
> > > ract_tiles/20141201_00/filter_20141201_00.tcst  -basin ML
> -out_init_mask
> > > /D2/xinxia/METplus/MET/met-5.2/share/met/poly/CONUS.poly
> > >
> > >
> > > Thanks,
> > > Julie
> > >
> > > On Thu, Feb 23, 2017 at 10:14 AM, Xinxia Song via RT <
> met_help at ucar.edu>
> > > wrote:
> > >
> > >>
> > >> <URL: https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=79605 >
> > >>
> > >> Hi Julie,
> > >>
> > >>
> > >> [xinxia at chaos ush]$ /D2/xinxia/METplus/MET/met-5.2/bin/tc_stat
-job
> > >> filter -lookin /D2/xinxia/METplus/MET/input/tc_pairs/201412
-init_inc
> > >> 20141201_00 -match_points true -dump_row
> /D2/xinxia/METplus/MET/out/ext
> > ract_tiles/20141201_00/
> > >> filter_20141201_00.tcst  -basin ML -out_init_mask
> > >> /D2/xinxia/METplus/MET/met-5.2/share/met/poly/CONUS.poly
> > >>
> > >> /D2/xinxia/METplus/MET/met-5.2/bin/tc_stat: error while loading
> shared
> > >> libraries: libgsl.so.19: cannot open shared object file: No
such file
> or
> > >> directory
> > >>
> > >>
> > >> And I uploaded the configuration file (constants_pdef.py) under
> > >> xinxia_data directory.
> > >>
> > >>
> > >> Thanks,
> > >>
> > >>
> > >> Xinxia
> > >>
> > >> ________________________________
> > >> From: Julie Prestopnik via RT <met_help at ucar.edu>
> > >> Sent: Friday, February 24, 2017 6:15:57 AM
> > >> To: Xinxia_Song at outlook.com
> > >> Subject: Re: [rt.rap.ucar.edu #79605] ImportError: No module
named
> > >> constants_pdef
> > >>
> > >> Hi Xinxia.
> > >>
> > >> I can see that your command, which should have been all on one
line,
> was
> > >> broken up into several lines.  Please try running the command
again,
> > >> making
> > >> sure that the entire command is on one line:
> > >>
> > >> /D2/xinxia/METplus/MET/met-5.2/bin/tc_stat -job filter -lookin
> > >> /D2/xinxia/METplus/MET/input/tc_pairs/201412 -init_inc
20141201_00
> > >> -match_points true -dump_row
> > >> /D2/xinxia/METplus/MET/out/extract_tiles/20141201_00/
> > >> filter_20141201_00.tcst  -basin ML -out_init_mask
> > >> /D2/xinxia/METplus/MET/met-5.2/share/met/poly/CONUS.poly
> > >>
> > >> Then, please send the output from that command.
> > >>
> > >> Regarding, your error:
> > >>
> > >> sh: run_tc_pairs.py: command not found
> > >>
> > >> It's strange that would only have occurred after having changed
the
> > >> LOG_LEVEL.  Could you please send us your configuration file?
> > >>
> > >> Thanks!
> > >>
> > >> Julie
> > >>
> > >> On Wed, Feb 22, 2017 at 2:54 PM, Xinxia Song via RT <
> met_help at ucar.edu>
> > >> wrote:
> > >>
> > >> >
> > >> > <URL: https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=79605
>
> > >> >
> > >> > Hi Julie,
> > >> >
> > >> >
> > >> > [xinxia at chaos ush]$ /D2/xinxia/METplus/MET/met-
5.2/bin/tc_stat -job
> > >> > filter -lookin
> > >> >
> > >> > /D2/xinxia/METplus/MET/met-5.2/bin/tc_stat: error while
loading
> > shared
> > >> > libraries: libgsl.so.19: cannot open shared object file: No
such
> file
> > or
> > >> > directory
> > >> >
> > >> >
> > >> > [xinxia at chaos ush]$
/D2/xinxia/METplus/MET/input/tc_pairs/201412
> > >> > -init_inc 20141201_00 -match_points true -dump_row
> > >> >
> > >> > -bash: /D2/xinxia/METplus/MET/input/tc_pairs/201412: is a
directory
> > >> >
> > >> >
> > >> > [xinxia at chaos ush]$ /D2/xinxia/METplus/MET/out/ext
> > >> ract_tiles/20141201_00/
> > >> > filter_20141201_00.tcst  -basin ML -out_init_mask
> > >> > /D2/xinxia/METplus/MET/met-5.2/share/met/poly/CONUS.poly
> > >> >
> > >> > -bash: /D2/xinxia/METplus/MET/out/extract_tiles/20141201_00/:
No
> such
> > >> > file or directory
> > >> >
> > >> >
> > >> > After I change the LOG_LEVEL, I ran the master_met_plus.py,
it says:
> > >> >
> > >> > [xinxia at chaos ush]$ python master_met_plus.py
> > >> >
> > >> > sh: run_tc_pairs.py: command not found
> > >> >
> > >> >
> > >> >
> > >> > Thanks,
> > >> >
> > >> >
> > >> > Xinxia
> > >> >
> > >> >
> > >> > ________________________________
> > >> > From: Julie Prestopnik via RT <met_help at ucar.edu>
> > >> > Sent: Thursday, February 23, 2017 10:04:55 AM
> > >> > To: Xinxia_Song at outlook.com
> > >> > Subject: Re: [rt.rap.ucar.edu #79605] ImportError: No module
named
> > >> > constants_pdef
> > >> >
> > >> > Thank you.  Unfortunately, the level of detail in the log
file
> wasn't
> > >> what
> > >> > I hoped for.  I'd like to have you try two things.
> > >> >
> > >> > First, could you please send me your output of your manual
run of
> the
> > >> > following?
> > >> >
> > >> > "/D2/xinxia/METplus/MET/met-5.2/bin/tc_stat -job filter
-lookin
> > >> > /D2/xinxia/METplus/MET/input/tc_pairs/201412 -init_inc
20141201_00
> > >> > -match_points true -dump_row /D2/xinxia/METplus/MET/out/
> > >> > extract_tiles/20141201_00/ filter_20141201_00.tcst  -basin ML
> > >> > -out_init_mask
> > >> > /D2/xinxia/METplus/MET/met-5.2/share/met/poly/CONUS.poly"
> > >> >
> > >> > Second, could you please change your log level in your
configuration
> > >> file
> > >> > from
> > >> >
> > >> > LOG_LEVEL = "INFO"
> > >> >
> > >> > to
> > >> >
> > >> > LOG_LEVEL = "DEBUG"
> > >> >
> > >> > then rerun and upload your log file to our ftp server again?
> > >> >
> > >> > Thank you!
> > >> >
> > >> > Julie
> > >> >
> > >> >
> > >> > On Wed, Feb 22, 2017 at 12:39 PM, Xinxia Song via RT <
> > met_help at ucar.edu
> > >> >
> > >> > wrote:
> > >> >
> > >> > >
> > >> > > <URL:
https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=79605 >
> > >> > >
> > >> > > Hi Julie,
> > >> > >
> > >> > >
> > >> > > I uploaded the log file under xinxia_data directory.
> > >> > >
> > >> > >
> > >> > > Thanks,
> > >> > >
> > >> > >
> > >> > > Xinxia
> > >> > >
> > >> > >
> > >> > > ________________________________
> > >> > > From: Julie Prestopnik via RT <met_help at ucar.edu>
> > >> > > Sent: Thursday, February 23, 2017 9:11:32 AM
> > >> > > To: Xinxia_Song at outlook.com
> > >> > > Subject: Re: [rt.rap.ucar.edu #79605] ImportError: No
module
> named
> > >> > > constants_pdef
> > >> > >
> > >> > > Hi Xinxia.
> > >> > >
> > >> > > I think it would be helpful if I could take a look at the
log
> file.
> > >> > Could
> > >> > > you please upload your file to our anonymous ftp site as
follows
> so
> > >> that
> > >> > I
> > >> > > can take a look?
> > >> > >
> > >> > >
http://www.dtcenter.org/met/users/support/met_help.php#ftp
> > >> > >
> > >> > > Also, could you please try running the following manually
and send
> > the
> > >> > > output to me?
> > >> > >
> > >> > > "/D2/xinxia/METplus/MET/met-5.2/bin/tc_stat -job filter
-lookin
> > >> > > /D2/xinxia/METplus/MET/input/tc_pairs/201412 -init_inc
> 20141201_00
> > >> > > -match_points true -dump_row /D2/xinxia/METplus/MET/out/
> > >> > > extract_tiles/20141201_00/filter_20141201_00.tcst  -basin
ML
> > >> > > -out_init_mask
> > >> > > /D2/xinxia/METplus/MET/met-5.2/share/met/poly/CONUS.poly"
> > >> > >
> > >> > > Thank you!
> > >> > >
> > >> > > Julie
> > >> > >
> > >> > >
> > >> > >
> > >> > > On Wed, Feb 22, 2017 at 12:06 PM, Xinxia Song via RT <
> > >> met_help at ucar.edu>
> > >> > > wrote:
> > >> > >
> > >> > > >
> > >> > > > <URL:
https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=79605 >
> > >> > > >
> > >> > > > Hi Julie,
> > >> > > >
> > >> > > >
> > >> > > > Now I can run the program, but when I look at the log
file in
> the
> > >> > output,
> > >> > > > it shows error below:
> > >> > > >
> > >> > > >
> > >> > > > ERROR|
/D2/xinxia/METplus/METplus/ush/run_tc_stat.py:tc_stat
> from
> > >> > > calling
> > >> > > > MET TC-STAT with command:/D2/xinxia/METplus/MET
> > /met-5.2/bin/tc_stat
> > >> > -job
> > >> > > > filter -lookin
/D2/xinxia/METplus/MET/input/tc_pairs/201412
> > >> -init_inc
> > >> > > > 20141201_00 -match_points true -dump_row
> > /D2/xinxia/METplus/MET/out/
> > >> > > > extract_tiles/20141201_00/filter_20141201_00.tcst  -basin
ML
> > >> > > > -out_init_mask /D2/xinxia/METplus/MET/met-5.
> > >> > 2/share/met/poly/CONUS.poly
> > >> > > >
> > >> > > >
> > >> > > > How should I fix it?
> > >> > > >
> > >> > > >
> > >> > > > Thanks,
> > >> > > >
> > >> > > >
> > >> > > > Xinxia
> > >> > > >
> > >> > > > ________________________________
> > >> > > > From: Julie Prestopnik via RT <met_help at ucar.edu>
> > >> > > > Sent: Thursday, February 23, 2017 7:30:06 AM
> > >> > > > To: Xinxia_Song at outlook.com
> > >> > > > Subject: Re: [rt.rap.ucar.edu #79605] ImportError: No
module
> > named
> > >> > > > constants_pdef
> > >> > > >
> > >> > > > Hi Xinxia.
> > >> > > >
> > >> > > > I believe that python doesn't know how to find the module
> because
> > >> the
> > >> > ush
> > >> > > > directory is not in your PYTHONPATH.  Both the parm and
ush
> > >> directory
> > >> > > need
> > >> > > > to be specified in your PYTHONPATH.  Please add the ush
> directory
> > to
> > >> > your
> > >> > > > PYTHONPATH, source ~/.bashrc, and let us know how it
goes.
> > >> > > >
> > >> > > > Thanks,
> > >> > > > Julie
> > >> > > >
> > >> > > > On Wed, Feb 22, 2017 at 10:24 AM, Xinxia Song via RT <
> > >> > met_help at ucar.edu>
> > >> > > > wrote:
> > >> > > >
> > >> > > > >
> > >> > > > > <URL:
https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=79605
> >
> > >> > > > >
> > >> > > > > Hi Julie,
> > >> > > > >
> > >> > > > >
> > >> > > > > Since I don't have setenv, I added these 3 sentence
into my
> > >> .bashrc
> > >> > > file:
> > >> > > > >
> > >> > > > >
> > >> > > > > export PYTHONPATH="/D2/xinxia/METplus/METplus/parm"
> > >> > > > >
> > >> > > > >
> > >> > > > > export USHROOT=/D2/xinxia/METplus/METplus/ush
> > >> > > > >
> > >> > > > > export PATH=$USHROOT:$PATH
> > >> > > > >
> > >> > > > >
> > >> > > > > I sourced the ~/.bashrc, and checked that the variables
are
> set,
> > >> but
> > >> > > the
> > >> > > > > program still can't find the module.
> > >> > > > >
> > >> > > > >
> > >> > > > > Thanks,
> > >> > > > >
> > >> > > > > Xinxia
> > >> > > > >
> > >> > > > > ________________________________
> > >> > > > > From: Julie Prestopnik via RT <met_help at ucar.edu>
> > >> > > > > Sent: Thursday, February 23, 2017 6:24:21 AM
> > >> > > > > To: Xinxia_Song at outlook.com
> > >> > > > > Subject: Re: [rt.rap.ucar.edu #79605] ImportError: No
module
> > >> named
> > >> > > > > constants_pdef
> > >> > > > >
> > >> > > > > Hi Xinxia.
> > >> > > > >
> > >> > > > > Could you please check to make sure that the ush
directory
> with
> > >> > > > > constants_pdef.py is in your PYTHONPATH in your .cshrc
file
> (or
> > >> > .bashrc
> > >> > > > or
> > >> > > > > similar file)?  The parm directory should also be in
your
> > >> PYTHONPATH.
> > >> > > > >
> > >> > > > > For example,
> > >> > > > >
> > >> > > > > setenv PYTHONPATH /d1/jpresto/sbu/METplus/ush:/
> > >> > > > d1/jpresto/sbu/METplus/parm
> > >> > > > >
> > >> > > > > Please also check make sure that the path to the ush
directory
> > is
> > >> > also
> > >> > > > > specified your your path environment variable.  For
example,
> > >> > > > >
> > >> > > > > set path = (/usr/local/bin \
> > >> > > > >                  /usr/local/python/bin/python \
> > >> > > > >                  /d1/jpresto/sbu/METplus/ush )
> > >> > > > >
> > >> > > > > If they are not there, please add them and then source
the
> file
> > >> (e.g.
> > >> > > run
> > >> > > > > "source ~/.cshrc").
> > >> > > > >
> > >> > > > > Thank you!  Please let us know how it goes.
> > >> > > > >
> > >> > > > > Julie
> > >> > > > >
> > >> > > > >
> > >> > > > >
> > >> > > > >
> > >> > > > > On Tue, Feb 21, 2017 at 4:49 PM, Xinxia Song via RT <
> > >> > met_help at ucar.edu
> > >> > > >
> > >> > > > > wrote:
> > >> > > > >
> > >> > > > > >
> > >> > > > > > Tue Feb 21 16:49:28 2017: Request 79605 was acted
upon.
> > >> > > > > > Transaction: Ticket created by
Xinxia_Song at outlook.com
> > >> > > > > >        Queue: met_help
> > >> > > > > >      Subject: ImportError: No module named
constants_pdef
> > >> > > > > >        Owner: Nobody
> > >> > > > > >   Requestors: Xinxia_Song at outlook.com
> > >> > > > > >       Status: new
> > >> > > > > >  Ticket <URL: https://rt.rap.ucar.edu/rt/
> > >> > > Ticket/Display.html?id=79605
> > >> > > > >
> > >> > > > > >
> > >> > > > > >
> > >> > > > > > Hi,
> > >> > > > > >
> > >> > > > > >
> > >> > > > > > When I ran the mater_met_plus.py, it says:
> > >> > > > > >
> > >> > > > > >
> > >> > > > > > ImportError: No module named constants_pdef
> > >> > > > > >
> > >> > > > > >
> > >> > > > > > Seems it doesn't recognize constants_pdef as its
module.
> > >> > > > > >
> > >> > > > > >
> > >> > > > > > Thanks,
> > >> > > > > >
> > >> > > > > > Xinxia
> > >> > > > > >
> > >> > > > > >
> > >> > > > >
> > >> > > > >
> > >> > > > >
> > >> > > >
> > >> > > >
> > >> > > >
> > >> > >
> > >> > >
> > >> > >
> > >> >
> > >> >
> > >> >
> > >>
> > >>
> > >>
> > >
> >
> >
> >
>
>
>


------------------------------------------------
Subject: ImportError: No module named constants_pdef
From: Julie Prestopnik
Time: Thu Feb 23 12:07:40 2017

Unfortunately, your environment does not know where to find
run_tc_pairs.py.  Please try adding the directory with run_tc_pairs.py
(/D2/xinxia/METplus/METplus/ush) to your path in your ~/.bashrc file,
then
run "source ~/.bashrc", then trying rerunning.  Please let me know how
that
goes.

Thanks!

Julie

On Thu, Feb 23, 2017 at 11:55 AM, Xinxia Song via RT
<met_help at ucar.edu>
wrote:

>
> <URL: https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=79605 >
>
> Hi Julie,
>
>
> I'm running met in a machine that's owned by our department, I don't
have
> sudo right, so when I type which run_tc_pairs.py, it says couldn't
find it.
>
> no run_tc_pairs.py in (/opt/ncl/bin:/opt/intel-soft/
> bin:/opt/ncl/bin:/opt/ncl/bin:/opt/intel-soft/bin:/opt/ncl/
> bin:/home/xinxia/anaconda/bin:/home/xinxia/anaconda/bin:/
> opt/ncl/bin:/opt/intel-soft/bin:/opt/ncl/bin:/usr/lib64/
> qt-3.3/bin:/usr/local/bin:/bin:/usr/bin:/usr/local/sbin:/
> usr/sbin:/sbin:/sbin:/usr/sbin:/cm/local/apps/environment-
modules/3.2.10/
> bin:/home/xinxia/bin:/opt/ncl-621/bin)
>
>
> But I could find it manually in that directory.
>
>
> Thanks,
>
>
> Xinxia
>
> ________________________________
> From: Julie Prestopnik via RT <met_help at ucar.edu>
> Sent: Friday, February 24, 2017 8:52:16 AM
> To: Xinxia_Song at outlook.com
> Subject: Re: [rt.rap.ucar.edu #79605] ImportError: No module named
> constants_pdef
>
> Hi Xinxia.
>
> It looks like you got a successful run of tc_stat - that's great
news!
>
> I'm not sure what you mean by "Because I don't have the right, I
can't find
> run_tc_pairs.py, but I know it's under
>
> /D2/xinxia/METplus/METplus/ush".
>
> Can you please explain?  What happened when you ran "which
> run_tc_pairs.py"?
>
> Thanks,
> Julie
>
>
>
>
>
>
> On Thu, Feb 23, 2017 at 11:44 AM, Xinxia Song via RT
<met_help at ucar.edu>
> wrote:
>
> >
> > <URL: https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=79605 >
> >
> > Hi Julie,
> >
> >
> > I removed the space.
> >
> > [xinxia at chaos parm]$ /D2/xinxia/METplus/MET/met-5.2/bin/tc_stat
-job
> > filter -lookin /D2/xinxia/METplus/MET/input/tc_pairs/201412
-init_inc
> > 20141201_00 -match_points true -dump_row
/D2/xinxia/METplus/MET/out/
> > extract_tiles/20141201_00/filter_20141201_00.tcst  -basin ML
> > -out_init_mask /D2/xinxia/METplus/MET/met-
5.2/share/met/poly/CONUS.poly
> >
> > DEBUG 1: [Source 1] Lookin:
/D2/xinxia/METplus/MET/input/tc_pairs/201412
> >
> > DEBUG 2:
> >
> > DEBUG 2: Processing Job 1: -job filter -basin ML -init_inc
> 20141201_000000
> > -match_points true -out_init_mask /D2/xinxia/METplus/MET/met-5.
> 2/share/met/poly/CONUS.poly
> > -dump_row /D2/xinxia/METplus/MET/out/extract_tiles/20141201_00/
> > filter_20141201_00.tcst
> >
> > DEBUG 1: Creating output dump file: /D2/xinxia/METplus/MET/out/
> > extract_tiles/20141201_00/filter_20141201_00.tcst
> >
> > FILTER: -job filter -basin ML -init_inc 20141201_000000
-match_points
> true
> > -out_init_mask /D2/xinxia/METplus/MET/met-
5.2/share/met/poly/CONUS.poly
> > -dump_row /D2/xinxia/METplus/MET/out/extract_tiles/20141201_00/
> > filter_20141201_00.tcst
> >
> >
> > DEBUG 2: Job 1 used 0 out of 27292 lines read.
> >
> >
> > Because I don't have the right, I can't find run_tc_pairs.py, but
I know
> > it's under
> >
> > /D2/xinxia/METplus/METplus/ush
> >
> >
> > For Python,
> >
> > [xinxia at chaos ~]$ which python
> >
> > /usr/bin/python
> >
> >
> > Xinxia
> >
> > ________________________________
> > From: Julie Prestopnik via RT <met_help at ucar.edu>
> > Sent: Friday, February 24, 2017 8:30:01 AM
> > To: Xinxia_Song at outlook.com
> > Subject: Re: [rt.rap.ucar.edu #79605] ImportError: No module named
> > constants_pdef
> >
> > Hi Xinxia.
> >
> > It looks like there is a space where there should not be a space
(between
> > /D2/xinxia/METplus/MET/out/extract_tiles/20141201_00/ and
> > filter_20141201_00.tcst after the -dump_row option).
> >
> > Could you please try it again without the space?
> >
> > /D2/xinxia/METplus/METplus/ush/run_tc_stat.py:tc_stat from calling
MET
> > TC-STAT with command:/D2/xinxia/METplus/MET/met-5.2/bin/tc_stat
-job
> > filter
> > -lookin /D2/xinxia/METplus/MET/input/tc_pairs/201412 -init_inc
> 20141201_00
> > -match_points true -dump_row /D2/xinxia/METplus/MET/out/
> > extract_tiles/20141201_00/filter_20141201_00.tcst  -basin ML
> > -out_init_mask
> > /D2/xinxia/METplus/MET/met-5.2/share/met/poly/CONUS.poly
> >
> > Regarding the master_met_plus.py run, please try running the
following
> two
> > commands and send me the output:
> >
> > which run_tc_pairs.py
> >
> > which python
> >
> > Thanks!
> >
> > Julie
> >
> > On Thu, Feb 23, 2017 at 11:06 AM, Xinxia Song via RT
<met_help at ucar.edu>
> > wrote:
> >
> > >
> > > <URL: https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=79605 >
> > >
> > > Hi Julie,
> > >
> > >
> > > After I ran the long one line command:
> > >
> > > [xinxia at chaos parm]$ /D2/xinxia/METplus/MET/met-5.2/bin/tc_stat
-job
> > > filter -lookin /D2/xinxia/METplus/MET/input/tc_pairs/201412
-init_inc
> > > 20141201_00 -match_points true -dump_row
/D2/xinxia/METplus/MET/out/
> > extract_tiles/20141201_00/
> > > filter_20141201_00.tcst  -basin ML -out_init_mask
> > > /D2/xinxia/METplus/MET/met-5.2/share/met/poly/CONUS.poly
> > >
> > >
> > > DEBUG 1: [Source 1] Lookin: /D2/xinxia/METplus/MET/input/
> tc_pairs/201412
> > >
> > > ERROR  :
> > >
> > > ERROR  : TCStatJob *TCStatJobFactory::new_tc_stat_job(const char
> > > *jobstring) -> unsupported job command options
> "filter_20141201_00.tcst".
> > >
> > > ERROR  :
> > >
> > >
> > > And for the master_met_plus.py, I got the error:
> > >
> > > [xinxia at chaos ush]$ python master_met_plus.py
> > >
> > > sh: run_tc_pairs.py: command not found
> > >
> > >
> > > Thanks,
> > >
> > >
> > > Xinxia
> > >
> > > ________________________________
> > > From: Julie Prestopnik via RT <met_help at ucar.edu>
> > > Sent: Friday, February 24, 2017 7:42:21 AM
> > > To: Xinxia_Song at outlook.com
> > > Subject: Re: [rt.rap.ucar.edu #79605] ImportError: No module
named
> > > constants_pdef
> > >
> > > My apologies, my response should have said, "By default, MET
version
> 5.2
> > is
> > > compiled using dynamic linking."  It's true for both, but I see
you're
> > > using 5.2 and I inadvertently referred to 5.1.
> > >
> > > On Thu, Feb 23, 2017 at 10:40 AM, Julie Prestopnik
<jpresto at ucar.edu>
> > > wrote:
> > >
> > > > Hi Xinxia.  Regarding the error:
> > > >
> > > > /D2/xinxia/METplus/MET/met-5.2/bin/tc_stat: error while
loading
> shared
> > > > libraries: libgsl.so.19: cannot open shared object file: No
such file
> > or
> > > > directory
> > > >
> > > > By default, MET version 5.1 is compiled using dynamic linking.
> Rather
> > > > than compiling the external library code in with the MET
executables
> > > (which
> > > > is
> > > > called static linking), it looks for them at runtime.  And
it's
> looking
> > > > for those "shared object" (.so) library files.
> > > >
> > > > This should be easy to fix. We just need to tell it where to
find
> them,
> > > > and we do that by setting (or adding to the LD_LIBRARY_PATH).
Look
> in
> > > your
> > > > ~/.bashrc file.  If LD_LIBRARY_PATH is already defined in
there, add
> > the
> > > > path to the libgsl.so.19 to the end of it.  If not, add an
> > > > LD_LIBRARY_PATH entry in your ~/.bashrc file.  So, for
example, if
> the
> > > path
> > > > to your libgsl.so.19 file is /D2/xinxia/METplus/MET/externa
> > > l_libs/GSL/gsl-1.16/lib
> > > > you would add teh following to your ~/.bashrc file:
> > > >
> > > >   export
LD_LIBRARY_PATH=/D2/xinxia/METplus/MET/external_libs/GSL/
> > > > gsl-1.16/lib
> > > >
> > > > Then save the change and source that file:
> > > >
> > > >   source ~/.bashrc
> > > >
> > > > Then, please try rerunning the command manually and let me
know if it
> > > > works.
> > > >
> > > > I believe that this was the cause of the initial error you
received
> > from
> > > > MET+:
> > > >
> > > > ERROR| /D2/xinxia/METplus/METplus/ush/run_tc_stat.py:tc_stat
from
> > > calling
> > > > MET TC-STAT with command:/D2/xinxia/METplus/MET/met-
5.2/bin/tc_stat
> > -job
> > > > filter -lookin /D2/xinxia/METplus/MET/input/tc_pairs/201412
> -init_inc
> > > > 20141201_00 -match_points true -dump_row
> /D2/xinxia/METplus/MET/out/ext
> > > > ract_tiles/20141201_00/filter_20141201_00.tcst  -basin ML
> > -out_init_mask
> > > > /D2/xinxia/METplus/MET/met-5.2/share/met/poly/CONUS.poly
> > > >
> > > >
> > > > Thanks,
> > > > Julie
> > > >
> > > > On Thu, Feb 23, 2017 at 10:14 AM, Xinxia Song via RT <
> > met_help at ucar.edu>
> > > > wrote:
> > > >
> > > >>
> > > >> <URL: https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=79605
>
> > > >>
> > > >> Hi Julie,
> > > >>
> > > >>
> > > >> [xinxia at chaos ush]$ /D2/xinxia/METplus/MET/met-
5.2/bin/tc_stat -job
> > > >> filter -lookin /D2/xinxia/METplus/MET/input/tc_pairs/201412
> -init_inc
> > > >> 20141201_00 -match_points true -dump_row
> > /D2/xinxia/METplus/MET/out/ext
> > > ract_tiles/20141201_00/
> > > >> filter_20141201_00.tcst  -basin ML -out_init_mask
> > > >> /D2/xinxia/METplus/MET/met-5.2/share/met/poly/CONUS.poly
> > > >>
> > > >> /D2/xinxia/METplus/MET/met-5.2/bin/tc_stat: error while
loading
> > shared
> > > >> libraries: libgsl.so.19: cannot open shared object file: No
such
> file
> > or
> > > >> directory
> > > >>
> > > >>
> > > >> And I uploaded the configuration file (constants_pdef.py)
under
> > > >> xinxia_data directory.
> > > >>
> > > >>
> > > >> Thanks,
> > > >>
> > > >>
> > > >> Xinxia
> > > >>
> > > >> ________________________________
> > > >> From: Julie Prestopnik via RT <met_help at ucar.edu>
> > > >> Sent: Friday, February 24, 2017 6:15:57 AM
> > > >> To: Xinxia_Song at outlook.com
> > > >> Subject: Re: [rt.rap.ucar.edu #79605] ImportError: No module
named
> > > >> constants_pdef
> > > >>
> > > >> Hi Xinxia.
> > > >>
> > > >> I can see that your command, which should have been all on
one line,
> > was
> > > >> broken up into several lines.  Please try running the command
again,
> > > >> making
> > > >> sure that the entire command is on one line:
> > > >>
> > > >> /D2/xinxia/METplus/MET/met-5.2/bin/tc_stat -job filter
-lookin
> > > >> /D2/xinxia/METplus/MET/input/tc_pairs/201412 -init_inc
20141201_00
> > > >> -match_points true -dump_row
> > > >> /D2/xinxia/METplus/MET/out/extract_tiles/20141201_00/
> > > >> filter_20141201_00.tcst  -basin ML -out_init_mask
> > > >> /D2/xinxia/METplus/MET/met-5.2/share/met/poly/CONUS.poly
> > > >>
> > > >> Then, please send the output from that command.
> > > >>
> > > >> Regarding, your error:
> > > >>
> > > >> sh: run_tc_pairs.py: command not found
> > > >>
> > > >> It's strange that would only have occurred after having
changed the
> > > >> LOG_LEVEL.  Could you please send us your configuration file?
> > > >>
> > > >> Thanks!
> > > >>
> > > >> Julie
> > > >>
> > > >> On Wed, Feb 22, 2017 at 2:54 PM, Xinxia Song via RT <
> > met_help at ucar.edu>
> > > >> wrote:
> > > >>
> > > >> >
> > > >> > <URL:
https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=79605 >
> > > >> >
> > > >> > Hi Julie,
> > > >> >
> > > >> >
> > > >> > [xinxia at chaos ush]$ /D2/xinxia/METplus/MET/met-
5.2/bin/tc_stat
> -job
> > > >> > filter -lookin
> > > >> >
> > > >> > /D2/xinxia/METplus/MET/met-5.2/bin/tc_stat: error while
loading
> > > shared
> > > >> > libraries: libgsl.so.19: cannot open shared object file: No
such
> > file
> > > or
> > > >> > directory
> > > >> >
> > > >> >
> > > >> > [xinxia at chaos ush]$
/D2/xinxia/METplus/MET/input/tc_pairs/201412
> > > >> > -init_inc 20141201_00 -match_points true -dump_row
> > > >> >
> > > >> > -bash: /D2/xinxia/METplus/MET/input/tc_pairs/201412: is a
> directory
> > > >> >
> > > >> >
> > > >> > [xinxia at chaos ush]$ /D2/xinxia/METplus/MET/out/ext
> > > >> ract_tiles/20141201_00/
> > > >> > filter_20141201_00.tcst  -basin ML -out_init_mask
> > > >> > /D2/xinxia/METplus/MET/met-5.2/share/met/poly/CONUS.poly
> > > >> >
> > > >> > -bash:
/D2/xinxia/METplus/MET/out/extract_tiles/20141201_00/: No
> > such
> > > >> > file or directory
> > > >> >
> > > >> >
> > > >> > After I change the LOG_LEVEL, I ran the master_met_plus.py,
it
> says:
> > > >> >
> > > >> > [xinxia at chaos ush]$ python master_met_plus.py
> > > >> >
> > > >> > sh: run_tc_pairs.py: command not found
> > > >> >
> > > >> >
> > > >> >
> > > >> > Thanks,
> > > >> >
> > > >> >
> > > >> > Xinxia
> > > >> >
> > > >> >
> > > >> > ________________________________
> > > >> > From: Julie Prestopnik via RT <met_help at ucar.edu>
> > > >> > Sent: Thursday, February 23, 2017 10:04:55 AM
> > > >> > To: Xinxia_Song at outlook.com
> > > >> > Subject: Re: [rt.rap.ucar.edu #79605] ImportError: No
module
> named
> > > >> > constants_pdef
> > > >> >
> > > >> > Thank you.  Unfortunately, the level of detail in the log
file
> > wasn't
> > > >> what
> > > >> > I hoped for.  I'd like to have you try two things.
> > > >> >
> > > >> > First, could you please send me your output of your manual
run of
> > the
> > > >> > following?
> > > >> >
> > > >> > "/D2/xinxia/METplus/MET/met-5.2/bin/tc_stat -job filter
-lookin
> > > >> > /D2/xinxia/METplus/MET/input/tc_pairs/201412 -init_inc
> 20141201_00
> > > >> > -match_points true -dump_row /D2/xinxia/METplus/MET/out/
> > > >> > extract_tiles/20141201_00/ filter_20141201_00.tcst  -basin
ML
> > > >> > -out_init_mask
> > > >> > /D2/xinxia/METplus/MET/met-5.2/share/met/poly/CONUS.poly"
> > > >> >
> > > >> > Second, could you please change your log level in your
> configuration
> > > >> file
> > > >> > from
> > > >> >
> > > >> > LOG_LEVEL = "INFO"
> > > >> >
> > > >> > to
> > > >> >
> > > >> > LOG_LEVEL = "DEBUG"
> > > >> >
> > > >> > then rerun and upload your log file to our ftp server
again?
> > > >> >
> > > >> > Thank you!
> > > >> >
> > > >> > Julie
> > > >> >
> > > >> >
> > > >> > On Wed, Feb 22, 2017 at 12:39 PM, Xinxia Song via RT <
> > > met_help at ucar.edu
> > > >> >
> > > >> > wrote:
> > > >> >
> > > >> > >
> > > >> > > <URL:
https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=79605 >
> > > >> > >
> > > >> > > Hi Julie,
> > > >> > >
> > > >> > >
> > > >> > > I uploaded the log file under xinxia_data directory.
> > > >> > >
> > > >> > >
> > > >> > > Thanks,
> > > >> > >
> > > >> > >
> > > >> > > Xinxia
> > > >> > >
> > > >> > >
> > > >> > > ________________________________
> > > >> > > From: Julie Prestopnik via RT <met_help at ucar.edu>
> > > >> > > Sent: Thursday, February 23, 2017 9:11:32 AM
> > > >> > > To: Xinxia_Song at outlook.com
> > > >> > > Subject: Re: [rt.rap.ucar.edu #79605] ImportError: No
module
> > named
> > > >> > > constants_pdef
> > > >> > >
> > > >> > > Hi Xinxia.
> > > >> > >
> > > >> > > I think it would be helpful if I could take a look at the
log
> > file.
> > > >> > Could
> > > >> > > you please upload your file to our anonymous ftp site as
follows
> > so
> > > >> that
> > > >> > I
> > > >> > > can take a look?
> > > >> > >
> > > >> > >
http://www.dtcenter.org/met/users/support/met_help.php#ftp
> > > >> > >
> > > >> > > Also, could you please try running the following manually
and
> send
> > > the
> > > >> > > output to me?
> > > >> > >
> > > >> > > "/D2/xinxia/METplus/MET/met-5.2/bin/tc_stat -job filter
-lookin
> > > >> > > /D2/xinxia/METplus/MET/input/tc_pairs/201412 -init_inc
> > 20141201_00
> > > >> > > -match_points true -dump_row /D2/xinxia/METplus/MET/out/
> > > >> > > extract_tiles/20141201_00/filter_20141201_00.tcst  -basin
ML
> > > >> > > -out_init_mask
> > > >> > > /D2/xinxia/METplus/MET/met-5.2/share/met/poly/CONUS.poly"
> > > >> > >
> > > >> > > Thank you!
> > > >> > >
> > > >> > > Julie
> > > >> > >
> > > >> > >
> > > >> > >
> > > >> > > On Wed, Feb 22, 2017 at 12:06 PM, Xinxia Song via RT <
> > > >> met_help at ucar.edu>
> > > >> > > wrote:
> > > >> > >
> > > >> > > >
> > > >> > > > <URL:
https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=79605
> >
> > > >> > > >
> > > >> > > > Hi Julie,
> > > >> > > >
> > > >> > > >
> > > >> > > > Now I can run the program, but when I look at the log
file in
> > the
> > > >> > output,
> > > >> > > > it shows error below:
> > > >> > > >
> > > >> > > >
> > > >> > > > ERROR|
/D2/xinxia/METplus/METplus/ush/run_tc_stat.py:tc_stat
> > from
> > > >> > > calling
> > > >> > > > MET TC-STAT with command:/D2/xinxia/METplus/MET
> > > /met-5.2/bin/tc_stat
> > > >> > -job
> > > >> > > > filter -lookin
/D2/xinxia/METplus/MET/input/tc_pairs/201412
> > > >> -init_inc
> > > >> > > > 20141201_00 -match_points true -dump_row
> > > /D2/xinxia/METplus/MET/out/
> > > >> > > > extract_tiles/20141201_00/filter_20141201_00.tcst
-basin ML
> > > >> > > > -out_init_mask /D2/xinxia/METplus/MET/met-5.
> > > >> > 2/share/met/poly/CONUS.poly
> > > >> > > >
> > > >> > > >
> > > >> > > > How should I fix it?
> > > >> > > >
> > > >> > > >
> > > >> > > > Thanks,
> > > >> > > >
> > > >> > > >
> > > >> > > > Xinxia
> > > >> > > >
> > > >> > > > ________________________________
> > > >> > > > From: Julie Prestopnik via RT <met_help at ucar.edu>
> > > >> > > > Sent: Thursday, February 23, 2017 7:30:06 AM
> > > >> > > > To: Xinxia_Song at outlook.com
> > > >> > > > Subject: Re: [rt.rap.ucar.edu #79605] ImportError: No
module
> > > named
> > > >> > > > constants_pdef
> > > >> > > >
> > > >> > > > Hi Xinxia.
> > > >> > > >
> > > >> > > > I believe that python doesn't know how to find the
module
> > because
> > > >> the
> > > >> > ush
> > > >> > > > directory is not in your PYTHONPATH.  Both the parm and
ush
> > > >> directory
> > > >> > > need
> > > >> > > > to be specified in your PYTHONPATH.  Please add the ush
> > directory
> > > to
> > > >> > your
> > > >> > > > PYTHONPATH, source ~/.bashrc, and let us know how it
goes.
> > > >> > > >
> > > >> > > > Thanks,
> > > >> > > > Julie
> > > >> > > >
> > > >> > > > On Wed, Feb 22, 2017 at 10:24 AM, Xinxia Song via RT <
> > > >> > met_help at ucar.edu>
> > > >> > > > wrote:
> > > >> > > >
> > > >> > > > >
> > > >> > > > > <URL: https://rt.rap.ucar.edu/rt/
> Ticket/Display.html?id=79605
> > >
> > > >> > > > >
> > > >> > > > > Hi Julie,
> > > >> > > > >
> > > >> > > > >
> > > >> > > > > Since I don't have setenv, I added these 3 sentence
into my
> > > >> .bashrc
> > > >> > > file:
> > > >> > > > >
> > > >> > > > >
> > > >> > > > > export PYTHONPATH="/D2/xinxia/METplus/METplus/parm"
> > > >> > > > >
> > > >> > > > >
> > > >> > > > > export USHROOT=/D2/xinxia/METplus/METplus/ush
> > > >> > > > >
> > > >> > > > > export PATH=$USHROOT:$PATH
> > > >> > > > >
> > > >> > > > >
> > > >> > > > > I sourced the ~/.bashrc, and checked that the
variables are
> > set,
> > > >> but
> > > >> > > the
> > > >> > > > > program still can't find the module.
> > > >> > > > >
> > > >> > > > >
> > > >> > > > > Thanks,
> > > >> > > > >
> > > >> > > > > Xinxia
> > > >> > > > >
> > > >> > > > > ________________________________
> > > >> > > > > From: Julie Prestopnik via RT <met_help at ucar.edu>
> > > >> > > > > Sent: Thursday, February 23, 2017 6:24:21 AM
> > > >> > > > > To: Xinxia_Song at outlook.com
> > > >> > > > > Subject: Re: [rt.rap.ucar.edu #79605] ImportError: No
> module
> > > >> named
> > > >> > > > > constants_pdef
> > > >> > > > >
> > > >> > > > > Hi Xinxia.
> > > >> > > > >
> > > >> > > > > Could you please check to make sure that the ush
directory
> > with
> > > >> > > > > constants_pdef.py is in your PYTHONPATH in your
.cshrc file
> > (or
> > > >> > .bashrc
> > > >> > > > or
> > > >> > > > > similar file)?  The parm directory should also be in
your
> > > >> PYTHONPATH.
> > > >> > > > >
> > > >> > > > > For example,
> > > >> > > > >
> > > >> > > > > setenv PYTHONPATH /d1/jpresto/sbu/METplus/ush:/
> > > >> > > > d1/jpresto/sbu/METplus/parm
> > > >> > > > >
> > > >> > > > > Please also check make sure that the path to the ush
> directory
> > > is
> > > >> > also
> > > >> > > > > specified your your path environment variable.  For
example,
> > > >> > > > >
> > > >> > > > > set path = (/usr/local/bin \
> > > >> > > > >                  /usr/local/python/bin/python \
> > > >> > > > >                  /d1/jpresto/sbu/METplus/ush )
> > > >> > > > >
> > > >> > > > > If they are not there, please add them and then
source the
> > file
> > > >> (e.g.
> > > >> > > run
> > > >> > > > > "source ~/.cshrc").
> > > >> > > > >
> > > >> > > > > Thank you!  Please let us know how it goes.
> > > >> > > > >
> > > >> > > > > Julie
> > > >> > > > >
> > > >> > > > >
> > > >> > > > >
> > > >> > > > >
> > > >> > > > > On Tue, Feb 21, 2017 at 4:49 PM, Xinxia Song via RT <
> > > >> > met_help at ucar.edu
> > > >> > > >
> > > >> > > > > wrote:
> > > >> > > > >
> > > >> > > > > >
> > > >> > > > > > Tue Feb 21 16:49:28 2017: Request 79605 was acted
upon.
> > > >> > > > > > Transaction: Ticket created by
Xinxia_Song at outlook.com
> > > >> > > > > >        Queue: met_help
> > > >> > > > > >      Subject: ImportError: No module named
constants_pdef
> > > >> > > > > >        Owner: Nobody
> > > >> > > > > >   Requestors: Xinxia_Song at outlook.com
> > > >> > > > > >       Status: new
> > > >> > > > > >  Ticket <URL: https://rt.rap.ucar.edu/rt/
> > > >> > > Ticket/Display.html?id=79605
> > > >> > > > >
> > > >> > > > > >
> > > >> > > > > >
> > > >> > > > > > Hi,
> > > >> > > > > >
> > > >> > > > > >
> > > >> > > > > > When I ran the mater_met_plus.py, it says:
> > > >> > > > > >
> > > >> > > > > >
> > > >> > > > > > ImportError: No module named constants_pdef
> > > >> > > > > >
> > > >> > > > > >
> > > >> > > > > > Seems it doesn't recognize constants_pdef as its
module.
> > > >> > > > > >
> > > >> > > > > >
> > > >> > > > > > Thanks,
> > > >> > > > > >
> > > >> > > > > > Xinxia
> > > >> > > > > >
> > > >> > > > > >
> > > >> > > > >
> > > >> > > > >
> > > >> > > > >
> > > >> > > >
> > > >> > > >
> > > >> > > >
> > > >> > >
> > > >> > >
> > > >> > >
> > > >> >
> > > >> >
> > > >> >
> > > >>
> > > >>
> > > >>
> > > >
> > >
> > >
> > >
> >
> >
> >
>
>
>

------------------------------------------------
Subject: ImportError: No module named constants_pdef
From: Xinxia Song
Time: Thu Feb 23 12:11:20 2017

Hi Julie,


I added it to the $PATH and ran the master_met_python.py:

[xinxia at chaos ush]$ python master_met_plus.py

Traceback (most recent call last):

  File "/D2/xinxia/METplus/METplus/ush/extract_tiles.py", line 157, in
<module>

    main()

  File "/D2/xinxia/METplus/METplus/ush/extract_tiles.py", line 100, in
main

    filtered_out_dir)

  File "/D2/xinxia/METplus/METplus/ush/run_tc_stat.py", line 69, in
tc_stat

    tc_stat_out = subprocess.check_output(tc_cmd,
stderr=subprocess.STDOUT, shell=True )

AttributeError: 'module' object has no attribute 'check_output'


Thanks,


Xinxia

________________________________
From: Julie Prestopnik via RT <met_help at ucar.edu>
Sent: Friday, February 24, 2017 9:07:40 AM
To: Xinxia_Song at outlook.com
Subject: Re: [rt.rap.ucar.edu #79605] ImportError: No module named
constants_pdef

Unfortunately, your environment does not know where to find
run_tc_pairs.py.  Please try adding the directory with run_tc_pairs.py
(/D2/xinxia/METplus/METplus/ush) to your path in your ~/.bashrc file,
then
run "source ~/.bashrc", then trying rerunning.  Please let me know how
that
goes.

Thanks!

Julie

On Thu, Feb 23, 2017 at 11:55 AM, Xinxia Song via RT
<met_help at ucar.edu>
wrote:

>
> <URL: https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=79605 >
>
> Hi Julie,
>
>
> I'm running met in a machine that's owned by our department, I don't
have
> sudo right, so when I type which run_tc_pairs.py, it says couldn't
find it.
>
> no run_tc_pairs.py in (/opt/ncl/bin:/opt/intel-soft/
> bin:/opt/ncl/bin:/opt/ncl/bin:/opt/intel-soft/bin:/opt/ncl/
> bin:/home/xinxia/anaconda/bin:/home/xinxia/anaconda/bin:/
> opt/ncl/bin:/opt/intel-soft/bin:/opt/ncl/bin:/usr/lib64/
> qt-3.3/bin:/usr/local/bin:/bin:/usr/bin:/usr/local/sbin:/
> usr/sbin:/sbin:/sbin:/usr/sbin:/cm/local/apps/environment-
modules/3.2.10/
> bin:/home/xinxia/bin:/opt/ncl-621/bin)
>
>
> But I could find it manually in that directory.
>
>
> Thanks,
>
>
> Xinxia
>
> ________________________________
> From: Julie Prestopnik via RT <met_help at ucar.edu>
> Sent: Friday, February 24, 2017 8:52:16 AM
> To: Xinxia_Song at outlook.com
> Subject: Re: [rt.rap.ucar.edu #79605] ImportError: No module named
> constants_pdef
>
> Hi Xinxia.
>
> It looks like you got a successful run of tc_stat - that's great
news!
>
> I'm not sure what you mean by "Because I don't have the right, I
can't find
> run_tc_pairs.py, but I know it's under
>
> /D2/xinxia/METplus/METplus/ush".
>
> Can you please explain?  What happened when you ran "which
> run_tc_pairs.py"?
>
> Thanks,
> Julie
>
>
>
>
>
>
> On Thu, Feb 23, 2017 at 11:44 AM, Xinxia Song via RT
<met_help at ucar.edu>
> wrote:
>
> >
> > <URL: https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=79605 >
> >
> > Hi Julie,
> >
> >
> > I removed the space.
> >
> > [xinxia at chaos parm]$ /D2/xinxia/METplus/MET/met-5.2/bin/tc_stat
-job
> > filter -lookin /D2/xinxia/METplus/MET/input/tc_pairs/201412
-init_inc
> > 20141201_00 -match_points true -dump_row
/D2/xinxia/METplus/MET/out/
> > extract_tiles/20141201_00/filter_20141201_00.tcst  -basin ML
> > -out_init_mask /D2/xinxia/METplus/MET/met-
5.2/share/met/poly/CONUS.poly
> >
> > DEBUG 1: [Source 1] Lookin:
/D2/xinxia/METplus/MET/input/tc_pairs/201412
> >
> > DEBUG 2:
> >
> > DEBUG 2: Processing Job 1: -job filter -basin ML -init_inc
> 20141201_000000
> > -match_points true -out_init_mask /D2/xinxia/METplus/MET/met-5.
> 2/share/met/poly/CONUS.poly
> > -dump_row /D2/xinxia/METplus/MET/out/extract_tiles/20141201_00/
> > filter_20141201_00.tcst
> >
> > DEBUG 1: Creating output dump file: /D2/xinxia/METplus/MET/out/
> > extract_tiles/20141201_00/filter_20141201_00.tcst
> >
> > FILTER: -job filter -basin ML -init_inc 20141201_000000
-match_points
> true
> > -out_init_mask /D2/xinxia/METplus/MET/met-
5.2/share/met/poly/CONUS.poly
> > -dump_row /D2/xinxia/METplus/MET/out/extract_tiles/20141201_00/
> > filter_20141201_00.tcst
> >
> >
> > DEBUG 2: Job 1 used 0 out of 27292 lines read.
> >
> >
> > Because I don't have the right, I can't find run_tc_pairs.py, but
I know
> > it's under
> >
> > /D2/xinxia/METplus/METplus/ush
> >
> >
> > For Python,
> >
> > [xinxia at chaos ~]$ which python
> >
> > /usr/bin/python
> >
> >
> > Xinxia
> >
> > ________________________________
> > From: Julie Prestopnik via RT <met_help at ucar.edu>
> > Sent: Friday, February 24, 2017 8:30:01 AM
> > To: Xinxia_Song at outlook.com
> > Subject: Re: [rt.rap.ucar.edu #79605] ImportError: No module named
> > constants_pdef
> >
> > Hi Xinxia.
> >
> > It looks like there is a space where there should not be a space
(between
> > /D2/xinxia/METplus/MET/out/extract_tiles/20141201_00/ and
> > filter_20141201_00.tcst after the -dump_row option).
> >
> > Could you please try it again without the space?
> >
> > /D2/xinxia/METplus/METplus/ush/run_tc_stat.py:tc_stat from calling
MET
> > TC-STAT with command:/D2/xinxia/METplus/MET/met-5.2/bin/tc_stat
-job
> > filter
> > -lookin /D2/xinxia/METplus/MET/input/tc_pairs/201412 -init_inc
> 20141201_00
> > -match_points true -dump_row /D2/xinxia/METplus/MET/out/
> > extract_tiles/20141201_00/filter_20141201_00.tcst  -basin ML
> > -out_init_mask
> > /D2/xinxia/METplus/MET/met-5.2/share/met/poly/CONUS.poly
> >
> > Regarding the master_met_plus.py run, please try running the
following
> two
> > commands and send me the output:
> >
> > which run_tc_pairs.py
> >
> > which python
> >
> > Thanks!
> >
> > Julie
> >
> > On Thu, Feb 23, 2017 at 11:06 AM, Xinxia Song via RT
<met_help at ucar.edu>
> > wrote:
> >
> > >
> > > <URL: https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=79605 >
> > >
> > > Hi Julie,
> > >
> > >
> > > After I ran the long one line command:
> > >
> > > [xinxia at chaos parm]$ /D2/xinxia/METplus/MET/met-5.2/bin/tc_stat
-job
> > > filter -lookin /D2/xinxia/METplus/MET/input/tc_pairs/201412
-init_inc
> > > 20141201_00 -match_points true -dump_row
/D2/xinxia/METplus/MET/out/
> > extract_tiles/20141201_00/
> > > filter_20141201_00.tcst  -basin ML -out_init_mask
> > > /D2/xinxia/METplus/MET/met-5.2/share/met/poly/CONUS.poly
> > >
> > >
> > > DEBUG 1: [Source 1] Lookin: /D2/xinxia/METplus/MET/input/
> tc_pairs/201412
> > >
> > > ERROR  :
> > >
> > > ERROR  : TCStatJob *TCStatJobFactory::new_tc_stat_job(const char
> > > *jobstring) -> unsupported job command options
> "filter_20141201_00.tcst".
> > >
> > > ERROR  :
> > >
> > >
> > > And for the master_met_plus.py, I got the error:
> > >
> > > [xinxia at chaos ush]$ python master_met_plus.py
> > >
> > > sh: run_tc_pairs.py: command not found
> > >
> > >
> > > Thanks,
> > >
> > >
> > > Xinxia
> > >
> > > ________________________________
> > > From: Julie Prestopnik via RT <met_help at ucar.edu>
> > > Sent: Friday, February 24, 2017 7:42:21 AM
> > > To: Xinxia_Song at outlook.com
> > > Subject: Re: [rt.rap.ucar.edu #79605] ImportError: No module
named
> > > constants_pdef
> > >
> > > My apologies, my response should have said, "By default, MET
version
> 5.2
> > is
> > > compiled using dynamic linking."  It's true for both, but I see
you're
> > > using 5.2 and I inadvertently referred to 5.1.
> > >
> > > On Thu, Feb 23, 2017 at 10:40 AM, Julie Prestopnik
<jpresto at ucar.edu>
> > > wrote:
> > >
> > > > Hi Xinxia.  Regarding the error:
> > > >
> > > > /D2/xinxia/METplus/MET/met-5.2/bin/tc_stat: error while
loading
> shared
> > > > libraries: libgsl.so.19: cannot open shared object file: No
such file
> > or
> > > > directory
> > > >
> > > > By default, MET version 5.1 is compiled using dynamic linking.
> Rather
> > > > than compiling the external library code in with the MET
executables
> > > (which
> > > > is
> > > > called static linking), it looks for them at runtime.  And
it's
> looking
> > > > for those "shared object" (.so) library files.
> > > >
> > > > This should be easy to fix. We just need to tell it where to
find
> them,
> > > > and we do that by setting (or adding to the LD_LIBRARY_PATH).
Look
> in
> > > your
> > > > ~/.bashrc file.  If LD_LIBRARY_PATH is already defined in
there, add
> > the
> > > > path to the libgsl.so.19 to the end of it.  If not, add an
> > > > LD_LIBRARY_PATH entry in your ~/.bashrc file.  So, for
example, if
> the
> > > path
> > > > to your libgsl.so.19 file is /D2/xinxia/METplus/MET/externa
> > > l_libs/GSL/gsl-1.16/lib
> > > > you would add teh following to your ~/.bashrc file:
> > > >
> > > >   export
LD_LIBRARY_PATH=/D2/xinxia/METplus/MET/external_libs/GSL/
> > > > gsl-1.16/lib
> > > >
> > > > Then save the change and source that file:
> > > >
> > > >   source ~/.bashrc
> > > >
> > > > Then, please try rerunning the command manually and let me
know if it
> > > > works.
> > > >
> > > > I believe that this was the cause of the initial error you
received
> > from
> > > > MET+:
> > > >
> > > > ERROR| /D2/xinxia/METplus/METplus/ush/run_tc_stat.py:tc_stat
from
> > > calling
> > > > MET TC-STAT with command:/D2/xinxia/METplus/MET/met-
5.2/bin/tc_stat
> > -job
> > > > filter -lookin /D2/xinxia/METplus/MET/input/tc_pairs/201412
> -init_inc
> > > > 20141201_00 -match_points true -dump_row
> /D2/xinxia/METplus/MET/out/ext
> > > > ract_tiles/20141201_00/filter_20141201_00.tcst  -basin ML
> > -out_init_mask
> > > > /D2/xinxia/METplus/MET/met-5.2/share/met/poly/CONUS.poly
> > > >
> > > >
> > > > Thanks,
> > > > Julie
> > > >
> > > > On Thu, Feb 23, 2017 at 10:14 AM, Xinxia Song via RT <
> > met_help at ucar.edu>
> > > > wrote:
> > > >
> > > >>
> > > >> <URL: https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=79605
>
> > > >>
> > > >> Hi Julie,
> > > >>
> > > >>
> > > >> [xinxia at chaos ush]$ /D2/xinxia/METplus/MET/met-
5.2/bin/tc_stat -job
> > > >> filter -lookin /D2/xinxia/METplus/MET/input/tc_pairs/201412
> -init_inc
> > > >> 20141201_00 -match_points true -dump_row
> > /D2/xinxia/METplus/MET/out/ext
> > > ract_tiles/20141201_00/
> > > >> filter_20141201_00.tcst  -basin ML -out_init_mask
> > > >> /D2/xinxia/METplus/MET/met-5.2/share/met/poly/CONUS.poly
> > > >>
> > > >> /D2/xinxia/METplus/MET/met-5.2/bin/tc_stat: error while
loading
> > shared
> > > >> libraries: libgsl.so.19: cannot open shared object file: No
such
> file
> > or
> > > >> directory
> > > >>
> > > >>
> > > >> And I uploaded the configuration file (constants_pdef.py)
under
> > > >> xinxia_data directory.
> > > >>
> > > >>
> > > >> Thanks,
> > > >>
> > > >>
> > > >> Xinxia
> > > >>
> > > >> ________________________________
> > > >> From: Julie Prestopnik via RT <met_help at ucar.edu>
> > > >> Sent: Friday, February 24, 2017 6:15:57 AM
> > > >> To: Xinxia_Song at outlook.com
> > > >> Subject: Re: [rt.rap.ucar.edu #79605] ImportError: No module
named
> > > >> constants_pdef
> > > >>
> > > >> Hi Xinxia.
> > > >>
> > > >> I can see that your command, which should have been all on
one line,
> > was
> > > >> broken up into several lines.  Please try running the command
again,
> > > >> making
> > > >> sure that the entire command is on one line:
> > > >>
> > > >> /D2/xinxia/METplus/MET/met-5.2/bin/tc_stat -job filter
-lookin
> > > >> /D2/xinxia/METplus/MET/input/tc_pairs/201412 -init_inc
20141201_00
> > > >> -match_points true -dump_row
> > > >> /D2/xinxia/METplus/MET/out/extract_tiles/20141201_00/
> > > >> filter_20141201_00.tcst  -basin ML -out_init_mask
> > > >> /D2/xinxia/METplus/MET/met-5.2/share/met/poly/CONUS.poly
> > > >>
> > > >> Then, please send the output from that command.
> > > >>
> > > >> Regarding, your error:
> > > >>
> > > >> sh: run_tc_pairs.py: command not found
> > > >>
> > > >> It's strange that would only have occurred after having
changed the
> > > >> LOG_LEVEL.  Could you please send us your configuration file?
> > > >>
> > > >> Thanks!
> > > >>
> > > >> Julie
> > > >>
> > > >> On Wed, Feb 22, 2017 at 2:54 PM, Xinxia Song via RT <
> > met_help at ucar.edu>
> > > >> wrote:
> > > >>
> > > >> >
> > > >> > <URL:
https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=79605 >
> > > >> >
> > > >> > Hi Julie,
> > > >> >
> > > >> >
> > > >> > [xinxia at chaos ush]$ /D2/xinxia/METplus/MET/met-
5.2/bin/tc_stat
> -job
> > > >> > filter -lookin
> > > >> >
> > > >> > /D2/xinxia/METplus/MET/met-5.2/bin/tc_stat: error while
loading
> > > shared
> > > >> > libraries: libgsl.so.19: cannot open shared object file: No
such
> > file
> > > or
> > > >> > directory
> > > >> >
> > > >> >
> > > >> > [xinxia at chaos ush]$
/D2/xinxia/METplus/MET/input/tc_pairs/201412
> > > >> > -init_inc 20141201_00 -match_points true -dump_row
> > > >> >
> > > >> > -bash: /D2/xinxia/METplus/MET/input/tc_pairs/201412: is a
> directory
> > > >> >
> > > >> >
> > > >> > [xinxia at chaos ush]$ /D2/xinxia/METplus/MET/out/ext
> > > >> ract_tiles/20141201_00/
> > > >> > filter_20141201_00.tcst  -basin ML -out_init_mask
> > > >> > /D2/xinxia/METplus/MET/met-5.2/share/met/poly/CONUS.poly
> > > >> >
> > > >> > -bash:
/D2/xinxia/METplus/MET/out/extract_tiles/20141201_00/: No
> > such
> > > >> > file or directory
> > > >> >
> > > >> >
> > > >> > After I change the LOG_LEVEL, I ran the master_met_plus.py,
it
> says:
> > > >> >
> > > >> > [xinxia at chaos ush]$ python master_met_plus.py
> > > >> >
> > > >> > sh: run_tc_pairs.py: command not found
> > > >> >
> > > >> >
> > > >> >
> > > >> > Thanks,
> > > >> >
> > > >> >
> > > >> > Xinxia
> > > >> >
> > > >> >
> > > >> > ________________________________
> > > >> > From: Julie Prestopnik via RT <met_help at ucar.edu>
> > > >> > Sent: Thursday, February 23, 2017 10:04:55 AM
> > > >> > To: Xinxia_Song at outlook.com
> > > >> > Subject: Re: [rt.rap.ucar.edu #79605] ImportError: No
module
> named
> > > >> > constants_pdef
> > > >> >
> > > >> > Thank you.  Unfortunately, the level of detail in the log
file
> > wasn't
> > > >> what
> > > >> > I hoped for.  I'd like to have you try two things.
> > > >> >
> > > >> > First, could you please send me your output of your manual
run of
> > the
> > > >> > following?
> > > >> >
> > > >> > "/D2/xinxia/METplus/MET/met-5.2/bin/tc_stat -job filter
-lookin
> > > >> > /D2/xinxia/METplus/MET/input/tc_pairs/201412 -init_inc
> 20141201_00
> > > >> > -match_points true -dump_row /D2/xinxia/METplus/MET/out/
> > > >> > extract_tiles/20141201_00/ filter_20141201_00.tcst  -basin
ML
> > > >> > -out_init_mask
> > > >> > /D2/xinxia/METplus/MET/met-5.2/share/met/poly/CONUS.poly"
> > > >> >
> > > >> > Second, could you please change your log level in your
> configuration
> > > >> file
> > > >> > from
> > > >> >
> > > >> > LOG_LEVEL = "INFO"
> > > >> >
> > > >> > to
> > > >> >
> > > >> > LOG_LEVEL = "DEBUG"
> > > >> >
> > > >> > then rerun and upload your log file to our ftp server
again?
> > > >> >
> > > >> > Thank you!
> > > >> >
> > > >> > Julie
> > > >> >
> > > >> >
> > > >> > On Wed, Feb 22, 2017 at 12:39 PM, Xinxia Song via RT <
> > > met_help at ucar.edu
> > > >> >
> > > >> > wrote:
> > > >> >
> > > >> > >
> > > >> > > <URL:
https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=79605 >
> > > >> > >
> > > >> > > Hi Julie,
> > > >> > >
> > > >> > >
> > > >> > > I uploaded the log file under xinxia_data directory.
> > > >> > >
> > > >> > >
> > > >> > > Thanks,
> > > >> > >
> > > >> > >
> > > >> > > Xinxia
> > > >> > >
> > > >> > >
> > > >> > > ________________________________
> > > >> > > From: Julie Prestopnik via RT <met_help at ucar.edu>
> > > >> > > Sent: Thursday, February 23, 2017 9:11:32 AM
> > > >> > > To: Xinxia_Song at outlook.com
> > > >> > > Subject: Re: [rt.rap.ucar.edu #79605] ImportError: No
module
> > named
> > > >> > > constants_pdef
> > > >> > >
> > > >> > > Hi Xinxia.
> > > >> > >
> > > >> > > I think it would be helpful if I could take a look at the
log
> > file.
> > > >> > Could
> > > >> > > you please upload your file to our anonymous ftp site as
follows
> > so
> > > >> that
> > > >> > I
> > > >> > > can take a look?
> > > >> > >
> > > >> > >
http://www.dtcenter.org/met/users/support/met_help.php#ftp
> > > >> > >
> > > >> > > Also, could you please try running the following manually
and
> send
> > > the
> > > >> > > output to me?
> > > >> > >
> > > >> > > "/D2/xinxia/METplus/MET/met-5.2/bin/tc_stat -job filter
-lookin
> > > >> > > /D2/xinxia/METplus/MET/input/tc_pairs/201412 -init_inc
> > 20141201_00
> > > >> > > -match_points true -dump_row /D2/xinxia/METplus/MET/out/
> > > >> > > extract_tiles/20141201_00/filter_20141201_00.tcst  -basin
ML
> > > >> > > -out_init_mask
> > > >> > > /D2/xinxia/METplus/MET/met-5.2/share/met/poly/CONUS.poly"
> > > >> > >
> > > >> > > Thank you!
> > > >> > >
> > > >> > > Julie
> > > >> > >
> > > >> > >
> > > >> > >
> > > >> > > On Wed, Feb 22, 2017 at 12:06 PM, Xinxia Song via RT <
> > > >> met_help at ucar.edu>
> > > >> > > wrote:
> > > >> > >
> > > >> > > >
> > > >> > > > <URL:
https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=79605
> >
> > > >> > > >
> > > >> > > > Hi Julie,
> > > >> > > >
> > > >> > > >
> > > >> > > > Now I can run the program, but when I look at the log
file in
> > the
> > > >> > output,
> > > >> > > > it shows error below:
> > > >> > > >
> > > >> > > >
> > > >> > > > ERROR|
/D2/xinxia/METplus/METplus/ush/run_tc_stat.py:tc_stat
> > from
> > > >> > > calling
> > > >> > > > MET TC-STAT with command:/D2/xinxia/METplus/MET
> > > /met-5.2/bin/tc_stat
> > > >> > -job
> > > >> > > > filter -lookin
/D2/xinxia/METplus/MET/input/tc_pairs/201412
> > > >> -init_inc
> > > >> > > > 20141201_00 -match_points true -dump_row
> > > /D2/xinxia/METplus/MET/out/
> > > >> > > > extract_tiles/20141201_00/filter_20141201_00.tcst
-basin ML
> > > >> > > > -out_init_mask /D2/xinxia/METplus/MET/met-5.
> > > >> > 2/share/met/poly/CONUS.poly
> > > >> > > >
> > > >> > > >
> > > >> > > > How should I fix it?
> > > >> > > >
> > > >> > > >
> > > >> > > > Thanks,
> > > >> > > >
> > > >> > > >
> > > >> > > > Xinxia
> > > >> > > >
> > > >> > > > ________________________________
> > > >> > > > From: Julie Prestopnik via RT <met_help at ucar.edu>
> > > >> > > > Sent: Thursday, February 23, 2017 7:30:06 AM
> > > >> > > > To: Xinxia_Song at outlook.com
> > > >> > > > Subject: Re: [rt.rap.ucar.edu #79605] ImportError: No
module
> > > named
> > > >> > > > constants_pdef
> > > >> > > >
> > > >> > > > Hi Xinxia.
> > > >> > > >
> > > >> > > > I believe that python doesn't know how to find the
module
> > because
> > > >> the
> > > >> > ush
> > > >> > > > directory is not in your PYTHONPATH.  Both the parm and
ush
> > > >> directory
> > > >> > > need
> > > >> > > > to be specified in your PYTHONPATH.  Please add the ush
> > directory
> > > to
> > > >> > your
> > > >> > > > PYTHONPATH, source ~/.bashrc, and let us know how it
goes.
> > > >> > > >
> > > >> > > > Thanks,
> > > >> > > > Julie
> > > >> > > >
> > > >> > > > On Wed, Feb 22, 2017 at 10:24 AM, Xinxia Song via RT <
> > > >> > met_help at ucar.edu>
> > > >> > > > wrote:
> > > >> > > >
> > > >> > > > >
> > > >> > > > > <URL: https://rt.rap.ucar.edu/rt/
> Ticket/Display.html?id=79605
> > >
> > > >> > > > >
> > > >> > > > > Hi Julie,
> > > >> > > > >
> > > >> > > > >
> > > >> > > > > Since I don't have setenv, I added these 3 sentence
into my
> > > >> .bashrc
> > > >> > > file:
> > > >> > > > >
> > > >> > > > >
> > > >> > > > > export PYTHONPATH="/D2/xinxia/METplus/METplus/parm"
> > > >> > > > >
> > > >> > > > >
> > > >> > > > > export USHROOT=/D2/xinxia/METplus/METplus/ush
> > > >> > > > >
> > > >> > > > > export PATH=$USHROOT:$PATH
> > > >> > > > >
> > > >> > > > >
> > > >> > > > > I sourced the ~/.bashrc, and checked that the
variables are
> > set,
> > > >> but
> > > >> > > the
> > > >> > > > > program still can't find the module.
> > > >> > > > >
> > > >> > > > >
> > > >> > > > > Thanks,
> > > >> > > > >
> > > >> > > > > Xinxia
> > > >> > > > >
> > > >> > > > > ________________________________
> > > >> > > > > From: Julie Prestopnik via RT <met_help at ucar.edu>
> > > >> > > > > Sent: Thursday, February 23, 2017 6:24:21 AM
> > > >> > > > > To: Xinxia_Song at outlook.com
> > > >> > > > > Subject: Re: [rt.rap.ucar.edu #79605] ImportError: No
> module
> > > >> named
> > > >> > > > > constants_pdef
> > > >> > > > >
> > > >> > > > > Hi Xinxia.
> > > >> > > > >
> > > >> > > > > Could you please check to make sure that the ush
directory
> > with
> > > >> > > > > constants_pdef.py is in your PYTHONPATH in your
.cshrc file
> > (or
> > > >> > .bashrc
> > > >> > > > or
> > > >> > > > > similar file)?  The parm directory should also be in
your
> > > >> PYTHONPATH.
> > > >> > > > >
> > > >> > > > > For example,
> > > >> > > > >
> > > >> > > > > setenv PYTHONPATH /d1/jpresto/sbu/METplus/ush:/
> > > >> > > > d1/jpresto/sbu/METplus/parm
> > > >> > > > >
> > > >> > > > > Please also check make sure that the path to the ush
> directory
> > > is
> > > >> > also
> > > >> > > > > specified your your path environment variable.  For
example,
> > > >> > > > >
> > > >> > > > > set path = (/usr/local/bin \
> > > >> > > > >                  /usr/local/python/bin/python \
> > > >> > > > >                  /d1/jpresto/sbu/METplus/ush )
> > > >> > > > >
> > > >> > > > > If they are not there, please add them and then
source the
> > file
> > > >> (e.g.
> > > >> > > run
> > > >> > > > > "source ~/.cshrc").
> > > >> > > > >
> > > >> > > > > Thank you!  Please let us know how it goes.
> > > >> > > > >
> > > >> > > > > Julie
> > > >> > > > >
> > > >> > > > >
> > > >> > > > >
> > > >> > > > >
> > > >> > > > > On Tue, Feb 21, 2017 at 4:49 PM, Xinxia Song via RT <
> > > >> > met_help at ucar.edu
> > > >> > > >
> > > >> > > > > wrote:
> > > >> > > > >
> > > >> > > > > >
> > > >> > > > > > Tue Feb 21 16:49:28 2017: Request 79605 was acted
upon.
> > > >> > > > > > Transaction: Ticket created by
Xinxia_Song at outlook.com
> > > >> > > > > >        Queue: met_help
> > > >> > > > > >      Subject: ImportError: No module named
constants_pdef
> > > >> > > > > >        Owner: Nobody
> > > >> > > > > >   Requestors: Xinxia_Song at outlook.com
> > > >> > > > > >       Status: new
> > > >> > > > > >  Ticket <URL: https://rt.rap.ucar.edu/rt/
> > > >> > > Ticket/Display.html?id=79605
> > > >> > > > >
> > > >> > > > > >
> > > >> > > > > >
> > > >> > > > > > Hi,
> > > >> > > > > >
> > > >> > > > > >
> > > >> > > > > > When I ran the mater_met_plus.py, it says:
> > > >> > > > > >
> > > >> > > > > >
> > > >> > > > > > ImportError: No module named constants_pdef
> > > >> > > > > >
> > > >> > > > > >
> > > >> > > > > > Seems it doesn't recognize constants_pdef as its
module.
> > > >> > > > > >
> > > >> > > > > >
> > > >> > > > > > Thanks,
> > > >> > > > > >
> > > >> > > > > > Xinxia
> > > >> > > > > >
> > > >> > > > > >
> > > >> > > > >
> > > >> > > > >
> > > >> > > > >
> > > >> > > >
> > > >> > > >
> > > >> > > >
> > > >> > >
> > > >> > >
> > > >> > >
> > > >> >
> > > >> >
> > > >> >
> > > >>
> > > >>
> > > >>
> > > >
> > >
> > >
> > >
> >
> >
> >
>
>
>


------------------------------------------------
Subject: ImportError: No module named constants_pdef
From: Julie Prestopnik
Time: Thu Feb 23 12:37:53 2017

Can you please tell me which version of Python you are using?
check_output
for subprocess was introduced in Python 2.7.    Do you have access to
Python version 2.7 or higher?

Thanks,
Julie

On Thu, Feb 23, 2017 at 12:11 PM, Xinxia Song via RT
<met_help at ucar.edu>
wrote:

>
> <URL: https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=79605 >
>
> Hi Julie,
>
>
> I added it to the $PATH and ran the master_met_python.py:
>
> [xinxia at chaos ush]$ python master_met_plus.py
>
> Traceback (most recent call last):
>
>   File "/D2/xinxia/METplus/METplus/ush/extract_tiles.py", line 157,
in
> <module>
>
>     main()
>
>   File "/D2/xinxia/METplus/METplus/ush/extract_tiles.py", line 100,
in
> main
>
>     filtered_out_dir)
>
>   File "/D2/xinxia/METplus/METplus/ush/run_tc_stat.py", line 69, in
> tc_stat
>
>     tc_stat_out = subprocess.check_output(tc_cmd,
> stderr=subprocess.STDOUT, shell=True )
>
> AttributeError: 'module' object has no attribute 'check_output'
>
>
> Thanks,
>
>
> Xinxia
>
> ________________________________
> From: Julie Prestopnik via RT <met_help at ucar.edu>
> Sent: Friday, February 24, 2017 9:07:40 AM
> To: Xinxia_Song at outlook.com
> Subject: Re: [rt.rap.ucar.edu #79605] ImportError: No module named
> constants_pdef
>
> Unfortunately, your environment does not know where to find
> run_tc_pairs.py.  Please try adding the directory with
run_tc_pairs.py
> (/D2/xinxia/METplus/METplus/ush) to your path in your ~/.bashrc
file, then
> run "source ~/.bashrc", then trying rerunning.  Please let me know
how that
> goes.
>
> Thanks!
>
> Julie
>
> On Thu, Feb 23, 2017 at 11:55 AM, Xinxia Song via RT
<met_help at ucar.edu>
> wrote:
>
> >
> > <URL: https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=79605 >
> >
> > Hi Julie,
> >
> >
> > I'm running met in a machine that's owned by our department, I
don't have
> > sudo right, so when I type which run_tc_pairs.py, it says couldn't
find
> it.
> >
> > no run_tc_pairs.py in (/opt/ncl/bin:/opt/intel-soft/
> > bin:/opt/ncl/bin:/opt/ncl/bin:/opt/intel-soft/bin:/opt/ncl/
> > bin:/home/xinxia/anaconda/bin:/home/xinxia/anaconda/bin:/
> > opt/ncl/bin:/opt/intel-soft/bin:/opt/ncl/bin:/usr/lib64/
> > qt-3.3/bin:/usr/local/bin:/bin:/usr/bin:/usr/local/sbin:/
> > usr/sbin:/sbin:/sbin:/usr/sbin:/cm/local/apps/
> environment-modules/3.2.10/
> > bin:/home/xinxia/bin:/opt/ncl-621/bin)
> >
> >
> > But I could find it manually in that directory.
> >
> >
> > Thanks,
> >
> >
> > Xinxia
> >
> > ________________________________
> > From: Julie Prestopnik via RT <met_help at ucar.edu>
> > Sent: Friday, February 24, 2017 8:52:16 AM
> > To: Xinxia_Song at outlook.com
> > Subject: Re: [rt.rap.ucar.edu #79605] ImportError: No module named
> > constants_pdef
> >
> > Hi Xinxia.
> >
> > It looks like you got a successful run of tc_stat - that's great
news!
> >
> > I'm not sure what you mean by "Because I don't have the right, I
can't
> find
> > run_tc_pairs.py, but I know it's under
> >
> > /D2/xinxia/METplus/METplus/ush".
> >
> > Can you please explain?  What happened when you ran "which
> > run_tc_pairs.py"?
> >
> > Thanks,
> > Julie
> >
> >
> >
> >
> >
> >
> > On Thu, Feb 23, 2017 at 11:44 AM, Xinxia Song via RT
<met_help at ucar.edu>
> > wrote:
> >
> > >
> > > <URL: https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=79605 >
> > >
> > > Hi Julie,
> > >
> > >
> > > I removed the space.
> > >
> > > [xinxia at chaos parm]$ /D2/xinxia/METplus/MET/met-5.2/bin/tc_stat
-job
> > > filter -lookin /D2/xinxia/METplus/MET/input/tc_pairs/201412
-init_inc
> > > 20141201_00 -match_points true -dump_row
/D2/xinxia/METplus/MET/out/
> > > extract_tiles/20141201_00/filter_20141201_00.tcst  -basin ML
> > > -out_init_mask /D2/xinxia/METplus/MET/met-5.
> 2/share/met/poly/CONUS.poly
> > >
> > > DEBUG 1: [Source 1] Lookin: /D2/xinxia/METplus/MET/input/
> tc_pairs/201412
> > >
> > > DEBUG 2:
> > >
> > > DEBUG 2: Processing Job 1: -job filter -basin ML -init_inc
> > 20141201_000000
> > > -match_points true -out_init_mask /D2/xinxia/METplus/MET/met-5.
> > 2/share/met/poly/CONUS.poly
> > > -dump_row /D2/xinxia/METplus/MET/out/extract_tiles/20141201_00/
> > > filter_20141201_00.tcst
> > >
> > > DEBUG 1: Creating output dump file: /D2/xinxia/METplus/MET/out/
> > > extract_tiles/20141201_00/filter_20141201_00.tcst
> > >
> > > FILTER: -job filter -basin ML -init_inc 20141201_000000
-match_points
> > true
> > > -out_init_mask /D2/xinxia/METplus/MET/met-5.
> 2/share/met/poly/CONUS.poly
> > > -dump_row /D2/xinxia/METplus/MET/out/extract_tiles/20141201_00/
> > > filter_20141201_00.tcst
> > >
> > >
> > > DEBUG 2: Job 1 used 0 out of 27292 lines read.
> > >
> > >
> > > Because I don't have the right, I can't find run_tc_pairs.py,
but I
> know
> > > it's under
> > >
> > > /D2/xinxia/METplus/METplus/ush
> > >
> > >
> > > For Python,
> > >
> > > [xinxia at chaos ~]$ which python
> > >
> > > /usr/bin/python
> > >
> > >
> > > Xinxia
> > >
> > > ________________________________
> > > From: Julie Prestopnik via RT <met_help at ucar.edu>
> > > Sent: Friday, February 24, 2017 8:30:01 AM
> > > To: Xinxia_Song at outlook.com
> > > Subject: Re: [rt.rap.ucar.edu #79605] ImportError: No module
named
> > > constants_pdef
> > >
> > > Hi Xinxia.
> > >
> > > It looks like there is a space where there should not be a space
> (between
> > > /D2/xinxia/METplus/MET/out/extract_tiles/20141201_00/ and
> > > filter_20141201_00.tcst after the -dump_row option).
> > >
> > > Could you please try it again without the space?
> > >
> > > /D2/xinxia/METplus/METplus/ush/run_tc_stat.py:tc_stat from
calling MET
> > > TC-STAT with command:/D2/xinxia/METplus/MET/met-5.2/bin/tc_stat
-job
> > > filter
> > > -lookin /D2/xinxia/METplus/MET/input/tc_pairs/201412 -init_inc
> > 20141201_00
> > > -match_points true -dump_row /D2/xinxia/METplus/MET/out/
> > > extract_tiles/20141201_00/filter_20141201_00.tcst  -basin ML
> > > -out_init_mask
> > > /D2/xinxia/METplus/MET/met-5.2/share/met/poly/CONUS.poly
> > >
> > > Regarding the master_met_plus.py run, please try running the
following
> > two
> > > commands and send me the output:
> > >
> > > which run_tc_pairs.py
> > >
> > > which python
> > >
> > > Thanks!
> > >
> > > Julie
> > >
> > > On Thu, Feb 23, 2017 at 11:06 AM, Xinxia Song via RT <
> met_help at ucar.edu>
> > > wrote:
> > >
> > > >
> > > > <URL: https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=79605
>
> > > >
> > > > Hi Julie,
> > > >
> > > >
> > > > After I ran the long one line command:
> > > >
> > > > [xinxia at chaos parm]$ /D2/xinxia/METplus/MET/met-
5.2/bin/tc_stat -job
> > > > filter -lookin /D2/xinxia/METplus/MET/input/tc_pairs/201412
> -init_inc
> > > > 20141201_00 -match_points true -dump_row
/D2/xinxia/METplus/MET/out/
> > > extract_tiles/20141201_00/
> > > > filter_20141201_00.tcst  -basin ML -out_init_mask
> > > > /D2/xinxia/METplus/MET/met-5.2/share/met/poly/CONUS.poly
> > > >
> > > >
> > > > DEBUG 1: [Source 1] Lookin: /D2/xinxia/METplus/MET/input/
> > tc_pairs/201412
> > > >
> > > > ERROR  :
> > > >
> > > > ERROR  : TCStatJob *TCStatJobFactory::new_tc_stat_job(const
char
> > > > *jobstring) -> unsupported job command options
> > "filter_20141201_00.tcst".
> > > >
> > > > ERROR  :
> > > >
> > > >
> > > > And for the master_met_plus.py, I got the error:
> > > >
> > > > [xinxia at chaos ush]$ python master_met_plus.py
> > > >
> > > > sh: run_tc_pairs.py: command not found
> > > >
> > > >
> > > > Thanks,
> > > >
> > > >
> > > > Xinxia
> > > >
> > > > ________________________________
> > > > From: Julie Prestopnik via RT <met_help at ucar.edu>
> > > > Sent: Friday, February 24, 2017 7:42:21 AM
> > > > To: Xinxia_Song at outlook.com
> > > > Subject: Re: [rt.rap.ucar.edu #79605] ImportError: No module
named
> > > > constants_pdef
> > > >
> > > > My apologies, my response should have said, "By default, MET
version
> > 5.2
> > > is
> > > > compiled using dynamic linking."  It's true for both, but I
see
> you're
> > > > using 5.2 and I inadvertently referred to 5.1.
> > > >
> > > > On Thu, Feb 23, 2017 at 10:40 AM, Julie Prestopnik
<jpresto at ucar.edu
> >
> > > > wrote:
> > > >
> > > > > Hi Xinxia.  Regarding the error:
> > > > >
> > > > > /D2/xinxia/METplus/MET/met-5.2/bin/tc_stat: error while
loading
> > shared
> > > > > libraries: libgsl.so.19: cannot open shared object file: No
such
> file
> > > or
> > > > > directory
> > > > >
> > > > > By default, MET version 5.1 is compiled using dynamic
linking.
> > Rather
> > > > > than compiling the external library code in with the MET
> executables
> > > > (which
> > > > > is
> > > > > called static linking), it looks for them at runtime.  And
it's
> > looking
> > > > > for those "shared object" (.so) library files.
> > > > >
> > > > > This should be easy to fix. We just need to tell it where to
find
> > them,
> > > > > and we do that by setting (or adding to the
LD_LIBRARY_PATH).  Look
> > in
> > > > your
> > > > > ~/.bashrc file.  If LD_LIBRARY_PATH is already defined in
there,
> add
> > > the
> > > > > path to the libgsl.so.19 to the end of it.  If not, add an
> > > > > LD_LIBRARY_PATH entry in your ~/.bashrc file.  So, for
example, if
> > the
> > > > path
> > > > > to your libgsl.so.19 file is /D2/xinxia/METplus/MET/externa
> > > > l_libs/GSL/gsl-1.16/lib
> > > > > you would add teh following to your ~/.bashrc file:
> > > > >
> > > > >   export
LD_LIBRARY_PATH=/D2/xinxia/METplus/MET/external_libs/GSL/
> > > > > gsl-1.16/lib
> > > > >
> > > > > Then save the change and source that file:
> > > > >
> > > > >   source ~/.bashrc
> > > > >
> > > > > Then, please try rerunning the command manually and let me
know if
> it
> > > > > works.
> > > > >
> > > > > I believe that this was the cause of the initial error you
received
> > > from
> > > > > MET+:
> > > > >
> > > > > ERROR| /D2/xinxia/METplus/METplus/ush/run_tc_stat.py:tc_stat
from
> > > > calling
> > > > > MET TC-STAT with command:/D2/xinxia/METplus/
> MET/met-5.2/bin/tc_stat
> > > -job
> > > > > filter -lookin /D2/xinxia/METplus/MET/input/tc_pairs/201412
> > -init_inc
> > > > > 20141201_00 -match_points true -dump_row
> > /D2/xinxia/METplus/MET/out/ext
> > > > > ract_tiles/20141201_00/filter_20141201_00.tcst  -basin ML
> > > -out_init_mask
> > > > > /D2/xinxia/METplus/MET/met-5.2/share/met/poly/CONUS.poly
> > > > >
> > > > >
> > > > > Thanks,
> > > > > Julie
> > > > >
> > > > > On Thu, Feb 23, 2017 at 10:14 AM, Xinxia Song via RT <
> > > met_help at ucar.edu>
> > > > > wrote:
> > > > >
> > > > >>
> > > > >> <URL:
https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=79605 >
> > > > >>
> > > > >> Hi Julie,
> > > > >>
> > > > >>
> > > > >> [xinxia at chaos ush]$ /D2/xinxia/METplus/MET/met-
5.2/bin/tc_stat
> -job
> > > > >> filter -lookin /D2/xinxia/METplus/MET/input/tc_pairs/201412
> > -init_inc
> > > > >> 20141201_00 -match_points true -dump_row
> > > /D2/xinxia/METplus/MET/out/ext
> > > > ract_tiles/20141201_00/
> > > > >> filter_20141201_00.tcst  -basin ML -out_init_mask
> > > > >> /D2/xinxia/METplus/MET/met-5.2/share/met/poly/CONUS.poly
> > > > >>
> > > > >> /D2/xinxia/METplus/MET/met-5.2/bin/tc_stat: error while
loading
> > > shared
> > > > >> libraries: libgsl.so.19: cannot open shared object file: No
such
> > file
> > > or
> > > > >> directory
> > > > >>
> > > > >>
> > > > >> And I uploaded the configuration file (constants_pdef.py)
under
> > > > >> xinxia_data directory.
> > > > >>
> > > > >>
> > > > >> Thanks,
> > > > >>
> > > > >>
> > > > >> Xinxia
> > > > >>
> > > > >> ________________________________
> > > > >> From: Julie Prestopnik via RT <met_help at ucar.edu>
> > > > >> Sent: Friday, February 24, 2017 6:15:57 AM
> > > > >> To: Xinxia_Song at outlook.com
> > > > >> Subject: Re: [rt.rap.ucar.edu #79605] ImportError: No
module
> named
> > > > >> constants_pdef
> > > > >>
> > > > >> Hi Xinxia.
> > > > >>
> > > > >> I can see that your command, which should have been all on
one
> line,
> > > was
> > > > >> broken up into several lines.  Please try running the
command
> again,
> > > > >> making
> > > > >> sure that the entire command is on one line:
> > > > >>
> > > > >> /D2/xinxia/METplus/MET/met-5.2/bin/tc_stat -job filter
-lookin
> > > > >> /D2/xinxia/METplus/MET/input/tc_pairs/201412 -init_inc
> 20141201_00
> > > > >> -match_points true -dump_row
> > > > >> /D2/xinxia/METplus/MET/out/extract_tiles/20141201_00/
> > > > >> filter_20141201_00.tcst  -basin ML -out_init_mask
> > > > >> /D2/xinxia/METplus/MET/met-5.2/share/met/poly/CONUS.poly
> > > > >>
> > > > >> Then, please send the output from that command.
> > > > >>
> > > > >> Regarding, your error:
> > > > >>
> > > > >> sh: run_tc_pairs.py: command not found
> > > > >>
> > > > >> It's strange that would only have occurred after having
changed
> the
> > > > >> LOG_LEVEL.  Could you please send us your configuration
file?
> > > > >>
> > > > >> Thanks!
> > > > >>
> > > > >> Julie
> > > > >>
> > > > >> On Wed, Feb 22, 2017 at 2:54 PM, Xinxia Song via RT <
> > > met_help at ucar.edu>
> > > > >> wrote:
> > > > >>
> > > > >> >
> > > > >> > <URL:
https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=79605 >
> > > > >> >
> > > > >> > Hi Julie,
> > > > >> >
> > > > >> >
> > > > >> > [xinxia at chaos ush]$ /D2/xinxia/METplus/MET/met-
5.2/bin/tc_stat
> > -job
> > > > >> > filter -lookin
> > > > >> >
> > > > >> > /D2/xinxia/METplus/MET/met-5.2/bin/tc_stat: error while
loading
> > > > shared
> > > > >> > libraries: libgsl.so.19: cannot open shared object file:
No such
> > > file
> > > > or
> > > > >> > directory
> > > > >> >
> > > > >> >
> > > > >> > [xinxia at chaos ush]$ /D2/xinxia/METplus/MET/input/
> tc_pairs/201412
> > > > >> > -init_inc 20141201_00 -match_points true -dump_row
> > > > >> >
> > > > >> > -bash: /D2/xinxia/METplus/MET/input/tc_pairs/201412: is a
> > directory
> > > > >> >
> > > > >> >
> > > > >> > [xinxia at chaos ush]$ /D2/xinxia/METplus/MET/out/ext
> > > > >> ract_tiles/20141201_00/
> > > > >> > filter_20141201_00.tcst  -basin ML -out_init_mask
> > > > >> > /D2/xinxia/METplus/MET/met-5.2/share/met/poly/CONUS.poly
> > > > >> >
> > > > >> > -bash:
/D2/xinxia/METplus/MET/out/extract_tiles/20141201_00/:
> No
> > > such
> > > > >> > file or directory
> > > > >> >
> > > > >> >
> > > > >> > After I change the LOG_LEVEL, I ran the
master_met_plus.py, it
> > says:
> > > > >> >
> > > > >> > [xinxia at chaos ush]$ python master_met_plus.py
> > > > >> >
> > > > >> > sh: run_tc_pairs.py: command not found
> > > > >> >
> > > > >> >
> > > > >> >
> > > > >> > Thanks,
> > > > >> >
> > > > >> >
> > > > >> > Xinxia
> > > > >> >
> > > > >> >
> > > > >> > ________________________________
> > > > >> > From: Julie Prestopnik via RT <met_help at ucar.edu>
> > > > >> > Sent: Thursday, February 23, 2017 10:04:55 AM
> > > > >> > To: Xinxia_Song at outlook.com
> > > > >> > Subject: Re: [rt.rap.ucar.edu #79605] ImportError: No
module
> > named
> > > > >> > constants_pdef
> > > > >> >
> > > > >> > Thank you.  Unfortunately, the level of detail in the log
file
> > > wasn't
> > > > >> what
> > > > >> > I hoped for.  I'd like to have you try two things.
> > > > >> >
> > > > >> > First, could you please send me your output of your
manual run
> of
> > > the
> > > > >> > following?
> > > > >> >
> > > > >> > "/D2/xinxia/METplus/MET/met-5.2/bin/tc_stat -job filter
-lookin
> > > > >> > /D2/xinxia/METplus/MET/input/tc_pairs/201412 -init_inc
> > 20141201_00
> > > > >> > -match_points true -dump_row /D2/xinxia/METplus/MET/out/
> > > > >> > extract_tiles/20141201_00/ filter_20141201_00.tcst
-basin ML
> > > > >> > -out_init_mask
> > > > >> > /D2/xinxia/METplus/MET/met-5.2/share/met/poly/CONUS.poly"
> > > > >> >
> > > > >> > Second, could you please change your log level in your
> > configuration
> > > > >> file
> > > > >> > from
> > > > >> >
> > > > >> > LOG_LEVEL = "INFO"
> > > > >> >
> > > > >> > to
> > > > >> >
> > > > >> > LOG_LEVEL = "DEBUG"
> > > > >> >
> > > > >> > then rerun and upload your log file to our ftp server
again?
> > > > >> >
> > > > >> > Thank you!
> > > > >> >
> > > > >> > Julie
> > > > >> >
> > > > >> >
> > > > >> > On Wed, Feb 22, 2017 at 12:39 PM, Xinxia Song via RT <
> > > > met_help at ucar.edu
> > > > >> >
> > > > >> > wrote:
> > > > >> >
> > > > >> > >
> > > > >> > > <URL:
https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=79605
> >
> > > > >> > >
> > > > >> > > Hi Julie,
> > > > >> > >
> > > > >> > >
> > > > >> > > I uploaded the log file under xinxia_data directory.
> > > > >> > >
> > > > >> > >
> > > > >> > > Thanks,
> > > > >> > >
> > > > >> > >
> > > > >> > > Xinxia
> > > > >> > >
> > > > >> > >
> > > > >> > > ________________________________
> > > > >> > > From: Julie Prestopnik via RT <met_help at ucar.edu>
> > > > >> > > Sent: Thursday, February 23, 2017 9:11:32 AM
> > > > >> > > To: Xinxia_Song at outlook.com
> > > > >> > > Subject: Re: [rt.rap.ucar.edu #79605] ImportError: No
module
> > > named
> > > > >> > > constants_pdef
> > > > >> > >
> > > > >> > > Hi Xinxia.
> > > > >> > >
> > > > >> > > I think it would be helpful if I could take a look at
the log
> > > file.
> > > > >> > Could
> > > > >> > > you please upload your file to our anonymous ftp site
as
> follows
> > > so
> > > > >> that
> > > > >> > I
> > > > >> > > can take a look?
> > > > >> > >
> > > > >> > >
http://www.dtcenter.org/met/users/support/met_help.php#ftp
> > > > >> > >
> > > > >> > > Also, could you please try running the following
manually and
> > send
> > > > the
> > > > >> > > output to me?
> > > > >> > >
> > > > >> > > "/D2/xinxia/METplus/MET/met-5.2/bin/tc_stat -job filter
> -lookin
> > > > >> > > /D2/xinxia/METplus/MET/input/tc_pairs/201412 -init_inc
> > > 20141201_00
> > > > >> > > -match_points true -dump_row
/D2/xinxia/METplus/MET/out/
> > > > >> > > extract_tiles/20141201_00/filter_20141201_00.tcst
-basin ML
> > > > >> > > -out_init_mask
> > > > >> > > /D2/xinxia/METplus/MET/met-
5.2/share/met/poly/CONUS.poly"
> > > > >> > >
> > > > >> > > Thank you!
> > > > >> > >
> > > > >> > > Julie
> > > > >> > >
> > > > >> > >
> > > > >> > >
> > > > >> > > On Wed, Feb 22, 2017 at 12:06 PM, Xinxia Song via RT <
> > > > >> met_help at ucar.edu>
> > > > >> > > wrote:
> > > > >> > >
> > > > >> > > >
> > > > >> > > > <URL: https://rt.rap.ucar.edu/rt/
> Ticket/Display.html?id=79605
> > >
> > > > >> > > >
> > > > >> > > > Hi Julie,
> > > > >> > > >
> > > > >> > > >
> > > > >> > > > Now I can run the program, but when I look at the log
file
> in
> > > the
> > > > >> > output,
> > > > >> > > > it shows error below:
> > > > >> > > >
> > > > >> > > >
> > > > >> > > > ERROR| /D2/xinxia/METplus/METplus/
> ush/run_tc_stat.py:tc_stat
> > > from
> > > > >> > > calling
> > > > >> > > > MET TC-STAT with command:/D2/xinxia/METplus/MET
> > > > /met-5.2/bin/tc_stat
> > > > >> > -job
> > > > >> > > > filter -lookin
/D2/xinxia/METplus/MET/input/tc_pairs/201412
> > > > >> -init_inc
> > > > >> > > > 20141201_00 -match_points true -dump_row
> > > > /D2/xinxia/METplus/MET/out/
> > > > >> > > > extract_tiles/20141201_00/filter_20141201_00.tcst
-basin
> ML
> > > > >> > > > -out_init_mask /D2/xinxia/METplus/MET/met-5.
> > > > >> > 2/share/met/poly/CONUS.poly
> > > > >> > > >
> > > > >> > > >
> > > > >> > > > How should I fix it?
> > > > >> > > >
> > > > >> > > >
> > > > >> > > > Thanks,
> > > > >> > > >
> > > > >> > > >
> > > > >> > > > Xinxia
> > > > >> > > >
> > > > >> > > > ________________________________
> > > > >> > > > From: Julie Prestopnik via RT <met_help at ucar.edu>
> > > > >> > > > Sent: Thursday, February 23, 2017 7:30:06 AM
> > > > >> > > > To: Xinxia_Song at outlook.com
> > > > >> > > > Subject: Re: [rt.rap.ucar.edu #79605] ImportError: No
> module
> > > > named
> > > > >> > > > constants_pdef
> > > > >> > > >
> > > > >> > > > Hi Xinxia.
> > > > >> > > >
> > > > >> > > > I believe that python doesn't know how to find the
module
> > > because
> > > > >> the
> > > > >> > ush
> > > > >> > > > directory is not in your PYTHONPATH.  Both the parm
and ush
> > > > >> directory
> > > > >> > > need
> > > > >> > > > to be specified in your PYTHONPATH.  Please add the
ush
> > > directory
> > > > to
> > > > >> > your
> > > > >> > > > PYTHONPATH, source ~/.bashrc, and let us know how it
goes.
> > > > >> > > >
> > > > >> > > > Thanks,
> > > > >> > > > Julie
> > > > >> > > >
> > > > >> > > > On Wed, Feb 22, 2017 at 10:24 AM, Xinxia Song via RT
<
> > > > >> > met_help at ucar.edu>
> > > > >> > > > wrote:
> > > > >> > > >
> > > > >> > > > >
> > > > >> > > > > <URL: https://rt.rap.ucar.edu/rt/
> > Ticket/Display.html?id=79605
> > > >
> > > > >> > > > >
> > > > >> > > > > Hi Julie,
> > > > >> > > > >
> > > > >> > > > >
> > > > >> > > > > Since I don't have setenv, I added these 3 sentence
into
> my
> > > > >> .bashrc
> > > > >> > > file:
> > > > >> > > > >
> > > > >> > > > >
> > > > >> > > > > export PYTHONPATH="/D2/xinxia/METplus/METplus/parm"
> > > > >> > > > >
> > > > >> > > > >
> > > > >> > > > > export USHROOT=/D2/xinxia/METplus/METplus/ush
> > > > >> > > > >
> > > > >> > > > > export PATH=$USHROOT:$PATH
> > > > >> > > > >
> > > > >> > > > >
> > > > >> > > > > I sourced the ~/.bashrc, and checked that the
variables
> are
> > > set,
> > > > >> but
> > > > >> > > the
> > > > >> > > > > program still can't find the module.
> > > > >> > > > >
> > > > >> > > > >
> > > > >> > > > > Thanks,
> > > > >> > > > >
> > > > >> > > > > Xinxia
> > > > >> > > > >
> > > > >> > > > > ________________________________
> > > > >> > > > > From: Julie Prestopnik via RT <met_help at ucar.edu>
> > > > >> > > > > Sent: Thursday, February 23, 2017 6:24:21 AM
> > > > >> > > > > To: Xinxia_Song at outlook.com
> > > > >> > > > > Subject: Re: [rt.rap.ucar.edu #79605] ImportError:
No
> > module
> > > > >> named
> > > > >> > > > > constants_pdef
> > > > >> > > > >
> > > > >> > > > > Hi Xinxia.
> > > > >> > > > >
> > > > >> > > > > Could you please check to make sure that the ush
directory
> > > with
> > > > >> > > > > constants_pdef.py is in your PYTHONPATH in your
.cshrc
> file
> > > (or
> > > > >> > .bashrc
> > > > >> > > > or
> > > > >> > > > > similar file)?  The parm directory should also be
in your
> > > > >> PYTHONPATH.
> > > > >> > > > >
> > > > >> > > > > For example,
> > > > >> > > > >
> > > > >> > > > > setenv PYTHONPATH /d1/jpresto/sbu/METplus/ush:/
> > > > >> > > > d1/jpresto/sbu/METplus/parm
> > > > >> > > > >
> > > > >> > > > > Please also check make sure that the path to the
ush
> > directory
> > > > is
> > > > >> > also
> > > > >> > > > > specified your your path environment variable.  For
> example,
> > > > >> > > > >
> > > > >> > > > > set path = (/usr/local/bin \
> > > > >> > > > >                  /usr/local/python/bin/python \
> > > > >> > > > >                  /d1/jpresto/sbu/METplus/ush )
> > > > >> > > > >
> > > > >> > > > > If they are not there, please add them and then
source the
> > > file
> > > > >> (e.g.
> > > > >> > > run
> > > > >> > > > > "source ~/.cshrc").
> > > > >> > > > >
> > > > >> > > > > Thank you!  Please let us know how it goes.
> > > > >> > > > >
> > > > >> > > > > Julie
> > > > >> > > > >
> > > > >> > > > >
> > > > >> > > > >
> > > > >> > > > >
> > > > >> > > > > On Tue, Feb 21, 2017 at 4:49 PM, Xinxia Song via RT
<
> > > > >> > met_help at ucar.edu
> > > > >> > > >
> > > > >> > > > > wrote:
> > > > >> > > > >
> > > > >> > > > > >
> > > > >> > > > > > Tue Feb 21 16:49:28 2017: Request 79605 was acted
upon.
> > > > >> > > > > > Transaction: Ticket created by
Xinxia_Song at outlook.com
> > > > >> > > > > >        Queue: met_help
> > > > >> > > > > >      Subject: ImportError: No module named
> constants_pdef
> > > > >> > > > > >        Owner: Nobody
> > > > >> > > > > >   Requestors: Xinxia_Song at outlook.com
> > > > >> > > > > >       Status: new
> > > > >> > > > > >  Ticket <URL: https://rt.rap.ucar.edu/rt/
> > > > >> > > Ticket/Display.html?id=79605
> > > > >> > > > >
> > > > >> > > > > >
> > > > >> > > > > >
> > > > >> > > > > > Hi,
> > > > >> > > > > >
> > > > >> > > > > >
> > > > >> > > > > > When I ran the mater_met_plus.py, it says:
> > > > >> > > > > >
> > > > >> > > > > >
> > > > >> > > > > > ImportError: No module named constants_pdef
> > > > >> > > > > >
> > > > >> > > > > >
> > > > >> > > > > > Seems it doesn't recognize constants_pdef as its
module.
> > > > >> > > > > >
> > > > >> > > > > >
> > > > >> > > > > > Thanks,
> > > > >> > > > > >
> > > > >> > > > > > Xinxia
> > > > >> > > > > >
> > > > >> > > > > >
> > > > >> > > > >
> > > > >> > > > >
> > > > >> > > > >
> > > > >> > > >
> > > > >> > > >
> > > > >> > > >
> > > > >> > >
> > > > >> > >
> > > > >> > >
> > > > >> >
> > > > >> >
> > > > >> >
> > > > >>
> > > > >>
> > > > >>
> > > > >
> > > >
> > > >
> > > >
> > >
> > >
> > >
> >
> >
> >
>
>
>

------------------------------------------------
Subject: ImportError: No module named constants_pdef
From: Xinxia Song
Time: Thu Feb 23 12:39:44 2017

Hi Julie,


I see, the version is too low, it's Python 2.6.6.


Maybe I should install a higher version python myself.


Thanks,


Xinxia


________________________________
From: Julie Prestopnik via RT <met_help at ucar.edu>
Sent: Friday, February 24, 2017 9:37:53 AM
To: Xinxia_Song at outlook.com
Subject: Re: [rt.rap.ucar.edu #79605] ImportError: No module named
constants_pdef

Can you please tell me which version of Python you are using?
check_output
for subprocess was introduced in Python 2.7.    Do you have access to
Python version 2.7 or higher?

Thanks,
Julie

On Thu, Feb 23, 2017 at 12:11 PM, Xinxia Song via RT
<met_help at ucar.edu>
wrote:

>
> <URL: https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=79605 >
>
> Hi Julie,
>
>
> I added it to the $PATH and ran the master_met_python.py:
>
> [xinxia at chaos ush]$ python master_met_plus.py
>
> Traceback (most recent call last):
>
>   File "/D2/xinxia/METplus/METplus/ush/extract_tiles.py", line 157,
in
> <module>
>
>     main()
>
>   File "/D2/xinxia/METplus/METplus/ush/extract_tiles.py", line 100,
in
> main
>
>     filtered_out_dir)
>
>   File "/D2/xinxia/METplus/METplus/ush/run_tc_stat.py", line 69, in
> tc_stat
>
>     tc_stat_out = subprocess.check_output(tc_cmd,
> stderr=subprocess.STDOUT, shell=True )
>
> AttributeError: 'module' object has no attribute 'check_output'
>
>
> Thanks,
>
>
> Xinxia
>
> ________________________________
> From: Julie Prestopnik via RT <met_help at ucar.edu>
> Sent: Friday, February 24, 2017 9:07:40 AM
> To: Xinxia_Song at outlook.com
> Subject: Re: [rt.rap.ucar.edu #79605] ImportError: No module named
> constants_pdef
>
> Unfortunately, your environment does not know where to find
> run_tc_pairs.py.  Please try adding the directory with
run_tc_pairs.py
> (/D2/xinxia/METplus/METplus/ush) to your path in your ~/.bashrc
file, then
> run "source ~/.bashrc", then trying rerunning.  Please let me know
how that
> goes.
>
> Thanks!
>
> Julie
>
> On Thu, Feb 23, 2017 at 11:55 AM, Xinxia Song via RT
<met_help at ucar.edu>
> wrote:
>
> >
> > <URL: https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=79605 >
> >
> > Hi Julie,
> >
> >
> > I'm running met in a machine that's owned by our department, I
don't have
> > sudo right, so when I type which run_tc_pairs.py, it says couldn't
find
> it.
> >
> > no run_tc_pairs.py in (/opt/ncl/bin:/opt/intel-soft/
> > bin:/opt/ncl/bin:/opt/ncl/bin:/opt/intel-soft/bin:/opt/ncl/
> > bin:/home/xinxia/anaconda/bin:/home/xinxia/anaconda/bin:/
> > opt/ncl/bin:/opt/intel-soft/bin:/opt/ncl/bin:/usr/lib64/
> > qt-3.3/bin:/usr/local/bin:/bin:/usr/bin:/usr/local/sbin:/
> > usr/sbin:/sbin:/sbin:/usr/sbin:/cm/local/apps/
> environment-modules/3.2.10/
> > bin:/home/xinxia/bin:/opt/ncl-621/bin)
> >
> >
> > But I could find it manually in that directory.
> >
> >
> > Thanks,
> >
> >
> > Xinxia
> >
> > ________________________________
> > From: Julie Prestopnik via RT <met_help at ucar.edu>
> > Sent: Friday, February 24, 2017 8:52:16 AM
> > To: Xinxia_Song at outlook.com
> > Subject: Re: [rt.rap.ucar.edu #79605] ImportError: No module named
> > constants_pdef
> >
> > Hi Xinxia.
> >
> > It looks like you got a successful run of tc_stat - that's great
news!
> >
> > I'm not sure what you mean by "Because I don't have the right, I
can't
> find
> > run_tc_pairs.py, but I know it's under
> >
> > /D2/xinxia/METplus/METplus/ush".
> >
> > Can you please explain?  What happened when you ran "which
> > run_tc_pairs.py"?
> >
> > Thanks,
> > Julie
> >
> >
> >
> >
> >
> >
> > On Thu, Feb 23, 2017 at 11:44 AM, Xinxia Song via RT
<met_help at ucar.edu>
> > wrote:
> >
> > >
> > > <URL: https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=79605 >
> > >
> > > Hi Julie,
> > >
> > >
> > > I removed the space.
> > >
> > > [xinxia at chaos parm]$ /D2/xinxia/METplus/MET/met-5.2/bin/tc_stat
-job
> > > filter -lookin /D2/xinxia/METplus/MET/input/tc_pairs/201412
-init_inc
> > > 20141201_00 -match_points true -dump_row
/D2/xinxia/METplus/MET/out/
> > > extract_tiles/20141201_00/filter_20141201_00.tcst  -basin ML
> > > -out_init_mask /D2/xinxia/METplus/MET/met-5.
> 2/share/met/poly/CONUS.poly
> > >
> > > DEBUG 1: [Source 1] Lookin: /D2/xinxia/METplus/MET/input/
> tc_pairs/201412
> > >
> > > DEBUG 2:
> > >
> > > DEBUG 2: Processing Job 1: -job filter -basin ML -init_inc
> > 20141201_000000
> > > -match_points true -out_init_mask /D2/xinxia/METplus/MET/met-5.
> > 2/share/met/poly/CONUS.poly
> > > -dump_row /D2/xinxia/METplus/MET/out/extract_tiles/20141201_00/
> > > filter_20141201_00.tcst
> > >
> > > DEBUG 1: Creating output dump file: /D2/xinxia/METplus/MET/out/
> > > extract_tiles/20141201_00/filter_20141201_00.tcst
> > >
> > > FILTER: -job filter -basin ML -init_inc 20141201_000000
-match_points
> > true
> > > -out_init_mask /D2/xinxia/METplus/MET/met-5.
> 2/share/met/poly/CONUS.poly
> > > -dump_row /D2/xinxia/METplus/MET/out/extract_tiles/20141201_00/
> > > filter_20141201_00.tcst
> > >
> > >
> > > DEBUG 2: Job 1 used 0 out of 27292 lines read.
> > >
> > >
> > > Because I don't have the right, I can't find run_tc_pairs.py,
but I
> know
> > > it's under
> > >
> > > /D2/xinxia/METplus/METplus/ush
> > >
> > >
> > > For Python,
> > >
> > > [xinxia at chaos ~]$ which python
> > >
> > > /usr/bin/python
> > >
> > >
> > > Xinxia
> > >
> > > ________________________________
> > > From: Julie Prestopnik via RT <met_help at ucar.edu>
> > > Sent: Friday, February 24, 2017 8:30:01 AM
> > > To: Xinxia_Song at outlook.com
> > > Subject: Re: [rt.rap.ucar.edu #79605] ImportError: No module
named
> > > constants_pdef
> > >
> > > Hi Xinxia.
> > >
> > > It looks like there is a space where there should not be a space
> (between
> > > /D2/xinxia/METplus/MET/out/extract_tiles/20141201_00/ and
> > > filter_20141201_00.tcst after the -dump_row option).
> > >
> > > Could you please try it again without the space?
> > >
> > > /D2/xinxia/METplus/METplus/ush/run_tc_stat.py:tc_stat from
calling MET
> > > TC-STAT with command:/D2/xinxia/METplus/MET/met-5.2/bin/tc_stat
-job
> > > filter
> > > -lookin /D2/xinxia/METplus/MET/input/tc_pairs/201412 -init_inc
> > 20141201_00
> > > -match_points true -dump_row /D2/xinxia/METplus/MET/out/
> > > extract_tiles/20141201_00/filter_20141201_00.tcst  -basin ML
> > > -out_init_mask
> > > /D2/xinxia/METplus/MET/met-5.2/share/met/poly/CONUS.poly
> > >
> > > Regarding the master_met_plus.py run, please try running the
following
> > two
> > > commands and send me the output:
> > >
> > > which run_tc_pairs.py
> > >
> > > which python
> > >
> > > Thanks!
> > >
> > > Julie
> > >
> > > On Thu, Feb 23, 2017 at 11:06 AM, Xinxia Song via RT <
> met_help at ucar.edu>
> > > wrote:
> > >
> > > >
> > > > <URL: https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=79605
>
> > > >
> > > > Hi Julie,
> > > >
> > > >
> > > > After I ran the long one line command:
> > > >
> > > > [xinxia at chaos parm]$ /D2/xinxia/METplus/MET/met-
5.2/bin/tc_stat -job
> > > > filter -lookin /D2/xinxia/METplus/MET/input/tc_pairs/201412
> -init_inc
> > > > 20141201_00 -match_points true -dump_row
/D2/xinxia/METplus/MET/out/
> > > extract_tiles/20141201_00/
> > > > filter_20141201_00.tcst  -basin ML -out_init_mask
> > > > /D2/xinxia/METplus/MET/met-5.2/share/met/poly/CONUS.poly
> > > >
> > > >
> > > > DEBUG 1: [Source 1] Lookin: /D2/xinxia/METplus/MET/input/
> > tc_pairs/201412
> > > >
> > > > ERROR  :
> > > >
> > > > ERROR  : TCStatJob *TCStatJobFactory::new_tc_stat_job(const
char
> > > > *jobstring) -> unsupported job command options
> > "filter_20141201_00.tcst".
> > > >
> > > > ERROR  :
> > > >
> > > >
> > > > And for the master_met_plus.py, I got the error:
> > > >
> > > > [xinxia at chaos ush]$ python master_met_plus.py
> > > >
> > > > sh: run_tc_pairs.py: command not found
> > > >
> > > >
> > > > Thanks,
> > > >
> > > >
> > > > Xinxia
> > > >
> > > > ________________________________
> > > > From: Julie Prestopnik via RT <met_help at ucar.edu>
> > > > Sent: Friday, February 24, 2017 7:42:21 AM
> > > > To: Xinxia_Song at outlook.com
> > > > Subject: Re: [rt.rap.ucar.edu #79605] ImportError: No module
named
> > > > constants_pdef
> > > >
> > > > My apologies, my response should have said, "By default, MET
version
> > 5.2
> > > is
> > > > compiled using dynamic linking."  It's true for both, but I
see
> you're
> > > > using 5.2 and I inadvertently referred to 5.1.
> > > >
> > > > On Thu, Feb 23, 2017 at 10:40 AM, Julie Prestopnik
<jpresto at ucar.edu
> >
> > > > wrote:
> > > >
> > > > > Hi Xinxia.  Regarding the error:
> > > > >
> > > > > /D2/xinxia/METplus/MET/met-5.2/bin/tc_stat: error while
loading
> > shared
> > > > > libraries: libgsl.so.19: cannot open shared object file: No
such
> file
> > > or
> > > > > directory
> > > > >
> > > > > By default, MET version 5.1 is compiled using dynamic
linking.
> > Rather
> > > > > than compiling the external library code in with the MET
> executables
> > > > (which
> > > > > is
> > > > > called static linking), it looks for them at runtime.  And
it's
> > looking
> > > > > for those "shared object" (.so) library files.
> > > > >
> > > > > This should be easy to fix. We just need to tell it where to
find
> > them,
> > > > > and we do that by setting (or adding to the
LD_LIBRARY_PATH).  Look
> > in
> > > > your
> > > > > ~/.bashrc file.  If LD_LIBRARY_PATH is already defined in
there,
> add
> > > the
> > > > > path to the libgsl.so.19 to the end of it.  If not, add an
> > > > > LD_LIBRARY_PATH entry in your ~/.bashrc file.  So, for
example, if
> > the
> > > > path
> > > > > to your libgsl.so.19 file is /D2/xinxia/METplus/MET/externa
> > > > l_libs/GSL/gsl-1.16/lib
> > > > > you would add teh following to your ~/.bashrc file:
> > > > >
> > > > >   export
LD_LIBRARY_PATH=/D2/xinxia/METplus/MET/external_libs/GSL/
> > > > > gsl-1.16/lib
> > > > >
> > > > > Then save the change and source that file:
> > > > >
> > > > >   source ~/.bashrc
> > > > >
> > > > > Then, please try rerunning the command manually and let me
know if
> it
> > > > > works.
> > > > >
> > > > > I believe that this was the cause of the initial error you
received
> > > from
> > > > > MET+:
> > > > >
> > > > > ERROR| /D2/xinxia/METplus/METplus/ush/run_tc_stat.py:tc_stat
from
> > > > calling
> > > > > MET TC-STAT with command:/D2/xinxia/METplus/
> MET/met-5.2/bin/tc_stat
> > > -job
> > > > > filter -lookin /D2/xinxia/METplus/MET/input/tc_pairs/201412
> > -init_inc
> > > > > 20141201_00 -match_points true -dump_row
> > /D2/xinxia/METplus/MET/out/ext
> > > > > ract_tiles/20141201_00/filter_20141201_00.tcst  -basin ML
> > > -out_init_mask
> > > > > /D2/xinxia/METplus/MET/met-5.2/share/met/poly/CONUS.poly
> > > > >
> > > > >
> > > > > Thanks,
> > > > > Julie
> > > > >
> > > > > On Thu, Feb 23, 2017 at 10:14 AM, Xinxia Song via RT <
> > > met_help at ucar.edu>
> > > > > wrote:
> > > > >
> > > > >>
> > > > >> <URL:
https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=79605 >
> > > > >>
> > > > >> Hi Julie,
> > > > >>
> > > > >>
> > > > >> [xinxia at chaos ush]$ /D2/xinxia/METplus/MET/met-
5.2/bin/tc_stat
> -job
> > > > >> filter -lookin /D2/xinxia/METplus/MET/input/tc_pairs/201412
> > -init_inc
> > > > >> 20141201_00 -match_points true -dump_row
> > > /D2/xinxia/METplus/MET/out/ext
> > > > ract_tiles/20141201_00/
> > > > >> filter_20141201_00.tcst  -basin ML -out_init_mask
> > > > >> /D2/xinxia/METplus/MET/met-5.2/share/met/poly/CONUS.poly
> > > > >>
> > > > >> /D2/xinxia/METplus/MET/met-5.2/bin/tc_stat: error while
loading
> > > shared
> > > > >> libraries: libgsl.so.19: cannot open shared object file: No
such
> > file
> > > or
> > > > >> directory
> > > > >>
> > > > >>
> > > > >> And I uploaded the configuration file (constants_pdef.py)
under
> > > > >> xinxia_data directory.
> > > > >>
> > > > >>
> > > > >> Thanks,
> > > > >>
> > > > >>
> > > > >> Xinxia
> > > > >>
> > > > >> ________________________________
> > > > >> From: Julie Prestopnik via RT <met_help at ucar.edu>
> > > > >> Sent: Friday, February 24, 2017 6:15:57 AM
> > > > >> To: Xinxia_Song at outlook.com
> > > > >> Subject: Re: [rt.rap.ucar.edu #79605] ImportError: No
module
> named
> > > > >> constants_pdef
> > > > >>
> > > > >> Hi Xinxia.
> > > > >>
> > > > >> I can see that your command, which should have been all on
one
> line,
> > > was
> > > > >> broken up into several lines.  Please try running the
command
> again,
> > > > >> making
> > > > >> sure that the entire command is on one line:
> > > > >>
> > > > >> /D2/xinxia/METplus/MET/met-5.2/bin/tc_stat -job filter
-lookin
> > > > >> /D2/xinxia/METplus/MET/input/tc_pairs/201412 -init_inc
> 20141201_00
> > > > >> -match_points true -dump_row
> > > > >> /D2/xinxia/METplus/MET/out/extract_tiles/20141201_00/
> > > > >> filter_20141201_00.tcst  -basin ML -out_init_mask
> > > > >> /D2/xinxia/METplus/MET/met-5.2/share/met/poly/CONUS.poly
> > > > >>
> > > > >> Then, please send the output from that command.
> > > > >>
> > > > >> Regarding, your error:
> > > > >>
> > > > >> sh: run_tc_pairs.py: command not found
> > > > >>
> > > > >> It's strange that would only have occurred after having
changed
> the
> > > > >> LOG_LEVEL.  Could you please send us your configuration
file?
> > > > >>
> > > > >> Thanks!
> > > > >>
> > > > >> Julie
> > > > >>
> > > > >> On Wed, Feb 22, 2017 at 2:54 PM, Xinxia Song via RT <
> > > met_help at ucar.edu>
> > > > >> wrote:
> > > > >>
> > > > >> >
> > > > >> > <URL:
https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=79605 >
> > > > >> >
> > > > >> > Hi Julie,
> > > > >> >
> > > > >> >
> > > > >> > [xinxia at chaos ush]$ /D2/xinxia/METplus/MET/met-
5.2/bin/tc_stat
> > -job
> > > > >> > filter -lookin
> > > > >> >
> > > > >> > /D2/xinxia/METplus/MET/met-5.2/bin/tc_stat: error while
loading
> > > > shared
> > > > >> > libraries: libgsl.so.19: cannot open shared object file:
No such
> > > file
> > > > or
> > > > >> > directory
> > > > >> >
> > > > >> >
> > > > >> > [xinxia at chaos ush]$ /D2/xinxia/METplus/MET/input/
> tc_pairs/201412
> > > > >> > -init_inc 20141201_00 -match_points true -dump_row
> > > > >> >
> > > > >> > -bash: /D2/xinxia/METplus/MET/input/tc_pairs/201412: is a
> > directory
> > > > >> >
> > > > >> >
> > > > >> > [xinxia at chaos ush]$ /D2/xinxia/METplus/MET/out/ext
> > > > >> ract_tiles/20141201_00/
> > > > >> > filter_20141201_00.tcst  -basin ML -out_init_mask
> > > > >> > /D2/xinxia/METplus/MET/met-5.2/share/met/poly/CONUS.poly
> > > > >> >
> > > > >> > -bash:
/D2/xinxia/METplus/MET/out/extract_tiles/20141201_00/:
> No
> > > such
> > > > >> > file or directory
> > > > >> >
> > > > >> >
> > > > >> > After I change the LOG_LEVEL, I ran the
master_met_plus.py, it
> > says:
> > > > >> >
> > > > >> > [xinxia at chaos ush]$ python master_met_plus.py
> > > > >> >
> > > > >> > sh: run_tc_pairs.py: command not found
> > > > >> >
> > > > >> >
> > > > >> >
> > > > >> > Thanks,
> > > > >> >
> > > > >> >
> > > > >> > Xinxia
> > > > >> >
> > > > >> >
> > > > >> > ________________________________
> > > > >> > From: Julie Prestopnik via RT <met_help at ucar.edu>
> > > > >> > Sent: Thursday, February 23, 2017 10:04:55 AM
> > > > >> > To: Xinxia_Song at outlook.com
> > > > >> > Subject: Re: [rt.rap.ucar.edu #79605] ImportError: No
module
> > named
> > > > >> > constants_pdef
> > > > >> >
> > > > >> > Thank you.  Unfortunately, the level of detail in the log
file
> > > wasn't
> > > > >> what
> > > > >> > I hoped for.  I'd like to have you try two things.
> > > > >> >
> > > > >> > First, could you please send me your output of your
manual run
> of
> > > the
> > > > >> > following?
> > > > >> >
> > > > >> > "/D2/xinxia/METplus/MET/met-5.2/bin/tc_stat -job filter
-lookin
> > > > >> > /D2/xinxia/METplus/MET/input/tc_pairs/201412 -init_inc
> > 20141201_00
> > > > >> > -match_points true -dump_row /D2/xinxia/METplus/MET/out/
> > > > >> > extract_tiles/20141201_00/ filter_20141201_00.tcst
-basin ML
> > > > >> > -out_init_mask
> > > > >> > /D2/xinxia/METplus/MET/met-5.2/share/met/poly/CONUS.poly"
> > > > >> >
> > > > >> > Second, could you please change your log level in your
> > configuration
> > > > >> file
> > > > >> > from
> > > > >> >
> > > > >> > LOG_LEVEL = "INFO"
> > > > >> >
> > > > >> > to
> > > > >> >
> > > > >> > LOG_LEVEL = "DEBUG"
> > > > >> >
> > > > >> > then rerun and upload your log file to our ftp server
again?
> > > > >> >
> > > > >> > Thank you!
> > > > >> >
> > > > >> > Julie
> > > > >> >
> > > > >> >
> > > > >> > On Wed, Feb 22, 2017 at 12:39 PM, Xinxia Song via RT <
> > > > met_help at ucar.edu
> > > > >> >
> > > > >> > wrote:
> > > > >> >
> > > > >> > >
> > > > >> > > <URL:
https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=79605
> >
> > > > >> > >
> > > > >> > > Hi Julie,
> > > > >> > >
> > > > >> > >
> > > > >> > > I uploaded the log file under xinxia_data directory.
> > > > >> > >
> > > > >> > >
> > > > >> > > Thanks,
> > > > >> > >
> > > > >> > >
> > > > >> > > Xinxia
> > > > >> > >
> > > > >> > >
> > > > >> > > ________________________________
> > > > >> > > From: Julie Prestopnik via RT <met_help at ucar.edu>
> > > > >> > > Sent: Thursday, February 23, 2017 9:11:32 AM
> > > > >> > > To: Xinxia_Song at outlook.com
> > > > >> > > Subject: Re: [rt.rap.ucar.edu #79605] ImportError: No
module
> > > named
> > > > >> > > constants_pdef
> > > > >> > >
> > > > >> > > Hi Xinxia.
> > > > >> > >
> > > > >> > > I think it would be helpful if I could take a look at
the log
> > > file.
> > > > >> > Could
> > > > >> > > you please upload your file to our anonymous ftp site
as
> follows
> > > so
> > > > >> that
> > > > >> > I
> > > > >> > > can take a look?
> > > > >> > >
> > > > >> > >
http://www.dtcenter.org/met/users/support/met_help.php#ftp
> > > > >> > >
> > > > >> > > Also, could you please try running the following
manually and
> > send
> > > > the
> > > > >> > > output to me?
> > > > >> > >
> > > > >> > > "/D2/xinxia/METplus/MET/met-5.2/bin/tc_stat -job filter
> -lookin
> > > > >> > > /D2/xinxia/METplus/MET/input/tc_pairs/201412 -init_inc
> > > 20141201_00
> > > > >> > > -match_points true -dump_row
/D2/xinxia/METplus/MET/out/
> > > > >> > > extract_tiles/20141201_00/filter_20141201_00.tcst
-basin ML
> > > > >> > > -out_init_mask
> > > > >> > > /D2/xinxia/METplus/MET/met-
5.2/share/met/poly/CONUS.poly"
> > > > >> > >
> > > > >> > > Thank you!
> > > > >> > >
> > > > >> > > Julie
> > > > >> > >
> > > > >> > >
> > > > >> > >
> > > > >> > > On Wed, Feb 22, 2017 at 12:06 PM, Xinxia Song via RT <
> > > > >> met_help at ucar.edu>
> > > > >> > > wrote:
> > > > >> > >
> > > > >> > > >
> > > > >> > > > <URL: https://rt.rap.ucar.edu/rt/
> Ticket/Display.html?id=79605
> > >
> > > > >> > > >
> > > > >> > > > Hi Julie,
> > > > >> > > >
> > > > >> > > >
> > > > >> > > > Now I can run the program, but when I look at the log
file
> in
> > > the
> > > > >> > output,
> > > > >> > > > it shows error below:
> > > > >> > > >
> > > > >> > > >
> > > > >> > > > ERROR| /D2/xinxia/METplus/METplus/
> ush/run_tc_stat.py:tc_stat
> > > from
> > > > >> > > calling
> > > > >> > > > MET TC-STAT with command:/D2/xinxia/METplus/MET
> > > > /met-5.2/bin/tc_stat
> > > > >> > -job
> > > > >> > > > filter -lookin
/D2/xinxia/METplus/MET/input/tc_pairs/201412
> > > > >> -init_inc
> > > > >> > > > 20141201_00 -match_points true -dump_row
> > > > /D2/xinxia/METplus/MET/out/
> > > > >> > > > extract_tiles/20141201_00/filter_20141201_00.tcst
-basin
> ML
> > > > >> > > > -out_init_mask /D2/xinxia/METplus/MET/met-5.
> > > > >> > 2/share/met/poly/CONUS.poly
> > > > >> > > >
> > > > >> > > >
> > > > >> > > > How should I fix it?
> > > > >> > > >
> > > > >> > > >
> > > > >> > > > Thanks,
> > > > >> > > >
> > > > >> > > >
> > > > >> > > > Xinxia
> > > > >> > > >
> > > > >> > > > ________________________________
> > > > >> > > > From: Julie Prestopnik via RT <met_help at ucar.edu>
> > > > >> > > > Sent: Thursday, February 23, 2017 7:30:06 AM
> > > > >> > > > To: Xinxia_Song at outlook.com
> > > > >> > > > Subject: Re: [rt.rap.ucar.edu #79605] ImportError: No
> module
> > > > named
> > > > >> > > > constants_pdef
> > > > >> > > >
> > > > >> > > > Hi Xinxia.
> > > > >> > > >
> > > > >> > > > I believe that python doesn't know how to find the
module
> > > because
> > > > >> the
> > > > >> > ush
> > > > >> > > > directory is not in your PYTHONPATH.  Both the parm
and ush
> > > > >> directory
> > > > >> > > need
> > > > >> > > > to be specified in your PYTHONPATH.  Please add the
ush
> > > directory
> > > > to
> > > > >> > your
> > > > >> > > > PYTHONPATH, source ~/.bashrc, and let us know how it
goes.
> > > > >> > > >
> > > > >> > > > Thanks,
> > > > >> > > > Julie
> > > > >> > > >
> > > > >> > > > On Wed, Feb 22, 2017 at 10:24 AM, Xinxia Song via RT
<
> > > > >> > met_help at ucar.edu>
> > > > >> > > > wrote:
> > > > >> > > >
> > > > >> > > > >
> > > > >> > > > > <URL: https://rt.rap.ucar.edu/rt/
> > Ticket/Display.html?id=79605
> > > >
> > > > >> > > > >
> > > > >> > > > > Hi Julie,
> > > > >> > > > >
> > > > >> > > > >
> > > > >> > > > > Since I don't have setenv, I added these 3 sentence
into
> my
> > > > >> .bashrc
> > > > >> > > file:
> > > > >> > > > >
> > > > >> > > > >
> > > > >> > > > > export PYTHONPATH="/D2/xinxia/METplus/METplus/parm"
> > > > >> > > > >
> > > > >> > > > >
> > > > >> > > > > export USHROOT=/D2/xinxia/METplus/METplus/ush
> > > > >> > > > >
> > > > >> > > > > export PATH=$USHROOT:$PATH
> > > > >> > > > >
> > > > >> > > > >
> > > > >> > > > > I sourced the ~/.bashrc, and checked that the
variables
> are
> > > set,
> > > > >> but
> > > > >> > > the
> > > > >> > > > > program still can't find the module.
> > > > >> > > > >
> > > > >> > > > >
> > > > >> > > > > Thanks,
> > > > >> > > > >
> > > > >> > > > > Xinxia
> > > > >> > > > >
> > > > >> > > > > ________________________________
> > > > >> > > > > From: Julie Prestopnik via RT <met_help at ucar.edu>
> > > > >> > > > > Sent: Thursday, February 23, 2017 6:24:21 AM
> > > > >> > > > > To: Xinxia_Song at outlook.com
> > > > >> > > > > Subject: Re: [rt.rap.ucar.edu #79605] ImportError:
No
> > module
> > > > >> named
> > > > >> > > > > constants_pdef
> > > > >> > > > >
> > > > >> > > > > Hi Xinxia.
> > > > >> > > > >
> > > > >> > > > > Could you please check to make sure that the ush
directory
> > > with
> > > > >> > > > > constants_pdef.py is in your PYTHONPATH in your
.cshrc
> file
> > > (or
> > > > >> > .bashrc
> > > > >> > > > or
> > > > >> > > > > similar file)?  The parm directory should also be
in your
> > > > >> PYTHONPATH.
> > > > >> > > > >
> > > > >> > > > > For example,
> > > > >> > > > >
> > > > >> > > > > setenv PYTHONPATH /d1/jpresto/sbu/METplus/ush:/
> > > > >> > > > d1/jpresto/sbu/METplus/parm
> > > > >> > > > >
> > > > >> > > > > Please also check make sure that the path to the
ush
> > directory
> > > > is
> > > > >> > also
> > > > >> > > > > specified your your path environment variable.  For
> example,
> > > > >> > > > >
> > > > >> > > > > set path = (/usr/local/bin \
> > > > >> > > > >                  /usr/local/python/bin/python \
> > > > >> > > > >                  /d1/jpresto/sbu/METplus/ush )
> > > > >> > > > >
> > > > >> > > > > If they are not there, please add them and then
source the
> > > file
> > > > >> (e.g.
> > > > >> > > run
> > > > >> > > > > "source ~/.cshrc").
> > > > >> > > > >
> > > > >> > > > > Thank you!  Please let us know how it goes.
> > > > >> > > > >
> > > > >> > > > > Julie
> > > > >> > > > >
> > > > >> > > > >
> > > > >> > > > >
> > > > >> > > > >
> > > > >> > > > > On Tue, Feb 21, 2017 at 4:49 PM, Xinxia Song via RT
<
> > > > >> > met_help at ucar.edu
> > > > >> > > >
> > > > >> > > > > wrote:
> > > > >> > > > >
> > > > >> > > > > >
> > > > >> > > > > > Tue Feb 21 16:49:28 2017: Request 79605 was acted
upon.
> > > > >> > > > > > Transaction: Ticket created by
Xinxia_Song at outlook.com
> > > > >> > > > > >        Queue: met_help
> > > > >> > > > > >      Subject: ImportError: No module named
> constants_pdef
> > > > >> > > > > >        Owner: Nobody
> > > > >> > > > > >   Requestors: Xinxia_Song at outlook.com
> > > > >> > > > > >       Status: new
> > > > >> > > > > >  Ticket <URL: https://rt.rap.ucar.edu/rt/
> > > > >> > > Ticket/Display.html?id=79605
> > > > >> > > > >
> > > > >> > > > > >
> > > > >> > > > > >
> > > > >> > > > > > Hi,
> > > > >> > > > > >
> > > > >> > > > > >
> > > > >> > > > > > When I ran the mater_met_plus.py, it says:
> > > > >> > > > > >
> > > > >> > > > > >
> > > > >> > > > > > ImportError: No module named constants_pdef
> > > > >> > > > > >
> > > > >> > > > > >
> > > > >> > > > > > Seems it doesn't recognize constants_pdef as its
module.
> > > > >> > > > > >
> > > > >> > > > > >
> > > > >> > > > > > Thanks,
> > > > >> > > > > >
> > > > >> > > > > > Xinxia
> > > > >> > > > > >
> > > > >> > > > > >
> > > > >> > > > >
> > > > >> > > > >
> > > > >> > > > >
> > > > >> > > >
> > > > >> > > >
> > > > >> > > >
> > > > >> > >
> > > > >> > >
> > > > >> > >
> > > > >> >
> > > > >> >
> > > > >> >
> > > > >>
> > > > >>
> > > > >>
> > > > >
> > > >
> > > >
> > > >
> > >
> > >
> > >
> >
> >
> >
>
>
>


------------------------------------------------
Subject: ImportError: No module named constants_pdef
From: Xinxia Song
Time: Thu Feb 23 13:51:28 2017

Hi Julie,


I installed myself the 2.7 python, it still got the error when
running:

Traceback (most recent call last):

  File "/D2/xinxia/METplus/METplus/ush/series_by_lead.py", line 945,
in <module>

    analysis_by_lead_time()

  File "/D2/xinxia/METplus/METplus/ush/series_by_lead.py", line 107,
in analysis_by_lead_time

    util.apply_series_filters(tile_dir, init_times,
series_lead_filtered_out_dir, p, logger)

  File "/D2/xinxia/METplus/METplus/ush/met_util.py", line 1005, in
apply_series_filters

    tcs.tc_stat(p, logger, tc_cmd, series_output_dir)

  File "/D2/xinxia/METplus/METplus/ush/run_tc_stat.py", line 69, in
tc_stat

    tc_stat_out = subprocess.check_output(tc_cmd,
stderr=subprocess.STDOUT, shell=True )

AttributeError: 'module' object has no attribute 'check_output'


Thanks,


Xinxia

________________________________
From: Julie Prestopnik via RT <met_help at ucar.edu>
Sent: Friday, February 24, 2017 9:37:53 AM
To: Xinxia_Song at outlook.com
Subject: Re: [rt.rap.ucar.edu #79605] ImportError: No module named
constants_pdef

Can you please tell me which version of Python you are using?
check_output
for subprocess was introduced in Python 2.7.    Do you have access to
Python version 2.7 or higher?

Thanks,
Julie

On Thu, Feb 23, 2017 at 12:11 PM, Xinxia Song via RT
<met_help at ucar.edu>
wrote:

>
> <URL: https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=79605 >
>
> Hi Julie,
>
>
> I added it to the $PATH and ran the master_met_python.py:
>
> [xinxia at chaos ush]$ python master_met_plus.py
>
> Traceback (most recent call last):
>
>   File "/D2/xinxia/METplus/METplus/ush/extract_tiles.py", line 157,
in
> <module>
>
>     main()
>
>   File "/D2/xinxia/METplus/METplus/ush/extract_tiles.py", line 100,
in
> main
>
>     filtered_out_dir)
>
>   File "/D2/xinxia/METplus/METplus/ush/run_tc_stat.py", line 69, in
> tc_stat
>
>     tc_stat_out = subprocess.check_output(tc_cmd,
> stderr=subprocess.STDOUT, shell=True )
>
> AttributeError: 'module' object has no attribute 'check_output'
>
>
> Thanks,
>
>
> Xinxia
>
> ________________________________
> From: Julie Prestopnik via RT <met_help at ucar.edu>
> Sent: Friday, February 24, 2017 9:07:40 AM
> To: Xinxia_Song at outlook.com
> Subject: Re: [rt.rap.ucar.edu #79605] ImportError: No module named
> constants_pdef
>
> Unfortunately, your environment does not know where to find
> run_tc_pairs.py.  Please try adding the directory with
run_tc_pairs.py
> (/D2/xinxia/METplus/METplus/ush) to your path in your ~/.bashrc
file, then
> run "source ~/.bashrc", then trying rerunning.  Please let me know
how that
> goes.
>
> Thanks!
>
> Julie
>
> On Thu, Feb 23, 2017 at 11:55 AM, Xinxia Song via RT
<met_help at ucar.edu>
> wrote:
>
> >
> > <URL: https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=79605 >
> >
> > Hi Julie,
> >
> >
> > I'm running met in a machine that's owned by our department, I
don't have
> > sudo right, so when I type which run_tc_pairs.py, it says couldn't
find
> it.
> >
> > no run_tc_pairs.py in (/opt/ncl/bin:/opt/intel-soft/
> > bin:/opt/ncl/bin:/opt/ncl/bin:/opt/intel-soft/bin:/opt/ncl/
> > bin:/home/xinxia/anaconda/bin:/home/xinxia/anaconda/bin:/
> > opt/ncl/bin:/opt/intel-soft/bin:/opt/ncl/bin:/usr/lib64/
> > qt-3.3/bin:/usr/local/bin:/bin:/usr/bin:/usr/local/sbin:/
> > usr/sbin:/sbin:/sbin:/usr/sbin:/cm/local/apps/
> environment-modules/3.2.10/
> > bin:/home/xinxia/bin:/opt/ncl-621/bin)
> >
> >
> > But I could find it manually in that directory.
> >
> >
> > Thanks,
> >
> >
> > Xinxia
> >
> > ________________________________
> > From: Julie Prestopnik via RT <met_help at ucar.edu>
> > Sent: Friday, February 24, 2017 8:52:16 AM
> > To: Xinxia_Song at outlook.com
> > Subject: Re: [rt.rap.ucar.edu #79605] ImportError: No module named
> > constants_pdef
> >
> > Hi Xinxia.
> >
> > It looks like you got a successful run of tc_stat - that's great
news!
> >
> > I'm not sure what you mean by "Because I don't have the right, I
can't
> find
> > run_tc_pairs.py, but I know it's under
> >
> > /D2/xinxia/METplus/METplus/ush".
> >
> > Can you please explain?  What happened when you ran "which
> > run_tc_pairs.py"?
> >
> > Thanks,
> > Julie
> >
> >
> >
> >
> >
> >
> > On Thu, Feb 23, 2017 at 11:44 AM, Xinxia Song via RT
<met_help at ucar.edu>
> > wrote:
> >
> > >
> > > <URL: https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=79605 >
> > >
> > > Hi Julie,
> > >
> > >
> > > I removed the space.
> > >
> > > [xinxia at chaos parm]$ /D2/xinxia/METplus/MET/met-5.2/bin/tc_stat
-job
> > > filter -lookin /D2/xinxia/METplus/MET/input/tc_pairs/201412
-init_inc
> > > 20141201_00 -match_points true -dump_row
/D2/xinxia/METplus/MET/out/
> > > extract_tiles/20141201_00/filter_20141201_00.tcst  -basin ML
> > > -out_init_mask /D2/xinxia/METplus/MET/met-5.
> 2/share/met/poly/CONUS.poly
> > >
> > > DEBUG 1: [Source 1] Lookin: /D2/xinxia/METplus/MET/input/
> tc_pairs/201412
> > >
> > > DEBUG 2:
> > >
> > > DEBUG 2: Processing Job 1: -job filter -basin ML -init_inc
> > 20141201_000000
> > > -match_points true -out_init_mask /D2/xinxia/METplus/MET/met-5.
> > 2/share/met/poly/CONUS.poly
> > > -dump_row /D2/xinxia/METplus/MET/out/extract_tiles/20141201_00/
> > > filter_20141201_00.tcst
> > >
> > > DEBUG 1: Creating output dump file: /D2/xinxia/METplus/MET/out/
> > > extract_tiles/20141201_00/filter_20141201_00.tcst
> > >
> > > FILTER: -job filter -basin ML -init_inc 20141201_000000
-match_points
> > true
> > > -out_init_mask /D2/xinxia/METplus/MET/met-5.
> 2/share/met/poly/CONUS.poly
> > > -dump_row /D2/xinxia/METplus/MET/out/extract_tiles/20141201_00/
> > > filter_20141201_00.tcst
> > >
> > >
> > > DEBUG 2: Job 1 used 0 out of 27292 lines read.
> > >
> > >
> > > Because I don't have the right, I can't find run_tc_pairs.py,
but I
> know
> > > it's under
> > >
> > > /D2/xinxia/METplus/METplus/ush
> > >
> > >
> > > For Python,
> > >
> > > [xinxia at chaos ~]$ which python
> > >
> > > /usr/bin/python
> > >
> > >
> > > Xinxia
> > >
> > > ________________________________
> > > From: Julie Prestopnik via RT <met_help at ucar.edu>
> > > Sent: Friday, February 24, 2017 8:30:01 AM
> > > To: Xinxia_Song at outlook.com
> > > Subject: Re: [rt.rap.ucar.edu #79605] ImportError: No module
named
> > > constants_pdef
> > >
> > > Hi Xinxia.
> > >
> > > It looks like there is a space where there should not be a space
> (between
> > > /D2/xinxia/METplus/MET/out/extract_tiles/20141201_00/ and
> > > filter_20141201_00.tcst after the -dump_row option).
> > >
> > > Could you please try it again without the space?
> > >
> > > /D2/xinxia/METplus/METplus/ush/run_tc_stat.py:tc_stat from
calling MET
> > > TC-STAT with command:/D2/xinxia/METplus/MET/met-5.2/bin/tc_stat
-job
> > > filter
> > > -lookin /D2/xinxia/METplus/MET/input/tc_pairs/201412 -init_inc
> > 20141201_00
> > > -match_points true -dump_row /D2/xinxia/METplus/MET/out/
> > > extract_tiles/20141201_00/filter_20141201_00.tcst  -basin ML
> > > -out_init_mask
> > > /D2/xinxia/METplus/MET/met-5.2/share/met/poly/CONUS.poly
> > >
> > > Regarding the master_met_plus.py run, please try running the
following
> > two
> > > commands and send me the output:
> > >
> > > which run_tc_pairs.py
> > >
> > > which python
> > >
> > > Thanks!
> > >
> > > Julie
> > >
> > > On Thu, Feb 23, 2017 at 11:06 AM, Xinxia Song via RT <
> met_help at ucar.edu>
> > > wrote:
> > >
> > > >
> > > > <URL: https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=79605
>
> > > >
> > > > Hi Julie,
> > > >
> > > >
> > > > After I ran the long one line command:
> > > >
> > > > [xinxia at chaos parm]$ /D2/xinxia/METplus/MET/met-
5.2/bin/tc_stat -job
> > > > filter -lookin /D2/xinxia/METplus/MET/input/tc_pairs/201412
> -init_inc
> > > > 20141201_00 -match_points true -dump_row
/D2/xinxia/METplus/MET/out/
> > > extract_tiles/20141201_00/
> > > > filter_20141201_00.tcst  -basin ML -out_init_mask
> > > > /D2/xinxia/METplus/MET/met-5.2/share/met/poly/CONUS.poly
> > > >
> > > >
> > > > DEBUG 1: [Source 1] Lookin: /D2/xinxia/METplus/MET/input/
> > tc_pairs/201412
> > > >
> > > > ERROR  :
> > > >
> > > > ERROR  : TCStatJob *TCStatJobFactory::new_tc_stat_job(const
char
> > > > *jobstring) -> unsupported job command options
> > "filter_20141201_00.tcst".
> > > >
> > > > ERROR  :
> > > >
> > > >
> > > > And for the master_met_plus.py, I got the error:
> > > >
> > > > [xinxia at chaos ush]$ python master_met_plus.py
> > > >
> > > > sh: run_tc_pairs.py: command not found
> > > >
> > > >
> > > > Thanks,
> > > >
> > > >
> > > > Xinxia
> > > >
> > > > ________________________________
> > > > From: Julie Prestopnik via RT <met_help at ucar.edu>
> > > > Sent: Friday, February 24, 2017 7:42:21 AM
> > > > To: Xinxia_Song at outlook.com
> > > > Subject: Re: [rt.rap.ucar.edu #79605] ImportError: No module
named
> > > > constants_pdef
> > > >
> > > > My apologies, my response should have said, "By default, MET
version
> > 5.2
> > > is
> > > > compiled using dynamic linking."  It's true for both, but I
see
> you're
> > > > using 5.2 and I inadvertently referred to 5.1.
> > > >
> > > > On Thu, Feb 23, 2017 at 10:40 AM, Julie Prestopnik
<jpresto at ucar.edu
> >
> > > > wrote:
> > > >
> > > > > Hi Xinxia.  Regarding the error:
> > > > >
> > > > > /D2/xinxia/METplus/MET/met-5.2/bin/tc_stat: error while
loading
> > shared
> > > > > libraries: libgsl.so.19: cannot open shared object file: No
such
> file
> > > or
> > > > > directory
> > > > >
> > > > > By default, MET version 5.1 is compiled using dynamic
linking.
> > Rather
> > > > > than compiling the external library code in with the MET
> executables
> > > > (which
> > > > > is
> > > > > called static linking), it looks for them at runtime.  And
it's
> > looking
> > > > > for those "shared object" (.so) library files.
> > > > >
> > > > > This should be easy to fix. We just need to tell it where to
find
> > them,
> > > > > and we do that by setting (or adding to the
LD_LIBRARY_PATH).  Look
> > in
> > > > your
> > > > > ~/.bashrc file.  If LD_LIBRARY_PATH is already defined in
there,
> add
> > > the
> > > > > path to the libgsl.so.19 to the end of it.  If not, add an
> > > > > LD_LIBRARY_PATH entry in your ~/.bashrc file.  So, for
example, if
> > the
> > > > path
> > > > > to your libgsl.so.19 file is /D2/xinxia/METplus/MET/externa
> > > > l_libs/GSL/gsl-1.16/lib
> > > > > you would add teh following to your ~/.bashrc file:
> > > > >
> > > > >   export
LD_LIBRARY_PATH=/D2/xinxia/METplus/MET/external_libs/GSL/
> > > > > gsl-1.16/lib
> > > > >
> > > > > Then save the change and source that file:
> > > > >
> > > > >   source ~/.bashrc
> > > > >
> > > > > Then, please try rerunning the command manually and let me
know if
> it
> > > > > works.
> > > > >
> > > > > I believe that this was the cause of the initial error you
received
> > > from
> > > > > MET+:
> > > > >
> > > > > ERROR| /D2/xinxia/METplus/METplus/ush/run_tc_stat.py:tc_stat
from
> > > > calling
> > > > > MET TC-STAT with command:/D2/xinxia/METplus/
> MET/met-5.2/bin/tc_stat
> > > -job
> > > > > filter -lookin /D2/xinxia/METplus/MET/input/tc_pairs/201412
> > -init_inc
> > > > > 20141201_00 -match_points true -dump_row
> > /D2/xinxia/METplus/MET/out/ext
> > > > > ract_tiles/20141201_00/filter_20141201_00.tcst  -basin ML
> > > -out_init_mask
> > > > > /D2/xinxia/METplus/MET/met-5.2/share/met/poly/CONUS.poly
> > > > >
> > > > >
> > > > > Thanks,
> > > > > Julie
> > > > >
> > > > > On Thu, Feb 23, 2017 at 10:14 AM, Xinxia Song via RT <
> > > met_help at ucar.edu>
> > > > > wrote:
> > > > >
> > > > >>
> > > > >> <URL:
https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=79605 >
> > > > >>
> > > > >> Hi Julie,
> > > > >>
> > > > >>
> > > > >> [xinxia at chaos ush]$ /D2/xinxia/METplus/MET/met-
5.2/bin/tc_stat
> -job
> > > > >> filter -lookin /D2/xinxia/METplus/MET/input/tc_pairs/201412
> > -init_inc
> > > > >> 20141201_00 -match_points true -dump_row
> > > /D2/xinxia/METplus/MET/out/ext
> > > > ract_tiles/20141201_00/
> > > > >> filter_20141201_00.tcst  -basin ML -out_init_mask
> > > > >> /D2/xinxia/METplus/MET/met-5.2/share/met/poly/CONUS.poly
> > > > >>
> > > > >> /D2/xinxia/METplus/MET/met-5.2/bin/tc_stat: error while
loading
> > > shared
> > > > >> libraries: libgsl.so.19: cannot open shared object file: No
such
> > file
> > > or
> > > > >> directory
> > > > >>
> > > > >>
> > > > >> And I uploaded the configuration file (constants_pdef.py)
under
> > > > >> xinxia_data directory.
> > > > >>
> > > > >>
> > > > >> Thanks,
> > > > >>
> > > > >>
> > > > >> Xinxia
> > > > >>
> > > > >> ________________________________
> > > > >> From: Julie Prestopnik via RT <met_help at ucar.edu>
> > > > >> Sent: Friday, February 24, 2017 6:15:57 AM
> > > > >> To: Xinxia_Song at outlook.com
> > > > >> Subject: Re: [rt.rap.ucar.edu #79605] ImportError: No
module
> named
> > > > >> constants_pdef
> > > > >>
> > > > >> Hi Xinxia.
> > > > >>
> > > > >> I can see that your command, which should have been all on
one
> line,
> > > was
> > > > >> broken up into several lines.  Please try running the
command
> again,
> > > > >> making
> > > > >> sure that the entire command is on one line:
> > > > >>
> > > > >> /D2/xinxia/METplus/MET/met-5.2/bin/tc_stat -job filter
-lookin
> > > > >> /D2/xinxia/METplus/MET/input/tc_pairs/201412 -init_inc
> 20141201_00
> > > > >> -match_points true -dump_row
> > > > >> /D2/xinxia/METplus/MET/out/extract_tiles/20141201_00/
> > > > >> filter_20141201_00.tcst  -basin ML -out_init_mask
> > > > >> /D2/xinxia/METplus/MET/met-5.2/share/met/poly/CONUS.poly
> > > > >>
> > > > >> Then, please send the output from that command.
> > > > >>
> > > > >> Regarding, your error:
> > > > >>
> > > > >> sh: run_tc_pairs.py: command not found
> > > > >>
> > > > >> It's strange that would only have occurred after having
changed
> the
> > > > >> LOG_LEVEL.  Could you please send us your configuration
file?
> > > > >>
> > > > >> Thanks!
> > > > >>
> > > > >> Julie
> > > > >>
> > > > >> On Wed, Feb 22, 2017 at 2:54 PM, Xinxia Song via RT <
> > > met_help at ucar.edu>
> > > > >> wrote:
> > > > >>
> > > > >> >
> > > > >> > <URL:
https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=79605 >
> > > > >> >
> > > > >> > Hi Julie,
> > > > >> >
> > > > >> >
> > > > >> > [xinxia at chaos ush]$ /D2/xinxia/METplus/MET/met-
5.2/bin/tc_stat
> > -job
> > > > >> > filter -lookin
> > > > >> >
> > > > >> > /D2/xinxia/METplus/MET/met-5.2/bin/tc_stat: error while
loading
> > > > shared
> > > > >> > libraries: libgsl.so.19: cannot open shared object file:
No such
> > > file
> > > > or
> > > > >> > directory
> > > > >> >
> > > > >> >
> > > > >> > [xinxia at chaos ush]$ /D2/xinxia/METplus/MET/input/
> tc_pairs/201412
> > > > >> > -init_inc 20141201_00 -match_points true -dump_row
> > > > >> >
> > > > >> > -bash: /D2/xinxia/METplus/MET/input/tc_pairs/201412: is a
> > directory
> > > > >> >
> > > > >> >
> > > > >> > [xinxia at chaos ush]$ /D2/xinxia/METplus/MET/out/ext
> > > > >> ract_tiles/20141201_00/
> > > > >> > filter_20141201_00.tcst  -basin ML -out_init_mask
> > > > >> > /D2/xinxia/METplus/MET/met-5.2/share/met/poly/CONUS.poly
> > > > >> >
> > > > >> > -bash:
/D2/xinxia/METplus/MET/out/extract_tiles/20141201_00/:
> No
> > > such
> > > > >> > file or directory
> > > > >> >
> > > > >> >
> > > > >> > After I change the LOG_LEVEL, I ran the
master_met_plus.py, it
> > says:
> > > > >> >
> > > > >> > [xinxia at chaos ush]$ python master_met_plus.py
> > > > >> >
> > > > >> > sh: run_tc_pairs.py: command not found
> > > > >> >
> > > > >> >
> > > > >> >
> > > > >> > Thanks,
> > > > >> >
> > > > >> >
> > > > >> > Xinxia
> > > > >> >
> > > > >> >
> > > > >> > ________________________________
> > > > >> > From: Julie Prestopnik via RT <met_help at ucar.edu>
> > > > >> > Sent: Thursday, February 23, 2017 10:04:55 AM
> > > > >> > To: Xinxia_Song at outlook.com
> > > > >> > Subject: Re: [rt.rap.ucar.edu #79605] ImportError: No
module
> > named
> > > > >> > constants_pdef
> > > > >> >
> > > > >> > Thank you.  Unfortunately, the level of detail in the log
file
> > > wasn't
> > > > >> what
> > > > >> > I hoped for.  I'd like to have you try two things.
> > > > >> >
> > > > >> > First, could you please send me your output of your
manual run
> of
> > > the
> > > > >> > following?
> > > > >> >
> > > > >> > "/D2/xinxia/METplus/MET/met-5.2/bin/tc_stat -job filter
-lookin
> > > > >> > /D2/xinxia/METplus/MET/input/tc_pairs/201412 -init_inc
> > 20141201_00
> > > > >> > -match_points true -dump_row /D2/xinxia/METplus/MET/out/
> > > > >> > extract_tiles/20141201_00/ filter_20141201_00.tcst
-basin ML
> > > > >> > -out_init_mask
> > > > >> > /D2/xinxia/METplus/MET/met-5.2/share/met/poly/CONUS.poly"
> > > > >> >
> > > > >> > Second, could you please change your log level in your
> > configuration
> > > > >> file
> > > > >> > from
> > > > >> >
> > > > >> > LOG_LEVEL = "INFO"
> > > > >> >
> > > > >> > to
> > > > >> >
> > > > >> > LOG_LEVEL = "DEBUG"
> > > > >> >
> > > > >> > then rerun and upload your log file to our ftp server
again?
> > > > >> >
> > > > >> > Thank you!
> > > > >> >
> > > > >> > Julie
> > > > >> >
> > > > >> >
> > > > >> > On Wed, Feb 22, 2017 at 12:39 PM, Xinxia Song via RT <
> > > > met_help at ucar.edu
> > > > >> >
> > > > >> > wrote:
> > > > >> >
> > > > >> > >
> > > > >> > > <URL:
https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=79605
> >
> > > > >> > >
> > > > >> > > Hi Julie,
> > > > >> > >
> > > > >> > >
> > > > >> > > I uploaded the log file under xinxia_data directory.
> > > > >> > >
> > > > >> > >
> > > > >> > > Thanks,
> > > > >> > >
> > > > >> > >
> > > > >> > > Xinxia
> > > > >> > >
> > > > >> > >
> > > > >> > > ________________________________
> > > > >> > > From: Julie Prestopnik via RT <met_help at ucar.edu>
> > > > >> > > Sent: Thursday, February 23, 2017 9:11:32 AM
> > > > >> > > To: Xinxia_Song at outlook.com
> > > > >> > > Subject: Re: [rt.rap.ucar.edu #79605] ImportError: No
module
> > > named
> > > > >> > > constants_pdef
> > > > >> > >
> > > > >> > > Hi Xinxia.
> > > > >> > >
> > > > >> > > I think it would be helpful if I could take a look at
the log
> > > file.
> > > > >> > Could
> > > > >> > > you please upload your file to our anonymous ftp site
as
> follows
> > > so
> > > > >> that
> > > > >> > I
> > > > >> > > can take a look?
> > > > >> > >
> > > > >> > >
http://www.dtcenter.org/met/users/support/met_help.php#ftp
> > > > >> > >
> > > > >> > > Also, could you please try running the following
manually and
> > send
> > > > the
> > > > >> > > output to me?
> > > > >> > >
> > > > >> > > "/D2/xinxia/METplus/MET/met-5.2/bin/tc_stat -job filter
> -lookin
> > > > >> > > /D2/xinxia/METplus/MET/input/tc_pairs/201412 -init_inc
> > > 20141201_00
> > > > >> > > -match_points true -dump_row
/D2/xinxia/METplus/MET/out/
> > > > >> > > extract_tiles/20141201_00/filter_20141201_00.tcst
-basin ML
> > > > >> > > -out_init_mask
> > > > >> > > /D2/xinxia/METplus/MET/met-
5.2/share/met/poly/CONUS.poly"
> > > > >> > >
> > > > >> > > Thank you!
> > > > >> > >
> > > > >> > > Julie
> > > > >> > >
> > > > >> > >
> > > > >> > >
> > > > >> > > On Wed, Feb 22, 2017 at 12:06 PM, Xinxia Song via RT <
> > > > >> met_help at ucar.edu>
> > > > >> > > wrote:
> > > > >> > >
> > > > >> > > >
> > > > >> > > > <URL: https://rt.rap.ucar.edu/rt/
> Ticket/Display.html?id=79605
> > >
> > > > >> > > >
> > > > >> > > > Hi Julie,
> > > > >> > > >
> > > > >> > > >
> > > > >> > > > Now I can run the program, but when I look at the log
file
> in
> > > the
> > > > >> > output,
> > > > >> > > > it shows error below:
> > > > >> > > >
> > > > >> > > >
> > > > >> > > > ERROR| /D2/xinxia/METplus/METplus/
> ush/run_tc_stat.py:tc_stat
> > > from
> > > > >> > > calling
> > > > >> > > > MET TC-STAT with command:/D2/xinxia/METplus/MET
> > > > /met-5.2/bin/tc_stat
> > > > >> > -job
> > > > >> > > > filter -lookin
/D2/xinxia/METplus/MET/input/tc_pairs/201412
> > > > >> -init_inc
> > > > >> > > > 20141201_00 -match_points true -dump_row
> > > > /D2/xinxia/METplus/MET/out/
> > > > >> > > > extract_tiles/20141201_00/filter_20141201_00.tcst
-basin
> ML
> > > > >> > > > -out_init_mask /D2/xinxia/METplus/MET/met-5.
> > > > >> > 2/share/met/poly/CONUS.poly
> > > > >> > > >
> > > > >> > > >
> > > > >> > > > How should I fix it?
> > > > >> > > >
> > > > >> > > >
> > > > >> > > > Thanks,
> > > > >> > > >
> > > > >> > > >
> > > > >> > > > Xinxia
> > > > >> > > >
> > > > >> > > > ________________________________
> > > > >> > > > From: Julie Prestopnik via RT <met_help at ucar.edu>
> > > > >> > > > Sent: Thursday, February 23, 2017 7:30:06 AM
> > > > >> > > > To: Xinxia_Song at outlook.com
> > > > >> > > > Subject: Re: [rt.rap.ucar.edu #79605] ImportError: No
> module
> > > > named
> > > > >> > > > constants_pdef
> > > > >> > > >
> > > > >> > > > Hi Xinxia.
> > > > >> > > >
> > > > >> > > > I believe that python doesn't know how to find the
module
> > > because
> > > > >> the
> > > > >> > ush
> > > > >> > > > directory is not in your PYTHONPATH.  Both the parm
and ush
> > > > >> directory
> > > > >> > > need
> > > > >> > > > to be specified in your PYTHONPATH.  Please add the
ush
> > > directory
> > > > to
> > > > >> > your
> > > > >> > > > PYTHONPATH, source ~/.bashrc, and let us know how it
goes.
> > > > >> > > >
> > > > >> > > > Thanks,
> > > > >> > > > Julie
> > > > >> > > >
> > > > >> > > > On Wed, Feb 22, 2017 at 10:24 AM, Xinxia Song via RT
<
> > > > >> > met_help at ucar.edu>
> > > > >> > > > wrote:
> > > > >> > > >
> > > > >> > > > >
> > > > >> > > > > <URL: https://rt.rap.ucar.edu/rt/
> > Ticket/Display.html?id=79605
> > > >
> > > > >> > > > >
> > > > >> > > > > Hi Julie,
> > > > >> > > > >
> > > > >> > > > >
> > > > >> > > > > Since I don't have setenv, I added these 3 sentence
into
> my
> > > > >> .bashrc
> > > > >> > > file:
> > > > >> > > > >
> > > > >> > > > >
> > > > >> > > > > export PYTHONPATH="/D2/xinxia/METplus/METplus/parm"
> > > > >> > > > >
> > > > >> > > > >
> > > > >> > > > > export USHROOT=/D2/xinxia/METplus/METplus/ush
> > > > >> > > > >
> > > > >> > > > > export PATH=$USHROOT:$PATH
> > > > >> > > > >
> > > > >> > > > >
> > > > >> > > > > I sourced the ~/.bashrc, and checked that the
variables
> are
> > > set,
> > > > >> but
> > > > >> > > the
> > > > >> > > > > program still can't find the module.
> > > > >> > > > >
> > > > >> > > > >
> > > > >> > > > > Thanks,
> > > > >> > > > >
> > > > >> > > > > Xinxia
> > > > >> > > > >
> > > > >> > > > > ________________________________
> > > > >> > > > > From: Julie Prestopnik via RT <met_help at ucar.edu>
> > > > >> > > > > Sent: Thursday, February 23, 2017 6:24:21 AM
> > > > >> > > > > To: Xinxia_Song at outlook.com
> > > > >> > > > > Subject: Re: [rt.rap.ucar.edu #79605] ImportError:
No
> > module
> > > > >> named
> > > > >> > > > > constants_pdef
> > > > >> > > > >
> > > > >> > > > > Hi Xinxia.
> > > > >> > > > >
> > > > >> > > > > Could you please check to make sure that the ush
directory
> > > with
> > > > >> > > > > constants_pdef.py is in your PYTHONPATH in your
.cshrc
> file
> > > (or
> > > > >> > .bashrc
> > > > >> > > > or
> > > > >> > > > > similar file)?  The parm directory should also be
in your
> > > > >> PYTHONPATH.
> > > > >> > > > >
> > > > >> > > > > For example,
> > > > >> > > > >
> > > > >> > > > > setenv PYTHONPATH /d1/jpresto/sbu/METplus/ush:/
> > > > >> > > > d1/jpresto/sbu/METplus/parm
> > > > >> > > > >
> > > > >> > > > > Please also check make sure that the path to the
ush
> > directory
> > > > is
> > > > >> > also
> > > > >> > > > > specified your your path environment variable.  For
> example,
> > > > >> > > > >
> > > > >> > > > > set path = (/usr/local/bin \
> > > > >> > > > >                  /usr/local/python/bin/python \
> > > > >> > > > >                  /d1/jpresto/sbu/METplus/ush )
> > > > >> > > > >
> > > > >> > > > > If they are not there, please add them and then
source the
> > > file
> > > > >> (e.g.
> > > > >> > > run
> > > > >> > > > > "source ~/.cshrc").
> > > > >> > > > >
> > > > >> > > > > Thank you!  Please let us know how it goes.
> > > > >> > > > >
> > > > >> > > > > Julie
> > > > >> > > > >
> > > > >> > > > >
> > > > >> > > > >
> > > > >> > > > >
> > > > >> > > > > On Tue, Feb 21, 2017 at 4:49 PM, Xinxia Song via RT
<
> > > > >> > met_help at ucar.edu
> > > > >> > > >
> > > > >> > > > > wrote:
> > > > >> > > > >
> > > > >> > > > > >
> > > > >> > > > > > Tue Feb 21 16:49:28 2017: Request 79605 was acted
upon.
> > > > >> > > > > > Transaction: Ticket created by
Xinxia_Song at outlook.com
> > > > >> > > > > >        Queue: met_help
> > > > >> > > > > >      Subject: ImportError: No module named
> constants_pdef
> > > > >> > > > > >        Owner: Nobody
> > > > >> > > > > >   Requestors: Xinxia_Song at outlook.com
> > > > >> > > > > >       Status: new
> > > > >> > > > > >  Ticket <URL: https://rt.rap.ucar.edu/rt/
> > > > >> > > Ticket/Display.html?id=79605
> > > > >> > > > >
> > > > >> > > > > >
> > > > >> > > > > >
> > > > >> > > > > > Hi,
> > > > >> > > > > >
> > > > >> > > > > >
> > > > >> > > > > > When I ran the mater_met_plus.py, it says:
> > > > >> > > > > >
> > > > >> > > > > >
> > > > >> > > > > > ImportError: No module named constants_pdef
> > > > >> > > > > >
> > > > >> > > > > >
> > > > >> > > > > > Seems it doesn't recognize constants_pdef as its
module.
> > > > >> > > > > >
> > > > >> > > > > >
> > > > >> > > > > > Thanks,
> > > > >> > > > > >
> > > > >> > > > > > Xinxia
> > > > >> > > > > >
> > > > >> > > > > >
> > > > >> > > > >
> > > > >> > > > >
> > > > >> > > > >
> > > > >> > > >
> > > > >> > > >
> > > > >> > > >
> > > > >> > >
> > > > >> > >
> > > > >> > >
> > > > >> >
> > > > >> >
> > > > >> >
> > > > >>
> > > > >>
> > > > >>
> > > > >
> > > >
> > > >
> > > >
> > >
> > >
> > >
> >
> >
> >
>
>
>


------------------------------------------------
Subject: ImportError: No module named constants_pdef
From: Julie Prestopnik
Time: Thu Feb 23 15:02:21 2017

Hi Xinxia.  I suspect that even though you installed Python 2.7 that
Python
2.6.6 is still being used.

Please try running:

python --version

on the command line.

If you see "Python 2..6.6", please add the path for Python 2.7 to the
front
of your path in your ~/.bashrc file.  Then, source your ~/.bashrc file
and
try rerunning

python --version

on the command line.  Hopefully, then you will see the new version.
Then,
please try rerunning master_met_plus.py.

I hope this helps!  Thanks!

Julie

On Thu, Feb 23, 2017 at 1:51 PM, Xinxia Song via RT
<met_help at ucar.edu>
wrote:

>
> <URL: https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=79605 >
>
> Hi Julie,
>
>
> I installed myself the 2.7 python, it still got the error when
running:
>
> Traceback (most recent call last):
>
>   File "/D2/xinxia/METplus/METplus/ush/series_by_lead.py", line 945,
in
> <module>
>
>     analysis_by_lead_time()
>
>   File "/D2/xinxia/METplus/METplus/ush/series_by_lead.py", line 107,
in
> analysis_by_lead_time
>
>     util.apply_series_filters(tile_dir, init_times,
> series_lead_filtered_out_dir, p, logger)
>
>   File "/D2/xinxia/METplus/METplus/ush/met_util.py", line 1005, in
> apply_series_filters
>
>     tcs.tc_stat(p, logger, tc_cmd, series_output_dir)
>
>   File "/D2/xinxia/METplus/METplus/ush/run_tc_stat.py", line 69, in
> tc_stat
>
>     tc_stat_out = subprocess.check_output(tc_cmd,
> stderr=subprocess.STDOUT, shell=True )
>
> AttributeError: 'module' object has no attribute 'check_output'
>
>
> Thanks,
>
>
> Xinxia
>
> ________________________________
> From: Julie Prestopnik via RT <met_help at ucar.edu>
> Sent: Friday, February 24, 2017 9:37:53 AM
> To: Xinxia_Song at outlook.com
> Subject: Re: [rt.rap.ucar.edu #79605] ImportError: No module named
> constants_pdef
>
> Can you please tell me which version of Python you are using?
check_output
> for subprocess was introduced in Python 2.7.    Do you have access
to
> Python version 2.7 or higher?
>
> Thanks,
> Julie
>
> On Thu, Feb 23, 2017 at 12:11 PM, Xinxia Song via RT
<met_help at ucar.edu>
> wrote:
>
> >
> > <URL: https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=79605 >
> >
> > Hi Julie,
> >
> >
> > I added it to the $PATH and ran the master_met_python.py:
> >
> > [xinxia at chaos ush]$ python master_met_plus.py
> >
> > Traceback (most recent call last):
> >
> >   File "/D2/xinxia/METplus/METplus/ush/extract_tiles.py", line
157, in
> > <module>
> >
> >     main()
> >
> >   File "/D2/xinxia/METplus/METplus/ush/extract_tiles.py", line
100, in
> > main
> >
> >     filtered_out_dir)
> >
> >   File "/D2/xinxia/METplus/METplus/ush/run_tc_stat.py", line 69,
in
> > tc_stat
> >
> >     tc_stat_out = subprocess.check_output(tc_cmd,
> > stderr=subprocess.STDOUT, shell=True )
> >
> > AttributeError: 'module' object has no attribute 'check_output'
> >
> >
> > Thanks,
> >
> >
> > Xinxia
> >
> > ________________________________
> > From: Julie Prestopnik via RT <met_help at ucar.edu>
> > Sent: Friday, February 24, 2017 9:07:40 AM
> > To: Xinxia_Song at outlook.com
> > Subject: Re: [rt.rap.ucar.edu #79605] ImportError: No module named
> > constants_pdef
> >
> > Unfortunately, your environment does not know where to find
> > run_tc_pairs.py.  Please try adding the directory with
run_tc_pairs.py
> > (/D2/xinxia/METplus/METplus/ush) to your path in your ~/.bashrc
file,
> then
> > run "source ~/.bashrc", then trying rerunning.  Please let me know
how
> that
> > goes.
> >
> > Thanks!
> >
> > Julie
> >
> > On Thu, Feb 23, 2017 at 11:55 AM, Xinxia Song via RT
<met_help at ucar.edu>
> > wrote:
> >
> > >
> > > <URL: https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=79605 >
> > >
> > > Hi Julie,
> > >
> > >
> > > I'm running met in a machine that's owned by our department, I
don't
> have
> > > sudo right, so when I type which run_tc_pairs.py, it says
couldn't find
> > it.
> > >
> > > no run_tc_pairs.py in (/opt/ncl/bin:/opt/intel-soft/
> > > bin:/opt/ncl/bin:/opt/ncl/bin:/opt/intel-soft/bin:/opt/ncl/
> > > bin:/home/xinxia/anaconda/bin:/home/xinxia/anaconda/bin:/
> > > opt/ncl/bin:/opt/intel-soft/bin:/opt/ncl/bin:/usr/lib64/
> > > qt-3.3/bin:/usr/local/bin:/bin:/usr/bin:/usr/local/sbin:/
> > > usr/sbin:/sbin:/sbin:/usr/sbin:/cm/local/apps/
> > environment-modules/3.2.10/
> > > bin:/home/xinxia/bin:/opt/ncl-621/bin)
> > >
> > >
> > > But I could find it manually in that directory.
> > >
> > >
> > > Thanks,
> > >
> > >
> > > Xinxia
> > >
> > > ________________________________
> > > From: Julie Prestopnik via RT <met_help at ucar.edu>
> > > Sent: Friday, February 24, 2017 8:52:16 AM
> > > To: Xinxia_Song at outlook.com
> > > Subject: Re: [rt.rap.ucar.edu #79605] ImportError: No module
named
> > > constants_pdef
> > >
> > > Hi Xinxia.
> > >
> > > It looks like you got a successful run of tc_stat - that's great
news!
> > >
> > > I'm not sure what you mean by "Because I don't have the right, I
can't
> > find
> > > run_tc_pairs.py, but I know it's under
> > >
> > > /D2/xinxia/METplus/METplus/ush".
> > >
> > > Can you please explain?  What happened when you ran "which
> > > run_tc_pairs.py"?
> > >
> > > Thanks,
> > > Julie
> > >
> > >
> > >
> > >
> > >
> > >
> > > On Thu, Feb 23, 2017 at 11:44 AM, Xinxia Song via RT <
> met_help at ucar.edu>
> > > wrote:
> > >
> > > >
> > > > <URL: https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=79605
>
> > > >
> > > > Hi Julie,
> > > >
> > > >
> > > > I removed the space.
> > > >
> > > > [xinxia at chaos parm]$ /D2/xinxia/METplus/MET/met-
5.2/bin/tc_stat -job
> > > > filter -lookin /D2/xinxia/METplus/MET/input/tc_pairs/201412
> -init_inc
> > > > 20141201_00 -match_points true -dump_row
/D2/xinxia/METplus/MET/out/
> > > > extract_tiles/20141201_00/filter_20141201_00.tcst  -basin ML
> > > > -out_init_mask /D2/xinxia/METplus/MET/met-5.
> > 2/share/met/poly/CONUS.poly
> > > >
> > > > DEBUG 1: [Source 1] Lookin: /D2/xinxia/METplus/MET/input/
> > tc_pairs/201412
> > > >
> > > > DEBUG 2:
> > > >
> > > > DEBUG 2: Processing Job 1: -job filter -basin ML -init_inc
> > > 20141201_000000
> > > > -match_points true -out_init_mask /D2/xinxia/METplus/MET/met-
5.
> > > 2/share/met/poly/CONUS.poly
> > > > -dump_row
/D2/xinxia/METplus/MET/out/extract_tiles/20141201_00/
> > > > filter_20141201_00.tcst
> > > >
> > > > DEBUG 1: Creating output dump file:
/D2/xinxia/METplus/MET/out/
> > > > extract_tiles/20141201_00/filter_20141201_00.tcst
> > > >
> > > > FILTER: -job filter -basin ML -init_inc 20141201_000000
-match_points
> > > true
> > > > -out_init_mask /D2/xinxia/METplus/MET/met-5.
> > 2/share/met/poly/CONUS.poly
> > > > -dump_row
/D2/xinxia/METplus/MET/out/extract_tiles/20141201_00/
> > > > filter_20141201_00.tcst
> > > >
> > > >
> > > > DEBUG 2: Job 1 used 0 out of 27292 lines read.
> > > >
> > > >
> > > > Because I don't have the right, I can't find run_tc_pairs.py,
but I
> > know
> > > > it's under
> > > >
> > > > /D2/xinxia/METplus/METplus/ush
> > > >
> > > >
> > > > For Python,
> > > >
> > > > [xinxia at chaos ~]$ which python
> > > >
> > > > /usr/bin/python
> > > >
> > > >
> > > > Xinxia
> > > >
> > > > ________________________________
> > > > From: Julie Prestopnik via RT <met_help at ucar.edu>
> > > > Sent: Friday, February 24, 2017 8:30:01 AM
> > > > To: Xinxia_Song at outlook.com
> > > > Subject: Re: [rt.rap.ucar.edu #79605] ImportError: No module
named
> > > > constants_pdef
> > > >
> > > > Hi Xinxia.
> > > >
> > > > It looks like there is a space where there should not be a
space
> > (between
> > > > /D2/xinxia/METplus/MET/out/extract_tiles/20141201_00/ and
> > > > filter_20141201_00.tcst after the -dump_row option).
> > > >
> > > > Could you please try it again without the space?
> > > >
> > > > /D2/xinxia/METplus/METplus/ush/run_tc_stat.py:tc_stat from
calling
> MET
> > > > TC-STAT with command:/D2/xinxia/METplus/MET/met-
5.2/bin/tc_stat -job
> > > > filter
> > > > -lookin /D2/xinxia/METplus/MET/input/tc_pairs/201412 -init_inc
> > > 20141201_00
> > > > -match_points true -dump_row /D2/xinxia/METplus/MET/out/
> > > > extract_tiles/20141201_00/filter_20141201_00.tcst  -basin ML
> > > > -out_init_mask
> > > > /D2/xinxia/METplus/MET/met-5.2/share/met/poly/CONUS.poly
> > > >
> > > > Regarding the master_met_plus.py run, please try running the
> following
> > > two
> > > > commands and send me the output:
> > > >
> > > > which run_tc_pairs.py
> > > >
> > > > which python
> > > >
> > > > Thanks!
> > > >
> > > > Julie
> > > >
> > > > On Thu, Feb 23, 2017 at 11:06 AM, Xinxia Song via RT <
> > met_help at ucar.edu>
> > > > wrote:
> > > >
> > > > >
> > > > > <URL:
https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=79605 >
> > > > >
> > > > > Hi Julie,
> > > > >
> > > > >
> > > > > After I ran the long one line command:
> > > > >
> > > > > [xinxia at chaos parm]$ /D2/xinxia/METplus/MET/met-
5.2/bin/tc_stat
> -job
> > > > > filter -lookin /D2/xinxia/METplus/MET/input/tc_pairs/201412
> > -init_inc
> > > > > 20141201_00 -match_points true -dump_row
> /D2/xinxia/METplus/MET/out/
> > > > extract_tiles/20141201_00/
> > > > > filter_20141201_00.tcst  -basin ML -out_init_mask
> > > > > /D2/xinxia/METplus/MET/met-5.2/share/met/poly/CONUS.poly
> > > > >
> > > > >
> > > > > DEBUG 1: [Source 1] Lookin: /D2/xinxia/METplus/MET/input/
> > > tc_pairs/201412
> > > > >
> > > > > ERROR  :
> > > > >
> > > > > ERROR  : TCStatJob *TCStatJobFactory::new_tc_stat_job(const
char
> > > > > *jobstring) -> unsupported job command options
> > > "filter_20141201_00.tcst".
> > > > >
> > > > > ERROR  :
> > > > >
> > > > >
> > > > > And for the master_met_plus.py, I got the error:
> > > > >
> > > > > [xinxia at chaos ush]$ python master_met_plus.py
> > > > >
> > > > > sh: run_tc_pairs.py: command not found
> > > > >
> > > > >
> > > > > Thanks,
> > > > >
> > > > >
> > > > > Xinxia
> > > > >
> > > > > ________________________________
> > > > > From: Julie Prestopnik via RT <met_help at ucar.edu>
> > > > > Sent: Friday, February 24, 2017 7:42:21 AM
> > > > > To: Xinxia_Song at outlook.com
> > > > > Subject: Re: [rt.rap.ucar.edu #79605] ImportError: No module
named
> > > > > constants_pdef
> > > > >
> > > > > My apologies, my response should have said, "By default, MET
> version
> > > 5.2
> > > > is
> > > > > compiled using dynamic linking."  It's true for both, but I
see
> > you're
> > > > > using 5.2 and I inadvertently referred to 5.1.
> > > > >
> > > > > On Thu, Feb 23, 2017 at 10:40 AM, Julie Prestopnik <
> jpresto at ucar.edu
> > >
> > > > > wrote:
> > > > >
> > > > > > Hi Xinxia.  Regarding the error:
> > > > > >
> > > > > > /D2/xinxia/METplus/MET/met-5.2/bin/tc_stat: error while
loading
> > > shared
> > > > > > libraries: libgsl.so.19: cannot open shared object file:
No such
> > file
> > > > or
> > > > > > directory
> > > > > >
> > > > > > By default, MET version 5.1 is compiled using dynamic
linking.
> > > Rather
> > > > > > than compiling the external library code in with the MET
> > executables
> > > > > (which
> > > > > > is
> > > > > > called static linking), it looks for them at runtime.  And
it's
> > > looking
> > > > > > for those "shared object" (.so) library files.
> > > > > >
> > > > > > This should be easy to fix. We just need to tell it where
to find
> > > them,
> > > > > > and we do that by setting (or adding to the
LD_LIBRARY_PATH).
> Look
> > > in
> > > > > your
> > > > > > ~/.bashrc file.  If LD_LIBRARY_PATH is already defined in
there,
> > add
> > > > the
> > > > > > path to the libgsl.so.19 to the end of it.  If not, add an
> > > > > > LD_LIBRARY_PATH entry in your ~/.bashrc file.  So, for
example,
> if
> > > the
> > > > > path
> > > > > > to your libgsl.so.19 file is
/D2/xinxia/METplus/MET/externa
> > > > > l_libs/GSL/gsl-1.16/lib
> > > > > > you would add teh following to your ~/.bashrc file:
> > > > > >
> > > > > >   export LD_LIBRARY_PATH=/D2/xinxia/
> METplus/MET/external_libs/GSL/
> > > > > > gsl-1.16/lib
> > > > > >
> > > > > > Then save the change and source that file:
> > > > > >
> > > > > >   source ~/.bashrc
> > > > > >
> > > > > > Then, please try rerunning the command manually and let me
know
> if
> > it
> > > > > > works.
> > > > > >
> > > > > > I believe that this was the cause of the initial error you
> received
> > > > from
> > > > > > MET+:
> > > > > >
> > > > > > ERROR|
/D2/xinxia/METplus/METplus/ush/run_tc_stat.py:tc_stat
> from
> > > > > calling
> > > > > > MET TC-STAT with command:/D2/xinxia/METplus/
> > MET/met-5.2/bin/tc_stat
> > > > -job
> > > > > > filter -lookin
/D2/xinxia/METplus/MET/input/tc_pairs/201412
> > > -init_inc
> > > > > > 20141201_00 -match_points true -dump_row
> > > /D2/xinxia/METplus/MET/out/ext
> > > > > > ract_tiles/20141201_00/filter_20141201_00.tcst  -basin ML
> > > > -out_init_mask
> > > > > > /D2/xinxia/METplus/MET/met-5.2/share/met/poly/CONUS.poly
> > > > > >
> > > > > >
> > > > > > Thanks,
> > > > > > Julie
> > > > > >
> > > > > > On Thu, Feb 23, 2017 at 10:14 AM, Xinxia Song via RT <
> > > > met_help at ucar.edu>
> > > > > > wrote:
> > > > > >
> > > > > >>
> > > > > >> <URL:
https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=79605 >
> > > > > >>
> > > > > >> Hi Julie,
> > > > > >>
> > > > > >>
> > > > > >> [xinxia at chaos ush]$ /D2/xinxia/METplus/MET/met-
5.2/bin/tc_stat
> > -job
> > > > > >> filter -lookin
/D2/xinxia/METplus/MET/input/tc_pairs/201412
> > > -init_inc
> > > > > >> 20141201_00 -match_points true -dump_row
> > > > /D2/xinxia/METplus/MET/out/ext
> > > > > ract_tiles/20141201_00/
> > > > > >> filter_20141201_00.tcst  -basin ML -out_init_mask
> > > > > >> /D2/xinxia/METplus/MET/met-5.2/share/met/poly/CONUS.poly
> > > > > >>
> > > > > >> /D2/xinxia/METplus/MET/met-5.2/bin/tc_stat: error while
loading
> > > > shared
> > > > > >> libraries: libgsl.so.19: cannot open shared object file:
No such
> > > file
> > > > or
> > > > > >> directory
> > > > > >>
> > > > > >>
> > > > > >> And I uploaded the configuration file (constants_pdef.py)
under
> > > > > >> xinxia_data directory.
> > > > > >>
> > > > > >>
> > > > > >> Thanks,
> > > > > >>
> > > > > >>
> > > > > >> Xinxia
> > > > > >>
> > > > > >> ________________________________
> > > > > >> From: Julie Prestopnik via RT <met_help at ucar.edu>
> > > > > >> Sent: Friday, February 24, 2017 6:15:57 AM
> > > > > >> To: Xinxia_Song at outlook.com
> > > > > >> Subject: Re: [rt.rap.ucar.edu #79605] ImportError: No
module
> > named
> > > > > >> constants_pdef
> > > > > >>
> > > > > >> Hi Xinxia.
> > > > > >>
> > > > > >> I can see that your command, which should have been all
on one
> > line,
> > > > was
> > > > > >> broken up into several lines.  Please try running the
command
> > again,
> > > > > >> making
> > > > > >> sure that the entire command is on one line:
> > > > > >>
> > > > > >> /D2/xinxia/METplus/MET/met-5.2/bin/tc_stat -job filter
-lookin
> > > > > >> /D2/xinxia/METplus/MET/input/tc_pairs/201412 -init_inc
> > 20141201_00
> > > > > >> -match_points true -dump_row
> > > > > >> /D2/xinxia/METplus/MET/out/extract_tiles/20141201_00/
> > > > > >> filter_20141201_00.tcst  -basin ML -out_init_mask
> > > > > >> /D2/xinxia/METplus/MET/met-5.2/share/met/poly/CONUS.poly
> > > > > >>
> > > > > >> Then, please send the output from that command.
> > > > > >>
> > > > > >> Regarding, your error:
> > > > > >>
> > > > > >> sh: run_tc_pairs.py: command not found
> > > > > >>
> > > > > >> It's strange that would only have occurred after having
changed
> > the
> > > > > >> LOG_LEVEL.  Could you please send us your configuration
file?
> > > > > >>
> > > > > >> Thanks!
> > > > > >>
> > > > > >> Julie
> > > > > >>
> > > > > >> On Wed, Feb 22, 2017 at 2:54 PM, Xinxia Song via RT <
> > > > met_help at ucar.edu>
> > > > > >> wrote:
> > > > > >>
> > > > > >> >
> > > > > >> > <URL:
https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=79605
> >
> > > > > >> >
> > > > > >> > Hi Julie,
> > > > > >> >
> > > > > >> >
> > > > > >> > [xinxia at chaos ush]$ /D2/xinxia/METplus/MET/met-5.
> 2/bin/tc_stat
> > > -job
> > > > > >> > filter -lookin
> > > > > >> >
> > > > > >> > /D2/xinxia/METplus/MET/met-5.2/bin/tc_stat: error while
> loading
> > > > > shared
> > > > > >> > libraries: libgsl.so.19: cannot open shared object
file: No
> such
> > > > file
> > > > > or
> > > > > >> > directory
> > > > > >> >
> > > > > >> >
> > > > > >> > [xinxia at chaos ush]$ /D2/xinxia/METplus/MET/input/
> > tc_pairs/201412
> > > > > >> > -init_inc 20141201_00 -match_points true -dump_row
> > > > > >> >
> > > > > >> > -bash: /D2/xinxia/METplus/MET/input/tc_pairs/201412: is
a
> > > directory
> > > > > >> >
> > > > > >> >
> > > > > >> > [xinxia at chaos ush]$ /D2/xinxia/METplus/MET/out/ext
> > > > > >> ract_tiles/20141201_00/
> > > > > >> > filter_20141201_00.tcst  -basin ML -out_init_mask
> > > > > >> > /D2/xinxia/METplus/MET/met-
5.2/share/met/poly/CONUS.poly
> > > > > >> >
> > > > > >> > -bash:
/D2/xinxia/METplus/MET/out/extract_tiles/20141201_00/:
> > No
> > > > such
> > > > > >> > file or directory
> > > > > >> >
> > > > > >> >
> > > > > >> > After I change the LOG_LEVEL, I ran the
master_met_plus.py, it
> > > says:
> > > > > >> >
> > > > > >> > [xinxia at chaos ush]$ python master_met_plus.py
> > > > > >> >
> > > > > >> > sh: run_tc_pairs.py: command not found
> > > > > >> >
> > > > > >> >
> > > > > >> >
> > > > > >> > Thanks,
> > > > > >> >
> > > > > >> >
> > > > > >> > Xinxia
> > > > > >> >
> > > > > >> >
> > > > > >> > ________________________________
> > > > > >> > From: Julie Prestopnik via RT <met_help at ucar.edu>
> > > > > >> > Sent: Thursday, February 23, 2017 10:04:55 AM
> > > > > >> > To: Xinxia_Song at outlook.com
> > > > > >> > Subject: Re: [rt.rap.ucar.edu #79605] ImportError: No
module
> > > named
> > > > > >> > constants_pdef
> > > > > >> >
> > > > > >> > Thank you.  Unfortunately, the level of detail in the
log file
> > > > wasn't
> > > > > >> what
> > > > > >> > I hoped for.  I'd like to have you try two things.
> > > > > >> >
> > > > > >> > First, could you please send me your output of your
manual run
> > of
> > > > the
> > > > > >> > following?
> > > > > >> >
> > > > > >> > "/D2/xinxia/METplus/MET/met-5.2/bin/tc_stat -job filter
> -lookin
> > > > > >> > /D2/xinxia/METplus/MET/input/tc_pairs/201412 -init_inc
> > > 20141201_00
> > > > > >> > -match_points true -dump_row
/D2/xinxia/METplus/MET/out/
> > > > > >> > extract_tiles/20141201_00/ filter_20141201_00.tcst
-basin ML
> > > > > >> > -out_init_mask
> > > > > >> > /D2/xinxia/METplus/MET/met-
5.2/share/met/poly/CONUS.poly"
> > > > > >> >
> > > > > >> > Second, could you please change your log level in your
> > > configuration
> > > > > >> file
> > > > > >> > from
> > > > > >> >
> > > > > >> > LOG_LEVEL = "INFO"
> > > > > >> >
> > > > > >> > to
> > > > > >> >
> > > > > >> > LOG_LEVEL = "DEBUG"
> > > > > >> >
> > > > > >> > then rerun and upload your log file to our ftp server
again?
> > > > > >> >
> > > > > >> > Thank you!
> > > > > >> >
> > > > > >> > Julie
> > > > > >> >
> > > > > >> >
> > > > > >> > On Wed, Feb 22, 2017 at 12:39 PM, Xinxia Song via RT <
> > > > > met_help at ucar.edu
> > > > > >> >
> > > > > >> > wrote:
> > > > > >> >
> > > > > >> > >
> > > > > >> > > <URL: https://rt.rap.ucar.edu/rt/
> Ticket/Display.html?id=79605
> > >
> > > > > >> > >
> > > > > >> > > Hi Julie,
> > > > > >> > >
> > > > > >> > >
> > > > > >> > > I uploaded the log file under xinxia_data directory.
> > > > > >> > >
> > > > > >> > >
> > > > > >> > > Thanks,
> > > > > >> > >
> > > > > >> > >
> > > > > >> > > Xinxia
> > > > > >> > >
> > > > > >> > >
> > > > > >> > > ________________________________
> > > > > >> > > From: Julie Prestopnik via RT <met_help at ucar.edu>
> > > > > >> > > Sent: Thursday, February 23, 2017 9:11:32 AM
> > > > > >> > > To: Xinxia_Song at outlook.com
> > > > > >> > > Subject: Re: [rt.rap.ucar.edu #79605] ImportError: No
> module
> > > > named
> > > > > >> > > constants_pdef
> > > > > >> > >
> > > > > >> > > Hi Xinxia.
> > > > > >> > >
> > > > > >> > > I think it would be helpful if I could take a look at
the
> log
> > > > file.
> > > > > >> > Could
> > > > > >> > > you please upload your file to our anonymous ftp site
as
> > follows
> > > > so
> > > > > >> that
> > > > > >> > I
> > > > > >> > > can take a look?
> > > > > >> > >
> > > > > >> > >    http://www.dtcenter.org/met/
> users/support/met_help.php#ftp
> > > > > >> > >
> > > > > >> > > Also, could you please try running the following
manually
> and
> > > send
> > > > > the
> > > > > >> > > output to me?
> > > > > >> > >
> > > > > >> > > "/D2/xinxia/METplus/MET/met-5.2/bin/tc_stat -job
filter
> > -lookin
> > > > > >> > > /D2/xinxia/METplus/MET/input/tc_pairs/201412
-init_inc
> > > > 20141201_00
> > > > > >> > > -match_points true -dump_row
/D2/xinxia/METplus/MET/out/
> > > > > >> > > extract_tiles/20141201_00/filter_20141201_00.tcst
-basin
> ML
> > > > > >> > > -out_init_mask
> > > > > >> > > /D2/xinxia/METplus/MET/met-
5.2/share/met/poly/CONUS.poly"
> > > > > >> > >
> > > > > >> > > Thank you!
> > > > > >> > >
> > > > > >> > > Julie
> > > > > >> > >
> > > > > >> > >
> > > > > >> > >
> > > > > >> > > On Wed, Feb 22, 2017 at 12:06 PM, Xinxia Song via RT
<
> > > > > >> met_help at ucar.edu>
> > > > > >> > > wrote:
> > > > > >> > >
> > > > > >> > > >
> > > > > >> > > > <URL: https://rt.rap.ucar.edu/rt/
> > Ticket/Display.html?id=79605
> > > >
> > > > > >> > > >
> > > > > >> > > > Hi Julie,
> > > > > >> > > >
> > > > > >> > > >
> > > > > >> > > > Now I can run the program, but when I look at the
log file
> > in
> > > > the
> > > > > >> > output,
> > > > > >> > > > it shows error below:
> > > > > >> > > >
> > > > > >> > > >
> > > > > >> > > > ERROR| /D2/xinxia/METplus/METplus/
> > ush/run_tc_stat.py:tc_stat
> > > > from
> > > > > >> > > calling
> > > > > >> > > > MET TC-STAT with command:/D2/xinxia/METplus/MET
> > > > > /met-5.2/bin/tc_stat
> > > > > >> > -job
> > > > > >> > > > filter -lookin /D2/xinxia/METplus/MET/input/
> tc_pairs/201412
> > > > > >> -init_inc
> > > > > >> > > > 20141201_00 -match_points true -dump_row
> > > > > /D2/xinxia/METplus/MET/out/
> > > > > >> > > > extract_tiles/20141201_00/filter_20141201_00.tcst
-basin
> > ML
> > > > > >> > > > -out_init_mask /D2/xinxia/METplus/MET/met-5.
> > > > > >> > 2/share/met/poly/CONUS.poly
> > > > > >> > > >
> > > > > >> > > >
> > > > > >> > > > How should I fix it?
> > > > > >> > > >
> > > > > >> > > >
> > > > > >> > > > Thanks,
> > > > > >> > > >
> > > > > >> > > >
> > > > > >> > > > Xinxia
> > > > > >> > > >
> > > > > >> > > > ________________________________
> > > > > >> > > > From: Julie Prestopnik via RT <met_help at ucar.edu>
> > > > > >> > > > Sent: Thursday, February 23, 2017 7:30:06 AM
> > > > > >> > > > To: Xinxia_Song at outlook.com
> > > > > >> > > > Subject: Re: [rt.rap.ucar.edu #79605] ImportError:
No
> > module
> > > > > named
> > > > > >> > > > constants_pdef
> > > > > >> > > >
> > > > > >> > > > Hi Xinxia.
> > > > > >> > > >
> > > > > >> > > > I believe that python doesn't know how to find the
module
> > > > because
> > > > > >> the
> > > > > >> > ush
> > > > > >> > > > directory is not in your PYTHONPATH.  Both the parm
and
> ush
> > > > > >> directory
> > > > > >> > > need
> > > > > >> > > > to be specified in your PYTHONPATH.  Please add the
ush
> > > > directory
> > > > > to
> > > > > >> > your
> > > > > >> > > > PYTHONPATH, source ~/.bashrc, and let us know how
it goes.
> > > > > >> > > >
> > > > > >> > > > Thanks,
> > > > > >> > > > Julie
> > > > > >> > > >
> > > > > >> > > > On Wed, Feb 22, 2017 at 10:24 AM, Xinxia Song via
RT <
> > > > > >> > met_help at ucar.edu>
> > > > > >> > > > wrote:
> > > > > >> > > >
> > > > > >> > > > >
> > > > > >> > > > > <URL: https://rt.rap.ucar.edu/rt/
> > > Ticket/Display.html?id=79605
> > > > >
> > > > > >> > > > >
> > > > > >> > > > > Hi Julie,
> > > > > >> > > > >
> > > > > >> > > > >
> > > > > >> > > > > Since I don't have setenv, I added these 3
sentence into
> > my
> > > > > >> .bashrc
> > > > > >> > > file:
> > > > > >> > > > >
> > > > > >> > > > >
> > > > > >> > > > > export
PYTHONPATH="/D2/xinxia/METplus/METplus/parm"
> > > > > >> > > > >
> > > > > >> > > > >
> > > > > >> > > > > export USHROOT=/D2/xinxia/METplus/METplus/ush
> > > > > >> > > > >
> > > > > >> > > > > export PATH=$USHROOT:$PATH
> > > > > >> > > > >
> > > > > >> > > > >
> > > > > >> > > > > I sourced the ~/.bashrc, and checked that the
variables
> > are
> > > > set,
> > > > > >> but
> > > > > >> > > the
> > > > > >> > > > > program still can't find the module.
> > > > > >> > > > >
> > > > > >> > > > >
> > > > > >> > > > > Thanks,
> > > > > >> > > > >
> > > > > >> > > > > Xinxia
> > > > > >> > > > >
> > > > > >> > > > > ________________________________
> > > > > >> > > > > From: Julie Prestopnik via RT <met_help at ucar.edu>
> > > > > >> > > > > Sent: Thursday, February 23, 2017 6:24:21 AM
> > > > > >> > > > > To: Xinxia_Song at outlook.com
> > > > > >> > > > > Subject: Re: [rt.rap.ucar.edu #79605]
ImportError: No
> > > module
> > > > > >> named
> > > > > >> > > > > constants_pdef
> > > > > >> > > > >
> > > > > >> > > > > Hi Xinxia.
> > > > > >> > > > >
> > > > > >> > > > > Could you please check to make sure that the ush
> directory
> > > > with
> > > > > >> > > > > constants_pdef.py is in your PYTHONPATH in your
.cshrc
> > file
> > > > (or
> > > > > >> > .bashrc
> > > > > >> > > > or
> > > > > >> > > > > similar file)?  The parm directory should also be
in
> your
> > > > > >> PYTHONPATH.
> > > > > >> > > > >
> > > > > >> > > > > For example,
> > > > > >> > > > >
> > > > > >> > > > > setenv PYTHONPATH /d1/jpresto/sbu/METplus/ush:/
> > > > > >> > > > d1/jpresto/sbu/METplus/parm
> > > > > >> > > > >
> > > > > >> > > > > Please also check make sure that the path to the
ush
> > > directory
> > > > > is
> > > > > >> > also
> > > > > >> > > > > specified your your path environment variable.
For
> > example,
> > > > > >> > > > >
> > > > > >> > > > > set path = (/usr/local/bin \
> > > > > >> > > > >                  /usr/local/python/bin/python \
> > > > > >> > > > >                  /d1/jpresto/sbu/METplus/ush )
> > > > > >> > > > >
> > > > > >> > > > > If they are not there, please add them and then
source
> the
> > > > file
> > > > > >> (e.g.
> > > > > >> > > run
> > > > > >> > > > > "source ~/.cshrc").
> > > > > >> > > > >
> > > > > >> > > > > Thank you!  Please let us know how it goes.
> > > > > >> > > > >
> > > > > >> > > > > Julie
> > > > > >> > > > >
> > > > > >> > > > >
> > > > > >> > > > >
> > > > > >> > > > >
> > > > > >> > > > > On Tue, Feb 21, 2017 at 4:49 PM, Xinxia Song via
RT <
> > > > > >> > met_help at ucar.edu
> > > > > >> > > >
> > > > > >> > > > > wrote:
> > > > > >> > > > >
> > > > > >> > > > > >
> > > > > >> > > > > > Tue Feb 21 16:49:28 2017: Request 79605 was
acted
> upon.
> > > > > >> > > > > > Transaction: Ticket created by
> Xinxia_Song at outlook.com
> > > > > >> > > > > >        Queue: met_help
> > > > > >> > > > > >      Subject: ImportError: No module named
> > constants_pdef
> > > > > >> > > > > >        Owner: Nobody
> > > > > >> > > > > >   Requestors: Xinxia_Song at outlook.com
> > > > > >> > > > > >       Status: new
> > > > > >> > > > > >  Ticket <URL: https://rt.rap.ucar.edu/rt/
> > > > > >> > > Ticket/Display.html?id=79605
> > > > > >> > > > >
> > > > > >> > > > > >
> > > > > >> > > > > >
> > > > > >> > > > > > Hi,
> > > > > >> > > > > >
> > > > > >> > > > > >
> > > > > >> > > > > > When I ran the mater_met_plus.py, it says:
> > > > > >> > > > > >
> > > > > >> > > > > >
> > > > > >> > > > > > ImportError: No module named constants_pdef
> > > > > >> > > > > >
> > > > > >> > > > > >
> > > > > >> > > > > > Seems it doesn't recognize constants_pdef as
its
> module.
> > > > > >> > > > > >
> > > > > >> > > > > >
> > > > > >> > > > > > Thanks,
> > > > > >> > > > > >
> > > > > >> > > > > > Xinxia
> > > > > >> > > > > >
> > > > > >> > > > > >
> > > > > >> > > > >
> > > > > >> > > > >
> > > > > >> > > > >
> > > > > >> > > >
> > > > > >> > > >
> > > > > >> > > >
> > > > > >> > >
> > > > > >> > >
> > > > > >> > >
> > > > > >> >
> > > > > >> >
> > > > > >> >
> > > > > >>
> > > > > >>
> > > > > >>
> > > > > >
> > > > >
> > > > >
> > > > >
> > > >
> > > >
> > > >
> > >
> > >
> > >
> >
> >
> >
>
>
>

------------------------------------------------
Subject: ImportError: No module named constants_pdef
From: Xinxia Song
Time: Thu Feb 23 16:28:27 2017

Hi Julie,


The version is set to be 2.7+. When I ran master_met_plus.py, it seems
it will run forever. So I killed it, and got the following:

[xinxia at chaos ush]$ python master_met_plus.py

^CTraceback (most recent call last):

  File "/D2/xinxia/METplus/METplus/ush/extract_tiles.py", line 157, in
<module>

    main()

  File "/D2/xinxia/METplus/METplus/ush/extract_tiles.py", line 100, in
main

    filtered_out_dir)

  File "/D2/xinxia/METplus/METplus/ush/run_tc_stat.py", line 69, in
tc_stat

    tc_stat_out = subprocess.check_output(tc_cmd,
stderr=subprocess.STDOUT, shell=True )

  File "/home/xinxia/anaconda2/lib/python2.7/subprocess.py", line 213,
in check_output

    output, unused_err = process.communicate()

  File "/home/xinxia/anaconda2/lib/python2.7/subprocess.py", line 471,
in communicate

    stdout = _eintr_retry_call(self.stdout.read)

  File "/home/xinxia/anaconda2/lib/python2.7/subprocess.py", line 121,
in _eintr_retry_call

    return func(*args)

KeyboardInterrupt


Thanks,


Xinxia

________________________________
From: Julie Prestopnik via RT <met_help at ucar.edu>
Sent: Friday, February 24, 2017 12:02:21 PM
To: Xinxia_Song at outlook.com
Subject: Re: [rt.rap.ucar.edu #79605] ImportError: No module named
constants_pdef

Hi Xinxia.  I suspect that even though you installed Python 2.7 that
Python
2.6.6 is still being used.

Please try running:

python --version

on the command line.

If you see "Python 2..6.6", please add the path for Python 2.7 to the
front
of your path in your ~/.bashrc file.  Then, source your ~/.bashrc file
and
try rerunning

python --version

on the command line.  Hopefully, then you will see the new version.
Then,
please try rerunning master_met_plus.py.

I hope this helps!  Thanks!

Julie

On Thu, Feb 23, 2017 at 1:51 PM, Xinxia Song via RT
<met_help at ucar.edu>
wrote:

>
> <URL: https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=79605 >
>
> Hi Julie,
>
>
> I installed myself the 2.7 python, it still got the error when
running:
>
> Traceback (most recent call last):
>
>   File "/D2/xinxia/METplus/METplus/ush/series_by_lead.py", line 945,
in
> <module>
>
>     analysis_by_lead_time()
>
>   File "/D2/xinxia/METplus/METplus/ush/series_by_lead.py", line 107,
in
> analysis_by_lead_time
>
>     util.apply_series_filters(tile_dir, init_times,
> series_lead_filtered_out_dir, p, logger)
>
>   File "/D2/xinxia/METplus/METplus/ush/met_util.py", line 1005, in
> apply_series_filters
>
>     tcs.tc_stat(p, logger, tc_cmd, series_output_dir)
>
>   File "/D2/xinxia/METplus/METplus/ush/run_tc_stat.py", line 69, in
> tc_stat
>
>     tc_stat_out = subprocess.check_output(tc_cmd,
> stderr=subprocess.STDOUT, shell=True )
>
> AttributeError: 'module' object has no attribute 'check_output'
>
>
> Thanks,
>
>
> Xinxia
>
> ________________________________
> From: Julie Prestopnik via RT <met_help at ucar.edu>
> Sent: Friday, February 24, 2017 9:37:53 AM
> To: Xinxia_Song at outlook.com
> Subject: Re: [rt.rap.ucar.edu #79605] ImportError: No module named
> constants_pdef
>
> Can you please tell me which version of Python you are using?
check_output
> for subprocess was introduced in Python 2.7.    Do you have access
to
> Python version 2.7 or higher?
>
> Thanks,
> Julie
>
> On Thu, Feb 23, 2017 at 12:11 PM, Xinxia Song via RT
<met_help at ucar.edu>
> wrote:
>
> >
> > <URL: https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=79605 >
> >
> > Hi Julie,
> >
> >
> > I added it to the $PATH and ran the master_met_python.py:
> >
> > [xinxia at chaos ush]$ python master_met_plus.py
> >
> > Traceback (most recent call last):
> >
> >   File "/D2/xinxia/METplus/METplus/ush/extract_tiles.py", line
157, in
> > <module>
> >
> >     main()
> >
> >   File "/D2/xinxia/METplus/METplus/ush/extract_tiles.py", line
100, in
> > main
> >
> >     filtered_out_dir)
> >
> >   File "/D2/xinxia/METplus/METplus/ush/run_tc_stat.py", line 69,
in
> > tc_stat
> >
> >     tc_stat_out = subprocess.check_output(tc_cmd,
> > stderr=subprocess.STDOUT, shell=True )
> >
> > AttributeError: 'module' object has no attribute 'check_output'
> >
> >
> > Thanks,
> >
> >
> > Xinxia
> >
> > ________________________________
> > From: Julie Prestopnik via RT <met_help at ucar.edu>
> > Sent: Friday, February 24, 2017 9:07:40 AM
> > To: Xinxia_Song at outlook.com
> > Subject: Re: [rt.rap.ucar.edu #79605] ImportError: No module named
> > constants_pdef
> >
> > Unfortunately, your environment does not know where to find
> > run_tc_pairs.py.  Please try adding the directory with
run_tc_pairs.py
> > (/D2/xinxia/METplus/METplus/ush) to your path in your ~/.bashrc
file,
> then
> > run "source ~/.bashrc", then trying rerunning.  Please let me know
how
> that
> > goes.
> >
> > Thanks!
> >
> > Julie
> >
> > On Thu, Feb 23, 2017 at 11:55 AM, Xinxia Song via RT
<met_help at ucar.edu>
> > wrote:
> >
> > >
> > > <URL: https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=79605 >
> > >
> > > Hi Julie,
> > >
> > >
> > > I'm running met in a machine that's owned by our department, I
don't
> have
> > > sudo right, so when I type which run_tc_pairs.py, it says
couldn't find
> > it.
> > >
> > > no run_tc_pairs.py in (/opt/ncl/bin:/opt/intel-soft/
> > > bin:/opt/ncl/bin:/opt/ncl/bin:/opt/intel-soft/bin:/opt/ncl/
> > > bin:/home/xinxia/anaconda/bin:/home/xinxia/anaconda/bin:/
> > > opt/ncl/bin:/opt/intel-soft/bin:/opt/ncl/bin:/usr/lib64/
> > > qt-3.3/bin:/usr/local/bin:/bin:/usr/bin:/usr/local/sbin:/
> > > usr/sbin:/sbin:/sbin:/usr/sbin:/cm/local/apps/
> > environment-modules/3.2.10/
> > > bin:/home/xinxia/bin:/opt/ncl-621/bin)
> > >
> > >
> > > But I could find it manually in that directory.
> > >
> > >
> > > Thanks,
> > >
> > >
> > > Xinxia
> > >
> > > ________________________________
> > > From: Julie Prestopnik via RT <met_help at ucar.edu>
> > > Sent: Friday, February 24, 2017 8:52:16 AM
> > > To: Xinxia_Song at outlook.com
> > > Subject: Re: [rt.rap.ucar.edu #79605] ImportError: No module
named
> > > constants_pdef
> > >
> > > Hi Xinxia.
> > >
> > > It looks like you got a successful run of tc_stat - that's great
news!
> > >
> > > I'm not sure what you mean by "Because I don't have the right, I
can't
> > find
> > > run_tc_pairs.py, but I know it's under
> > >
> > > /D2/xinxia/METplus/METplus/ush".
> > >
> > > Can you please explain?  What happened when you ran "which
> > > run_tc_pairs.py"?
> > >
> > > Thanks,
> > > Julie
> > >
> > >
> > >
> > >
> > >
> > >
> > > On Thu, Feb 23, 2017 at 11:44 AM, Xinxia Song via RT <
> met_help at ucar.edu>
> > > wrote:
> > >
> > > >
> > > > <URL: https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=79605
>
> > > >
> > > > Hi Julie,
> > > >
> > > >
> > > > I removed the space.
> > > >
> > > > [xinxia at chaos parm]$ /D2/xinxia/METplus/MET/met-
5.2/bin/tc_stat -job
> > > > filter -lookin /D2/xinxia/METplus/MET/input/tc_pairs/201412
> -init_inc
> > > > 20141201_00 -match_points true -dump_row
/D2/xinxia/METplus/MET/out/
> > > > extract_tiles/20141201_00/filter_20141201_00.tcst  -basin ML
> > > > -out_init_mask /D2/xinxia/METplus/MET/met-5.
> > 2/share/met/poly/CONUS.poly
> > > >
> > > > DEBUG 1: [Source 1] Lookin: /D2/xinxia/METplus/MET/input/
> > tc_pairs/201412
> > > >
> > > > DEBUG 2:
> > > >
> > > > DEBUG 2: Processing Job 1: -job filter -basin ML -init_inc
> > > 20141201_000000
> > > > -match_points true -out_init_mask /D2/xinxia/METplus/MET/met-
5.
> > > 2/share/met/poly/CONUS.poly
> > > > -dump_row
/D2/xinxia/METplus/MET/out/extract_tiles/20141201_00/
> > > > filter_20141201_00.tcst
> > > >
> > > > DEBUG 1: Creating output dump file:
/D2/xinxia/METplus/MET/out/
> > > > extract_tiles/20141201_00/filter_20141201_00.tcst
> > > >
> > > > FILTER: -job filter -basin ML -init_inc 20141201_000000
-match_points
> > > true
> > > > -out_init_mask /D2/xinxia/METplus/MET/met-5.
> > 2/share/met/poly/CONUS.poly
> > > > -dump_row
/D2/xinxia/METplus/MET/out/extract_tiles/20141201_00/
> > > > filter_20141201_00.tcst
> > > >
> > > >
> > > > DEBUG 2: Job 1 used 0 out of 27292 lines read.
> > > >
> > > >
> > > > Because I don't have the right, I can't find run_tc_pairs.py,
but I
> > know
> > > > it's under
> > > >
> > > > /D2/xinxia/METplus/METplus/ush
> > > >
> > > >
> > > > For Python,
> > > >
> > > > [xinxia at chaos ~]$ which python
> > > >
> > > > /usr/bin/python
> > > >
> > > >
> > > > Xinxia
> > > >
> > > > ________________________________
> > > > From: Julie Prestopnik via RT <met_help at ucar.edu>
> > > > Sent: Friday, February 24, 2017 8:30:01 AM
> > > > To: Xinxia_Song at outlook.com
> > > > Subject: Re: [rt.rap.ucar.edu #79605] ImportError: No module
named
> > > > constants_pdef
> > > >
> > > > Hi Xinxia.
> > > >
> > > > It looks like there is a space where there should not be a
space
> > (between
> > > > /D2/xinxia/METplus/MET/out/extract_tiles/20141201_00/ and
> > > > filter_20141201_00.tcst after the -dump_row option).
> > > >
> > > > Could you please try it again without the space?
> > > >
> > > > /D2/xinxia/METplus/METplus/ush/run_tc_stat.py:tc_stat from
calling
> MET
> > > > TC-STAT with command:/D2/xinxia/METplus/MET/met-
5.2/bin/tc_stat -job
> > > > filter
> > > > -lookin /D2/xinxia/METplus/MET/input/tc_pairs/201412 -init_inc
> > > 20141201_00
> > > > -match_points true -dump_row /D2/xinxia/METplus/MET/out/
> > > > extract_tiles/20141201_00/filter_20141201_00.tcst  -basin ML
> > > > -out_init_mask
> > > > /D2/xinxia/METplus/MET/met-5.2/share/met/poly/CONUS.poly
> > > >
> > > > Regarding the master_met_plus.py run, please try running the
> following
> > > two
> > > > commands and send me the output:
> > > >
> > > > which run_tc_pairs.py
> > > >
> > > > which python
> > > >
> > > > Thanks!
> > > >
> > > > Julie
> > > >
> > > > On Thu, Feb 23, 2017 at 11:06 AM, Xinxia Song via RT <
> > met_help at ucar.edu>
> > > > wrote:
> > > >
> > > > >
> > > > > <URL:
https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=79605 >
> > > > >
> > > > > Hi Julie,
> > > > >
> > > > >
> > > > > After I ran the long one line command:
> > > > >
> > > > > [xinxia at chaos parm]$ /D2/xinxia/METplus/MET/met-
5.2/bin/tc_stat
> -job
> > > > > filter -lookin /D2/xinxia/METplus/MET/input/tc_pairs/201412
> > -init_inc
> > > > > 20141201_00 -match_points true -dump_row
> /D2/xinxia/METplus/MET/out/
> > > > extract_tiles/20141201_00/
> > > > > filter_20141201_00.tcst  -basin ML -out_init_mask
> > > > > /D2/xinxia/METplus/MET/met-5.2/share/met/poly/CONUS.poly
> > > > >
> > > > >
> > > > > DEBUG 1: [Source 1] Lookin: /D2/xinxia/METplus/MET/input/
> > > tc_pairs/201412
> > > > >
> > > > > ERROR  :
> > > > >
> > > > > ERROR  : TCStatJob *TCStatJobFactory::new_tc_stat_job(const
char
> > > > > *jobstring) -> unsupported job command options
> > > "filter_20141201_00.tcst".
> > > > >
> > > > > ERROR  :
> > > > >
> > > > >
> > > > > And for the master_met_plus.py, I got the error:
> > > > >
> > > > > [xinxia at chaos ush]$ python master_met_plus.py
> > > > >
> > > > > sh: run_tc_pairs.py: command not found
> > > > >
> > > > >
> > > > > Thanks,
> > > > >
> > > > >
> > > > > Xinxia
> > > > >
> > > > > ________________________________
> > > > > From: Julie Prestopnik via RT <met_help at ucar.edu>
> > > > > Sent: Friday, February 24, 2017 7:42:21 AM
> > > > > To: Xinxia_Song at outlook.com
> > > > > Subject: Re: [rt.rap.ucar.edu #79605] ImportError: No module
named
> > > > > constants_pdef
> > > > >
> > > > > My apologies, my response should have said, "By default, MET
> version
> > > 5.2
> > > > is
> > > > > compiled using dynamic linking."  It's true for both, but I
see
> > you're
> > > > > using 5.2 and I inadvertently referred to 5.1.
> > > > >
> > > > > On Thu, Feb 23, 2017 at 10:40 AM, Julie Prestopnik <
> jpresto at ucar.edu
> > >
> > > > > wrote:
> > > > >
> > > > > > Hi Xinxia.  Regarding the error:
> > > > > >
> > > > > > /D2/xinxia/METplus/MET/met-5.2/bin/tc_stat: error while
loading
> > > shared
> > > > > > libraries: libgsl.so.19: cannot open shared object file:
No such
> > file
> > > > or
> > > > > > directory
> > > > > >
> > > > > > By default, MET version 5.1 is compiled using dynamic
linking.
> > > Rather
> > > > > > than compiling the external library code in with the MET
> > executables
> > > > > (which
> > > > > > is
> > > > > > called static linking), it looks for them at runtime.  And
it's
> > > looking
> > > > > > for those "shared object" (.so) library files.
> > > > > >
> > > > > > This should be easy to fix. We just need to tell it where
to find
> > > them,
> > > > > > and we do that by setting (or adding to the
LD_LIBRARY_PATH).
> Look
> > > in
> > > > > your
> > > > > > ~/.bashrc file.  If LD_LIBRARY_PATH is already defined in
there,
> > add
> > > > the
> > > > > > path to the libgsl.so.19 to the end of it.  If not, add an
> > > > > > LD_LIBRARY_PATH entry in your ~/.bashrc file.  So, for
example,
> if
> > > the
> > > > > path
> > > > > > to your libgsl.so.19 file is
/D2/xinxia/METplus/MET/externa
> > > > > l_libs/GSL/gsl-1.16/lib
> > > > > > you would add teh following to your ~/.bashrc file:
> > > > > >
> > > > > >   export LD_LIBRARY_PATH=/D2/xinxia/
> METplus/MET/external_libs/GSL/
> > > > > > gsl-1.16/lib
> > > > > >
> > > > > > Then save the change and source that file:
> > > > > >
> > > > > >   source ~/.bashrc
> > > > > >
> > > > > > Then, please try rerunning the command manually and let me
know
> if
> > it
> > > > > > works.
> > > > > >
> > > > > > I believe that this was the cause of the initial error you
> received
> > > > from
> > > > > > MET+:
> > > > > >
> > > > > > ERROR|
/D2/xinxia/METplus/METplus/ush/run_tc_stat.py:tc_stat
> from
> > > > > calling
> > > > > > MET TC-STAT with command:/D2/xinxia/METplus/
> > MET/met-5.2/bin/tc_stat
> > > > -job
> > > > > > filter -lookin
/D2/xinxia/METplus/MET/input/tc_pairs/201412
> > > -init_inc
> > > > > > 20141201_00 -match_points true -dump_row
> > > /D2/xinxia/METplus/MET/out/ext
> > > > > > ract_tiles/20141201_00/filter_20141201_00.tcst  -basin ML
> > > > -out_init_mask
> > > > > > /D2/xinxia/METplus/MET/met-5.2/share/met/poly/CONUS.poly
> > > > > >
> > > > > >
> > > > > > Thanks,
> > > > > > Julie
> > > > > >
> > > > > > On Thu, Feb 23, 2017 at 10:14 AM, Xinxia Song via RT <
> > > > met_help at ucar.edu>
> > > > > > wrote:
> > > > > >
> > > > > >>
> > > > > >> <URL:
https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=79605 >
> > > > > >>
> > > > > >> Hi Julie,
> > > > > >>
> > > > > >>
> > > > > >> [xinxia at chaos ush]$ /D2/xinxia/METplus/MET/met-
5.2/bin/tc_stat
> > -job
> > > > > >> filter -lookin
/D2/xinxia/METplus/MET/input/tc_pairs/201412
> > > -init_inc
> > > > > >> 20141201_00 -match_points true -dump_row
> > > > /D2/xinxia/METplus/MET/out/ext
> > > > > ract_tiles/20141201_00/
> > > > > >> filter_20141201_00.tcst  -basin ML -out_init_mask
> > > > > >> /D2/xinxia/METplus/MET/met-5.2/share/met/poly/CONUS.poly
> > > > > >>
> > > > > >> /D2/xinxia/METplus/MET/met-5.2/bin/tc_stat: error while
loading
> > > > shared
> > > > > >> libraries: libgsl.so.19: cannot open shared object file:
No such
> > > file
> > > > or
> > > > > >> directory
> > > > > >>
> > > > > >>
> > > > > >> And I uploaded the configuration file (constants_pdef.py)
under
> > > > > >> xinxia_data directory.
> > > > > >>
> > > > > >>
> > > > > >> Thanks,
> > > > > >>
> > > > > >>
> > > > > >> Xinxia
> > > > > >>
> > > > > >> ________________________________
> > > > > >> From: Julie Prestopnik via RT <met_help at ucar.edu>
> > > > > >> Sent: Friday, February 24, 2017 6:15:57 AM
> > > > > >> To: Xinxia_Song at outlook.com
> > > > > >> Subject: Re: [rt.rap.ucar.edu #79605] ImportError: No
module
> > named
> > > > > >> constants_pdef
> > > > > >>
> > > > > >> Hi Xinxia.
> > > > > >>
> > > > > >> I can see that your command, which should have been all
on one
> > line,
> > > > was
> > > > > >> broken up into several lines.  Please try running the
command
> > again,
> > > > > >> making
> > > > > >> sure that the entire command is on one line:
> > > > > >>
> > > > > >> /D2/xinxia/METplus/MET/met-5.2/bin/tc_stat -job filter
-lookin
> > > > > >> /D2/xinxia/METplus/MET/input/tc_pairs/201412 -init_inc
> > 20141201_00
> > > > > >> -match_points true -dump_row
> > > > > >> /D2/xinxia/METplus/MET/out/extract_tiles/20141201_00/
> > > > > >> filter_20141201_00.tcst  -basin ML -out_init_mask
> > > > > >> /D2/xinxia/METplus/MET/met-5.2/share/met/poly/CONUS.poly
> > > > > >>
> > > > > >> Then, please send the output from that command.
> > > > > >>
> > > > > >> Regarding, your error:
> > > > > >>
> > > > > >> sh: run_tc_pairs.py: command not found
> > > > > >>
> > > > > >> It's strange that would only have occurred after having
changed
> > the
> > > > > >> LOG_LEVEL.  Could you please send us your configuration
file?
> > > > > >>
> > > > > >> Thanks!
> > > > > >>
> > > > > >> Julie
> > > > > >>
> > > > > >> On Wed, Feb 22, 2017 at 2:54 PM, Xinxia Song via RT <
> > > > met_help at ucar.edu>
> > > > > >> wrote:
> > > > > >>
> > > > > >> >
> > > > > >> > <URL:
https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=79605
> >
> > > > > >> >
> > > > > >> > Hi Julie,
> > > > > >> >
> > > > > >> >
> > > > > >> > [xinxia at chaos ush]$ /D2/xinxia/METplus/MET/met-5.
> 2/bin/tc_stat
> > > -job
> > > > > >> > filter -lookin
> > > > > >> >
> > > > > >> > /D2/xinxia/METplus/MET/met-5.2/bin/tc_stat: error while
> loading
> > > > > shared
> > > > > >> > libraries: libgsl.so.19: cannot open shared object
file: No
> such
> > > > file
> > > > > or
> > > > > >> > directory
> > > > > >> >
> > > > > >> >
> > > > > >> > [xinxia at chaos ush]$ /D2/xinxia/METplus/MET/input/
> > tc_pairs/201412
> > > > > >> > -init_inc 20141201_00 -match_points true -dump_row
> > > > > >> >
> > > > > >> > -bash: /D2/xinxia/METplus/MET/input/tc_pairs/201412: is
a
> > > directory
> > > > > >> >
> > > > > >> >
> > > > > >> > [xinxia at chaos ush]$ /D2/xinxia/METplus/MET/out/ext
> > > > > >> ract_tiles/20141201_00/
> > > > > >> > filter_20141201_00.tcst  -basin ML -out_init_mask
> > > > > >> > /D2/xinxia/METplus/MET/met-
5.2/share/met/poly/CONUS.poly
> > > > > >> >
> > > > > >> > -bash:
/D2/xinxia/METplus/MET/out/extract_tiles/20141201_00/:
> > No
> > > > such
> > > > > >> > file or directory
> > > > > >> >
> > > > > >> >
> > > > > >> > After I change the LOG_LEVEL, I ran the
master_met_plus.py, it
> > > says:
> > > > > >> >
> > > > > >> > [xinxia at chaos ush]$ python master_met_plus.py
> > > > > >> >
> > > > > >> > sh: run_tc_pairs.py: command not found
> > > > > >> >
> > > > > >> >
> > > > > >> >
> > > > > >> > Thanks,
> > > > > >> >
> > > > > >> >
> > > > > >> > Xinxia
> > > > > >> >
> > > > > >> >
> > > > > >> > ________________________________
> > > > > >> > From: Julie Prestopnik via RT <met_help at ucar.edu>
> > > > > >> > Sent: Thursday, February 23, 2017 10:04:55 AM
> > > > > >> > To: Xinxia_Song at outlook.com
> > > > > >> > Subject: Re: [rt.rap.ucar.edu #79605] ImportError: No
module
> > > named
> > > > > >> > constants_pdef
> > > > > >> >
> > > > > >> > Thank you.  Unfortunately, the level of detail in the
log file
> > > > wasn't
> > > > > >> what
> > > > > >> > I hoped for.  I'd like to have you try two things.
> > > > > >> >
> > > > > >> > First, could you please send me your output of your
manual run
> > of
> > > > the
> > > > > >> > following?
> > > > > >> >
> > > > > >> > "/D2/xinxia/METplus/MET/met-5.2/bin/tc_stat -job filter
> -lookin
> > > > > >> > /D2/xinxia/METplus/MET/input/tc_pairs/201412 -init_inc
> > > 20141201_00
> > > > > >> > -match_points true -dump_row
/D2/xinxia/METplus/MET/out/
> > > > > >> > extract_tiles/20141201_00/ filter_20141201_00.tcst
-basin ML
> > > > > >> > -out_init_mask
> > > > > >> > /D2/xinxia/METplus/MET/met-
5.2/share/met/poly/CONUS.poly"
> > > > > >> >
> > > > > >> > Second, could you please change your log level in your
> > > configuration
> > > > > >> file
> > > > > >> > from
> > > > > >> >
> > > > > >> > LOG_LEVEL = "INFO"
> > > > > >> >
> > > > > >> > to
> > > > > >> >
> > > > > >> > LOG_LEVEL = "DEBUG"
> > > > > >> >
> > > > > >> > then rerun and upload your log file to our ftp server
again?
> > > > > >> >
> > > > > >> > Thank you!
> > > > > >> >
> > > > > >> > Julie
> > > > > >> >
> > > > > >> >
> > > > > >> > On Wed, Feb 22, 2017 at 12:39 PM, Xinxia Song via RT <
> > > > > met_help at ucar.edu
> > > > > >> >
> > > > > >> > wrote:
> > > > > >> >
> > > > > >> > >
> > > > > >> > > <URL: https://rt.rap.ucar.edu/rt/
> Ticket/Display.html?id=79605
> > >
> > > > > >> > >
> > > > > >> > > Hi Julie,
> > > > > >> > >
> > > > > >> > >
> > > > > >> > > I uploaded the log file under xinxia_data directory.
> > > > > >> > >
> > > > > >> > >
> > > > > >> > > Thanks,
> > > > > >> > >
> > > > > >> > >
> > > > > >> > > Xinxia
> > > > > >> > >
> > > > > >> > >
> > > > > >> > > ________________________________
> > > > > >> > > From: Julie Prestopnik via RT <met_help at ucar.edu>
> > > > > >> > > Sent: Thursday, February 23, 2017 9:11:32 AM
> > > > > >> > > To: Xinxia_Song at outlook.com
> > > > > >> > > Subject: Re: [rt.rap.ucar.edu #79605] ImportError: No
> module
> > > > named
> > > > > >> > > constants_pdef
> > > > > >> > >
> > > > > >> > > Hi Xinxia.
> > > > > >> > >
> > > > > >> > > I think it would be helpful if I could take a look at
the
> log
> > > > file.
> > > > > >> > Could
> > > > > >> > > you please upload your file to our anonymous ftp site
as
> > follows
> > > > so
> > > > > >> that
> > > > > >> > I
> > > > > >> > > can take a look?
> > > > > >> > >
> > > > > >> > >    http://www.dtcenter.org/met/
> users/support/met_help.php#ftp
> > > > > >> > >
> > > > > >> > > Also, could you please try running the following
manually
> and
> > > send
> > > > > the
> > > > > >> > > output to me?
> > > > > >> > >
> > > > > >> > > "/D2/xinxia/METplus/MET/met-5.2/bin/tc_stat -job
filter
> > -lookin
> > > > > >> > > /D2/xinxia/METplus/MET/input/tc_pairs/201412
-init_inc
> > > > 20141201_00
> > > > > >> > > -match_points true -dump_row
/D2/xinxia/METplus/MET/out/
> > > > > >> > > extract_tiles/20141201_00/filter_20141201_00.tcst
-basin
> ML
> > > > > >> > > -out_init_mask
> > > > > >> > > /D2/xinxia/METplus/MET/met-
5.2/share/met/poly/CONUS.poly"
> > > > > >> > >
> > > > > >> > > Thank you!
> > > > > >> > >
> > > > > >> > > Julie
> > > > > >> > >
> > > > > >> > >
> > > > > >> > >
> > > > > >> > > On Wed, Feb 22, 2017 at 12:06 PM, Xinxia Song via RT
<
> > > > > >> met_help at ucar.edu>
> > > > > >> > > wrote:
> > > > > >> > >
> > > > > >> > > >
> > > > > >> > > > <URL: https://rt.rap.ucar.edu/rt/
> > Ticket/Display.html?id=79605
> > > >
> > > > > >> > > >
> > > > > >> > > > Hi Julie,
> > > > > >> > > >
> > > > > >> > > >
> > > > > >> > > > Now I can run the program, but when I look at the
log file
> > in
> > > > the
> > > > > >> > output,
> > > > > >> > > > it shows error below:
> > > > > >> > > >
> > > > > >> > > >
> > > > > >> > > > ERROR| /D2/xinxia/METplus/METplus/
> > ush/run_tc_stat.py:tc_stat
> > > > from
> > > > > >> > > calling
> > > > > >> > > > MET TC-STAT with command:/D2/xinxia/METplus/MET
> > > > > /met-5.2/bin/tc_stat
> > > > > >> > -job
> > > > > >> > > > filter -lookin /D2/xinxia/METplus/MET/input/
> tc_pairs/201412
> > > > > >> -init_inc
> > > > > >> > > > 20141201_00 -match_points true -dump_row
> > > > > /D2/xinxia/METplus/MET/out/
> > > > > >> > > > extract_tiles/20141201_00/filter_20141201_00.tcst
-basin
> > ML
> > > > > >> > > > -out_init_mask /D2/xinxia/METplus/MET/met-5.
> > > > > >> > 2/share/met/poly/CONUS.poly
> > > > > >> > > >
> > > > > >> > > >
> > > > > >> > > > How should I fix it?
> > > > > >> > > >
> > > > > >> > > >
> > > > > >> > > > Thanks,
> > > > > >> > > >
> > > > > >> > > >
> > > > > >> > > > Xinxia
> > > > > >> > > >
> > > > > >> > > > ________________________________
> > > > > >> > > > From: Julie Prestopnik via RT <met_help at ucar.edu>
> > > > > >> > > > Sent: Thursday, February 23, 2017 7:30:06 AM
> > > > > >> > > > To: Xinxia_Song at outlook.com
> > > > > >> > > > Subject: Re: [rt.rap.ucar.edu #79605] ImportError:
No
> > module
> > > > > named
> > > > > >> > > > constants_pdef
> > > > > >> > > >
> > > > > >> > > > Hi Xinxia.
> > > > > >> > > >
> > > > > >> > > > I believe that python doesn't know how to find the
module
> > > > because
> > > > > >> the
> > > > > >> > ush
> > > > > >> > > > directory is not in your PYTHONPATH.  Both the parm
and
> ush
> > > > > >> directory
> > > > > >> > > need
> > > > > >> > > > to be specified in your PYTHONPATH.  Please add the
ush
> > > > directory
> > > > > to
> > > > > >> > your
> > > > > >> > > > PYTHONPATH, source ~/.bashrc, and let us know how
it goes.
> > > > > >> > > >
> > > > > >> > > > Thanks,
> > > > > >> > > > Julie
> > > > > >> > > >
> > > > > >> > > > On Wed, Feb 22, 2017 at 10:24 AM, Xinxia Song via
RT <
> > > > > >> > met_help at ucar.edu>
> > > > > >> > > > wrote:
> > > > > >> > > >
> > > > > >> > > > >
> > > > > >> > > > > <URL: https://rt.rap.ucar.edu/rt/
> > > Ticket/Display.html?id=79605
> > > > >
> > > > > >> > > > >
> > > > > >> > > > > Hi Julie,
> > > > > >> > > > >
> > > > > >> > > > >
> > > > > >> > > > > Since I don't have setenv, I added these 3
sentence into
> > my
> > > > > >> .bashrc
> > > > > >> > > file:
> > > > > >> > > > >
> > > > > >> > > > >
> > > > > >> > > > > export
PYTHONPATH="/D2/xinxia/METplus/METplus/parm"
> > > > > >> > > > >
> > > > > >> > > > >
> > > > > >> > > > > export USHROOT=/D2/xinxia/METplus/METplus/ush
> > > > > >> > > > >
> > > > > >> > > > > export PATH=$USHROOT:$PATH
> > > > > >> > > > >
> > > > > >> > > > >
> > > > > >> > > > > I sourced the ~/.bashrc, and checked that the
variables
> > are
> > > > set,
> > > > > >> but
> > > > > >> > > the
> > > > > >> > > > > program still can't find the module.
> > > > > >> > > > >
> > > > > >> > > > >
> > > > > >> > > > > Thanks,
> > > > > >> > > > >
> > > > > >> > > > > Xinxia
> > > > > >> > > > >
> > > > > >> > > > > ________________________________
> > > > > >> > > > > From: Julie Prestopnik via RT <met_help at ucar.edu>
> > > > > >> > > > > Sent: Thursday, February 23, 2017 6:24:21 AM
> > > > > >> > > > > To: Xinxia_Song at outlook.com
> > > > > >> > > > > Subject: Re: [rt.rap.ucar.edu #79605]
ImportError: No
> > > module
> > > > > >> named
> > > > > >> > > > > constants_pdef
> > > > > >> > > > >
> > > > > >> > > > > Hi Xinxia.
> > > > > >> > > > >
> > > > > >> > > > > Could you please check to make sure that the ush
> directory
> > > > with
> > > > > >> > > > > constants_pdef.py is in your PYTHONPATH in your
.cshrc
> > file
> > > > (or
> > > > > >> > .bashrc
> > > > > >> > > > or
> > > > > >> > > > > similar file)?  The parm directory should also be
in
> your
> > > > > >> PYTHONPATH.
> > > > > >> > > > >
> > > > > >> > > > > For example,
> > > > > >> > > > >
> > > > > >> > > > > setenv PYTHONPATH /d1/jpresto/sbu/METplus/ush:/
> > > > > >> > > > d1/jpresto/sbu/METplus/parm
> > > > > >> > > > >
> > > > > >> > > > > Please also check make sure that the path to the
ush
> > > directory
> > > > > is
> > > > > >> > also
> > > > > >> > > > > specified your your path environment variable.
For
> > example,
> > > > > >> > > > >
> > > > > >> > > > > set path = (/usr/local/bin \
> > > > > >> > > > >                  /usr/local/python/bin/python \
> > > > > >> > > > >                  /d1/jpresto/sbu/METplus/ush )
> > > > > >> > > > >
> > > > > >> > > > > If they are not there, please add them and then
source
> the
> > > > file
> > > > > >> (e.g.
> > > > > >> > > run
> > > > > >> > > > > "source ~/.cshrc").
> > > > > >> > > > >
> > > > > >> > > > > Thank you!  Please let us know how it goes.
> > > > > >> > > > >
> > > > > >> > > > > Julie
> > > > > >> > > > >
> > > > > >> > > > >
> > > > > >> > > > >
> > > > > >> > > > >
> > > > > >> > > > > On Tue, Feb 21, 2017 at 4:49 PM, Xinxia Song via
RT <
> > > > > >> > met_help at ucar.edu
> > > > > >> > > >
> > > > > >> > > > > wrote:
> > > > > >> > > > >
> > > > > >> > > > > >
> > > > > >> > > > > > Tue Feb 21 16:49:28 2017: Request 79605 was
acted
> upon.
> > > > > >> > > > > > Transaction: Ticket created by
> Xinxia_Song at outlook.com
> > > > > >> > > > > >        Queue: met_help
> > > > > >> > > > > >      Subject: ImportError: No module named
> > constants_pdef
> > > > > >> > > > > >        Owner: Nobody
> > > > > >> > > > > >   Requestors: Xinxia_Song at outlook.com
> > > > > >> > > > > >       Status: new
> > > > > >> > > > > >  Ticket <URL: https://rt.rap.ucar.edu/rt/
> > > > > >> > > Ticket/Display.html?id=79605
> > > > > >> > > > >
> > > > > >> > > > > >
> > > > > >> > > > > >
> > > > > >> > > > > > Hi,
> > > > > >> > > > > >
> > > > > >> > > > > >
> > > > > >> > > > > > When I ran the mater_met_plus.py, it says:
> > > > > >> > > > > >
> > > > > >> > > > > >
> > > > > >> > > > > > ImportError: No module named constants_pdef
> > > > > >> > > > > >
> > > > > >> > > > > >
> > > > > >> > > > > > Seems it doesn't recognize constants_pdef as
its
> module.
> > > > > >> > > > > >
> > > > > >> > > > > >
> > > > > >> > > > > > Thanks,
> > > > > >> > > > > >
> > > > > >> > > > > > Xinxia
> > > > > >> > > > > >
> > > > > >> > > > > >
> > > > > >> > > > >
> > > > > >> > > > >
> > > > > >> > > > >
> > > > > >> > > >
> > > > > >> > > >
> > > > > >> > > >
> > > > > >> > >
> > > > > >> > >
> > > > > >> > >
> > > > > >> >
> > > > > >> >
> > > > > >> >
> > > > > >>
> > > > > >>
> > > > > >>
> > > > > >
> > > > >
> > > > >
> > > > >
> > > >
> > > >
> > > >
> > >
> > >
> > >
> >
> >
> >
>
>
>


------------------------------------------------
Subject: ImportError: No module named constants_pdef
From: Julie Prestopnik
Time: Fri Feb 24 09:43:27 2017

Hi Xinxia.  Running the entire three months of data could certainly
take a
long time.  I am hoping to get an estimate on how long it took to run
the
three month data set here, but have not been able to obtain that
number
yet.   It sounds the code was running successfully for you.  If you're
eager to take a lot at some output, I would suggest running a smaller
subset of the data, or perhaps you could set up the whole three month
to
run over the weekend.  I would suggest letting the code run to
completion
for either a smaller subset or for the entire subset and then checking
the
log file for errors.  I hope that helps.  Please let me know if you
have
any questions or encounter any issues.

Thanks,
Julie

On Thu, Feb 23, 2017 at 4:28 PM, Xinxia Song via RT
<met_help at ucar.edu>
wrote:

>
> <URL: https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=79605 >
>
> Hi Julie,
>
>
> The version is set to be 2.7+. When I ran master_met_plus.py, it
seems it
> will run forever. So I killed it, and got the following:
>
> [xinxia at chaos ush]$ python master_met_plus.py
>
> ^CTraceback (most recent call last):
>
>   File "/D2/xinxia/METplus/METplus/ush/extract_tiles.py", line 157,
in
> <module>
>
>     main()
>
>   File "/D2/xinxia/METplus/METplus/ush/extract_tiles.py", line 100,
in
> main
>
>     filtered_out_dir)
>
>   File "/D2/xinxia/METplus/METplus/ush/run_tc_stat.py", line 69, in
> tc_stat
>
>     tc_stat_out = subprocess.check_output(tc_cmd,
> stderr=subprocess.STDOUT, shell=True )
>
>   File "/home/xinxia/anaconda2/lib/python2.7/subprocess.py", line
213, in
> check_output
>
>     output, unused_err = process.communicate()
>
>   File "/home/xinxia/anaconda2/lib/python2.7/subprocess.py", line
471, in
> communicate
>
>     stdout = _eintr_retry_call(self.stdout.read)
>
>   File "/home/xinxia/anaconda2/lib/python2.7/subprocess.py", line
121, in
> _eintr_retry_call
>
>     return func(*args)
>
> KeyboardInterrupt
>
>
> Thanks,
>
>
> Xinxia
>
> ________________________________
> From: Julie Prestopnik via RT <met_help at ucar.edu>
> Sent: Friday, February 24, 2017 12:02:21 PM
> To: Xinxia_Song at outlook.com
> Subject: Re: [rt.rap.ucar.edu #79605] ImportError: No module named
> constants_pdef
>
> Hi Xinxia.  I suspect that even though you installed Python 2.7 that
Python
> 2.6.6 is still being used.
>
> Please try running:
>
> python --version
>
> on the command line.
>
> If you see "Python 2..6.6", please add the path for Python 2.7 to
the front
> of your path in your ~/.bashrc file.  Then, source your ~/.bashrc
file and
> try rerunning
>
> python --version
>
> on the command line.  Hopefully, then you will see the new version.
Then,
> please try rerunning master_met_plus.py.
>
> I hope this helps!  Thanks!
>
> Julie
>
> On Thu, Feb 23, 2017 at 1:51 PM, Xinxia Song via RT
<met_help at ucar.edu>
> wrote:
>
> >
> > <URL: https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=79605 >
> >
> > Hi Julie,
> >
> >
> > I installed myself the 2.7 python, it still got the error when
running:
> >
> > Traceback (most recent call last):
> >
> >   File "/D2/xinxia/METplus/METplus/ush/series_by_lead.py", line
945, in
> > <module>
> >
> >     analysis_by_lead_time()
> >
> >   File "/D2/xinxia/METplus/METplus/ush/series_by_lead.py", line
107, in
> > analysis_by_lead_time
> >
> >     util.apply_series_filters(tile_dir, init_times,
> > series_lead_filtered_out_dir, p, logger)
> >
> >   File "/D2/xinxia/METplus/METplus/ush/met_util.py", line 1005, in
> > apply_series_filters
> >
> >     tcs.tc_stat(p, logger, tc_cmd, series_output_dir)
> >
> >   File "/D2/xinxia/METplus/METplus/ush/run_tc_stat.py", line 69,
in
> > tc_stat
> >
> >     tc_stat_out = subprocess.check_output(tc_cmd,
> > stderr=subprocess.STDOUT, shell=True )
> >
> > AttributeError: 'module' object has no attribute 'check_output'
> >
> >
> > Thanks,
> >
> >
> > Xinxia
> >
> > ________________________________
> > From: Julie Prestopnik via RT <met_help at ucar.edu>
> > Sent: Friday, February 24, 2017 9:37:53 AM
> > To: Xinxia_Song at outlook.com
> > Subject: Re: [rt.rap.ucar.edu #79605] ImportError: No module named
> > constants_pdef
> >
> > Can you please tell me which version of Python you are using?
> check_output
> > for subprocess was introduced in Python 2.7.    Do you have access
to
> > Python version 2.7 or higher?
> >
> > Thanks,
> > Julie
> >
> > On Thu, Feb 23, 2017 at 12:11 PM, Xinxia Song via RT
<met_help at ucar.edu>
> > wrote:
> >
> > >
> > > <URL: https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=79605 >
> > >
> > > Hi Julie,
> > >
> > >
> > > I added it to the $PATH and ran the master_met_python.py:
> > >
> > > [xinxia at chaos ush]$ python master_met_plus.py
> > >
> > > Traceback (most recent call last):
> > >
> > >   File "/D2/xinxia/METplus/METplus/ush/extract_tiles.py", line
157, in
> > > <module>
> > >
> > >     main()
> > >
> > >   File "/D2/xinxia/METplus/METplus/ush/extract_tiles.py", line
100, in
> > > main
> > >
> > >     filtered_out_dir)
> > >
> > >   File "/D2/xinxia/METplus/METplus/ush/run_tc_stat.py", line 69,
in
> > > tc_stat
> > >
> > >     tc_stat_out = subprocess.check_output(tc_cmd,
> > > stderr=subprocess.STDOUT, shell=True )
> > >
> > > AttributeError: 'module' object has no attribute 'check_output'
> > >
> > >
> > > Thanks,
> > >
> > >
> > > Xinxia
> > >
> > > ________________________________
> > > From: Julie Prestopnik via RT <met_help at ucar.edu>
> > > Sent: Friday, February 24, 2017 9:07:40 AM
> > > To: Xinxia_Song at outlook.com
> > > Subject: Re: [rt.rap.ucar.edu #79605] ImportError: No module
named
> > > constants_pdef
> > >
> > > Unfortunately, your environment does not know where to find
> > > run_tc_pairs.py.  Please try adding the directory with
run_tc_pairs.py
> > > (/D2/xinxia/METplus/METplus/ush) to your path in your ~/.bashrc
file,
> > then
> > > run "source ~/.bashrc", then trying rerunning.  Please let me
know how
> > that
> > > goes.
> > >
> > > Thanks!
> > >
> > > Julie
> > >
> > > On Thu, Feb 23, 2017 at 11:55 AM, Xinxia Song via RT <
> met_help at ucar.edu>
> > > wrote:
> > >
> > > >
> > > > <URL: https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=79605
>
> > > >
> > > > Hi Julie,
> > > >
> > > >
> > > > I'm running met in a machine that's owned by our department, I
don't
> > have
> > > > sudo right, so when I type which run_tc_pairs.py, it says
couldn't
> find
> > > it.
> > > >
> > > > no run_tc_pairs.py in (/opt/ncl/bin:/opt/intel-soft/
> > > > bin:/opt/ncl/bin:/opt/ncl/bin:/opt/intel-soft/bin:/opt/ncl/
> > > > bin:/home/xinxia/anaconda/bin:/home/xinxia/anaconda/bin:/
> > > > opt/ncl/bin:/opt/intel-soft/bin:/opt/ncl/bin:/usr/lib64/
> > > > qt-3.3/bin:/usr/local/bin:/bin:/usr/bin:/usr/local/sbin:/
> > > > usr/sbin:/sbin:/sbin:/usr/sbin:/cm/local/apps/
> > > environment-modules/3.2.10/
> > > > bin:/home/xinxia/bin:/opt/ncl-621/bin)
> > > >
> > > >
> > > > But I could find it manually in that directory.
> > > >
> > > >
> > > > Thanks,
> > > >
> > > >
> > > > Xinxia
> > > >
> > > > ________________________________
> > > > From: Julie Prestopnik via RT <met_help at ucar.edu>
> > > > Sent: Friday, February 24, 2017 8:52:16 AM
> > > > To: Xinxia_Song at outlook.com
> > > > Subject: Re: [rt.rap.ucar.edu #79605] ImportError: No module
named
> > > > constants_pdef
> > > >
> > > > Hi Xinxia.
> > > >
> > > > It looks like you got a successful run of tc_stat - that's
great
> news!
> > > >
> > > > I'm not sure what you mean by "Because I don't have the right,
I
> can't
> > > find
> > > > run_tc_pairs.py, but I know it's under
> > > >
> > > > /D2/xinxia/METplus/METplus/ush".
> > > >
> > > > Can you please explain?  What happened when you ran "which
> > > > run_tc_pairs.py"?
> > > >
> > > > Thanks,
> > > > Julie
> > > >
> > > >
> > > >
> > > >
> > > >
> > > >
> > > > On Thu, Feb 23, 2017 at 11:44 AM, Xinxia Song via RT <
> > met_help at ucar.edu>
> > > > wrote:
> > > >
> > > > >
> > > > > <URL:
https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=79605 >
> > > > >
> > > > > Hi Julie,
> > > > >
> > > > >
> > > > > I removed the space.
> > > > >
> > > > > [xinxia at chaos parm]$ /D2/xinxia/METplus/MET/met-
5.2/bin/tc_stat
> -job
> > > > > filter -lookin /D2/xinxia/METplus/MET/input/tc_pairs/201412
> > -init_inc
> > > > > 20141201_00 -match_points true -dump_row
> /D2/xinxia/METplus/MET/out/
> > > > > extract_tiles/20141201_00/filter_20141201_00.tcst  -basin ML
> > > > > -out_init_mask /D2/xinxia/METplus/MET/met-5.
> > > 2/share/met/poly/CONUS.poly
> > > > >
> > > > > DEBUG 1: [Source 1] Lookin: /D2/xinxia/METplus/MET/input/
> > > tc_pairs/201412
> > > > >
> > > > > DEBUG 2:
> > > > >
> > > > > DEBUG 2: Processing Job 1: -job filter -basin ML -init_inc
> > > > 20141201_000000
> > > > > -match_points true -out_init_mask
/D2/xinxia/METplus/MET/met-5.
> > > > 2/share/met/poly/CONUS.poly
> > > > > -dump_row
/D2/xinxia/METplus/MET/out/extract_tiles/20141201_00/
> > > > > filter_20141201_00.tcst
> > > > >
> > > > > DEBUG 1: Creating output dump file:
/D2/xinxia/METplus/MET/out/
> > > > > extract_tiles/20141201_00/filter_20141201_00.tcst
> > > > >
> > > > > FILTER: -job filter -basin ML -init_inc 20141201_000000
> -match_points
> > > > true
> > > > > -out_init_mask /D2/xinxia/METplus/MET/met-5.
> > > 2/share/met/poly/CONUS.poly
> > > > > -dump_row
/D2/xinxia/METplus/MET/out/extract_tiles/20141201_00/
> > > > > filter_20141201_00.tcst
> > > > >
> > > > >
> > > > > DEBUG 2: Job 1 used 0 out of 27292 lines read.
> > > > >
> > > > >
> > > > > Because I don't have the right, I can't find
run_tc_pairs.py, but I
> > > know
> > > > > it's under
> > > > >
> > > > > /D2/xinxia/METplus/METplus/ush
> > > > >
> > > > >
> > > > > For Python,
> > > > >
> > > > > [xinxia at chaos ~]$ which python
> > > > >
> > > > > /usr/bin/python
> > > > >
> > > > >
> > > > > Xinxia
> > > > >
> > > > > ________________________________
> > > > > From: Julie Prestopnik via RT <met_help at ucar.edu>
> > > > > Sent: Friday, February 24, 2017 8:30:01 AM
> > > > > To: Xinxia_Song at outlook.com
> > > > > Subject: Re: [rt.rap.ucar.edu #79605] ImportError: No module
named
> > > > > constants_pdef
> > > > >
> > > > > Hi Xinxia.
> > > > >
> > > > > It looks like there is a space where there should not be a
space
> > > (between
> > > > > /D2/xinxia/METplus/MET/out/extract_tiles/20141201_00/ and
> > > > > filter_20141201_00.tcst after the -dump_row option).
> > > > >
> > > > > Could you please try it again without the space?
> > > > >
> > > > > /D2/xinxia/METplus/METplus/ush/run_tc_stat.py:tc_stat from
calling
> > MET
> > > > > TC-STAT with command:/D2/xinxia/METplus/MET/met-
5.2/bin/tc_stat
> -job
> > > > > filter
> > > > > -lookin /D2/xinxia/METplus/MET/input/tc_pairs/201412
-init_inc
> > > > 20141201_00
> > > > > -match_points true -dump_row /D2/xinxia/METplus/MET/out/
> > > > > extract_tiles/20141201_00/filter_20141201_00.tcst  -basin ML
> > > > > -out_init_mask
> > > > > /D2/xinxia/METplus/MET/met-5.2/share/met/poly/CONUS.poly
> > > > >
> > > > > Regarding the master_met_plus.py run, please try running the
> > following
> > > > two
> > > > > commands and send me the output:
> > > > >
> > > > > which run_tc_pairs.py
> > > > >
> > > > > which python
> > > > >
> > > > > Thanks!
> > > > >
> > > > > Julie
> > > > >
> > > > > On Thu, Feb 23, 2017 at 11:06 AM, Xinxia Song via RT <
> > > met_help at ucar.edu>
> > > > > wrote:
> > > > >
> > > > > >
> > > > > > <URL:
https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=79605 >
> > > > > >
> > > > > > Hi Julie,
> > > > > >
> > > > > >
> > > > > > After I ran the long one line command:
> > > > > >
> > > > > > [xinxia at chaos parm]$ /D2/xinxia/METplus/MET/met-
5.2/bin/tc_stat
> > -job
> > > > > > filter -lookin
/D2/xinxia/METplus/MET/input/tc_pairs/201412
> > > -init_inc
> > > > > > 20141201_00 -match_points true -dump_row
> > /D2/xinxia/METplus/MET/out/
> > > > > extract_tiles/20141201_00/
> > > > > > filter_20141201_00.tcst  -basin ML -out_init_mask
> > > > > > /D2/xinxia/METplus/MET/met-5.2/share/met/poly/CONUS.poly
> > > > > >
> > > > > >
> > > > > > DEBUG 1: [Source 1] Lookin: /D2/xinxia/METplus/MET/input/
> > > > tc_pairs/201412
> > > > > >
> > > > > > ERROR  :
> > > > > >
> > > > > > ERROR  : TCStatJob
*TCStatJobFactory::new_tc_stat_job(const char
> > > > > > *jobstring) -> unsupported job command options
> > > > "filter_20141201_00.tcst".
> > > > > >
> > > > > > ERROR  :
> > > > > >
> > > > > >
> > > > > > And for the master_met_plus.py, I got the error:
> > > > > >
> > > > > > [xinxia at chaos ush]$ python master_met_plus.py
> > > > > >
> > > > > > sh: run_tc_pairs.py: command not found
> > > > > >
> > > > > >
> > > > > > Thanks,
> > > > > >
> > > > > >
> > > > > > Xinxia
> > > > > >
> > > > > > ________________________________
> > > > > > From: Julie Prestopnik via RT <met_help at ucar.edu>
> > > > > > Sent: Friday, February 24, 2017 7:42:21 AM
> > > > > > To: Xinxia_Song at outlook.com
> > > > > > Subject: Re: [rt.rap.ucar.edu #79605] ImportError: No
module
> named
> > > > > > constants_pdef
> > > > > >
> > > > > > My apologies, my response should have said, "By default,
MET
> > version
> > > > 5.2
> > > > > is
> > > > > > compiled using dynamic linking."  It's true for both, but
I see
> > > you're
> > > > > > using 5.2 and I inadvertently referred to 5.1.
> > > > > >
> > > > > > On Thu, Feb 23, 2017 at 10:40 AM, Julie Prestopnik <
> > jpresto at ucar.edu
> > > >
> > > > > > wrote:
> > > > > >
> > > > > > > Hi Xinxia.  Regarding the error:
> > > > > > >
> > > > > > > /D2/xinxia/METplus/MET/met-5.2/bin/tc_stat: error while
> loading
> > > > shared
> > > > > > > libraries: libgsl.so.19: cannot open shared object file:
No
> such
> > > file
> > > > > or
> > > > > > > directory
> > > > > > >
> > > > > > > By default, MET version 5.1 is compiled using dynamic
linking.
> > > > Rather
> > > > > > > than compiling the external library code in with the MET
> > > executables
> > > > > > (which
> > > > > > > is
> > > > > > > called static linking), it looks for them at runtime.
And it's
> > > > looking
> > > > > > > for those "shared object" (.so) library files.
> > > > > > >
> > > > > > > This should be easy to fix. We just need to tell it
where to
> find
> > > > them,
> > > > > > > and we do that by setting (or adding to the
LD_LIBRARY_PATH).
> > Look
> > > > in
> > > > > > your
> > > > > > > ~/.bashrc file.  If LD_LIBRARY_PATH is already defined
in
> there,
> > > add
> > > > > the
> > > > > > > path to the libgsl.so.19 to the end of it.  If not, add
an
> > > > > > > LD_LIBRARY_PATH entry in your ~/.bashrc file.  So, for
example,
> > if
> > > > the
> > > > > > path
> > > > > > > to your libgsl.so.19 file is
/D2/xinxia/METplus/MET/externa
> > > > > > l_libs/GSL/gsl-1.16/lib
> > > > > > > you would add teh following to your ~/.bashrc file:
> > > > > > >
> > > > > > >   export LD_LIBRARY_PATH=/D2/xinxia/
> > METplus/MET/external_libs/GSL/
> > > > > > > gsl-1.16/lib
> > > > > > >
> > > > > > > Then save the change and source that file:
> > > > > > >
> > > > > > >   source ~/.bashrc
> > > > > > >
> > > > > > > Then, please try rerunning the command manually and let
me know
> > if
> > > it
> > > > > > > works.
> > > > > > >
> > > > > > > I believe that this was the cause of the initial error
you
> > received
> > > > > from
> > > > > > > MET+:
> > > > > > >
> > > > > > > ERROR|
/D2/xinxia/METplus/METplus/ush/run_tc_stat.py:tc_stat
> > from
> > > > > > calling
> > > > > > > MET TC-STAT with command:/D2/xinxia/METplus/
> > > MET/met-5.2/bin/tc_stat
> > > > > -job
> > > > > > > filter -lookin
/D2/xinxia/METplus/MET/input/tc_pairs/201412
> > > > -init_inc
> > > > > > > 20141201_00 -match_points true -dump_row
> > > > /D2/xinxia/METplus/MET/out/ext
> > > > > > > ract_tiles/20141201_00/filter_20141201_00.tcst  -basin
ML
> > > > > -out_init_mask
> > > > > > > /D2/xinxia/METplus/MET/met-5.2/share/met/poly/CONUS.poly
> > > > > > >
> > > > > > >
> > > > > > > Thanks,
> > > > > > > Julie
> > > > > > >
> > > > > > > On Thu, Feb 23, 2017 at 10:14 AM, Xinxia Song via RT <
> > > > > met_help at ucar.edu>
> > > > > > > wrote:
> > > > > > >
> > > > > > >>
> > > > > > >> <URL:
https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=79605
> >
> > > > > > >>
> > > > > > >> Hi Julie,
> > > > > > >>
> > > > > > >>
> > > > > > >> [xinxia at chaos ush]$ /D2/xinxia/METplus/MET/met-5.
> 2/bin/tc_stat
> > > -job
> > > > > > >> filter -lookin
/D2/xinxia/METplus/MET/input/tc_pairs/201412
> > > > -init_inc
> > > > > > >> 20141201_00 -match_points true -dump_row
> > > > > /D2/xinxia/METplus/MET/out/ext
> > > > > > ract_tiles/20141201_00/
> > > > > > >> filter_20141201_00.tcst  -basin ML -out_init_mask
> > > > > > >> /D2/xinxia/METplus/MET/met-
5.2/share/met/poly/CONUS.poly
> > > > > > >>
> > > > > > >> /D2/xinxia/METplus/MET/met-5.2/bin/tc_stat: error while
> loading
> > > > > shared
> > > > > > >> libraries: libgsl.so.19: cannot open shared object
file: No
> such
> > > > file
> > > > > or
> > > > > > >> directory
> > > > > > >>
> > > > > > >>
> > > > > > >> And I uploaded the configuration file
(constants_pdef.py)
> under
> > > > > > >> xinxia_data directory.
> > > > > > >>
> > > > > > >>
> > > > > > >> Thanks,
> > > > > > >>
> > > > > > >>
> > > > > > >> Xinxia
> > > > > > >>
> > > > > > >> ________________________________
> > > > > > >> From: Julie Prestopnik via RT <met_help at ucar.edu>
> > > > > > >> Sent: Friday, February 24, 2017 6:15:57 AM
> > > > > > >> To: Xinxia_Song at outlook.com
> > > > > > >> Subject: Re: [rt.rap.ucar.edu #79605] ImportError: No
module
> > > named
> > > > > > >> constants_pdef
> > > > > > >>
> > > > > > >> Hi Xinxia.
> > > > > > >>
> > > > > > >> I can see that your command, which should have been all
on one
> > > line,
> > > > > was
> > > > > > >> broken up into several lines.  Please try running the
command
> > > again,
> > > > > > >> making
> > > > > > >> sure that the entire command is on one line:
> > > > > > >>
> > > > > > >> /D2/xinxia/METplus/MET/met-5.2/bin/tc_stat -job filter
> -lookin
> > > > > > >> /D2/xinxia/METplus/MET/input/tc_pairs/201412 -init_inc
> > > 20141201_00
> > > > > > >> -match_points true -dump_row
> > > > > > >> /D2/xinxia/METplus/MET/out/extract_tiles/20141201_00/
> > > > > > >> filter_20141201_00.tcst  -basin ML -out_init_mask
> > > > > > >> /D2/xinxia/METplus/MET/met-
5.2/share/met/poly/CONUS.poly
> > > > > > >>
> > > > > > >> Then, please send the output from that command.
> > > > > > >>
> > > > > > >> Regarding, your error:
> > > > > > >>
> > > > > > >> sh: run_tc_pairs.py: command not found
> > > > > > >>
> > > > > > >> It's strange that would only have occurred after having
> changed
> > > the
> > > > > > >> LOG_LEVEL.  Could you please send us your configuration
file?
> > > > > > >>
> > > > > > >> Thanks!
> > > > > > >>
> > > > > > >> Julie
> > > > > > >>
> > > > > > >> On Wed, Feb 22, 2017 at 2:54 PM, Xinxia Song via RT <
> > > > > met_help at ucar.edu>
> > > > > > >> wrote:
> > > > > > >>
> > > > > > >> >
> > > > > > >> > <URL: https://rt.rap.ucar.edu/rt/
> Ticket/Display.html?id=79605
> > >
> > > > > > >> >
> > > > > > >> > Hi Julie,
> > > > > > >> >
> > > > > > >> >
> > > > > > >> > [xinxia at chaos ush]$ /D2/xinxia/METplus/MET/met-5.
> > 2/bin/tc_stat
> > > > -job
> > > > > > >> > filter -lookin
> > > > > > >> >
> > > > > > >> > /D2/xinxia/METplus/MET/met-5.2/bin/tc_stat: error
while
> > loading
> > > > > > shared
> > > > > > >> > libraries: libgsl.so.19: cannot open shared object
file: No
> > such
> > > > > file
> > > > > > or
> > > > > > >> > directory
> > > > > > >> >
> > > > > > >> >
> > > > > > >> > [xinxia at chaos ush]$ /D2/xinxia/METplus/MET/input/
> > > tc_pairs/201412
> > > > > > >> > -init_inc 20141201_00 -match_points true -dump_row
> > > > > > >> >
> > > > > > >> > -bash: /D2/xinxia/METplus/MET/input/tc_pairs/201412:
is a
> > > > directory
> > > > > > >> >
> > > > > > >> >
> > > > > > >> > [xinxia at chaos ush]$ /D2/xinxia/METplus/MET/out/ext
> > > > > > >> ract_tiles/20141201_00/
> > > > > > >> > filter_20141201_00.tcst  -basin ML -out_init_mask
> > > > > > >> > /D2/xinxia/METplus/MET/met-
5.2/share/met/poly/CONUS.poly
> > > > > > >> >
> > > > > > >> > -bash: /D2/xinxia/METplus/MET/out/
> extract_tiles/20141201_00/:
> > > No
> > > > > such
> > > > > > >> > file or directory
> > > > > > >> >
> > > > > > >> >
> > > > > > >> > After I change the LOG_LEVEL, I ran the
master_met_plus.py,
> it
> > > > says:
> > > > > > >> >
> > > > > > >> > [xinxia at chaos ush]$ python master_met_plus.py
> > > > > > >> >
> > > > > > >> > sh: run_tc_pairs.py: command not found
> > > > > > >> >
> > > > > > >> >
> > > > > > >> >
> > > > > > >> > Thanks,
> > > > > > >> >
> > > > > > >> >
> > > > > > >> > Xinxia
> > > > > > >> >
> > > > > > >> >
> > > > > > >> > ________________________________
> > > > > > >> > From: Julie Prestopnik via RT <met_help at ucar.edu>
> > > > > > >> > Sent: Thursday, February 23, 2017 10:04:55 AM
> > > > > > >> > To: Xinxia_Song at outlook.com
> > > > > > >> > Subject: Re: [rt.rap.ucar.edu #79605] ImportError: No
> module
> > > > named
> > > > > > >> > constants_pdef
> > > > > > >> >
> > > > > > >> > Thank you.  Unfortunately, the level of detail in the
log
> file
> > > > > wasn't
> > > > > > >> what
> > > > > > >> > I hoped for.  I'd like to have you try two things.
> > > > > > >> >
> > > > > > >> > First, could you please send me your output of your
manual
> run
> > > of
> > > > > the
> > > > > > >> > following?
> > > > > > >> >
> > > > > > >> > "/D2/xinxia/METplus/MET/met-5.2/bin/tc_stat -job
filter
> > -lookin
> > > > > > >> > /D2/xinxia/METplus/MET/input/tc_pairs/201412
-init_inc
> > > > 20141201_00
> > > > > > >> > -match_points true -dump_row
/D2/xinxia/METplus/MET/out/
> > > > > > >> > extract_tiles/20141201_00/ filter_20141201_00.tcst
-basin
> ML
> > > > > > >> > -out_init_mask
> > > > > > >> > /D2/xinxia/METplus/MET/met-
5.2/share/met/poly/CONUS.poly"
> > > > > > >> >
> > > > > > >> > Second, could you please change your log level in
your
> > > > configuration
> > > > > > >> file
> > > > > > >> > from
> > > > > > >> >
> > > > > > >> > LOG_LEVEL = "INFO"
> > > > > > >> >
> > > > > > >> > to
> > > > > > >> >
> > > > > > >> > LOG_LEVEL = "DEBUG"
> > > > > > >> >
> > > > > > >> > then rerun and upload your log file to our ftp server
again?
> > > > > > >> >
> > > > > > >> > Thank you!
> > > > > > >> >
> > > > > > >> > Julie
> > > > > > >> >
> > > > > > >> >
> > > > > > >> > On Wed, Feb 22, 2017 at 12:39 PM, Xinxia Song via RT
<
> > > > > > met_help at ucar.edu
> > > > > > >> >
> > > > > > >> > wrote:
> > > > > > >> >
> > > > > > >> > >
> > > > > > >> > > <URL: https://rt.rap.ucar.edu/rt/
> > Ticket/Display.html?id=79605
> > > >
> > > > > > >> > >
> > > > > > >> > > Hi Julie,
> > > > > > >> > >
> > > > > > >> > >
> > > > > > >> > > I uploaded the log file under xinxia_data
directory.
> > > > > > >> > >
> > > > > > >> > >
> > > > > > >> > > Thanks,
> > > > > > >> > >
> > > > > > >> > >
> > > > > > >> > > Xinxia
> > > > > > >> > >
> > > > > > >> > >
> > > > > > >> > > ________________________________
> > > > > > >> > > From: Julie Prestopnik via RT <met_help at ucar.edu>
> > > > > > >> > > Sent: Thursday, February 23, 2017 9:11:32 AM
> > > > > > >> > > To: Xinxia_Song at outlook.com
> > > > > > >> > > Subject: Re: [rt.rap.ucar.edu #79605] ImportError:
No
> > module
> > > > > named
> > > > > > >> > > constants_pdef
> > > > > > >> > >
> > > > > > >> > > Hi Xinxia.
> > > > > > >> > >
> > > > > > >> > > I think it would be helpful if I could take a look
at the
> > log
> > > > > file.
> > > > > > >> > Could
> > > > > > >> > > you please upload your file to our anonymous ftp
site as
> > > follows
> > > > > so
> > > > > > >> that
> > > > > > >> > I
> > > > > > >> > > can take a look?
> > > > > > >> > >
> > > > > > >> > >    http://www.dtcenter.org/met/
> > users/support/met_help.php#ftp
> > > > > > >> > >
> > > > > > >> > > Also, could you please try running the following
manually
> > and
> > > > send
> > > > > > the
> > > > > > >> > > output to me?
> > > > > > >> > >
> > > > > > >> > > "/D2/xinxia/METplus/MET/met-5.2/bin/tc_stat -job
filter
> > > -lookin
> > > > > > >> > > /D2/xinxia/METplus/MET/input/tc_pairs/201412
-init_inc
> > > > > 20141201_00
> > > > > > >> > > -match_points true -dump_row
/D2/xinxia/METplus/MET/out/
> > > > > > >> > > extract_tiles/20141201_00/filter_20141201_00.tcst
-basin
> > ML
> > > > > > >> > > -out_init_mask
> > > > > > >> > > /D2/xinxia/METplus/MET/met-
5.2/share/met/poly/CONUS.poly"
> > > > > > >> > >
> > > > > > >> > > Thank you!
> > > > > > >> > >
> > > > > > >> > > Julie
> > > > > > >> > >
> > > > > > >> > >
> > > > > > >> > >
> > > > > > >> > > On Wed, Feb 22, 2017 at 12:06 PM, Xinxia Song via
RT <
> > > > > > >> met_help at ucar.edu>
> > > > > > >> > > wrote:
> > > > > > >> > >
> > > > > > >> > > >
> > > > > > >> > > > <URL: https://rt.rap.ucar.edu/rt/
> > > Ticket/Display.html?id=79605
> > > > >
> > > > > > >> > > >
> > > > > > >> > > > Hi Julie,
> > > > > > >> > > >
> > > > > > >> > > >
> > > > > > >> > > > Now I can run the program, but when I look at the
log
> file
> > > in
> > > > > the
> > > > > > >> > output,
> > > > > > >> > > > it shows error below:
> > > > > > >> > > >
> > > > > > >> > > >
> > > > > > >> > > > ERROR| /D2/xinxia/METplus/METplus/
> > > ush/run_tc_stat.py:tc_stat
> > > > > from
> > > > > > >> > > calling
> > > > > > >> > > > MET TC-STAT with command:/D2/xinxia/METplus/MET
> > > > > > /met-5.2/bin/tc_stat
> > > > > > >> > -job
> > > > > > >> > > > filter -lookin /D2/xinxia/METplus/MET/input/
> > tc_pairs/201412
> > > > > > >> -init_inc
> > > > > > >> > > > 20141201_00 -match_points true -dump_row
> > > > > > /D2/xinxia/METplus/MET/out/
> > > > > > >> > > > extract_tiles/20141201_00/filter_20141201_00.tcst
> -basin
> > > ML
> > > > > > >> > > > -out_init_mask /D2/xinxia/METplus/MET/met-5.
> > > > > > >> > 2/share/met/poly/CONUS.poly
> > > > > > >> > > >
> > > > > > >> > > >
> > > > > > >> > > > How should I fix it?
> > > > > > >> > > >
> > > > > > >> > > >
> > > > > > >> > > > Thanks,
> > > > > > >> > > >
> > > > > > >> > > >
> > > > > > >> > > > Xinxia
> > > > > > >> > > >
> > > > > > >> > > > ________________________________
> > > > > > >> > > > From: Julie Prestopnik via RT <met_help at ucar.edu>
> > > > > > >> > > > Sent: Thursday, February 23, 2017 7:30:06 AM
> > > > > > >> > > > To: Xinxia_Song at outlook.com
> > > > > > >> > > > Subject: Re: [rt.rap.ucar.edu #79605]
ImportError: No
> > > module
> > > > > > named
> > > > > > >> > > > constants_pdef
> > > > > > >> > > >
> > > > > > >> > > > Hi Xinxia.
> > > > > > >> > > >
> > > > > > >> > > > I believe that python doesn't know how to find
the
> module
> > > > > because
> > > > > > >> the
> > > > > > >> > ush
> > > > > > >> > > > directory is not in your PYTHONPATH.  Both the
parm and
> > ush
> > > > > > >> directory
> > > > > > >> > > need
> > > > > > >> > > > to be specified in your PYTHONPATH.  Please add
the ush
> > > > > directory
> > > > > > to
> > > > > > >> > your
> > > > > > >> > > > PYTHONPATH, source ~/.bashrc, and let us know how
it
> goes.
> > > > > > >> > > >
> > > > > > >> > > > Thanks,
> > > > > > >> > > > Julie
> > > > > > >> > > >
> > > > > > >> > > > On Wed, Feb 22, 2017 at 10:24 AM, Xinxia Song via
RT <
> > > > > > >> > met_help at ucar.edu>
> > > > > > >> > > > wrote:
> > > > > > >> > > >
> > > > > > >> > > > >
> > > > > > >> > > > > <URL: https://rt.rap.ucar.edu/rt/
> > > > Ticket/Display.html?id=79605
> > > > > >
> > > > > > >> > > > >
> > > > > > >> > > > > Hi Julie,
> > > > > > >> > > > >
> > > > > > >> > > > >
> > > > > > >> > > > > Since I don't have setenv, I added these 3
sentence
> into
> > > my
> > > > > > >> .bashrc
> > > > > > >> > > file:
> > > > > > >> > > > >
> > > > > > >> > > > >
> > > > > > >> > > > > export
PYTHONPATH="/D2/xinxia/METplus/METplus/parm"
> > > > > > >> > > > >
> > > > > > >> > > > >
> > > > > > >> > > > > export USHROOT=/D2/xinxia/METplus/METplus/ush
> > > > > > >> > > > >
> > > > > > >> > > > > export PATH=$USHROOT:$PATH
> > > > > > >> > > > >
> > > > > > >> > > > >
> > > > > > >> > > > > I sourced the ~/.bashrc, and checked that the
> variables
> > > are
> > > > > set,
> > > > > > >> but
> > > > > > >> > > the
> > > > > > >> > > > > program still can't find the module.
> > > > > > >> > > > >
> > > > > > >> > > > >
> > > > > > >> > > > > Thanks,
> > > > > > >> > > > >
> > > > > > >> > > > > Xinxia
> > > > > > >> > > > >
> > > > > > >> > > > > ________________________________
> > > > > > >> > > > > From: Julie Prestopnik via RT
<met_help at ucar.edu>
> > > > > > >> > > > > Sent: Thursday, February 23, 2017 6:24:21 AM
> > > > > > >> > > > > To: Xinxia_Song at outlook.com
> > > > > > >> > > > > Subject: Re: [rt.rap.ucar.edu #79605]
ImportError: No
> > > > module
> > > > > > >> named
> > > > > > >> > > > > constants_pdef
> > > > > > >> > > > >
> > > > > > >> > > > > Hi Xinxia.
> > > > > > >> > > > >
> > > > > > >> > > > > Could you please check to make sure that the
ush
> > directory
> > > > > with
> > > > > > >> > > > > constants_pdef.py is in your PYTHONPATH in your
.cshrc
> > > file
> > > > > (or
> > > > > > >> > .bashrc
> > > > > > >> > > > or
> > > > > > >> > > > > similar file)?  The parm directory should also
be in
> > your
> > > > > > >> PYTHONPATH.
> > > > > > >> > > > >
> > > > > > >> > > > > For example,
> > > > > > >> > > > >
> > > > > > >> > > > > setenv PYTHONPATH /d1/jpresto/sbu/METplus/ush:/
> > > > > > >> > > > d1/jpresto/sbu/METplus/parm
> > > > > > >> > > > >
> > > > > > >> > > > > Please also check make sure that the path to
the ush
> > > > directory
> > > > > > is
> > > > > > >> > also
> > > > > > >> > > > > specified your your path environment variable.
For
> > > example,
> > > > > > >> > > > >
> > > > > > >> > > > > set path = (/usr/local/bin \
> > > > > > >> > > > >                  /usr/local/python/bin/python \
> > > > > > >> > > > >                  /d1/jpresto/sbu/METplus/ush )
> > > > > > >> > > > >
> > > > > > >> > > > > If they are not there, please add them and then
source
> > the
> > > > > file
> > > > > > >> (e.g.
> > > > > > >> > > run
> > > > > > >> > > > > "source ~/.cshrc").
> > > > > > >> > > > >
> > > > > > >> > > > > Thank you!  Please let us know how it goes.
> > > > > > >> > > > >
> > > > > > >> > > > > Julie
> > > > > > >> > > > >
> > > > > > >> > > > >
> > > > > > >> > > > >
> > > > > > >> > > > >
> > > > > > >> > > > > On Tue, Feb 21, 2017 at 4:49 PM, Xinxia Song
via RT <
> > > > > > >> > met_help at ucar.edu
> > > > > > >> > > >
> > > > > > >> > > > > wrote:
> > > > > > >> > > > >
> > > > > > >> > > > > >
> > > > > > >> > > > > > Tue Feb 21 16:49:28 2017: Request 79605 was
acted
> > upon.
> > > > > > >> > > > > > Transaction: Ticket created by
> > Xinxia_Song at outlook.com
> > > > > > >> > > > > >        Queue: met_help
> > > > > > >> > > > > >      Subject: ImportError: No module named
> > > constants_pdef
> > > > > > >> > > > > >        Owner: Nobody
> > > > > > >> > > > > >   Requestors: Xinxia_Song at outlook.com
> > > > > > >> > > > > >       Status: new
> > > > > > >> > > > > >  Ticket <URL: https://rt.rap.ucar.edu/rt/
> > > > > > >> > > Ticket/Display.html?id=79605
> > > > > > >> > > > >
> > > > > > >> > > > > >
> > > > > > >> > > > > >
> > > > > > >> > > > > > Hi,
> > > > > > >> > > > > >
> > > > > > >> > > > > >
> > > > > > >> > > > > > When I ran the mater_met_plus.py, it says:
> > > > > > >> > > > > >
> > > > > > >> > > > > >
> > > > > > >> > > > > > ImportError: No module named constants_pdef
> > > > > > >> > > > > >
> > > > > > >> > > > > >
> > > > > > >> > > > > > Seems it doesn't recognize constants_pdef as
its
> > module.
> > > > > > >> > > > > >
> > > > > > >> > > > > >
> > > > > > >> > > > > > Thanks,
> > > > > > >> > > > > >
> > > > > > >> > > > > > Xinxia
> > > > > > >> > > > > >
> > > > > > >> > > > > >
> > > > > > >> > > > >
> > > > > > >> > > > >
> > > > > > >> > > > >
> > > > > > >> > > >
> > > > > > >> > > >
> > > > > > >> > > >
> > > > > > >> > >
> > > > > > >> > >
> > > > > > >> > >
> > > > > > >> >
> > > > > > >> >
> > > > > > >> >
> > > > > > >>
> > > > > > >>
> > > > > > >>
> > > > > > >
> > > > > >
> > > > > >
> > > > > >
> > > > >
> > > > >
> > > > >
> > > >
> > > >
> > > >
> > >
> > >
> > >
> >
> >
> >
>
>
>

------------------------------------------------
Subject: ImportError: No module named constants_pdef
From: Julie Prestopnik
Time: Fri Feb 24 09:49:56 2017

You could also run "tail -f </path/to/logfile/logfile_name>" replacing
</path/to/logfile/logfile_name> with the logfile path and name
information
to see how the run is coming along.  I hope that helps!

Julie

On Fri, Feb 24, 2017 at 9:42 AM, Julie Prestopnik <jpresto at ucar.edu>
wrote:

> Hi Xinxia.  Running the entire three months of data could certainly
take a
> long time.  I am hoping to get an estimate on how long it took to
run the
> three month data set here, but have not been able to obtain that
number
> yet.   It sounds the code was running successfully for you.  If
you're
> eager to take a lot at some output, I would suggest running a
smaller
> subset of the data, or perhaps you could set up the whole three
month to
> run over the weekend.  I would suggest letting the code run to
completion
> for either a smaller subset or for the entire subset and then
checking the
> log file for errors.  I hope that helps.  Please let me know if you
have
> any questions or encounter any issues.
>
> Thanks,
> Julie
>
>
> On Thu, Feb 23, 2017 at 4:28 PM, Xinxia Song via RT
<met_help at ucar.edu>
> wrote:
>
>>
>> <URL: https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=79605 >
>>
>> Hi Julie,
>>
>>
>> The version is set to be 2.7+. When I ran master_met_plus.py, it
seems it
>> will run forever. So I killed it, and got the following:
>>
>> [xinxia at chaos ush]$ python master_met_plus.py
>>
>> ^CTraceback (most recent call last):
>>
>>   File "/D2/xinxia/METplus/METplus/ush/extract_tiles.py", line 157,
in
>> <module>
>>
>>     main()
>>
>>   File "/D2/xinxia/METplus/METplus/ush/extract_tiles.py", line 100,
in
>> main
>>
>>     filtered_out_dir)
>>
>>   File "/D2/xinxia/METplus/METplus/ush/run_tc_stat.py", line 69, in
>> tc_stat
>>
>>     tc_stat_out = subprocess.check_output(tc_cmd,
>> stderr=subprocess.STDOUT, shell=True )
>>
>>   File "/home/xinxia/anaconda2/lib/python2.7/subprocess.py", line
213,
>> in check_output
>>
>>     output, unused_err = process.communicate()
>>
>>   File "/home/xinxia/anaconda2/lib/python2.7/subprocess.py", line
471,
>> in communicate
>>
>>     stdout = _eintr_retry_call(self.stdout.read)
>>
>>   File "/home/xinxia/anaconda2/lib/python2.7/subprocess.py", line
121,
>> in _eintr_retry_call
>>
>>     return func(*args)
>>
>> KeyboardInterrupt
>>
>>
>> Thanks,
>>
>>
>> Xinxia
>>
>> ________________________________
>> From: Julie Prestopnik via RT <met_help at ucar.edu>
>> Sent: Friday, February 24, 2017 12:02:21 PM
>> To: Xinxia_Song at outlook.com
>> Subject: Re: [rt.rap.ucar.edu #79605] ImportError: No module named
>> constants_pdef
>>
>> Hi Xinxia.  I suspect that even though you installed Python 2.7
that
>> Python
>> 2.6.6 is still being used.
>>
>> Please try running:
>>
>> python --version
>>
>> on the command line.
>>
>> If you see "Python 2..6.6", please add the path for Python 2.7 to
the
>> front
>> of your path in your ~/.bashrc file.  Then, source your ~/.bashrc
file and
>> try rerunning
>>
>> python --version
>>
>> on the command line.  Hopefully, then you will see the new version.
Then,
>> please try rerunning master_met_plus.py.
>>
>> I hope this helps!  Thanks!
>>
>> Julie
>>
>> On Thu, Feb 23, 2017 at 1:51 PM, Xinxia Song via RT
<met_help at ucar.edu>
>> wrote:
>>
>> >
>> > <URL: https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=79605 >
>> >
>> > Hi Julie,
>> >
>> >
>> > I installed myself the 2.7 python, it still got the error when
running:
>> >
>> > Traceback (most recent call last):
>> >
>> >   File "/D2/xinxia/METplus/METplus/ush/series_by_lead.py", line
945, in
>> > <module>
>> >
>> >     analysis_by_lead_time()
>> >
>> >   File "/D2/xinxia/METplus/METplus/ush/series_by_lead.py", line
107, in
>> > analysis_by_lead_time
>> >
>> >     util.apply_series_filters(tile_dir, init_times,
>> > series_lead_filtered_out_dir, p, logger)
>> >
>> >   File "/D2/xinxia/METplus/METplus/ush/met_util.py", line 1005,
in
>> > apply_series_filters
>> >
>> >     tcs.tc_stat(p, logger, tc_cmd, series_output_dir)
>> >
>> >   File "/D2/xinxia/METplus/METplus/ush/run_tc_stat.py", line 69,
in
>> > tc_stat
>> >
>> >     tc_stat_out = subprocess.check_output(tc_cmd,
>> > stderr=subprocess.STDOUT, shell=True )
>> >
>> > AttributeError: 'module' object has no attribute 'check_output'
>> >
>> >
>> > Thanks,
>> >
>> >
>> > Xinxia
>> >
>> > ________________________________
>> > From: Julie Prestopnik via RT <met_help at ucar.edu>
>> > Sent: Friday, February 24, 2017 9:37:53 AM
>> > To: Xinxia_Song at outlook.com
>> > Subject: Re: [rt.rap.ucar.edu #79605] ImportError: No module
named
>> > constants_pdef
>> >
>> > Can you please tell me which version of Python you are using?
>> check_output
>> > for subprocess was introduced in Python 2.7.    Do you have
access to
>> > Python version 2.7 or higher?
>> >
>> > Thanks,
>> > Julie
>> >
>> > On Thu, Feb 23, 2017 at 12:11 PM, Xinxia Song via RT
<met_help at ucar.edu
>> >
>> > wrote:
>> >
>> > >
>> > > <URL: https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=79605 >
>> > >
>> > > Hi Julie,
>> > >
>> > >
>> > > I added it to the $PATH and ran the master_met_python.py:
>> > >
>> > > [xinxia at chaos ush]$ python master_met_plus.py
>> > >
>> > > Traceback (most recent call last):
>> > >
>> > >   File "/D2/xinxia/METplus/METplus/ush/extract_tiles.py", line
157,
>> in
>> > > <module>
>> > >
>> > >     main()
>> > >
>> > >   File "/D2/xinxia/METplus/METplus/ush/extract_tiles.py", line
100,
>> in
>> > > main
>> > >
>> > >     filtered_out_dir)
>> > >
>> > >   File "/D2/xinxia/METplus/METplus/ush/run_tc_stat.py", line
69, in
>> > > tc_stat
>> > >
>> > >     tc_stat_out = subprocess.check_output(tc_cmd,
>> > > stderr=subprocess.STDOUT, shell=True )
>> > >
>> > > AttributeError: 'module' object has no attribute 'check_output'
>> > >
>> > >
>> > > Thanks,
>> > >
>> > >
>> > > Xinxia
>> > >
>> > > ________________________________
>> > > From: Julie Prestopnik via RT <met_help at ucar.edu>
>> > > Sent: Friday, February 24, 2017 9:07:40 AM
>> > > To: Xinxia_Song at outlook.com
>> > > Subject: Re: [rt.rap.ucar.edu #79605] ImportError: No module
named
>> > > constants_pdef
>> > >
>> > > Unfortunately, your environment does not know where to find
>> > > run_tc_pairs.py.  Please try adding the directory with
run_tc_pairs.py
>> > > (/D2/xinxia/METplus/METplus/ush) to your path in your ~/.bashrc
file,
>> > then
>> > > run "source ~/.bashrc", then trying rerunning.  Please let me
know how
>> > that
>> > > goes.
>> > >
>> > > Thanks!
>> > >
>> > > Julie
>> > >
>> > > On Thu, Feb 23, 2017 at 11:55 AM, Xinxia Song via RT <
>> met_help at ucar.edu>
>> > > wrote:
>> > >
>> > > >
>> > > > <URL: https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=79605
>
>> > > >
>> > > > Hi Julie,
>> > > >
>> > > >
>> > > > I'm running met in a machine that's owned by our department,
I don't
>> > have
>> > > > sudo right, so when I type which run_tc_pairs.py, it says
couldn't
>> find
>> > > it.
>> > > >
>> > > > no run_tc_pairs.py in (/opt/ncl/bin:/opt/intel-soft/
>> > > > bin:/opt/ncl/bin:/opt/ncl/bin:/opt/intel-soft/bin:/opt/ncl/
>> > > > bin:/home/xinxia/anaconda/bin:/home/xinxia/anaconda/bin:/
>> > > > opt/ncl/bin:/opt/intel-soft/bin:/opt/ncl/bin:/usr/lib64/
>> > > > qt-3.3/bin:/usr/local/bin:/bin:/usr/bin:/usr/local/sbin:/
>> > > > usr/sbin:/sbin:/sbin:/usr/sbin:/cm/local/apps/
>> > > environment-modules/3.2.10/
>> > > > bin:/home/xinxia/bin:/opt/ncl-621/bin)
>> > > >
>> > > >
>> > > > But I could find it manually in that directory.
>> > > >
>> > > >
>> > > > Thanks,
>> > > >
>> > > >
>> > > > Xinxia
>> > > >
>> > > > ________________________________
>> > > > From: Julie Prestopnik via RT <met_help at ucar.edu>
>> > > > Sent: Friday, February 24, 2017 8:52:16 AM
>> > > > To: Xinxia_Song at outlook.com
>> > > > Subject: Re: [rt.rap.ucar.edu #79605] ImportError: No module
named
>> > > > constants_pdef
>> > > >
>> > > > Hi Xinxia.
>> > > >
>> > > > It looks like you got a successful run of tc_stat - that's
great
>> news!
>> > > >
>> > > > I'm not sure what you mean by "Because I don't have the
right, I
>> can't
>> > > find
>> > > > run_tc_pairs.py, but I know it's under
>> > > >
>> > > > /D2/xinxia/METplus/METplus/ush".
>> > > >
>> > > > Can you please explain?  What happened when you ran "which
>> > > > run_tc_pairs.py"?
>> > > >
>> > > > Thanks,
>> > > > Julie
>> > > >
>> > > >
>> > > >
>> > > >
>> > > >
>> > > >
>> > > > On Thu, Feb 23, 2017 at 11:44 AM, Xinxia Song via RT <
>> > met_help at ucar.edu>
>> > > > wrote:
>> > > >
>> > > > >
>> > > > > <URL:
https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=79605 >
>> > > > >
>> > > > > Hi Julie,
>> > > > >
>> > > > >
>> > > > > I removed the space.
>> > > > >
>> > > > > [xinxia at chaos parm]$ /D2/xinxia/METplus/MET/met-
5.2/bin/tc_stat
>> -job
>> > > > > filter -lookin /D2/xinxia/METplus/MET/input/tc_pairs/201412
>> > -init_inc
>> > > > > 20141201_00 -match_points true -dump_row
>> /D2/xinxia/METplus/MET/out/
>> > > > > extract_tiles/20141201_00/filter_20141201_00.tcst  -basin
ML
>> > > > > -out_init_mask /D2/xinxia/METplus/MET/met-5.
>> > > 2/share/met/poly/CONUS.poly
>> > > > >
>> > > > > DEBUG 1: [Source 1] Lookin: /D2/xinxia/METplus/MET/input/
>> > > tc_pairs/201412
>> > > > >
>> > > > > DEBUG 2:
>> > > > >
>> > > > > DEBUG 2: Processing Job 1: -job filter -basin ML -init_inc
>> > > > 20141201_000000
>> > > > > -match_points true -out_init_mask
/D2/xinxia/METplus/MET/met-5.
>> > > > 2/share/met/poly/CONUS.poly
>> > > > > -dump_row
/D2/xinxia/METplus/MET/out/extract_tiles/20141201_00/
>> > > > > filter_20141201_00.tcst
>> > > > >
>> > > > > DEBUG 1: Creating output dump file:
/D2/xinxia/METplus/MET/out/
>> > > > > extract_tiles/20141201_00/filter_20141201_00.tcst
>> > > > >
>> > > > > FILTER: -job filter -basin ML -init_inc 20141201_000000
>> -match_points
>> > > > true
>> > > > > -out_init_mask /D2/xinxia/METplus/MET/met-5.
>> > > 2/share/met/poly/CONUS.poly
>> > > > > -dump_row
/D2/xinxia/METplus/MET/out/extract_tiles/20141201_00/
>> > > > > filter_20141201_00.tcst
>> > > > >
>> > > > >
>> > > > > DEBUG 2: Job 1 used 0 out of 27292 lines read.
>> > > > >
>> > > > >
>> > > > > Because I don't have the right, I can't find
run_tc_pairs.py, but
>> I
>> > > know
>> > > > > it's under
>> > > > >
>> > > > > /D2/xinxia/METplus/METplus/ush
>> > > > >
>> > > > >
>> > > > > For Python,
>> > > > >
>> > > > > [xinxia at chaos ~]$ which python
>> > > > >
>> > > > > /usr/bin/python
>> > > > >
>> > > > >
>> > > > > Xinxia
>> > > > >
>> > > > > ________________________________
>> > > > > From: Julie Prestopnik via RT <met_help at ucar.edu>
>> > > > > Sent: Friday, February 24, 2017 8:30:01 AM
>> > > > > To: Xinxia_Song at outlook.com
>> > > > > Subject: Re: [rt.rap.ucar.edu #79605] ImportError: No
module
>> named
>> > > > > constants_pdef
>> > > > >
>> > > > > Hi Xinxia.
>> > > > >
>> > > > > It looks like there is a space where there should not be a
space
>> > > (between
>> > > > > /D2/xinxia/METplus/MET/out/extract_tiles/20141201_00/ and
>> > > > > filter_20141201_00.tcst after the -dump_row option).
>> > > > >
>> > > > > Could you please try it again without the space?
>> > > > >
>> > > > > /D2/xinxia/METplus/METplus/ush/run_tc_stat.py:tc_stat from
>> calling
>> > MET
>> > > > > TC-STAT with command:/D2/xinxia/METplus/MET/met-
5.2/bin/tc_stat
>> -job
>> > > > > filter
>> > > > > -lookin /D2/xinxia/METplus/MET/input/tc_pairs/201412
-init_inc
>> > > > 20141201_00
>> > > > > -match_points true -dump_row /D2/xinxia/METplus/MET/out/
>> > > > > extract_tiles/20141201_00/filter_20141201_00.tcst  -basin
ML
>> > > > > -out_init_mask
>> > > > > /D2/xinxia/METplus/MET/met-5.2/share/met/poly/CONUS.poly
>> > > > >
>> > > > > Regarding the master_met_plus.py run, please try running
the
>> > following
>> > > > two
>> > > > > commands and send me the output:
>> > > > >
>> > > > > which run_tc_pairs.py
>> > > > >
>> > > > > which python
>> > > > >
>> > > > > Thanks!
>> > > > >
>> > > > > Julie
>> > > > >
>> > > > > On Thu, Feb 23, 2017 at 11:06 AM, Xinxia Song via RT <
>> > > met_help at ucar.edu>
>> > > > > wrote:
>> > > > >
>> > > > > >
>> > > > > > <URL:
https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=79605 >
>> > > > > >
>> > > > > > Hi Julie,
>> > > > > >
>> > > > > >
>> > > > > > After I ran the long one line command:
>> > > > > >
>> > > > > > [xinxia at chaos parm]$ /D2/xinxia/METplus/MET/met-
5.2/bin/tc_stat
>> > -job
>> > > > > > filter -lookin
/D2/xinxia/METplus/MET/input/tc_pairs/201412
>> > > -init_inc
>> > > > > > 20141201_00 -match_points true -dump_row
>> > /D2/xinxia/METplus/MET/out/
>> > > > > extract_tiles/20141201_00/
>> > > > > > filter_20141201_00.tcst  -basin ML -out_init_mask
>> > > > > > /D2/xinxia/METplus/MET/met-5.2/share/met/poly/CONUS.poly
>> > > > > >
>> > > > > >
>> > > > > > DEBUG 1: [Source 1] Lookin: /D2/xinxia/METplus/MET/input/
>> > > > tc_pairs/201412
>> > > > > >
>> > > > > > ERROR  :
>> > > > > >
>> > > > > > ERROR  : TCStatJob
*TCStatJobFactory::new_tc_stat_job(const
>> char
>> > > > > > *jobstring) -> unsupported job command options
>> > > > "filter_20141201_00.tcst".
>> > > > > >
>> > > > > > ERROR  :
>> > > > > >
>> > > > > >
>> > > > > > And for the master_met_plus.py, I got the error:
>> > > > > >
>> > > > > > [xinxia at chaos ush]$ python master_met_plus.py
>> > > > > >
>> > > > > > sh: run_tc_pairs.py: command not found
>> > > > > >
>> > > > > >
>> > > > > > Thanks,
>> > > > > >
>> > > > > >
>> > > > > > Xinxia
>> > > > > >
>> > > > > > ________________________________
>> > > > > > From: Julie Prestopnik via RT <met_help at ucar.edu>
>> > > > > > Sent: Friday, February 24, 2017 7:42:21 AM
>> > > > > > To: Xinxia_Song at outlook.com
>> > > > > > Subject: Re: [rt.rap.ucar.edu #79605] ImportError: No
module
>> named
>> > > > > > constants_pdef
>> > > > > >
>> > > > > > My apologies, my response should have said, "By default,
MET
>> > version
>> > > > 5.2
>> > > > > is
>> > > > > > compiled using dynamic linking."  It's true for both, but
I see
>> > > you're
>> > > > > > using 5.2 and I inadvertently referred to 5.1.
>> > > > > >
>> > > > > > On Thu, Feb 23, 2017 at 10:40 AM, Julie Prestopnik <
>> > jpresto at ucar.edu
>> > > >
>> > > > > > wrote:
>> > > > > >
>> > > > > > > Hi Xinxia.  Regarding the error:
>> > > > > > >
>> > > > > > > /D2/xinxia/METplus/MET/met-5.2/bin/tc_stat: error while
>> loading
>> > > > shared
>> > > > > > > libraries: libgsl.so.19: cannot open shared object
file: No
>> such
>> > > file
>> > > > > or
>> > > > > > > directory
>> > > > > > >
>> > > > > > > By default, MET version 5.1 is compiled using dynamic
linking.
>> > > > Rather
>> > > > > > > than compiling the external library code in with the
MET
>> > > executables
>> > > > > > (which
>> > > > > > > is
>> > > > > > > called static linking), it looks for them at runtime.
And
>> it's
>> > > > looking
>> > > > > > > for those "shared object" (.so) library files.
>> > > > > > >
>> > > > > > > This should be easy to fix. We just need to tell it
where to
>> find
>> > > > them,
>> > > > > > > and we do that by setting (or adding to the
LD_LIBRARY_PATH).
>> > Look
>> > > > in
>> > > > > > your
>> > > > > > > ~/.bashrc file.  If LD_LIBRARY_PATH is already defined
in
>> there,
>> > > add
>> > > > > the
>> > > > > > > path to the libgsl.so.19 to the end of it.  If not, add
an
>> > > > > > > LD_LIBRARY_PATH entry in your ~/.bashrc file.  So, for
>> example,
>> > if
>> > > > the
>> > > > > > path
>> > > > > > > to your libgsl.so.19 file is
/D2/xinxia/METplus/MET/externa
>> > > > > > l_libs/GSL/gsl-1.16/lib
>> > > > > > > you would add teh following to your ~/.bashrc file:
>> > > > > > >
>> > > > > > >   export LD_LIBRARY_PATH=/D2/xinxia/
>> > METplus/MET/external_libs/GSL/
>> > > > > > > gsl-1.16/lib
>> > > > > > >
>> > > > > > > Then save the change and source that file:
>> > > > > > >
>> > > > > > >   source ~/.bashrc
>> > > > > > >
>> > > > > > > Then, please try rerunning the command manually and let
me
>> know
>> > if
>> > > it
>> > > > > > > works.
>> > > > > > >
>> > > > > > > I believe that this was the cause of the initial error
you
>> > received
>> > > > > from
>> > > > > > > MET+:
>> > > > > > >
>> > > > > > > ERROR|
/D2/xinxia/METplus/METplus/ush/run_tc_stat.py:tc_stat
>> > from
>> > > > > > calling
>> > > > > > > MET TC-STAT with command:/D2/xinxia/METplus/
>> > > MET/met-5.2/bin/tc_stat
>> > > > > -job
>> > > > > > > filter -lookin
/D2/xinxia/METplus/MET/input/tc_pairs/201412
>> > > > -init_inc
>> > > > > > > 20141201_00 -match_points true -dump_row
>> > > > /D2/xinxia/METplus/MET/out/ext
>> > > > > > > ract_tiles/20141201_00/filter_20141201_00.tcst  -basin
ML
>> > > > > -out_init_mask
>> > > > > > > /D2/xinxia/METplus/MET/met-
5.2/share/met/poly/CONUS.poly
>> > > > > > >
>> > > > > > >
>> > > > > > > Thanks,
>> > > > > > > Julie
>> > > > > > >
>> > > > > > > On Thu, Feb 23, 2017 at 10:14 AM, Xinxia Song via RT <
>> > > > > met_help at ucar.edu>
>> > > > > > > wrote:
>> > > > > > >
>> > > > > > >>
>> > > > > > >> <URL: https://rt.rap.ucar.edu/rt/Tic
>> ket/Display.html?id=79605 >
>> > > > > > >>
>> > > > > > >> Hi Julie,
>> > > > > > >>
>> > > > > > >>
>> > > > > > >> [xinxia at chaos ush]$ /D2/xinxia/METplus/MET/met-5.2
>> /bin/tc_stat
>> > > -job
>> > > > > > >> filter -lookin
/D2/xinxia/METplus/MET/input/tc_pairs/201412
>> > > > -init_inc
>> > > > > > >> 20141201_00 -match_points true -dump_row
>> > > > > /D2/xinxia/METplus/MET/out/ext
>> > > > > > ract_tiles/20141201_00/
>> > > > > > >> filter_20141201_00.tcst  -basin ML -out_init_mask
>> > > > > > >> /D2/xinxia/METplus/MET/met-
5.2/share/met/poly/CONUS.poly
>> > > > > > >>
>> > > > > > >> /D2/xinxia/METplus/MET/met-5.2/bin/tc_stat: error
while
>> loading
>> > > > > shared
>> > > > > > >> libraries: libgsl.so.19: cannot open shared object
file: No
>> such
>> > > > file
>> > > > > or
>> > > > > > >> directory
>> > > > > > >>
>> > > > > > >>
>> > > > > > >> And I uploaded the configuration file
(constants_pdef.py)
>> under
>> > > > > > >> xinxia_data directory.
>> > > > > > >>
>> > > > > > >>
>> > > > > > >> Thanks,
>> > > > > > >>
>> > > > > > >>
>> > > > > > >> Xinxia
>> > > > > > >>
>> > > > > > >> ________________________________
>> > > > > > >> From: Julie Prestopnik via RT <met_help at ucar.edu>
>> > > > > > >> Sent: Friday, February 24, 2017 6:15:57 AM
>> > > > > > >> To: Xinxia_Song at outlook.com
>> > > > > > >> Subject: Re: [rt.rap.ucar.edu #79605] ImportError: No
module
>> > > named
>> > > > > > >> constants_pdef
>> > > > > > >>
>> > > > > > >> Hi Xinxia.
>> > > > > > >>
>> > > > > > >> I can see that your command, which should have been
all on
>> one
>> > > line,
>> > > > > was
>> > > > > > >> broken up into several lines.  Please try running the
command
>> > > again,
>> > > > > > >> making
>> > > > > > >> sure that the entire command is on one line:
>> > > > > > >>
>> > > > > > >> /D2/xinxia/METplus/MET/met-5.2/bin/tc_stat -job filter
>> -lookin
>> > > > > > >> /D2/xinxia/METplus/MET/input/tc_pairs/201412 -init_inc
>> > > 20141201_00
>> > > > > > >> -match_points true -dump_row
>> > > > > > >> /D2/xinxia/METplus/MET/out/extract_tiles/20141201_00/
>> > > > > > >> filter_20141201_00.tcst  -basin ML -out_init_mask
>> > > > > > >> /D2/xinxia/METplus/MET/met-
5.2/share/met/poly/CONUS.poly
>> > > > > > >>
>> > > > > > >> Then, please send the output from that command.
>> > > > > > >>
>> > > > > > >> Regarding, your error:
>> > > > > > >>
>> > > > > > >> sh: run_tc_pairs.py: command not found
>> > > > > > >>
>> > > > > > >> It's strange that would only have occurred after
having
>> changed
>> > > the
>> > > > > > >> LOG_LEVEL.  Could you please send us your
configuration file?
>> > > > > > >>
>> > > > > > >> Thanks!
>> > > > > > >>
>> > > > > > >> Julie
>> > > > > > >>
>> > > > > > >> On Wed, Feb 22, 2017 at 2:54 PM, Xinxia Song via RT <
>> > > > > met_help at ucar.edu>
>> > > > > > >> wrote:
>> > > > > > >>
>> > > > > > >> >
>> > > > > > >> > <URL: https://rt.rap.ucar.edu/rt/Tic
>> ket/Display.html?id=79605
>> > >
>> > > > > > >> >
>> > > > > > >> > Hi Julie,
>> > > > > > >> >
>> > > > > > >> >
>> > > > > > >> > [xinxia at chaos ush]$ /D2/xinxia/METplus/MET/met-5.
>> > 2/bin/tc_stat
>> > > > -job
>> > > > > > >> > filter -lookin
>> > > > > > >> >
>> > > > > > >> > /D2/xinxia/METplus/MET/met-5.2/bin/tc_stat: error
while
>> > loading
>> > > > > > shared
>> > > > > > >> > libraries: libgsl.so.19: cannot open shared object
file: No
>> > such
>> > > > > file
>> > > > > > or
>> > > > > > >> > directory
>> > > > > > >> >
>> > > > > > >> >
>> > > > > > >> > [xinxia at chaos ush]$ /D2/xinxia/METplus/MET/input/
>> > > tc_pairs/201412
>> > > > > > >> > -init_inc 20141201_00 -match_points true -dump_row
>> > > > > > >> >
>> > > > > > >> > -bash: /D2/xinxia/METplus/MET/input/tc_pairs/201412:
is a
>> > > > directory
>> > > > > > >> >
>> > > > > > >> >
>> > > > > > >> > [xinxia at chaos ush]$ /D2/xinxia/METplus/MET/out/ext
>> > > > > > >> ract_tiles/20141201_00/
>> > > > > > >> > filter_20141201_00.tcst  -basin ML -out_init_mask
>> > > > > > >> > /D2/xinxia/METplus/MET/met-
5.2/share/met/poly/CONUS.poly
>> > > > > > >> >
>> > > > > > >> > -bash: /D2/xinxia/METplus/MET/out/ext
>> ract_tiles/20141201_00/:
>> > > No
>> > > > > such
>> > > > > > >> > file or directory
>> > > > > > >> >
>> > > > > > >> >
>> > > > > > >> > After I change the LOG_LEVEL, I ran the
>> master_met_plus.py, it
>> > > > says:
>> > > > > > >> >
>> > > > > > >> > [xinxia at chaos ush]$ python master_met_plus.py
>> > > > > > >> >
>> > > > > > >> > sh: run_tc_pairs.py: command not found
>> > > > > > >> >
>> > > > > > >> >
>> > > > > > >> >
>> > > > > > >> > Thanks,
>> > > > > > >> >
>> > > > > > >> >
>> > > > > > >> > Xinxia
>> > > > > > >> >
>> > > > > > >> >
>> > > > > > >> > ________________________________
>> > > > > > >> > From: Julie Prestopnik via RT <met_help at ucar.edu>
>> > > > > > >> > Sent: Thursday, February 23, 2017 10:04:55 AM
>> > > > > > >> > To: Xinxia_Song at outlook.com
>> > > > > > >> > Subject: Re: [rt.rap.ucar.edu #79605] ImportError:
No
>> module
>> > > > named
>> > > > > > >> > constants_pdef
>> > > > > > >> >
>> > > > > > >> > Thank you.  Unfortunately, the level of detail in
the log
>> file
>> > > > > wasn't
>> > > > > > >> what
>> > > > > > >> > I hoped for.  I'd like to have you try two things.
>> > > > > > >> >
>> > > > > > >> > First, could you please send me your output of your
manual
>> run
>> > > of
>> > > > > the
>> > > > > > >> > following?
>> > > > > > >> >
>> > > > > > >> > "/D2/xinxia/METplus/MET/met-5.2/bin/tc_stat -job
filter
>> > -lookin
>> > > > > > >> > /D2/xinxia/METplus/MET/input/tc_pairs/201412
-init_inc
>> > > > 20141201_00
>> > > > > > >> > -match_points true -dump_row
/D2/xinxia/METplus/MET/out/
>> > > > > > >> > extract_tiles/20141201_00/ filter_20141201_00.tcst
-basin
>> ML
>> > > > > > >> > -out_init_mask
>> > > > > > >> > /D2/xinxia/METplus/MET/met-
5.2/share/met/poly/CONUS.poly"
>> > > > > > >> >
>> > > > > > >> > Second, could you please change your log level in
your
>> > > > configuration
>> > > > > > >> file
>> > > > > > >> > from
>> > > > > > >> >
>> > > > > > >> > LOG_LEVEL = "INFO"
>> > > > > > >> >
>> > > > > > >> > to
>> > > > > > >> >
>> > > > > > >> > LOG_LEVEL = "DEBUG"
>> > > > > > >> >
>> > > > > > >> > then rerun and upload your log file to our ftp
server
>> again?
>> > > > > > >> >
>> > > > > > >> > Thank you!
>> > > > > > >> >
>> > > > > > >> > Julie
>> > > > > > >> >
>> > > > > > >> >
>> > > > > > >> > On Wed, Feb 22, 2017 at 12:39 PM, Xinxia Song via RT
<
>> > > > > > met_help at ucar.edu
>> > > > > > >> >
>> > > > > > >> > wrote:
>> > > > > > >> >
>> > > > > > >> > >
>> > > > > > >> > > <URL: https://rt.rap.ucar.edu/rt/
>> > Ticket/Display.html?id=79605
>> > > >
>> > > > > > >> > >
>> > > > > > >> > > Hi Julie,
>> > > > > > >> > >
>> > > > > > >> > >
>> > > > > > >> > > I uploaded the log file under xinxia_data
directory.
>> > > > > > >> > >
>> > > > > > >> > >
>> > > > > > >> > > Thanks,
>> > > > > > >> > >
>> > > > > > >> > >
>> > > > > > >> > > Xinxia
>> > > > > > >> > >
>> > > > > > >> > >
>> > > > > > >> > > ________________________________
>> > > > > > >> > > From: Julie Prestopnik via RT <met_help at ucar.edu>
>> > > > > > >> > > Sent: Thursday, February 23, 2017 9:11:32 AM
>> > > > > > >> > > To: Xinxia_Song at outlook.com
>> > > > > > >> > > Subject: Re: [rt.rap.ucar.edu #79605] ImportError:
No
>> > module
>> > > > > named
>> > > > > > >> > > constants_pdef
>> > > > > > >> > >
>> > > > > > >> > > Hi Xinxia.
>> > > > > > >> > >
>> > > > > > >> > > I think it would be helpful if I could take a look
at the
>> > log
>> > > > > file.
>> > > > > > >> > Could
>> > > > > > >> > > you please upload your file to our anonymous ftp
site as
>> > > follows
>> > > > > so
>> > > > > > >> that
>> > > > > > >> > I
>> > > > > > >> > > can take a look?
>> > > > > > >> > >
>> > > > > > >> > >    http://www.dtcenter.org/met/
>> > users/support/met_help.php#ftp
>> > > > > > >> > >
>> > > > > > >> > > Also, could you please try running the following
manually
>> > and
>> > > > send
>> > > > > > the
>> > > > > > >> > > output to me?
>> > > > > > >> > >
>> > > > > > >> > > "/D2/xinxia/METplus/MET/met-5.2/bin/tc_stat -job
filter
>> > > -lookin
>> > > > > > >> > > /D2/xinxia/METplus/MET/input/tc_pairs/201412
-init_inc
>> > > > > 20141201_00
>> > > > > > >> > > -match_points true -dump_row
/D2/xinxia/METplus/MET/out/
>> > > > > > >> > > extract_tiles/20141201_00/filter_20141201_00.tcst
>> -basin
>> > ML
>> > > > > > >> > > -out_init_mask
>> > > > > > >> > > /D2/xinxia/METplus/MET/met-5.2
>> /share/met/poly/CONUS.poly"
>> > > > > > >> > >
>> > > > > > >> > > Thank you!
>> > > > > > >> > >
>> > > > > > >> > > Julie
>> > > > > > >> > >
>> > > > > > >> > >
>> > > > > > >> > >
>> > > > > > >> > > On Wed, Feb 22, 2017 at 12:06 PM, Xinxia Song via
RT <
>> > > > > > >> met_help at ucar.edu>
>> > > > > > >> > > wrote:
>> > > > > > >> > >
>> > > > > > >> > > >
>> > > > > > >> > > > <URL: https://rt.rap.ucar.edu/rt/
>> > > Ticket/Display.html?id=79605
>> > > > >
>> > > > > > >> > > >
>> > > > > > >> > > > Hi Julie,
>> > > > > > >> > > >
>> > > > > > >> > > >
>> > > > > > >> > > > Now I can run the program, but when I look at
the log
>> file
>> > > in
>> > > > > the
>> > > > > > >> > output,
>> > > > > > >> > > > it shows error below:
>> > > > > > >> > > >
>> > > > > > >> > > >
>> > > > > > >> > > > ERROR| /D2/xinxia/METplus/METplus/
>> > > ush/run_tc_stat.py:tc_stat
>> > > > > from
>> > > > > > >> > > calling
>> > > > > > >> > > > MET TC-STAT with command:/D2/xinxia/METplus/MET
>> > > > > > /met-5.2/bin/tc_stat
>> > > > > > >> > -job
>> > > > > > >> > > > filter -lookin /D2/xinxia/METplus/MET/input/
>> > tc_pairs/201412
>> > > > > > >> -init_inc
>> > > > > > >> > > > 20141201_00 -match_points true -dump_row
>> > > > > > /D2/xinxia/METplus/MET/out/
>> > > > > > >> > > >
extract_tiles/20141201_00/filter_20141201_00.tcst
>> -basin
>> > > ML
>> > > > > > >> > > > -out_init_mask /D2/xinxia/METplus/MET/met-5.
>> > > > > > >> > 2/share/met/poly/CONUS.poly
>> > > > > > >> > > >
>> > > > > > >> > > >
>> > > > > > >> > > > How should I fix it?
>> > > > > > >> > > >
>> > > > > > >> > > >
>> > > > > > >> > > > Thanks,
>> > > > > > >> > > >
>> > > > > > >> > > >
>> > > > > > >> > > > Xinxia
>> > > > > > >> > > >
>> > > > > > >> > > > ________________________________
>> > > > > > >> > > > From: Julie Prestopnik via RT
<met_help at ucar.edu>
>> > > > > > >> > > > Sent: Thursday, February 23, 2017 7:30:06 AM
>> > > > > > >> > > > To: Xinxia_Song at outlook.com
>> > > > > > >> > > > Subject: Re: [rt.rap.ucar.edu #79605]
ImportError: No
>> > > module
>> > > > > > named
>> > > > > > >> > > > constants_pdef
>> > > > > > >> > > >
>> > > > > > >> > > > Hi Xinxia.
>> > > > > > >> > > >
>> > > > > > >> > > > I believe that python doesn't know how to find
the
>> module
>> > > > > because
>> > > > > > >> the
>> > > > > > >> > ush
>> > > > > > >> > > > directory is not in your PYTHONPATH.  Both the
parm and
>> > ush
>> > > > > > >> directory
>> > > > > > >> > > need
>> > > > > > >> > > > to be specified in your PYTHONPATH.  Please add
the ush
>> > > > > directory
>> > > > > > to
>> > > > > > >> > your
>> > > > > > >> > > > PYTHONPATH, source ~/.bashrc, and let us know
how it
>> goes.
>> > > > > > >> > > >
>> > > > > > >> > > > Thanks,
>> > > > > > >> > > > Julie
>> > > > > > >> > > >
>> > > > > > >> > > > On Wed, Feb 22, 2017 at 10:24 AM, Xinxia Song
via RT <
>> > > > > > >> > met_help at ucar.edu>
>> > > > > > >> > > > wrote:
>> > > > > > >> > > >
>> > > > > > >> > > > >
>> > > > > > >> > > > > <URL: https://rt.rap.ucar.edu/rt/
>> > > > Ticket/Display.html?id=79605
>> > > > > >
>> > > > > > >> > > > >
>> > > > > > >> > > > > Hi Julie,
>> > > > > > >> > > > >
>> > > > > > >> > > > >
>> > > > > > >> > > > > Since I don't have setenv, I added these 3
sentence
>> into
>> > > my
>> > > > > > >> .bashrc
>> > > > > > >> > > file:
>> > > > > > >> > > > >
>> > > > > > >> > > > >
>> > > > > > >> > > > > export
PYTHONPATH="/D2/xinxia/METplus/METplus/parm"
>> > > > > > >> > > > >
>> > > > > > >> > > > >
>> > > > > > >> > > > > export USHROOT=/D2/xinxia/METplus/METplus/ush
>> > > > > > >> > > > >
>> > > > > > >> > > > > export PATH=$USHROOT:$PATH
>> > > > > > >> > > > >
>> > > > > > >> > > > >
>> > > > > > >> > > > > I sourced the ~/.bashrc, and checked that the
>> variables
>> > > are
>> > > > > set,
>> > > > > > >> but
>> > > > > > >> > > the
>> > > > > > >> > > > > program still can't find the module.
>> > > > > > >> > > > >
>> > > > > > >> > > > >
>> > > > > > >> > > > > Thanks,
>> > > > > > >> > > > >
>> > > > > > >> > > > > Xinxia
>> > > > > > >> > > > >
>> > > > > > >> > > > > ________________________________
>> > > > > > >> > > > > From: Julie Prestopnik via RT
<met_help at ucar.edu>
>> > > > > > >> > > > > Sent: Thursday, February 23, 2017 6:24:21 AM
>> > > > > > >> > > > > To: Xinxia_Song at outlook.com
>> > > > > > >> > > > > Subject: Re: [rt.rap.ucar.edu #79605]
ImportError:
>> No
>> > > > module
>> > > > > > >> named
>> > > > > > >> > > > > constants_pdef
>> > > > > > >> > > > >
>> > > > > > >> > > > > Hi Xinxia.
>> > > > > > >> > > > >
>> > > > > > >> > > > > Could you please check to make sure that the
ush
>> > directory
>> > > > > with
>> > > > > > >> > > > > constants_pdef.py is in your PYTHONPATH in
your
>> .cshrc
>> > > file
>> > > > > (or
>> > > > > > >> > .bashrc
>> > > > > > >> > > > or
>> > > > > > >> > > > > similar file)?  The parm directory should also
be in
>> > your
>> > > > > > >> PYTHONPATH.
>> > > > > > >> > > > >
>> > > > > > >> > > > > For example,
>> > > > > > >> > > > >
>> > > > > > >> > > > > setenv PYTHONPATH
/d1/jpresto/sbu/METplus/ush:/
>> > > > > > >> > > > d1/jpresto/sbu/METplus/parm
>> > > > > > >> > > > >
>> > > > > > >> > > > > Please also check make sure that the path to
the ush
>> > > > directory
>> > > > > > is
>> > > > > > >> > also
>> > > > > > >> > > > > specified your your path environment variable.
For
>> > > example,
>> > > > > > >> > > > >
>> > > > > > >> > > > > set path = (/usr/local/bin \
>> > > > > > >> > > > >                  /usr/local/python/bin/python
\
>> > > > > > >> > > > >                  /d1/jpresto/sbu/METplus/ush )
>> > > > > > >> > > > >
>> > > > > > >> > > > > If they are not there, please add them and
then
>> source
>> > the
>> > > > > file
>> > > > > > >> (e.g.
>> > > > > > >> > > run
>> > > > > > >> > > > > "source ~/.cshrc").
>> > > > > > >> > > > >
>> > > > > > >> > > > > Thank you!  Please let us know how it goes.
>> > > > > > >> > > > >
>> > > > > > >> > > > > Julie
>> > > > > > >> > > > >
>> > > > > > >> > > > >
>> > > > > > >> > > > >
>> > > > > > >> > > > >
>> > > > > > >> > > > > On Tue, Feb 21, 2017 at 4:49 PM, Xinxia Song
via RT <
>> > > > > > >> > met_help at ucar.edu
>> > > > > > >> > > >
>> > > > > > >> > > > > wrote:
>> > > > > > >> > > > >
>> > > > > > >> > > > > >
>> > > > > > >> > > > > > Tue Feb 21 16:49:28 2017: Request 79605 was
acted
>> > upon.
>> > > > > > >> > > > > > Transaction: Ticket created by
>> > Xinxia_Song at outlook.com
>> > > > > > >> > > > > >        Queue: met_help
>> > > > > > >> > > > > >      Subject: ImportError: No module named
>> > > constants_pdef
>> > > > > > >> > > > > >        Owner: Nobody
>> > > > > > >> > > > > >   Requestors: Xinxia_Song at outlook.com
>> > > > > > >> > > > > >       Status: new
>> > > > > > >> > > > > >  Ticket <URL: https://rt.rap.ucar.edu/rt/
>> > > > > > >> > > Ticket/Display.html?id=79605
>> > > > > > >> > > > >
>> > > > > > >> > > > > >
>> > > > > > >> > > > > >
>> > > > > > >> > > > > > Hi,
>> > > > > > >> > > > > >
>> > > > > > >> > > > > >
>> > > > > > >> > > > > > When I ran the mater_met_plus.py, it says:
>> > > > > > >> > > > > >
>> > > > > > >> > > > > >
>> > > > > > >> > > > > > ImportError: No module named constants_pdef
>> > > > > > >> > > > > >
>> > > > > > >> > > > > >
>> > > > > > >> > > > > > Seems it doesn't recognize constants_pdef as
its
>> > module.
>> > > > > > >> > > > > >
>> > > > > > >> > > > > >
>> > > > > > >> > > > > > Thanks,
>> > > > > > >> > > > > >
>> > > > > > >> > > > > > Xinxia
>> > > > > > >> > > > > >
>> > > > > > >> > > > > >
>> > > > > > >> > > > >
>> > > > > > >> > > > >
>> > > > > > >> > > > >
>> > > > > > >> > > >
>> > > > > > >> > > >
>> > > > > > >> > > >
>> > > > > > >> > >
>> > > > > > >> > >
>> > > > > > >> > >
>> > > > > > >> >
>> > > > > > >> >
>> > > > > > >> >
>> > > > > > >>
>> > > > > > >>
>> > > > > > >>
>> > > > > > >
>> > > > > >
>> > > > > >
>> > > > > >
>> > > > >
>> > > > >
>> > > > >
>> > > >
>> > > >
>> > > >
>> > >
>> > >
>> > >
>> >
>> >
>> >
>>
>>
>>
>

------------------------------------------------
Subject: ImportError: No module named constants_pdef
From: Xinxia Song
Time: Sun Feb 26 14:35:21 2017

Hi Julie,


I ran the mater_met_plus.py and in the end in the log file it gave me
an error:

2017-02-26 21:30:28,212 : ERROR | [master_met_plus.py:main] | Problem
executing: series_by_lead.py


Thanks,

Xinxia

________________________________
From: Julie Prestopnik via RT <met_help at ucar.edu>
Sent: Saturday, February 25, 2017 6:49:56 AM
To: Xinxia_Song at outlook.com
Subject: Re: [rt.rap.ucar.edu #79605] ImportError: No module named
constants_pdef

You could also run "tail -f </path/to/logfile/logfile_name>" replacing
</path/to/logfile/logfile_name> with the logfile path and name
information
to see how the run is coming along.  I hope that helps!

Julie

On Fri, Feb 24, 2017 at 9:42 AM, Julie Prestopnik <jpresto at ucar.edu>
wrote:

> Hi Xinxia.  Running the entire three months of data could certainly
take a
> long time.  I am hoping to get an estimate on how long it took to
run the
> three month data set here, but have not been able to obtain that
number
> yet.   It sounds the code was running successfully for you.  If
you're
> eager to take a lot at some output, I would suggest running a
smaller
> subset of the data, or perhaps you could set up the whole three
month to
> run over the weekend.  I would suggest letting the code run to
completion
> for either a smaller subset or for the entire subset and then
checking the
> log file for errors.  I hope that helps.  Please let me know if you
have
> any questions or encounter any issues.
>
> Thanks,
> Julie
>
>
> On Thu, Feb 23, 2017 at 4:28 PM, Xinxia Song via RT
<met_help at ucar.edu>
> wrote:
>
>>
>> <URL: https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=79605 >
>>
>> Hi Julie,
>>
>>
>> The version is set to be 2.7+. When I ran master_met_plus.py, it
seems it
>> will run forever. So I killed it, and got the following:
>>
>> [xinxia at chaos ush]$ python master_met_plus.py
>>
>> ^CTraceback (most recent call last):
>>
>>   File "/D2/xinxia/METplus/METplus/ush/extract_tiles.py", line 157,
in
>> <module>
>>
>>     main()
>>
>>   File "/D2/xinxia/METplus/METplus/ush/extract_tiles.py", line 100,
in
>> main
>>
>>     filtered_out_dir)
>>
>>   File "/D2/xinxia/METplus/METplus/ush/run_tc_stat.py", line 69, in
>> tc_stat
>>
>>     tc_stat_out = subprocess.check_output(tc_cmd,
>> stderr=subprocess.STDOUT, shell=True )
>>
>>   File "/home/xinxia/anaconda2/lib/python2.7/subprocess.py", line
213,
>> in check_output
>>
>>     output, unused_err = process.communicate()
>>
>>   File "/home/xinxia/anaconda2/lib/python2.7/subprocess.py", line
471,
>> in communicate
>>
>>     stdout = _eintr_retry_call(self.stdout.read)
>>
>>   File "/home/xinxia/anaconda2/lib/python2.7/subprocess.py", line
121,
>> in _eintr_retry_call
>>
>>     return func(*args)
>>
>> KeyboardInterrupt
>>
>>
>> Thanks,
>>
>>
>> Xinxia
>>
>> ________________________________
>> From: Julie Prestopnik via RT <met_help at ucar.edu>
>> Sent: Friday, February 24, 2017 12:02:21 PM
>> To: Xinxia_Song at outlook.com
>> Subject: Re: [rt.rap.ucar.edu #79605] ImportError: No module named
>> constants_pdef
>>
>> Hi Xinxia.  I suspect that even though you installed Python 2.7
that
>> Python
>> 2.6.6 is still being used.
>>
>> Please try running:
>>
>> python --version
>>
>> on the command line.
>>
>> If you see "Python 2..6.6", please add the path for Python 2.7 to
the
>> front
>> of your path in your ~/.bashrc file.  Then, source your ~/.bashrc
file and
>> try rerunning
>>
>> python --version
>>
>> on the command line.  Hopefully, then you will see the new version.
Then,
>> please try rerunning master_met_plus.py.
>>
>> I hope this helps!  Thanks!
>>
>> Julie
>>
>> On Thu, Feb 23, 2017 at 1:51 PM, Xinxia Song via RT
<met_help at ucar.edu>
>> wrote:
>>
>> >
>> > <URL: https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=79605 >
>> >
>> > Hi Julie,
>> >
>> >
>> > I installed myself the 2.7 python, it still got the error when
running:
>> >
>> > Traceback (most recent call last):
>> >
>> >   File "/D2/xinxia/METplus/METplus/ush/series_by_lead.py", line
945, in
>> > <module>
>> >
>> >     analysis_by_lead_time()
>> >
>> >   File "/D2/xinxia/METplus/METplus/ush/series_by_lead.py", line
107, in
>> > analysis_by_lead_time
>> >
>> >     util.apply_series_filters(tile_dir, init_times,
>> > series_lead_filtered_out_dir, p, logger)
>> >
>> >   File "/D2/xinxia/METplus/METplus/ush/met_util.py", line 1005,
in
>> > apply_series_filters
>> >
>> >     tcs.tc_stat(p, logger, tc_cmd, series_output_dir)
>> >
>> >   File "/D2/xinxia/METplus/METplus/ush/run_tc_stat.py", line 69,
in
>> > tc_stat
>> >
>> >     tc_stat_out = subprocess.check_output(tc_cmd,
>> > stderr=subprocess.STDOUT, shell=True )
>> >
>> > AttributeError: 'module' object has no attribute 'check_output'
>> >
>> >
>> > Thanks,
>> >
>> >
>> > Xinxia
>> >
>> > ________________________________
>> > From: Julie Prestopnik via RT <met_help at ucar.edu>
>> > Sent: Friday, February 24, 2017 9:37:53 AM
>> > To: Xinxia_Song at outlook.com
>> > Subject: Re: [rt.rap.ucar.edu #79605] ImportError: No module
named
>> > constants_pdef
>> >
>> > Can you please tell me which version of Python you are using?
>> check_output
>> > for subprocess was introduced in Python 2.7.    Do you have
access to
>> > Python version 2.7 or higher?
>> >
>> > Thanks,
>> > Julie
>> >
>> > On Thu, Feb 23, 2017 at 12:11 PM, Xinxia Song via RT
<met_help at ucar.edu
>> >
>> > wrote:
>> >
>> > >
>> > > <URL: https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=79605 >
>> > >
>> > > Hi Julie,
>> > >
>> > >
>> > > I added it to the $PATH and ran the master_met_python.py:
>> > >
>> > > [xinxia at chaos ush]$ python master_met_plus.py
>> > >
>> > > Traceback (most recent call last):
>> > >
>> > >   File "/D2/xinxia/METplus/METplus/ush/extract_tiles.py", line
157,
>> in
>> > > <module>
>> > >
>> > >     main()
>> > >
>> > >   File "/D2/xinxia/METplus/METplus/ush/extract_tiles.py", line
100,
>> in
>> > > main
>> > >
>> > >     filtered_out_dir)
>> > >
>> > >   File "/D2/xinxia/METplus/METplus/ush/run_tc_stat.py", line
69, in
>> > > tc_stat
>> > >
>> > >     tc_stat_out = subprocess.check_output(tc_cmd,
>> > > stderr=subprocess.STDOUT, shell=True )
>> > >
>> > > AttributeError: 'module' object has no attribute 'check_output'
>> > >
>> > >
>> > > Thanks,
>> > >
>> > >
>> > > Xinxia
>> > >
>> > > ________________________________
>> > > From: Julie Prestopnik via RT <met_help at ucar.edu>
>> > > Sent: Friday, February 24, 2017 9:07:40 AM
>> > > To: Xinxia_Song at outlook.com
>> > > Subject: Re: [rt.rap.ucar.edu #79605] ImportError: No module
named
>> > > constants_pdef
>> > >
>> > > Unfortunately, your environment does not know where to find
>> > > run_tc_pairs.py.  Please try adding the directory with
run_tc_pairs.py
>> > > (/D2/xinxia/METplus/METplus/ush) to your path in your ~/.bashrc
file,
>> > then
>> > > run "source ~/.bashrc", then trying rerunning.  Please let me
know how
>> > that
>> > > goes.
>> > >
>> > > Thanks!
>> > >
>> > > Julie
>> > >
>> > > On Thu, Feb 23, 2017 at 11:55 AM, Xinxia Song via RT <
>> met_help at ucar.edu>
>> > > wrote:
>> > >
>> > > >
>> > > > <URL: https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=79605
>
>> > > >
>> > > > Hi Julie,
>> > > >
>> > > >
>> > > > I'm running met in a machine that's owned by our department,
I don't
>> > have
>> > > > sudo right, so when I type which run_tc_pairs.py, it says
couldn't
>> find
>> > > it.
>> > > >
>> > > > no run_tc_pairs.py in (/opt/ncl/bin:/opt/intel-soft/
>> > > > bin:/opt/ncl/bin:/opt/ncl/bin:/opt/intel-soft/bin:/opt/ncl/
>> > > > bin:/home/xinxia/anaconda/bin:/home/xinxia/anaconda/bin:/
>> > > > opt/ncl/bin:/opt/intel-soft/bin:/opt/ncl/bin:/usr/lib64/
>> > > > qt-3.3/bin:/usr/local/bin:/bin:/usr/bin:/usr/local/sbin:/
>> > > > usr/sbin:/sbin:/sbin:/usr/sbin:/cm/local/apps/
>> > > environment-modules/3.2.10/
>> > > > bin:/home/xinxia/bin:/opt/ncl-621/bin)
>> > > >
>> > > >
>> > > > But I could find it manually in that directory.
>> > > >
>> > > >
>> > > > Thanks,
>> > > >
>> > > >
>> > > > Xinxia
>> > > >
>> > > > ________________________________
>> > > > From: Julie Prestopnik via RT <met_help at ucar.edu>
>> > > > Sent: Friday, February 24, 2017 8:52:16 AM
>> > > > To: Xinxia_Song at outlook.com
>> > > > Subject: Re: [rt.rap.ucar.edu #79605] ImportError: No module
named
>> > > > constants_pdef
>> > > >
>> > > > Hi Xinxia.
>> > > >
>> > > > It looks like you got a successful run of tc_stat - that's
great
>> news!
>> > > >
>> > > > I'm not sure what you mean by "Because I don't have the
right, I
>> can't
>> > > find
>> > > > run_tc_pairs.py, but I know it's under
>> > > >
>> > > > /D2/xinxia/METplus/METplus/ush".
>> > > >
>> > > > Can you please explain?  What happened when you ran "which
>> > > > run_tc_pairs.py"?
>> > > >
>> > > > Thanks,
>> > > > Julie
>> > > >
>> > > >
>> > > >
>> > > >
>> > > >
>> > > >
>> > > > On Thu, Feb 23, 2017 at 11:44 AM, Xinxia Song via RT <
>> > met_help at ucar.edu>
>> > > > wrote:
>> > > >
>> > > > >
>> > > > > <URL:
https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=79605 >
>> > > > >
>> > > > > Hi Julie,
>> > > > >
>> > > > >
>> > > > > I removed the space.
>> > > > >
>> > > > > [xinxia at chaos parm]$ /D2/xinxia/METplus/MET/met-
5.2/bin/tc_stat
>> -job
>> > > > > filter -lookin /D2/xinxia/METplus/MET/input/tc_pairs/201412
>> > -init_inc
>> > > > > 20141201_00 -match_points true -dump_row
>> /D2/xinxia/METplus/MET/out/
>> > > > > extract_tiles/20141201_00/filter_20141201_00.tcst  -basin
ML
>> > > > > -out_init_mask /D2/xinxia/METplus/MET/met-5.
>> > > 2/share/met/poly/CONUS.poly
>> > > > >
>> > > > > DEBUG 1: [Source 1] Lookin: /D2/xinxia/METplus/MET/input/
>> > > tc_pairs/201412
>> > > > >
>> > > > > DEBUG 2:
>> > > > >
>> > > > > DEBUG 2: Processing Job 1: -job filter -basin ML -init_inc
>> > > > 20141201_000000
>> > > > > -match_points true -out_init_mask
/D2/xinxia/METplus/MET/met-5.
>> > > > 2/share/met/poly/CONUS.poly
>> > > > > -dump_row
/D2/xinxia/METplus/MET/out/extract_tiles/20141201_00/
>> > > > > filter_20141201_00.tcst
>> > > > >
>> > > > > DEBUG 1: Creating output dump file:
/D2/xinxia/METplus/MET/out/
>> > > > > extract_tiles/20141201_00/filter_20141201_00.tcst
>> > > > >
>> > > > > FILTER: -job filter -basin ML -init_inc 20141201_000000
>> -match_points
>> > > > true
>> > > > > -out_init_mask /D2/xinxia/METplus/MET/met-5.
>> > > 2/share/met/poly/CONUS.poly
>> > > > > -dump_row
/D2/xinxia/METplus/MET/out/extract_tiles/20141201_00/
>> > > > > filter_20141201_00.tcst
>> > > > >
>> > > > >
>> > > > > DEBUG 2: Job 1 used 0 out of 27292 lines read.
>> > > > >
>> > > > >
>> > > > > Because I don't have the right, I can't find
run_tc_pairs.py, but
>> I
>> > > know
>> > > > > it's under
>> > > > >
>> > > > > /D2/xinxia/METplus/METplus/ush
>> > > > >
>> > > > >
>> > > > > For Python,
>> > > > >
>> > > > > [xinxia at chaos ~]$ which python
>> > > > >
>> > > > > /usr/bin/python
>> > > > >
>> > > > >
>> > > > > Xinxia
>> > > > >
>> > > > > ________________________________
>> > > > > From: Julie Prestopnik via RT <met_help at ucar.edu>
>> > > > > Sent: Friday, February 24, 2017 8:30:01 AM
>> > > > > To: Xinxia_Song at outlook.com
>> > > > > Subject: Re: [rt.rap.ucar.edu #79605] ImportError: No
module
>> named
>> > > > > constants_pdef
>> > > > >
>> > > > > Hi Xinxia.
>> > > > >
>> > > > > It looks like there is a space where there should not be a
space
>> > > (between
>> > > > > /D2/xinxia/METplus/MET/out/extract_tiles/20141201_00/ and
>> > > > > filter_20141201_00.tcst after the -dump_row option).
>> > > > >
>> > > > > Could you please try it again without the space?
>> > > > >
>> > > > > /D2/xinxia/METplus/METplus/ush/run_tc_stat.py:tc_stat from
>> calling
>> > MET
>> > > > > TC-STAT with command:/D2/xinxia/METplus/MET/met-
5.2/bin/tc_stat
>> -job
>> > > > > filter
>> > > > > -lookin /D2/xinxia/METplus/MET/input/tc_pairs/201412
-init_inc
>> > > > 20141201_00
>> > > > > -match_points true -dump_row /D2/xinxia/METplus/MET/out/
>> > > > > extract_tiles/20141201_00/filter_20141201_00.tcst  -basin
ML
>> > > > > -out_init_mask
>> > > > > /D2/xinxia/METplus/MET/met-5.2/share/met/poly/CONUS.poly
>> > > > >
>> > > > > Regarding the master_met_plus.py run, please try running
the
>> > following
>> > > > two
>> > > > > commands and send me the output:
>> > > > >
>> > > > > which run_tc_pairs.py
>> > > > >
>> > > > > which python
>> > > > >
>> > > > > Thanks!
>> > > > >
>> > > > > Julie
>> > > > >
>> > > > > On Thu, Feb 23, 2017 at 11:06 AM, Xinxia Song via RT <
>> > > met_help at ucar.edu>
>> > > > > wrote:
>> > > > >
>> > > > > >
>> > > > > > <URL:
https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=79605 >
>> > > > > >
>> > > > > > Hi Julie,
>> > > > > >
>> > > > > >
>> > > > > > After I ran the long one line command:
>> > > > > >
>> > > > > > [xinxia at chaos parm]$ /D2/xinxia/METplus/MET/met-
5.2/bin/tc_stat
>> > -job
>> > > > > > filter -lookin
/D2/xinxia/METplus/MET/input/tc_pairs/201412
>> > > -init_inc
>> > > > > > 20141201_00 -match_points true -dump_row
>> > /D2/xinxia/METplus/MET/out/
>> > > > > extract_tiles/20141201_00/
>> > > > > > filter_20141201_00.tcst  -basin ML -out_init_mask
>> > > > > > /D2/xinxia/METplus/MET/met-5.2/share/met/poly/CONUS.poly
>> > > > > >
>> > > > > >
>> > > > > > DEBUG 1: [Source 1] Lookin: /D2/xinxia/METplus/MET/input/
>> > > > tc_pairs/201412
>> > > > > >
>> > > > > > ERROR  :
>> > > > > >
>> > > > > > ERROR  : TCStatJob
*TCStatJobFactory::new_tc_stat_job(const
>> char
>> > > > > > *jobstring) -> unsupported job command options
>> > > > "filter_20141201_00.tcst".
>> > > > > >
>> > > > > > ERROR  :
>> > > > > >
>> > > > > >
>> > > > > > And for the master_met_plus.py, I got the error:
>> > > > > >
>> > > > > > [xinxia at chaos ush]$ python master_met_plus.py
>> > > > > >
>> > > > > > sh: run_tc_pairs.py: command not found
>> > > > > >
>> > > > > >
>> > > > > > Thanks,
>> > > > > >
>> > > > > >
>> > > > > > Xinxia
>> > > > > >
>> > > > > > ________________________________
>> > > > > > From: Julie Prestopnik via RT <met_help at ucar.edu>
>> > > > > > Sent: Friday, February 24, 2017 7:42:21 AM
>> > > > > > To: Xinxia_Song at outlook.com
>> > > > > > Subject: Re: [rt.rap.ucar.edu #79605] ImportError: No
module
>> named
>> > > > > > constants_pdef
>> > > > > >
>> > > > > > My apologies, my response should have said, "By default,
MET
>> > version
>> > > > 5.2
>> > > > > is
>> > > > > > compiled using dynamic linking."  It's true for both, but
I see
>> > > you're
>> > > > > > using 5.2 and I inadvertently referred to 5.1.
>> > > > > >
>> > > > > > On Thu, Feb 23, 2017 at 10:40 AM, Julie Prestopnik <
>> > jpresto at ucar.edu
>> > > >
>> > > > > > wrote:
>> > > > > >
>> > > > > > > Hi Xinxia.  Regarding the error:
>> > > > > > >
>> > > > > > > /D2/xinxia/METplus/MET/met-5.2/bin/tc_stat: error while
>> loading
>> > > > shared
>> > > > > > > libraries: libgsl.so.19: cannot open shared object
file: No
>> such
>> > > file
>> > > > > or
>> > > > > > > directory
>> > > > > > >
>> > > > > > > By default, MET version 5.1 is compiled using dynamic
linking.
>> > > > Rather
>> > > > > > > than compiling the external library code in with the
MET
>> > > executables
>> > > > > > (which
>> > > > > > > is
>> > > > > > > called static linking), it looks for them at runtime.
And
>> it's
>> > > > looking
>> > > > > > > for those "shared object" (.so) library files.
>> > > > > > >
>> > > > > > > This should be easy to fix. We just need to tell it
where to
>> find
>> > > > them,
>> > > > > > > and we do that by setting (or adding to the
LD_LIBRARY_PATH).
>> > Look
>> > > > in
>> > > > > > your
>> > > > > > > ~/.bashrc file.  If LD_LIBRARY_PATH is already defined
in
>> there,
>> > > add
>> > > > > the
>> > > > > > > path to the libgsl.so.19 to the end of it.  If not, add
an
>> > > > > > > LD_LIBRARY_PATH entry in your ~/.bashrc file.  So, for
>> example,
>> > if
>> > > > the
>> > > > > > path
>> > > > > > > to your libgsl.so.19 file is
/D2/xinxia/METplus/MET/externa
>> > > > > > l_libs/GSL/gsl-1.16/lib
>> > > > > > > you would add teh following to your ~/.bashrc file:
>> > > > > > >
>> > > > > > >   export LD_LIBRARY_PATH=/D2/xinxia/
>> > METplus/MET/external_libs/GSL/
>> > > > > > > gsl-1.16/lib
>> > > > > > >
>> > > > > > > Then save the change and source that file:
>> > > > > > >
>> > > > > > >   source ~/.bashrc
>> > > > > > >
>> > > > > > > Then, please try rerunning the command manually and let
me
>> know
>> > if
>> > > it
>> > > > > > > works.
>> > > > > > >
>> > > > > > > I believe that this was the cause of the initial error
you
>> > received
>> > > > > from
>> > > > > > > MET+:
>> > > > > > >
>> > > > > > > ERROR|
/D2/xinxia/METplus/METplus/ush/run_tc_stat.py:tc_stat
>> > from
>> > > > > > calling
>> > > > > > > MET TC-STAT with command:/D2/xinxia/METplus/
>> > > MET/met-5.2/bin/tc_stat
>> > > > > -job
>> > > > > > > filter -lookin
/D2/xinxia/METplus/MET/input/tc_pairs/201412
>> > > > -init_inc
>> > > > > > > 20141201_00 -match_points true -dump_row
>> > > > /D2/xinxia/METplus/MET/out/ext
>> > > > > > > ract_tiles/20141201_00/filter_20141201_00.tcst  -basin
ML
>> > > > > -out_init_mask
>> > > > > > > /D2/xinxia/METplus/MET/met-
5.2/share/met/poly/CONUS.poly
>> > > > > > >
>> > > > > > >
>> > > > > > > Thanks,
>> > > > > > > Julie
>> > > > > > >
>> > > > > > > On Thu, Feb 23, 2017 at 10:14 AM, Xinxia Song via RT <
>> > > > > met_help at ucar.edu>
>> > > > > > > wrote:
>> > > > > > >
>> > > > > > >>
>> > > > > > >> <URL: https://rt.rap.ucar.edu/rt/Tic
>> ket/Display.html?id=79605 >
>> > > > > > >>
>> > > > > > >> Hi Julie,
>> > > > > > >>
>> > > > > > >>
>> > > > > > >> [xinxia at chaos ush]$ /D2/xinxia/METplus/MET/met-5.2
>> /bin/tc_stat
>> > > -job
>> > > > > > >> filter -lookin
/D2/xinxia/METplus/MET/input/tc_pairs/201412
>> > > > -init_inc
>> > > > > > >> 20141201_00 -match_points true -dump_row
>> > > > > /D2/xinxia/METplus/MET/out/ext
>> > > > > > ract_tiles/20141201_00/
>> > > > > > >> filter_20141201_00.tcst  -basin ML -out_init_mask
>> > > > > > >> /D2/xinxia/METplus/MET/met-
5.2/share/met/poly/CONUS.poly
>> > > > > > >>
>> > > > > > >> /D2/xinxia/METplus/MET/met-5.2/bin/tc_stat: error
while
>> loading
>> > > > > shared
>> > > > > > >> libraries: libgsl.so.19: cannot open shared object
file: No
>> such
>> > > > file
>> > > > > or
>> > > > > > >> directory
>> > > > > > >>
>> > > > > > >>
>> > > > > > >> And I uploaded the configuration file
(constants_pdef.py)
>> under
>> > > > > > >> xinxia_data directory.
>> > > > > > >>
>> > > > > > >>
>> > > > > > >> Thanks,
>> > > > > > >>
>> > > > > > >>
>> > > > > > >> Xinxia
>> > > > > > >>
>> > > > > > >> ________________________________
>> > > > > > >> From: Julie Prestopnik via RT <met_help at ucar.edu>
>> > > > > > >> Sent: Friday, February 24, 2017 6:15:57 AM
>> > > > > > >> To: Xinxia_Song at outlook.com
>> > > > > > >> Subject: Re: [rt.rap.ucar.edu #79605] ImportError: No
module
>> > > named
>> > > > > > >> constants_pdef
>> > > > > > >>
>> > > > > > >> Hi Xinxia.
>> > > > > > >>
>> > > > > > >> I can see that your command, which should have been
all on
>> one
>> > > line,
>> > > > > was
>> > > > > > >> broken up into several lines.  Please try running the
command
>> > > again,
>> > > > > > >> making
>> > > > > > >> sure that the entire command is on one line:
>> > > > > > >>
>> > > > > > >> /D2/xinxia/METplus/MET/met-5.2/bin/tc_stat -job filter
>> -lookin
>> > > > > > >> /D2/xinxia/METplus/MET/input/tc_pairs/201412 -init_inc
>> > > 20141201_00
>> > > > > > >> -match_points true -dump_row
>> > > > > > >> /D2/xinxia/METplus/MET/out/extract_tiles/20141201_00/
>> > > > > > >> filter_20141201_00.tcst  -basin ML -out_init_mask
>> > > > > > >> /D2/xinxia/METplus/MET/met-
5.2/share/met/poly/CONUS.poly
>> > > > > > >>
>> > > > > > >> Then, please send the output from that command.
>> > > > > > >>
>> > > > > > >> Regarding, your error:
>> > > > > > >>
>> > > > > > >> sh: run_tc_pairs.py: command not found
>> > > > > > >>
>> > > > > > >> It's strange that would only have occurred after
having
>> changed
>> > > the
>> > > > > > >> LOG_LEVEL.  Could you please send us your
configuration file?
>> > > > > > >>
>> > > > > > >> Thanks!
>> > > > > > >>
>> > > > > > >> Julie
>> > > > > > >>
>> > > > > > >> On Wed, Feb 22, 2017 at 2:54 PM, Xinxia Song via RT <
>> > > > > met_help at ucar.edu>
>> > > > > > >> wrote:
>> > > > > > >>
>> > > > > > >> >
>> > > > > > >> > <URL: https://rt.rap.ucar.edu/rt/Tic
>> ket/Display.html?id=79605
>> > >
>> > > > > > >> >
>> > > > > > >> > Hi Julie,
>> > > > > > >> >
>> > > > > > >> >
>> > > > > > >> > [xinxia at chaos ush]$ /D2/xinxia/METplus/MET/met-5.
>> > 2/bin/tc_stat
>> > > > -job
>> > > > > > >> > filter -lookin
>> > > > > > >> >
>> > > > > > >> > /D2/xinxia/METplus/MET/met-5.2/bin/tc_stat: error
while
>> > loading
>> > > > > > shared
>> > > > > > >> > libraries: libgsl.so.19: cannot open shared object
file: No
>> > such
>> > > > > file
>> > > > > > or
>> > > > > > >> > directory
>> > > > > > >> >
>> > > > > > >> >
>> > > > > > >> > [xinxia at chaos ush]$ /D2/xinxia/METplus/MET/input/
>> > > tc_pairs/201412
>> > > > > > >> > -init_inc 20141201_00 -match_points true -dump_row
>> > > > > > >> >
>> > > > > > >> > -bash: /D2/xinxia/METplus/MET/input/tc_pairs/201412:
is a
>> > > > directory
>> > > > > > >> >
>> > > > > > >> >
>> > > > > > >> > [xinxia at chaos ush]$ /D2/xinxia/METplus/MET/out/ext
>> > > > > > >> ract_tiles/20141201_00/
>> > > > > > >> > filter_20141201_00.tcst  -basin ML -out_init_mask
>> > > > > > >> > /D2/xinxia/METplus/MET/met-
5.2/share/met/poly/CONUS.poly
>> > > > > > >> >
>> > > > > > >> > -bash: /D2/xinxia/METplus/MET/out/ext
>> ract_tiles/20141201_00/:
>> > > No
>> > > > > such
>> > > > > > >> > file or directory
>> > > > > > >> >
>> > > > > > >> >
>> > > > > > >> > After I change the LOG_LEVEL, I ran the
>> master_met_plus.py, it
>> > > > says:
>> > > > > > >> >
>> > > > > > >> > [xinxia at chaos ush]$ python master_met_plus.py
>> > > > > > >> >
>> > > > > > >> > sh: run_tc_pairs.py: command not found
>> > > > > > >> >
>> > > > > > >> >
>> > > > > > >> >
>> > > > > > >> > Thanks,
>> > > > > > >> >
>> > > > > > >> >
>> > > > > > >> > Xinxia
>> > > > > > >> >
>> > > > > > >> >
>> > > > > > >> > ________________________________
>> > > > > > >> > From: Julie Prestopnik via RT <met_help at ucar.edu>
>> > > > > > >> > Sent: Thursday, February 23, 2017 10:04:55 AM
>> > > > > > >> > To: Xinxia_Song at outlook.com
>> > > > > > >> > Subject: Re: [rt.rap.ucar.edu #79605] ImportError:
No
>> module
>> > > > named
>> > > > > > >> > constants_pdef
>> > > > > > >> >
>> > > > > > >> > Thank you.  Unfortunately, the level of detail in
the log
>> file
>> > > > > wasn't
>> > > > > > >> what
>> > > > > > >> > I hoped for.  I'd like to have you try two things.
>> > > > > > >> >
>> > > > > > >> > First, could you please send me your output of your
manual
>> run
>> > > of
>> > > > > the
>> > > > > > >> > following?
>> > > > > > >> >
>> > > > > > >> > "/D2/xinxia/METplus/MET/met-5.2/bin/tc_stat -job
filter
>> > -lookin
>> > > > > > >> > /D2/xinxia/METplus/MET/input/tc_pairs/201412
-init_inc
>> > > > 20141201_00
>> > > > > > >> > -match_points true -dump_row
/D2/xinxia/METplus/MET/out/
>> > > > > > >> > extract_tiles/20141201_00/ filter_20141201_00.tcst
-basin
>> ML
>> > > > > > >> > -out_init_mask
>> > > > > > >> > /D2/xinxia/METplus/MET/met-
5.2/share/met/poly/CONUS.poly"
>> > > > > > >> >
>> > > > > > >> > Second, could you please change your log level in
your
>> > > > configuration
>> > > > > > >> file
>> > > > > > >> > from
>> > > > > > >> >
>> > > > > > >> > LOG_LEVEL = "INFO"
>> > > > > > >> >
>> > > > > > >> > to
>> > > > > > >> >
>> > > > > > >> > LOG_LEVEL = "DEBUG"
>> > > > > > >> >
>> > > > > > >> > then rerun and upload your log file to our ftp
server
>> again?
>> > > > > > >> >
>> > > > > > >> > Thank you!
>> > > > > > >> >
>> > > > > > >> > Julie
>> > > > > > >> >
>> > > > > > >> >
>> > > > > > >> > On Wed, Feb 22, 2017 at 12:39 PM, Xinxia Song via RT
<
>> > > > > > met_help at ucar.edu
>> > > > > > >> >
>> > > > > > >> > wrote:
>> > > > > > >> >
>> > > > > > >> > >
>> > > > > > >> > > <URL: https://rt.rap.ucar.edu/rt/
>> > Ticket/Display.html?id=79605
>> > > >
>> > > > > > >> > >
>> > > > > > >> > > Hi Julie,
>> > > > > > >> > >
>> > > > > > >> > >
>> > > > > > >> > > I uploaded the log file under xinxia_data
directory.
>> > > > > > >> > >
>> > > > > > >> > >
>> > > > > > >> > > Thanks,
>> > > > > > >> > >
>> > > > > > >> > >
>> > > > > > >> > > Xinxia
>> > > > > > >> > >
>> > > > > > >> > >
>> > > > > > >> > > ________________________________
>> > > > > > >> > > From: Julie Prestopnik via RT <met_help at ucar.edu>
>> > > > > > >> > > Sent: Thursday, February 23, 2017 9:11:32 AM
>> > > > > > >> > > To: Xinxia_Song at outlook.com
>> > > > > > >> > > Subject: Re: [rt.rap.ucar.edu #79605] ImportError:
No
>> > module
>> > > > > named
>> > > > > > >> > > constants_pdef
>> > > > > > >> > >
>> > > > > > >> > > Hi Xinxia.
>> > > > > > >> > >
>> > > > > > >> > > I think it would be helpful if I could take a look
at the
>> > log
>> > > > > file.
>> > > > > > >> > Could
>> > > > > > >> > > you please upload your file to our anonymous ftp
site as
>> > > follows
>> > > > > so
>> > > > > > >> that
>> > > > > > >> > I
>> > > > > > >> > > can take a look?
>> > > > > > >> > >
>> > > > > > >> > >    http://www.dtcenter.org/met/
>> > users/support/met_help.php#ftp
>> > > > > > >> > >
>> > > > > > >> > > Also, could you please try running the following
manually
>> > and
>> > > > send
>> > > > > > the
>> > > > > > >> > > output to me?
>> > > > > > >> > >
>> > > > > > >> > > "/D2/xinxia/METplus/MET/met-5.2/bin/tc_stat -job
filter
>> > > -lookin
>> > > > > > >> > > /D2/xinxia/METplus/MET/input/tc_pairs/201412
-init_inc
>> > > > > 20141201_00
>> > > > > > >> > > -match_points true -dump_row
/D2/xinxia/METplus/MET/out/
>> > > > > > >> > > extract_tiles/20141201_00/filter_20141201_00.tcst
>> -basin
>> > ML
>> > > > > > >> > > -out_init_mask
>> > > > > > >> > > /D2/xinxia/METplus/MET/met-5.2
>> /share/met/poly/CONUS.poly"
>> > > > > > >> > >
>> > > > > > >> > > Thank you!
>> > > > > > >> > >
>> > > > > > >> > > Julie
>> > > > > > >> > >
>> > > > > > >> > >
>> > > > > > >> > >
>> > > > > > >> > > On Wed, Feb 22, 2017 at 12:06 PM, Xinxia Song via
RT <
>> > > > > > >> met_help at ucar.edu>
>> > > > > > >> > > wrote:
>> > > > > > >> > >
>> > > > > > >> > > >
>> > > > > > >> > > > <URL: https://rt.rap.ucar.edu/rt/
>> > > Ticket/Display.html?id=79605
>> > > > >
>> > > > > > >> > > >
>> > > > > > >> > > > Hi Julie,
>> > > > > > >> > > >
>> > > > > > >> > > >
>> > > > > > >> > > > Now I can run the program, but when I look at
the log
>> file
>> > > in
>> > > > > the
>> > > > > > >> > output,
>> > > > > > >> > > > it shows error below:
>> > > > > > >> > > >
>> > > > > > >> > > >
>> > > > > > >> > > > ERROR| /D2/xinxia/METplus/METplus/
>> > > ush/run_tc_stat.py:tc_stat
>> > > > > from
>> > > > > > >> > > calling
>> > > > > > >> > > > MET TC-STAT with command:/D2/xinxia/METplus/MET
>> > > > > > /met-5.2/bin/tc_stat
>> > > > > > >> > -job
>> > > > > > >> > > > filter -lookin /D2/xinxia/METplus/MET/input/
>> > tc_pairs/201412
>> > > > > > >> -init_inc
>> > > > > > >> > > > 20141201_00 -match_points true -dump_row
>> > > > > > /D2/xinxia/METplus/MET/out/
>> > > > > > >> > > >
extract_tiles/20141201_00/filter_20141201_00.tcst
>> -basin
>> > > ML
>> > > > > > >> > > > -out_init_mask /D2/xinxia/METplus/MET/met-5.
>> > > > > > >> > 2/share/met/poly/CONUS.poly
>> > > > > > >> > > >
>> > > > > > >> > > >
>> > > > > > >> > > > How should I fix it?
>> > > > > > >> > > >
>> > > > > > >> > > >
>> > > > > > >> > > > Thanks,
>> > > > > > >> > > >
>> > > > > > >> > > >
>> > > > > > >> > > > Xinxia
>> > > > > > >> > > >
>> > > > > > >> > > > ________________________________
>> > > > > > >> > > > From: Julie Prestopnik via RT
<met_help at ucar.edu>
>> > > > > > >> > > > Sent: Thursday, February 23, 2017 7:30:06 AM
>> > > > > > >> > > > To: Xinxia_Song at outlook.com
>> > > > > > >> > > > Subject: Re: [rt.rap.ucar.edu #79605]
ImportError: No
>> > > module
>> > > > > > named
>> > > > > > >> > > > constants_pdef
>> > > > > > >> > > >
>> > > > > > >> > > > Hi Xinxia.
>> > > > > > >> > > >
>> > > > > > >> > > > I believe that python doesn't know how to find
the
>> module
>> > > > > because
>> > > > > > >> the
>> > > > > > >> > ush
>> > > > > > >> > > > directory is not in your PYTHONPATH.  Both the
parm and
>> > ush
>> > > > > > >> directory
>> > > > > > >> > > need
>> > > > > > >> > > > to be specified in your PYTHONPATH.  Please add
the ush
>> > > > > directory
>> > > > > > to
>> > > > > > >> > your
>> > > > > > >> > > > PYTHONPATH, source ~/.bashrc, and let us know
how it
>> goes.
>> > > > > > >> > > >
>> > > > > > >> > > > Thanks,
>> > > > > > >> > > > Julie
>> > > > > > >> > > >
>> > > > > > >> > > > On Wed, Feb 22, 2017 at 10:24 AM, Xinxia Song
via RT <
>> > > > > > >> > met_help at ucar.edu>
>> > > > > > >> > > > wrote:
>> > > > > > >> > > >
>> > > > > > >> > > > >
>> > > > > > >> > > > > <URL: https://rt.rap.ucar.edu/rt/
>> > > > Ticket/Display.html?id=79605
>> > > > > >
>> > > > > > >> > > > >
>> > > > > > >> > > > > Hi Julie,
>> > > > > > >> > > > >
>> > > > > > >> > > > >
>> > > > > > >> > > > > Since I don't have setenv, I added these 3
sentence
>> into
>> > > my
>> > > > > > >> .bashrc
>> > > > > > >> > > file:
>> > > > > > >> > > > >
>> > > > > > >> > > > >
>> > > > > > >> > > > > export
PYTHONPATH="/D2/xinxia/METplus/METplus/parm"
>> > > > > > >> > > > >
>> > > > > > >> > > > >
>> > > > > > >> > > > > export USHROOT=/D2/xinxia/METplus/METplus/ush
>> > > > > > >> > > > >
>> > > > > > >> > > > > export PATH=$USHROOT:$PATH
>> > > > > > >> > > > >
>> > > > > > >> > > > >
>> > > > > > >> > > > > I sourced the ~/.bashrc, and checked that the
>> variables
>> > > are
>> > > > > set,
>> > > > > > >> but
>> > > > > > >> > > the
>> > > > > > >> > > > > program still can't find the module.
>> > > > > > >> > > > >
>> > > > > > >> > > > >
>> > > > > > >> > > > > Thanks,
>> > > > > > >> > > > >
>> > > > > > >> > > > > Xinxia
>> > > > > > >> > > > >
>> > > > > > >> > > > > ________________________________
>> > > > > > >> > > > > From: Julie Prestopnik via RT
<met_help at ucar.edu>
>> > > > > > >> > > > > Sent: Thursday, February 23, 2017 6:24:21 AM
>> > > > > > >> > > > > To: Xinxia_Song at outlook.com
>> > > > > > >> > > > > Subject: Re: [rt.rap.ucar.edu #79605]
ImportError:
>> No
>> > > > module
>> > > > > > >> named
>> > > > > > >> > > > > constants_pdef
>> > > > > > >> > > > >
>> > > > > > >> > > > > Hi Xinxia.
>> > > > > > >> > > > >
>> > > > > > >> > > > > Could you please check to make sure that the
ush
>> > directory
>> > > > > with
>> > > > > > >> > > > > constants_pdef.py is in your PYTHONPATH in
your
>> .cshrc
>> > > file
>> > > > > (or
>> > > > > > >> > .bashrc
>> > > > > > >> > > > or
>> > > > > > >> > > > > similar file)?  The parm directory should also
be in
>> > your
>> > > > > > >> PYTHONPATH.
>> > > > > > >> > > > >
>> > > > > > >> > > > > For example,
>> > > > > > >> > > > >
>> > > > > > >> > > > > setenv PYTHONPATH
/d1/jpresto/sbu/METplus/ush:/
>> > > > > > >> > > > d1/jpresto/sbu/METplus/parm
>> > > > > > >> > > > >
>> > > > > > >> > > > > Please also check make sure that the path to
the ush
>> > > > directory
>> > > > > > is
>> > > > > > >> > also
>> > > > > > >> > > > > specified your your path environment variable.
For
>> > > example,
>> > > > > > >> > > > >
>> > > > > > >> > > > > set path = (/usr/local/bin \
>> > > > > > >> > > > >                  /usr/local/python/bin/python
\
>> > > > > > >> > > > >                  /d1/jpresto/sbu/METplus/ush )
>> > > > > > >> > > > >
>> > > > > > >> > > > > If they are not there, please add them and
then
>> source
>> > the
>> > > > > file
>> > > > > > >> (e.g.
>> > > > > > >> > > run
>> > > > > > >> > > > > "source ~/.cshrc").
>> > > > > > >> > > > >
>> > > > > > >> > > > > Thank you!  Please let us know how it goes.
>> > > > > > >> > > > >
>> > > > > > >> > > > > Julie
>> > > > > > >> > > > >
>> > > > > > >> > > > >
>> > > > > > >> > > > >
>> > > > > > >> > > > >
>> > > > > > >> > > > > On Tue, Feb 21, 2017 at 4:49 PM, Xinxia Song
via RT <
>> > > > > > >> > met_help at ucar.edu
>> > > > > > >> > > >
>> > > > > > >> > > > > wrote:
>> > > > > > >> > > > >
>> > > > > > >> > > > > >
>> > > > > > >> > > > > > Tue Feb 21 16:49:28 2017: Request 79605 was
acted
>> > upon.
>> > > > > > >> > > > > > Transaction: Ticket created by
>> > Xinxia_Song at outlook.com
>> > > > > > >> > > > > >        Queue: met_help
>> > > > > > >> > > > > >      Subject: ImportError: No module named
>> > > constants_pdef
>> > > > > > >> > > > > >        Owner: Nobody
>> > > > > > >> > > > > >   Requestors: Xinxia_Song at outlook.com
>> > > > > > >> > > > > >       Status: new
>> > > > > > >> > > > > >  Ticket <URL: https://rt.rap.ucar.edu/rt/
>> > > > > > >> > > Ticket/Display.html?id=79605
>> > > > > > >> > > > >
>> > > > > > >> > > > > >
>> > > > > > >> > > > > >
>> > > > > > >> > > > > > Hi,
>> > > > > > >> > > > > >
>> > > > > > >> > > > > >
>> > > > > > >> > > > > > When I ran the mater_met_plus.py, it says:
>> > > > > > >> > > > > >
>> > > > > > >> > > > > >
>> > > > > > >> > > > > > ImportError: No module named constants_pdef
>> > > > > > >> > > > > >
>> > > > > > >> > > > > >
>> > > > > > >> > > > > > Seems it doesn't recognize constants_pdef as
its
>> > module.
>> > > > > > >> > > > > >
>> > > > > > >> > > > > >
>> > > > > > >> > > > > > Thanks,
>> > > > > > >> > > > > >
>> > > > > > >> > > > > > Xinxia
>> > > > > > >> > > > > >
>> > > > > > >> > > > > >
>> > > > > > >> > > > >
>> > > > > > >> > > > >
>> > > > > > >> > > > >
>> > > > > > >> > > >
>> > > > > > >> > > >
>> > > > > > >> > > >
>> > > > > > >> > >
>> > > > > > >> > >
>> > > > > > >> > >
>> > > > > > >> >
>> > > > > > >> >
>> > > > > > >> >
>> > > > > > >>
>> > > > > > >>
>> > > > > > >>
>> > > > > > >
>> > > > > >
>> > > > > >
>> > > > > >
>> > > > >
>> > > > >
>> > > > >
>> > > >
>> > > >
>> > > >
>> > >
>> > >
>> > >
>> >
>> >
>> >
>>
>>
>>
>


------------------------------------------------
Subject: ImportError: No module named constants_pdef
From: Julie Prestopnik
Time: Mon Feb 27 08:46:37 2017

Hi Xinxia.  Can you please upload the configuration file that you used
and
the log file from that run to our ftp server so that we can take a
look?

Thanks!

Julie

On Sun, Feb 26, 2017 at 2:35 PM, Xinxia Song via RT
<met_help at ucar.edu>
wrote:

>
> <URL: https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=79605 >
>
> Hi Julie,
>
>
> I ran the mater_met_plus.py and in the end in the log file it gave
me an
> error:
>
> 2017-02-26 21:30:28,212 : ERROR | [master_met_plus.py:main] |
Problem
> executing: series_by_lead.py
>
>
> Thanks,
>
> Xinxia
>
> ________________________________
> From: Julie Prestopnik via RT <met_help at ucar.edu>
> Sent: Saturday, February 25, 2017 6:49:56 AM
> To: Xinxia_Song at outlook.com
> Subject: Re: [rt.rap.ucar.edu #79605] ImportError: No module named
> constants_pdef
>
> You could also run "tail -f </path/to/logfile/logfile_name>"
replacing
> </path/to/logfile/logfile_name> with the logfile path and name
information
> to see how the run is coming along.  I hope that helps!
>
> Julie
>
> On Fri, Feb 24, 2017 at 9:42 AM, Julie Prestopnik <jpresto at ucar.edu>
> wrote:
>
> > Hi Xinxia.  Running the entire three months of data could
certainly take
> a
> > long time.  I am hoping to get an estimate on how long it took to
run the
> > three month data set here, but have not been able to obtain that
number
> > yet.   It sounds the code was running successfully for you.  If
you're
> > eager to take a lot at some output, I would suggest running a
smaller
> > subset of the data, or perhaps you could set up the whole three
month to
> > run over the weekend.  I would suggest letting the code run to
completion
> > for either a smaller subset or for the entire subset and then
checking
> the
> > log file for errors.  I hope that helps.  Please let me know if
you have
> > any questions or encounter any issues.
> >
> > Thanks,
> > Julie
> >
> >
> > On Thu, Feb 23, 2017 at 4:28 PM, Xinxia Song via RT
<met_help at ucar.edu>
> > wrote:
> >
> >>
> >> <URL: https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=79605 >
> >>
> >> Hi Julie,
> >>
> >>
> >> The version is set to be 2.7+. When I ran master_met_plus.py, it
seems
> it
> >> will run forever. So I killed it, and got the following:
> >>
> >> [xinxia at chaos ush]$ python master_met_plus.py
> >>
> >> ^CTraceback (most recent call last):
> >>
> >>   File "/D2/xinxia/METplus/METplus/ush/extract_tiles.py", line
157, in
> >> <module>
> >>
> >>     main()
> >>
> >>   File "/D2/xinxia/METplus/METplus/ush/extract_tiles.py", line
100, in
> >> main
> >>
> >>     filtered_out_dir)
> >>
> >>   File "/D2/xinxia/METplus/METplus/ush/run_tc_stat.py", line 69,
in
> >> tc_stat
> >>
> >>     tc_stat_out = subprocess.check_output(tc_cmd,
> >> stderr=subprocess.STDOUT, shell=True )
> >>
> >>   File "/home/xinxia/anaconda2/lib/python2.7/subprocess.py", line
213,
> >> in check_output
> >>
> >>     output, unused_err = process.communicate()
> >>
> >>   File "/home/xinxia/anaconda2/lib/python2.7/subprocess.py", line
471,
> >> in communicate
> >>
> >>     stdout = _eintr_retry_call(self.stdout.read)
> >>
> >>   File "/home/xinxia/anaconda2/lib/python2.7/subprocess.py", line
121,
> >> in _eintr_retry_call
> >>
> >>     return func(*args)
> >>
> >> KeyboardInterrupt
> >>
> >>
> >> Thanks,
> >>
> >>
> >> Xinxia
> >>
> >> ________________________________
> >> From: Julie Prestopnik via RT <met_help at ucar.edu>
> >> Sent: Friday, February 24, 2017 12:02:21 PM
> >> To: Xinxia_Song at outlook.com
> >> Subject: Re: [rt.rap.ucar.edu #79605] ImportError: No module
named
> >> constants_pdef
> >>
> >> Hi Xinxia.  I suspect that even though you installed Python 2.7
that
> >> Python
> >> 2.6.6 is still being used.
> >>
> >> Please try running:
> >>
> >> python --version
> >>
> >> on the command line.
> >>
> >> If you see "Python 2..6.6", please add the path for Python 2.7 to
the
> >> front
> >> of your path in your ~/.bashrc file.  Then, source your ~/.bashrc
file
> and
> >> try rerunning
> >>
> >> python --version
> >>
> >> on the command line.  Hopefully, then you will see the new
version.
> Then,
> >> please try rerunning master_met_plus.py.
> >>
> >> I hope this helps!  Thanks!
> >>
> >> Julie
> >>
> >> On Thu, Feb 23, 2017 at 1:51 PM, Xinxia Song via RT
<met_help at ucar.edu>
> >> wrote:
> >>
> >> >
> >> > <URL: https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=79605 >
> >> >
> >> > Hi Julie,
> >> >
> >> >
> >> > I installed myself the 2.7 python, it still got the error when
> running:
> >> >
> >> > Traceback (most recent call last):
> >> >
> >> >   File "/D2/xinxia/METplus/METplus/ush/series_by_lead.py", line
945,
> in
> >> > <module>
> >> >
> >> >     analysis_by_lead_time()
> >> >
> >> >   File "/D2/xinxia/METplus/METplus/ush/series_by_lead.py", line
107,
> in
> >> > analysis_by_lead_time
> >> >
> >> >     util.apply_series_filters(tile_dir, init_times,
> >> > series_lead_filtered_out_dir, p, logger)
> >> >
> >> >   File "/D2/xinxia/METplus/METplus/ush/met_util.py", line 1005,
in
> >> > apply_series_filters
> >> >
> >> >     tcs.tc_stat(p, logger, tc_cmd, series_output_dir)
> >> >
> >> >   File "/D2/xinxia/METplus/METplus/ush/run_tc_stat.py", line
69, in
> >> > tc_stat
> >> >
> >> >     tc_stat_out = subprocess.check_output(tc_cmd,
> >> > stderr=subprocess.STDOUT, shell=True )
> >> >
> >> > AttributeError: 'module' object has no attribute 'check_output'
> >> >
> >> >
> >> > Thanks,
> >> >
> >> >
> >> > Xinxia
> >> >
> >> > ________________________________
> >> > From: Julie Prestopnik via RT <met_help at ucar.edu>
> >> > Sent: Friday, February 24, 2017 9:37:53 AM
> >> > To: Xinxia_Song at outlook.com
> >> > Subject: Re: [rt.rap.ucar.edu #79605] ImportError: No module
named
> >> > constants_pdef
> >> >
> >> > Can you please tell me which version of Python you are using?
> >> check_output
> >> > for subprocess was introduced in Python 2.7.    Do you have
access to
> >> > Python version 2.7 or higher?
> >> >
> >> > Thanks,
> >> > Julie
> >> >
> >> > On Thu, Feb 23, 2017 at 12:11 PM, Xinxia Song via RT <
> met_help at ucar.edu
> >> >
> >> > wrote:
> >> >
> >> > >
> >> > > <URL: https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=79605
>
> >> > >
> >> > > Hi Julie,
> >> > >
> >> > >
> >> > > I added it to the $PATH and ran the master_met_python.py:
> >> > >
> >> > > [xinxia at chaos ush]$ python master_met_plus.py
> >> > >
> >> > > Traceback (most recent call last):
> >> > >
> >> > >   File "/D2/xinxia/METplus/METplus/ush/extract_tiles.py",
line 157,
> >> in
> >> > > <module>
> >> > >
> >> > >     main()
> >> > >
> >> > >   File "/D2/xinxia/METplus/METplus/ush/extract_tiles.py",
line 100,
> >> in
> >> > > main
> >> > >
> >> > >     filtered_out_dir)
> >> > >
> >> > >   File "/D2/xinxia/METplus/METplus/ush/run_tc_stat.py", line
69, in
> >> > > tc_stat
> >> > >
> >> > >     tc_stat_out = subprocess.check_output(tc_cmd,
> >> > > stderr=subprocess.STDOUT, shell=True )
> >> > >
> >> > > AttributeError: 'module' object has no attribute
'check_output'
> >> > >
> >> > >
> >> > > Thanks,
> >> > >
> >> > >
> >> > > Xinxia
> >> > >
> >> > > ________________________________
> >> > > From: Julie Prestopnik via RT <met_help at ucar.edu>
> >> > > Sent: Friday, February 24, 2017 9:07:40 AM
> >> > > To: Xinxia_Song at outlook.com
> >> > > Subject: Re: [rt.rap.ucar.edu #79605] ImportError: No module
named
> >> > > constants_pdef
> >> > >
> >> > > Unfortunately, your environment does not know where to find
> >> > > run_tc_pairs.py.  Please try adding the directory with
> run_tc_pairs.py
> >> > > (/D2/xinxia/METplus/METplus/ush) to your path in your
~/.bashrc
> file,
> >> > then
> >> > > run "source ~/.bashrc", then trying rerunning.  Please let me
know
> how
> >> > that
> >> > > goes.
> >> > >
> >> > > Thanks!
> >> > >
> >> > > Julie
> >> > >
> >> > > On Thu, Feb 23, 2017 at 11:55 AM, Xinxia Song via RT <
> >> met_help at ucar.edu>
> >> > > wrote:
> >> > >
> >> > > >
> >> > > > <URL:
https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=79605 >
> >> > > >
> >> > > > Hi Julie,
> >> > > >
> >> > > >
> >> > > > I'm running met in a machine that's owned by our
department, I
> don't
> >> > have
> >> > > > sudo right, so when I type which run_tc_pairs.py, it says
couldn't
> >> find
> >> > > it.
> >> > > >
> >> > > > no run_tc_pairs.py in (/opt/ncl/bin:/opt/intel-soft/
> >> > > > bin:/opt/ncl/bin:/opt/ncl/bin:/opt/intel-soft/bin:/opt/ncl/
> >> > > > bin:/home/xinxia/anaconda/bin:/home/xinxia/anaconda/bin:/
> >> > > > opt/ncl/bin:/opt/intel-soft/bin:/opt/ncl/bin:/usr/lib64/
> >> > > > qt-3.3/bin:/usr/local/bin:/bin:/usr/bin:/usr/local/sbin:/
> >> > > > usr/sbin:/sbin:/sbin:/usr/sbin:/cm/local/apps/
> >> > > environment-modules/3.2.10/
> >> > > > bin:/home/xinxia/bin:/opt/ncl-621/bin)
> >> > > >
> >> > > >
> >> > > > But I could find it manually in that directory.
> >> > > >
> >> > > >
> >> > > > Thanks,
> >> > > >
> >> > > >
> >> > > > Xinxia
> >> > > >
> >> > > > ________________________________
> >> > > > From: Julie Prestopnik via RT <met_help at ucar.edu>
> >> > > > Sent: Friday, February 24, 2017 8:52:16 AM
> >> > > > To: Xinxia_Song at outlook.com
> >> > > > Subject: Re: [rt.rap.ucar.edu #79605] ImportError: No
module
> named
> >> > > > constants_pdef
> >> > > >
> >> > > > Hi Xinxia.
> >> > > >
> >> > > > It looks like you got a successful run of tc_stat - that's
great
> >> news!
> >> > > >
> >> > > > I'm not sure what you mean by "Because I don't have the
right, I
> >> can't
> >> > > find
> >> > > > run_tc_pairs.py, but I know it's under
> >> > > >
> >> > > > /D2/xinxia/METplus/METplus/ush".
> >> > > >
> >> > > > Can you please explain?  What happened when you ran "which
> >> > > > run_tc_pairs.py"?
> >> > > >
> >> > > > Thanks,
> >> > > > Julie
> >> > > >
> >> > > >
> >> > > >
> >> > > >
> >> > > >
> >> > > >
> >> > > > On Thu, Feb 23, 2017 at 11:44 AM, Xinxia Song via RT <
> >> > met_help at ucar.edu>
> >> > > > wrote:
> >> > > >
> >> > > > >
> >> > > > > <URL:
https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=79605 >
> >> > > > >
> >> > > > > Hi Julie,
> >> > > > >
> >> > > > >
> >> > > > > I removed the space.
> >> > > > >
> >> > > > > [xinxia at chaos parm]$ /D2/xinxia/METplus/MET/met-
5.2/bin/tc_stat
> >> -job
> >> > > > > filter -lookin
/D2/xinxia/METplus/MET/input/tc_pairs/201412
> >> > -init_inc
> >> > > > > 20141201_00 -match_points true -dump_row
> >> /D2/xinxia/METplus/MET/out/
> >> > > > > extract_tiles/20141201_00/filter_20141201_00.tcst  -basin
ML
> >> > > > > -out_init_mask /D2/xinxia/METplus/MET/met-5.
> >> > > 2/share/met/poly/CONUS.poly
> >> > > > >
> >> > > > > DEBUG 1: [Source 1] Lookin: /D2/xinxia/METplus/MET/input/
> >> > > tc_pairs/201412
> >> > > > >
> >> > > > > DEBUG 2:
> >> > > > >
> >> > > > > DEBUG 2: Processing Job 1: -job filter -basin ML
-init_inc
> >> > > > 20141201_000000
> >> > > > > -match_points true -out_init_mask
/D2/xinxia/METplus/MET/met-5.
> >> > > > 2/share/met/poly/CONUS.poly
> >> > > > > -dump_row
/D2/xinxia/METplus/MET/out/extract_tiles/20141201_00/
> >> > > > > filter_20141201_00.tcst
> >> > > > >
> >> > > > > DEBUG 1: Creating output dump file:
/D2/xinxia/METplus/MET/out/
> >> > > > > extract_tiles/20141201_00/filter_20141201_00.tcst
> >> > > > >
> >> > > > > FILTER: -job filter -basin ML -init_inc 20141201_000000
> >> -match_points
> >> > > > true
> >> > > > > -out_init_mask /D2/xinxia/METplus/MET/met-5.
> >> > > 2/share/met/poly/CONUS.poly
> >> > > > > -dump_row
/D2/xinxia/METplus/MET/out/extract_tiles/20141201_00/
> >> > > > > filter_20141201_00.tcst
> >> > > > >
> >> > > > >
> >> > > > > DEBUG 2: Job 1 used 0 out of 27292 lines read.
> >> > > > >
> >> > > > >
> >> > > > > Because I don't have the right, I can't find
run_tc_pairs.py,
> but
> >> I
> >> > > know
> >> > > > > it's under
> >> > > > >
> >> > > > > /D2/xinxia/METplus/METplus/ush
> >> > > > >
> >> > > > >
> >> > > > > For Python,
> >> > > > >
> >> > > > > [xinxia at chaos ~]$ which python
> >> > > > >
> >> > > > > /usr/bin/python
> >> > > > >
> >> > > > >
> >> > > > > Xinxia
> >> > > > >
> >> > > > > ________________________________
> >> > > > > From: Julie Prestopnik via RT <met_help at ucar.edu>
> >> > > > > Sent: Friday, February 24, 2017 8:30:01 AM
> >> > > > > To: Xinxia_Song at outlook.com
> >> > > > > Subject: Re: [rt.rap.ucar.edu #79605] ImportError: No
module
> >> named
> >> > > > > constants_pdef
> >> > > > >
> >> > > > > Hi Xinxia.
> >> > > > >
> >> > > > > It looks like there is a space where there should not be
a space
> >> > > (between
> >> > > > > /D2/xinxia/METplus/MET/out/extract_tiles/20141201_00/ and
> >> > > > > filter_20141201_00.tcst after the -dump_row option).
> >> > > > >
> >> > > > > Could you please try it again without the space?
> >> > > > >
> >> > > > > /D2/xinxia/METplus/METplus/ush/run_tc_stat.py:tc_stat
from
> >> calling
> >> > MET
> >> > > > > TC-STAT with command:/D2/xinxia/METplus/MET/met-
5.2/bin/tc_stat
> >> -job
> >> > > > > filter
> >> > > > > -lookin /D2/xinxia/METplus/MET/input/tc_pairs/201412
-init_inc
> >> > > > 20141201_00
> >> > > > > -match_points true -dump_row /D2/xinxia/METplus/MET/out/
> >> > > > > extract_tiles/20141201_00/filter_20141201_00.tcst  -basin
ML
> >> > > > > -out_init_mask
> >> > > > > /D2/xinxia/METplus/MET/met-5.2/share/met/poly/CONUS.poly
> >> > > > >
> >> > > > > Regarding the master_met_plus.py run, please try running
the
> >> > following
> >> > > > two
> >> > > > > commands and send me the output:
> >> > > > >
> >> > > > > which run_tc_pairs.py
> >> > > > >
> >> > > > > which python
> >> > > > >
> >> > > > > Thanks!
> >> > > > >
> >> > > > > Julie
> >> > > > >
> >> > > > > On Thu, Feb 23, 2017 at 11:06 AM, Xinxia Song via RT <
> >> > > met_help at ucar.edu>
> >> > > > > wrote:
> >> > > > >
> >> > > > > >
> >> > > > > > <URL:
https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=79605
> >
> >> > > > > >
> >> > > > > > Hi Julie,
> >> > > > > >
> >> > > > > >
> >> > > > > > After I ran the long one line command:
> >> > > > > >
> >> > > > > > [xinxia at chaos parm]$ /D2/xinxia/METplus/MET/met-5.
> 2/bin/tc_stat
> >> > -job
> >> > > > > > filter -lookin
/D2/xinxia/METplus/MET/input/tc_pairs/201412
> >> > > -init_inc
> >> > > > > > 20141201_00 -match_points true -dump_row
> >> > /D2/xinxia/METplus/MET/out/
> >> > > > > extract_tiles/20141201_00/
> >> > > > > > filter_20141201_00.tcst  -basin ML -out_init_mask
> >> > > > > > /D2/xinxia/METplus/MET/met-
5.2/share/met/poly/CONUS.poly
> >> > > > > >
> >> > > > > >
> >> > > > > > DEBUG 1: [Source 1] Lookin:
/D2/xinxia/METplus/MET/input/
> >> > > > tc_pairs/201412
> >> > > > > >
> >> > > > > > ERROR  :
> >> > > > > >
> >> > > > > > ERROR  : TCStatJob
*TCStatJobFactory::new_tc_stat_job(const
> >> char
> >> > > > > > *jobstring) -> unsupported job command options
> >> > > > "filter_20141201_00.tcst".
> >> > > > > >
> >> > > > > > ERROR  :
> >> > > > > >
> >> > > > > >
> >> > > > > > And for the master_met_plus.py, I got the error:
> >> > > > > >
> >> > > > > > [xinxia at chaos ush]$ python master_met_plus.py
> >> > > > > >
> >> > > > > > sh: run_tc_pairs.py: command not found
> >> > > > > >
> >> > > > > >
> >> > > > > > Thanks,
> >> > > > > >
> >> > > > > >
> >> > > > > > Xinxia
> >> > > > > >
> >> > > > > > ________________________________
> >> > > > > > From: Julie Prestopnik via RT <met_help at ucar.edu>
> >> > > > > > Sent: Friday, February 24, 2017 7:42:21 AM
> >> > > > > > To: Xinxia_Song at outlook.com
> >> > > > > > Subject: Re: [rt.rap.ucar.edu #79605] ImportError: No
module
> >> named
> >> > > > > > constants_pdef
> >> > > > > >
> >> > > > > > My apologies, my response should have said, "By
default, MET
> >> > version
> >> > > > 5.2
> >> > > > > is
> >> > > > > > compiled using dynamic linking."  It's true for both,
but I
> see
> >> > > you're
> >> > > > > > using 5.2 and I inadvertently referred to 5.1.
> >> > > > > >
> >> > > > > > On Thu, Feb 23, 2017 at 10:40 AM, Julie Prestopnik <
> >> > jpresto at ucar.edu
> >> > > >
> >> > > > > > wrote:
> >> > > > > >
> >> > > > > > > Hi Xinxia.  Regarding the error:
> >> > > > > > >
> >> > > > > > > /D2/xinxia/METplus/MET/met-5.2/bin/tc_stat: error
while
> >> loading
> >> > > > shared
> >> > > > > > > libraries: libgsl.so.19: cannot open shared object
file: No
> >> such
> >> > > file
> >> > > > > or
> >> > > > > > > directory
> >> > > > > > >
> >> > > > > > > By default, MET version 5.1 is compiled using dynamic
> linking.
> >> > > > Rather
> >> > > > > > > than compiling the external library code in with the
MET
> >> > > executables
> >> > > > > > (which
> >> > > > > > > is
> >> > > > > > > called static linking), it looks for them at runtime.
And
> >> it's
> >> > > > looking
> >> > > > > > > for those "shared object" (.so) library files.
> >> > > > > > >
> >> > > > > > > This should be easy to fix. We just need to tell it
where to
> >> find
> >> > > > them,
> >> > > > > > > and we do that by setting (or adding to the
> LD_LIBRARY_PATH).
> >> > Look
> >> > > > in
> >> > > > > > your
> >> > > > > > > ~/.bashrc file.  If LD_LIBRARY_PATH is already
defined in
> >> there,
> >> > > add
> >> > > > > the
> >> > > > > > > path to the libgsl.so.19 to the end of it.  If not,
add an
> >> > > > > > > LD_LIBRARY_PATH entry in your ~/.bashrc file.  So,
for
> >> example,
> >> > if
> >> > > > the
> >> > > > > > path
> >> > > > > > > to your libgsl.so.19 file is
/D2/xinxia/METplus/MET/externa
> >> > > > > > l_libs/GSL/gsl-1.16/lib
> >> > > > > > > you would add teh following to your ~/.bashrc file:
> >> > > > > > >
> >> > > > > > >   export LD_LIBRARY_PATH=/D2/xinxia/
> >> > METplus/MET/external_libs/GSL/
> >> > > > > > > gsl-1.16/lib
> >> > > > > > >
> >> > > > > > > Then save the change and source that file:
> >> > > > > > >
> >> > > > > > >   source ~/.bashrc
> >> > > > > > >
> >> > > > > > > Then, please try rerunning the command manually and
let me
> >> know
> >> > if
> >> > > it
> >> > > > > > > works.
> >> > > > > > >
> >> > > > > > > I believe that this was the cause of the initial
error you
> >> > received
> >> > > > > from
> >> > > > > > > MET+:
> >> > > > > > >
> >> > > > > > > ERROR| /D2/xinxia/METplus/METplus/
> ush/run_tc_stat.py:tc_stat
> >> > from
> >> > > > > > calling
> >> > > > > > > MET TC-STAT with command:/D2/xinxia/METplus/
> >> > > MET/met-5.2/bin/tc_stat
> >> > > > > -job
> >> > > > > > > filter -lookin
/D2/xinxia/METplus/MET/input/tc_pairs/201412
> >> > > > -init_inc
> >> > > > > > > 20141201_00 -match_points true -dump_row
> >> > > > /D2/xinxia/METplus/MET/out/ext
> >> > > > > > > ract_tiles/20141201_00/filter_20141201_00.tcst
-basin ML
> >> > > > > -out_init_mask
> >> > > > > > > /D2/xinxia/METplus/MET/met-
5.2/share/met/poly/CONUS.poly
> >> > > > > > >
> >> > > > > > >
> >> > > > > > > Thanks,
> >> > > > > > > Julie
> >> > > > > > >
> >> > > > > > > On Thu, Feb 23, 2017 at 10:14 AM, Xinxia Song via RT
<
> >> > > > > met_help at ucar.edu>
> >> > > > > > > wrote:
> >> > > > > > >
> >> > > > > > >>
> >> > > > > > >> <URL: https://rt.rap.ucar.edu/rt/Tic
> >> ket/Display.html?id=79605 >
> >> > > > > > >>
> >> > > > > > >> Hi Julie,
> >> > > > > > >>
> >> > > > > > >>
> >> > > > > > >> [xinxia at chaos ush]$ /D2/xinxia/METplus/MET/met-5.2
> >> /bin/tc_stat
> >> > > -job
> >> > > > > > >> filter -lookin /D2/xinxia/METplus/MET/input/
> tc_pairs/201412
> >> > > > -init_inc
> >> > > > > > >> 20141201_00 -match_points true -dump_row
> >> > > > > /D2/xinxia/METplus/MET/out/ext
> >> > > > > > ract_tiles/20141201_00/
> >> > > > > > >> filter_20141201_00.tcst  -basin ML -out_init_mask
> >> > > > > > >> /D2/xinxia/METplus/MET/met-
5.2/share/met/poly/CONUS.poly
> >> > > > > > >>
> >> > > > > > >> /D2/xinxia/METplus/MET/met-5.2/bin/tc_stat: error
while
> >> loading
> >> > > > > shared
> >> > > > > > >> libraries: libgsl.so.19: cannot open shared object
file: No
> >> such
> >> > > > file
> >> > > > > or
> >> > > > > > >> directory
> >> > > > > > >>
> >> > > > > > >>
> >> > > > > > >> And I uploaded the configuration file
(constants_pdef.py)
> >> under
> >> > > > > > >> xinxia_data directory.
> >> > > > > > >>
> >> > > > > > >>
> >> > > > > > >> Thanks,
> >> > > > > > >>
> >> > > > > > >>
> >> > > > > > >> Xinxia
> >> > > > > > >>
> >> > > > > > >> ________________________________
> >> > > > > > >> From: Julie Prestopnik via RT <met_help at ucar.edu>
> >> > > > > > >> Sent: Friday, February 24, 2017 6:15:57 AM
> >> > > > > > >> To: Xinxia_Song at outlook.com
> >> > > > > > >> Subject: Re: [rt.rap.ucar.edu #79605] ImportError:
No
> module
> >> > > named
> >> > > > > > >> constants_pdef
> >> > > > > > >>
> >> > > > > > >> Hi Xinxia.
> >> > > > > > >>
> >> > > > > > >> I can see that your command, which should have been
all on
> >> one
> >> > > line,
> >> > > > > was
> >> > > > > > >> broken up into several lines.  Please try running
the
> command
> >> > > again,
> >> > > > > > >> making
> >> > > > > > >> sure that the entire command is on one line:
> >> > > > > > >>
> >> > > > > > >> /D2/xinxia/METplus/MET/met-5.2/bin/tc_stat -job
filter
> >> -lookin
> >> > > > > > >> /D2/xinxia/METplus/MET/input/tc_pairs/201412
-init_inc
> >> > > 20141201_00
> >> > > > > > >> -match_points true -dump_row
> >> > > > > > >>
/D2/xinxia/METplus/MET/out/extract_tiles/20141201_00/
> >> > > > > > >> filter_20141201_00.tcst  -basin ML -out_init_mask
> >> > > > > > >> /D2/xinxia/METplus/MET/met-
5.2/share/met/poly/CONUS.poly
> >> > > > > > >>
> >> > > > > > >> Then, please send the output from that command.
> >> > > > > > >>
> >> > > > > > >> Regarding, your error:
> >> > > > > > >>
> >> > > > > > >> sh: run_tc_pairs.py: command not found
> >> > > > > > >>
> >> > > > > > >> It's strange that would only have occurred after
having
> >> changed
> >> > > the
> >> > > > > > >> LOG_LEVEL.  Could you please send us your
configuration
> file?
> >> > > > > > >>
> >> > > > > > >> Thanks!
> >> > > > > > >>
> >> > > > > > >> Julie
> >> > > > > > >>
> >> > > > > > >> On Wed, Feb 22, 2017 at 2:54 PM, Xinxia Song via RT
<
> >> > > > > met_help at ucar.edu>
> >> > > > > > >> wrote:
> >> > > > > > >>
> >> > > > > > >> >
> >> > > > > > >> > <URL: https://rt.rap.ucar.edu/rt/Tic
> >> ket/Display.html?id=79605
> >> > >
> >> > > > > > >> >
> >> > > > > > >> > Hi Julie,
> >> > > > > > >> >
> >> > > > > > >> >
> >> > > > > > >> > [xinxia at chaos ush]$ /D2/xinxia/METplus/MET/met-5.
> >> > 2/bin/tc_stat
> >> > > > -job
> >> > > > > > >> > filter -lookin
> >> > > > > > >> >
> >> > > > > > >> > /D2/xinxia/METplus/MET/met-5.2/bin/tc_stat: error
while
> >> > loading
> >> > > > > > shared
> >> > > > > > >> > libraries: libgsl.so.19: cannot open shared object
file:
> No
> >> > such
> >> > > > > file
> >> > > > > > or
> >> > > > > > >> > directory
> >> > > > > > >> >
> >> > > > > > >> >
> >> > > > > > >> > [xinxia at chaos ush]$ /D2/xinxia/METplus/MET/input/
> >> > > tc_pairs/201412
> >> > > > > > >> > -init_inc 20141201_00 -match_points true -dump_row
> >> > > > > > >> >
> >> > > > > > >> > -bash:
/D2/xinxia/METplus/MET/input/tc_pairs/201412: is
> a
> >> > > > directory
> >> > > > > > >> >
> >> > > > > > >> >
> >> > > > > > >> > [xinxia at chaos ush]$ /D2/xinxia/METplus/MET/out/ext
> >> > > > > > >> ract_tiles/20141201_00/
> >> > > > > > >> > filter_20141201_00.tcst  -basin ML -out_init_mask
> >> > > > > > >> > /D2/xinxia/METplus/MET/met-
5.2/share/met/poly/CONUS.poly
> >> > > > > > >> >
> >> > > > > > >> > -bash: /D2/xinxia/METplus/MET/out/ext
> >> ract_tiles/20141201_00/:
> >> > > No
> >> > > > > such
> >> > > > > > >> > file or directory
> >> > > > > > >> >
> >> > > > > > >> >
> >> > > > > > >> > After I change the LOG_LEVEL, I ran the
> >> master_met_plus.py, it
> >> > > > says:
> >> > > > > > >> >
> >> > > > > > >> > [xinxia at chaos ush]$ python master_met_plus.py
> >> > > > > > >> >
> >> > > > > > >> > sh: run_tc_pairs.py: command not found
> >> > > > > > >> >
> >> > > > > > >> >
> >> > > > > > >> >
> >> > > > > > >> > Thanks,
> >> > > > > > >> >
> >> > > > > > >> >
> >> > > > > > >> > Xinxia
> >> > > > > > >> >
> >> > > > > > >> >
> >> > > > > > >> > ________________________________
> >> > > > > > >> > From: Julie Prestopnik via RT <met_help at ucar.edu>
> >> > > > > > >> > Sent: Thursday, February 23, 2017 10:04:55 AM
> >> > > > > > >> > To: Xinxia_Song at outlook.com
> >> > > > > > >> > Subject: Re: [rt.rap.ucar.edu #79605] ImportError:
No
> >> module
> >> > > > named
> >> > > > > > >> > constants_pdef
> >> > > > > > >> >
> >> > > > > > >> > Thank you.  Unfortunately, the level of detail in
the log
> >> file
> >> > > > > wasn't
> >> > > > > > >> what
> >> > > > > > >> > I hoped for.  I'd like to have you try two things.
> >> > > > > > >> >
> >> > > > > > >> > First, could you please send me your output of
your
> manual
> >> run
> >> > > of
> >> > > > > the
> >> > > > > > >> > following?
> >> > > > > > >> >
> >> > > > > > >> > "/D2/xinxia/METplus/MET/met-5.2/bin/tc_stat -job
filter
> >> > -lookin
> >> > > > > > >> > /D2/xinxia/METplus/MET/input/tc_pairs/201412
-init_inc
> >> > > > 20141201_00
> >> > > > > > >> > -match_points true -dump_row
/D2/xinxia/METplus/MET/out/
> >> > > > > > >> > extract_tiles/20141201_00/ filter_20141201_00.tcst
> -basin
> >> ML
> >> > > > > > >> > -out_init_mask
> >> > > > > > >> > /D2/xinxia/METplus/MET/met-5.
> 2/share/met/poly/CONUS.poly"
> >> > > > > > >> >
> >> > > > > > >> > Second, could you please change your log level in
your
> >> > > > configuration
> >> > > > > > >> file
> >> > > > > > >> > from
> >> > > > > > >> >
> >> > > > > > >> > LOG_LEVEL = "INFO"
> >> > > > > > >> >
> >> > > > > > >> > to
> >> > > > > > >> >
> >> > > > > > >> > LOG_LEVEL = "DEBUG"
> >> > > > > > >> >
> >> > > > > > >> > then rerun and upload your log file to our ftp
server
> >> again?
> >> > > > > > >> >
> >> > > > > > >> > Thank you!
> >> > > > > > >> >
> >> > > > > > >> > Julie
> >> > > > > > >> >
> >> > > > > > >> >
> >> > > > > > >> > On Wed, Feb 22, 2017 at 12:39 PM, Xinxia Song via
RT <
> >> > > > > > met_help at ucar.edu
> >> > > > > > >> >
> >> > > > > > >> > wrote:
> >> > > > > > >> >
> >> > > > > > >> > >
> >> > > > > > >> > > <URL: https://rt.rap.ucar.edu/rt/
> >> > Ticket/Display.html?id=79605
> >> > > >
> >> > > > > > >> > >
> >> > > > > > >> > > Hi Julie,
> >> > > > > > >> > >
> >> > > > > > >> > >
> >> > > > > > >> > > I uploaded the log file under xinxia_data
directory.
> >> > > > > > >> > >
> >> > > > > > >> > >
> >> > > > > > >> > > Thanks,
> >> > > > > > >> > >
> >> > > > > > >> > >
> >> > > > > > >> > > Xinxia
> >> > > > > > >> > >
> >> > > > > > >> > >
> >> > > > > > >> > > ________________________________
> >> > > > > > >> > > From: Julie Prestopnik via RT
<met_help at ucar.edu>
> >> > > > > > >> > > Sent: Thursday, February 23, 2017 9:11:32 AM
> >> > > > > > >> > > To: Xinxia_Song at outlook.com
> >> > > > > > >> > > Subject: Re: [rt.rap.ucar.edu #79605]
ImportError: No
> >> > module
> >> > > > > named
> >> > > > > > >> > > constants_pdef
> >> > > > > > >> > >
> >> > > > > > >> > > Hi Xinxia.
> >> > > > > > >> > >
> >> > > > > > >> > > I think it would be helpful if I could take a
look at
> the
> >> > log
> >> > > > > file.
> >> > > > > > >> > Could
> >> > > > > > >> > > you please upload your file to our anonymous ftp
site
> as
> >> > > follows
> >> > > > > so
> >> > > > > > >> that
> >> > > > > > >> > I
> >> > > > > > >> > > can take a look?
> >> > > > > > >> > >
> >> > > > > > >> > >    http://www.dtcenter.org/met/
> >> > users/support/met_help.php#ftp
> >> > > > > > >> > >
> >> > > > > > >> > > Also, could you please try running the following
> manually
> >> > and
> >> > > > send
> >> > > > > > the
> >> > > > > > >> > > output to me?
> >> > > > > > >> > >
> >> > > > > > >> > > "/D2/xinxia/METplus/MET/met-5.2/bin/tc_stat -job
> filter
> >> > > -lookin
> >> > > > > > >> > > /D2/xinxia/METplus/MET/input/tc_pairs/201412
-init_inc
> >> > > > > 20141201_00
> >> > > > > > >> > > -match_points true -dump_row
> /D2/xinxia/METplus/MET/out/
> >> > > > > > >> > >
extract_tiles/20141201_00/filter_20141201_00.tcst
> >> -basin
> >> > ML
> >> > > > > > >> > > -out_init_mask
> >> > > > > > >> > > /D2/xinxia/METplus/MET/met-5.2
> >> /share/met/poly/CONUS.poly"
> >> > > > > > >> > >
> >> > > > > > >> > > Thank you!
> >> > > > > > >> > >
> >> > > > > > >> > > Julie
> >> > > > > > >> > >
> >> > > > > > >> > >
> >> > > > > > >> > >
> >> > > > > > >> > > On Wed, Feb 22, 2017 at 12:06 PM, Xinxia Song
via RT <
> >> > > > > > >> met_help at ucar.edu>
> >> > > > > > >> > > wrote:
> >> > > > > > >> > >
> >> > > > > > >> > > >
> >> > > > > > >> > > > <URL: https://rt.rap.ucar.edu/rt/
> >> > > Ticket/Display.html?id=79605
> >> > > > >
> >> > > > > > >> > > >
> >> > > > > > >> > > > Hi Julie,
> >> > > > > > >> > > >
> >> > > > > > >> > > >
> >> > > > > > >> > > > Now I can run the program, but when I look at
the log
> >> file
> >> > > in
> >> > > > > the
> >> > > > > > >> > output,
> >> > > > > > >> > > > it shows error below:
> >> > > > > > >> > > >
> >> > > > > > >> > > >
> >> > > > > > >> > > > ERROR| /D2/xinxia/METplus/METplus/
> >> > > ush/run_tc_stat.py:tc_stat
> >> > > > > from
> >> > > > > > >> > > calling
> >> > > > > > >> > > > MET TC-STAT with
command:/D2/xinxia/METplus/MET
> >> > > > > > /met-5.2/bin/tc_stat
> >> > > > > > >> > -job
> >> > > > > > >> > > > filter -lookin /D2/xinxia/METplus/MET/input/
> >> > tc_pairs/201412
> >> > > > > > >> -init_inc
> >> > > > > > >> > > > 20141201_00 -match_points true -dump_row
> >> > > > > > /D2/xinxia/METplus/MET/out/
> >> > > > > > >> > > >
extract_tiles/20141201_00/filter_20141201_00.tcst
> >> -basin
> >> > > ML
> >> > > > > > >> > > > -out_init_mask /D2/xinxia/METplus/MET/met-5.
> >> > > > > > >> > 2/share/met/poly/CONUS.poly
> >> > > > > > >> > > >
> >> > > > > > >> > > >
> >> > > > > > >> > > > How should I fix it?
> >> > > > > > >> > > >
> >> > > > > > >> > > >
> >> > > > > > >> > > > Thanks,
> >> > > > > > >> > > >
> >> > > > > > >> > > >
> >> > > > > > >> > > > Xinxia
> >> > > > > > >> > > >
> >> > > > > > >> > > > ________________________________
> >> > > > > > >> > > > From: Julie Prestopnik via RT
<met_help at ucar.edu>
> >> > > > > > >> > > > Sent: Thursday, February 23, 2017 7:30:06 AM
> >> > > > > > >> > > > To: Xinxia_Song at outlook.com
> >> > > > > > >> > > > Subject: Re: [rt.rap.ucar.edu #79605]
ImportError:
> No
> >> > > module
> >> > > > > > named
> >> > > > > > >> > > > constants_pdef
> >> > > > > > >> > > >
> >> > > > > > >> > > > Hi Xinxia.
> >> > > > > > >> > > >
> >> > > > > > >> > > > I believe that python doesn't know how to find
the
> >> module
> >> > > > > because
> >> > > > > > >> the
> >> > > > > > >> > ush
> >> > > > > > >> > > > directory is not in your PYTHONPATH.  Both the
parm
> and
> >> > ush
> >> > > > > > >> directory
> >> > > > > > >> > > need
> >> > > > > > >> > > > to be specified in your PYTHONPATH.  Please
add the
> ush
> >> > > > > directory
> >> > > > > > to
> >> > > > > > >> > your
> >> > > > > > >> > > > PYTHONPATH, source ~/.bashrc, and let us know
how it
> >> goes.
> >> > > > > > >> > > >
> >> > > > > > >> > > > Thanks,
> >> > > > > > >> > > > Julie
> >> > > > > > >> > > >
> >> > > > > > >> > > > On Wed, Feb 22, 2017 at 10:24 AM, Xinxia Song
via RT
> <
> >> > > > > > >> > met_help at ucar.edu>
> >> > > > > > >> > > > wrote:
> >> > > > > > >> > > >
> >> > > > > > >> > > > >
> >> > > > > > >> > > > > <URL: https://rt.rap.ucar.edu/rt/
> >> > > > Ticket/Display.html?id=79605
> >> > > > > >
> >> > > > > > >> > > > >
> >> > > > > > >> > > > > Hi Julie,
> >> > > > > > >> > > > >
> >> > > > > > >> > > > >
> >> > > > > > >> > > > > Since I don't have setenv, I added these 3
sentence
> >> into
> >> > > my
> >> > > > > > >> .bashrc
> >> > > > > > >> > > file:
> >> > > > > > >> > > > >
> >> > > > > > >> > > > >
> >> > > > > > >> > > > > export PYTHONPATH="/D2/xinxia/
> METplus/METplus/parm"
> >> > > > > > >> > > > >
> >> > > > > > >> > > > >
> >> > > > > > >> > > > > export
USHROOT=/D2/xinxia/METplus/METplus/ush
> >> > > > > > >> > > > >
> >> > > > > > >> > > > > export PATH=$USHROOT:$PATH
> >> > > > > > >> > > > >
> >> > > > > > >> > > > >
> >> > > > > > >> > > > > I sourced the ~/.bashrc, and checked that
the
> >> variables
> >> > > are
> >> > > > > set,
> >> > > > > > >> but
> >> > > > > > >> > > the
> >> > > > > > >> > > > > program still can't find the module.
> >> > > > > > >> > > > >
> >> > > > > > >> > > > >
> >> > > > > > >> > > > > Thanks,
> >> > > > > > >> > > > >
> >> > > > > > >> > > > > Xinxia
> >> > > > > > >> > > > >
> >> > > > > > >> > > > > ________________________________
> >> > > > > > >> > > > > From: Julie Prestopnik via RT
<met_help at ucar.edu>
> >> > > > > > >> > > > > Sent: Thursday, February 23, 2017 6:24:21 AM
> >> > > > > > >> > > > > To: Xinxia_Song at outlook.com
> >> > > > > > >> > > > > Subject: Re: [rt.rap.ucar.edu #79605]
ImportError:
> >> No
> >> > > > module
> >> > > > > > >> named
> >> > > > > > >> > > > > constants_pdef
> >> > > > > > >> > > > >
> >> > > > > > >> > > > > Hi Xinxia.
> >> > > > > > >> > > > >
> >> > > > > > >> > > > > Could you please check to make sure that the
ush
> >> > directory
> >> > > > > with
> >> > > > > > >> > > > > constants_pdef.py is in your PYTHONPATH in
your
> >> .cshrc
> >> > > file
> >> > > > > (or
> >> > > > > > >> > .bashrc
> >> > > > > > >> > > > or
> >> > > > > > >> > > > > similar file)?  The parm directory should
also be
> in
> >> > your
> >> > > > > > >> PYTHONPATH.
> >> > > > > > >> > > > >
> >> > > > > > >> > > > > For example,
> >> > > > > > >> > > > >
> >> > > > > > >> > > > > setenv PYTHONPATH
/d1/jpresto/sbu/METplus/ush:/
> >> > > > > > >> > > > d1/jpresto/sbu/METplus/parm
> >> > > > > > >> > > > >
> >> > > > > > >> > > > > Please also check make sure that the path to
the
> ush
> >> > > > directory
> >> > > > > > is
> >> > > > > > >> > also
> >> > > > > > >> > > > > specified your your path environment
variable.  For
> >> > > example,
> >> > > > > > >> > > > >
> >> > > > > > >> > > > > set path = (/usr/local/bin \
> >> > > > > > >> > > > >
/usr/local/python/bin/python \
> >> > > > > > >> > > > >                  /d1/jpresto/sbu/METplus/ush
)
> >> > > > > > >> > > > >
> >> > > > > > >> > > > > If they are not there, please add them and
then
> >> source
> >> > the
> >> > > > > file
> >> > > > > > >> (e.g.
> >> > > > > > >> > > run
> >> > > > > > >> > > > > "source ~/.cshrc").
> >> > > > > > >> > > > >
> >> > > > > > >> > > > > Thank you!  Please let us know how it goes.
> >> > > > > > >> > > > >
> >> > > > > > >> > > > > Julie
> >> > > > > > >> > > > >
> >> > > > > > >> > > > >
> >> > > > > > >> > > > >
> >> > > > > > >> > > > >
> >> > > > > > >> > > > > On Tue, Feb 21, 2017 at 4:49 PM, Xinxia Song
via
> RT <
> >> > > > > > >> > met_help at ucar.edu
> >> > > > > > >> > > >
> >> > > > > > >> > > > > wrote:
> >> > > > > > >> > > > >
> >> > > > > > >> > > > > >
> >> > > > > > >> > > > > > Tue Feb 21 16:49:28 2017: Request 79605
was acted
> >> > upon.
> >> > > > > > >> > > > > > Transaction: Ticket created by
> >> > Xinxia_Song at outlook.com
> >> > > > > > >> > > > > >        Queue: met_help
> >> > > > > > >> > > > > >      Subject: ImportError: No module named
> >> > > constants_pdef
> >> > > > > > >> > > > > >        Owner: Nobody
> >> > > > > > >> > > > > >   Requestors: Xinxia_Song at outlook.com
> >> > > > > > >> > > > > >       Status: new
> >> > > > > > >> > > > > >  Ticket <URL: https://rt.rap.ucar.edu/rt/
> >> > > > > > >> > > Ticket/Display.html?id=79605
> >> > > > > > >> > > > >
> >> > > > > > >> > > > > >
> >> > > > > > >> > > > > >
> >> > > > > > >> > > > > > Hi,
> >> > > > > > >> > > > > >
> >> > > > > > >> > > > > >
> >> > > > > > >> > > > > > When I ran the mater_met_plus.py, it says:
> >> > > > > > >> > > > > >
> >> > > > > > >> > > > > >
> >> > > > > > >> > > > > > ImportError: No module named
constants_pdef
> >> > > > > > >> > > > > >
> >> > > > > > >> > > > > >
> >> > > > > > >> > > > > > Seems it doesn't recognize constants_pdef
as its
> >> > module.
> >> > > > > > >> > > > > >
> >> > > > > > >> > > > > >
> >> > > > > > >> > > > > > Thanks,
> >> > > > > > >> > > > > >
> >> > > > > > >> > > > > > Xinxia
> >> > > > > > >> > > > > >
> >> > > > > > >> > > > > >
> >> > > > > > >> > > > >
> >> > > > > > >> > > > >
> >> > > > > > >> > > > >
> >> > > > > > >> > > >
> >> > > > > > >> > > >
> >> > > > > > >> > > >
> >> > > > > > >> > >
> >> > > > > > >> > >
> >> > > > > > >> > >
> >> > > > > > >> >
> >> > > > > > >> >
> >> > > > > > >> >
> >> > > > > > >>
> >> > > > > > >>
> >> > > > > > >>
> >> > > > > > >
> >> > > > > >
> >> > > > > >
> >> > > > > >
> >> > > > >
> >> > > > >
> >> > > > >
> >> > > >
> >> > > >
> >> > > >
> >> > >
> >> > >
> >> > >
> >> >
> >> >
> >> >
> >>
> >>
> >>
> >
>
>
>

------------------------------------------------
Subject: ImportError: No module named constants_pdef
From: Xinxia Song
Time: Mon Feb 27 11:17:22 2017

Hi Julie,


I uploaded the constants_pdef.py and master_met_plus.20170226.log.


Thanks,


Xinxia

________________________________
From: Julie Prestopnik via RT <met_help at ucar.edu>
Sent: Tuesday, February 28, 2017 5:46:37 AM
To: Xinxia_Song at outlook.com
Subject: Re: [rt.rap.ucar.edu #79605] ImportError: No module named
constants_pdef

Hi Xinxia.  Can you please upload the configuration file that you used
and
the log file from that run to our ftp server so that we can take a
look?

Thanks!

Julie

On Sun, Feb 26, 2017 at 2:35 PM, Xinxia Song via RT
<met_help at ucar.edu>
wrote:

>
> <URL: https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=79605 >
>
> Hi Julie,
>
>
> I ran the mater_met_plus.py and in the end in the log file it gave
me an
> error:
>
> 2017-02-26 21:30:28,212 : ERROR | [master_met_plus.py:main] |
Problem
> executing: series_by_lead.py
>
>
> Thanks,
>
> Xinxia
>
> ________________________________
> From: Julie Prestopnik via RT <met_help at ucar.edu>
> Sent: Saturday, February 25, 2017 6:49:56 AM
> To: Xinxia_Song at outlook.com
> Subject: Re: [rt.rap.ucar.edu #79605] ImportError: No module named
> constants_pdef
>
> You could also run "tail -f </path/to/logfile/logfile_name>"
replacing
> </path/to/logfile/logfile_name> with the logfile path and name
information
> to see how the run is coming along.  I hope that helps!
>
> Julie
>
> On Fri, Feb 24, 2017 at 9:42 AM, Julie Prestopnik <jpresto at ucar.edu>
> wrote:
>
> > Hi Xinxia.  Running the entire three months of data could
certainly take
> a
> > long time.  I am hoping to get an estimate on how long it took to
run the
> > three month data set here, but have not been able to obtain that
number
> > yet.   It sounds the code was running successfully for you.  If
you're
> > eager to take a lot at some output, I would suggest running a
smaller
> > subset of the data, or perhaps you could set up the whole three
month to
> > run over the weekend.  I would suggest letting the code run to
completion
> > for either a smaller subset or for the entire subset and then
checking
> the
> > log file for errors.  I hope that helps.  Please let me know if
you have
> > any questions or encounter any issues.
> >
> > Thanks,
> > Julie
> >
> >
> > On Thu, Feb 23, 2017 at 4:28 PM, Xinxia Song via RT
<met_help at ucar.edu>
> > wrote:
> >
> >>
> >> <URL: https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=79605 >
> >>
> >> Hi Julie,
> >>
> >>
> >> The version is set to be 2.7+. When I ran master_met_plus.py, it
seems
> it
> >> will run forever. So I killed it, and got the following:
> >>
> >> [xinxia at chaos ush]$ python master_met_plus.py
> >>
> >> ^CTraceback (most recent call last):
> >>
> >>   File "/D2/xinxia/METplus/METplus/ush/extract_tiles.py", line
157, in
> >> <module>
> >>
> >>     main()
> >>
> >>   File "/D2/xinxia/METplus/METplus/ush/extract_tiles.py", line
100, in
> >> main
> >>
> >>     filtered_out_dir)
> >>
> >>   File "/D2/xinxia/METplus/METplus/ush/run_tc_stat.py", line 69,
in
> >> tc_stat
> >>
> >>     tc_stat_out = subprocess.check_output(tc_cmd,
> >> stderr=subprocess.STDOUT, shell=True )
> >>
> >>   File "/home/xinxia/anaconda2/lib/python2.7/subprocess.py", line
213,
> >> in check_output
> >>
> >>     output, unused_err = process.communicate()
> >>
> >>   File "/home/xinxia/anaconda2/lib/python2.7/subprocess.py", line
471,
> >> in communicate
> >>
> >>     stdout = _eintr_retry_call(self.stdout.read)
> >>
> >>   File "/home/xinxia/anaconda2/lib/python2.7/subprocess.py", line
121,
> >> in _eintr_retry_call
> >>
> >>     return func(*args)
> >>
> >> KeyboardInterrupt
> >>
> >>
> >> Thanks,
> >>
> >>
> >> Xinxia
> >>
> >> ________________________________
> >> From: Julie Prestopnik via RT <met_help at ucar.edu>
> >> Sent: Friday, February 24, 2017 12:02:21 PM
> >> To: Xinxia_Song at outlook.com
> >> Subject: Re: [rt.rap.ucar.edu #79605] ImportError: No module
named
> >> constants_pdef
> >>
> >> Hi Xinxia.  I suspect that even though you installed Python 2.7
that
> >> Python
> >> 2.6.6 is still being used.
> >>
> >> Please try running:
> >>
> >> python --version
> >>
> >> on the command line.
> >>
> >> If you see "Python 2..6.6", please add the path for Python 2.7 to
the
> >> front
> >> of your path in your ~/.bashrc file.  Then, source your ~/.bashrc
file
> and
> >> try rerunning
> >>
> >> python --version
> >>
> >> on the command line.  Hopefully, then you will see the new
version.
> Then,
> >> please try rerunning master_met_plus.py.
> >>
> >> I hope this helps!  Thanks!
> >>
> >> Julie
> >>
> >> On Thu, Feb 23, 2017 at 1:51 PM, Xinxia Song via RT
<met_help at ucar.edu>
> >> wrote:
> >>
> >> >
> >> > <URL: https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=79605 >
> >> >
> >> > Hi Julie,
> >> >
> >> >
> >> > I installed myself the 2.7 python, it still got the error when
> running:
> >> >
> >> > Traceback (most recent call last):
> >> >
> >> >   File "/D2/xinxia/METplus/METplus/ush/series_by_lead.py", line
945,
> in
> >> > <module>
> >> >
> >> >     analysis_by_lead_time()
> >> >
> >> >   File "/D2/xinxia/METplus/METplus/ush/series_by_lead.py", line
107,
> in
> >> > analysis_by_lead_time
> >> >
> >> >     util.apply_series_filters(tile_dir, init_times,
> >> > series_lead_filtered_out_dir, p, logger)
> >> >
> >> >   File "/D2/xinxia/METplus/METplus/ush/met_util.py", line 1005,
in
> >> > apply_series_filters
> >> >
> >> >     tcs.tc_stat(p, logger, tc_cmd, series_output_dir)
> >> >
> >> >   File "/D2/xinxia/METplus/METplus/ush/run_tc_stat.py", line
69, in
> >> > tc_stat
> >> >
> >> >     tc_stat_out = subprocess.check_output(tc_cmd,
> >> > stderr=subprocess.STDOUT, shell=True )
> >> >
> >> > AttributeError: 'module' object has no attribute 'check_output'
> >> >
> >> >
> >> > Thanks,
> >> >
> >> >
> >> > Xinxia
> >> >
> >> > ________________________________
> >> > From: Julie Prestopnik via RT <met_help at ucar.edu>
> >> > Sent: Friday, February 24, 2017 9:37:53 AM
> >> > To: Xinxia_Song at outlook.com
> >> > Subject: Re: [rt.rap.ucar.edu #79605] ImportError: No module
named
> >> > constants_pdef
> >> >
> >> > Can you please tell me which version of Python you are using?
> >> check_output
> >> > for subprocess was introduced in Python 2.7.    Do you have
access to
> >> > Python version 2.7 or higher?
> >> >
> >> > Thanks,
> >> > Julie
> >> >
> >> > On Thu, Feb 23, 2017 at 12:11 PM, Xinxia Song via RT <
> met_help at ucar.edu
> >> >
> >> > wrote:
> >> >
> >> > >
> >> > > <URL: https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=79605
>
> >> > >
> >> > > Hi Julie,
> >> > >
> >> > >
> >> > > I added it to the $PATH and ran the master_met_python.py:
> >> > >
> >> > > [xinxia at chaos ush]$ python master_met_plus.py
> >> > >
> >> > > Traceback (most recent call last):
> >> > >
> >> > >   File "/D2/xinxia/METplus/METplus/ush/extract_tiles.py",
line 157,
> >> in
> >> > > <module>
> >> > >
> >> > >     main()
> >> > >
> >> > >   File "/D2/xinxia/METplus/METplus/ush/extract_tiles.py",
line 100,
> >> in
> >> > > main
> >> > >
> >> > >     filtered_out_dir)
> >> > >
> >> > >   File "/D2/xinxia/METplus/METplus/ush/run_tc_stat.py", line
69, in
> >> > > tc_stat
> >> > >
> >> > >     tc_stat_out = subprocess.check_output(tc_cmd,
> >> > > stderr=subprocess.STDOUT, shell=True )
> >> > >
> >> > > AttributeError: 'module' object has no attribute
'check_output'
> >> > >
> >> > >
> >> > > Thanks,
> >> > >
> >> > >
> >> > > Xinxia
> >> > >
> >> > > ________________________________
> >> > > From: Julie Prestopnik via RT <met_help at ucar.edu>
> >> > > Sent: Friday, February 24, 2017 9:07:40 AM
> >> > > To: Xinxia_Song at outlook.com
> >> > > Subject: Re: [rt.rap.ucar.edu #79605] ImportError: No module
named
> >> > > constants_pdef
> >> > >
> >> > > Unfortunately, your environment does not know where to find
> >> > > run_tc_pairs.py.  Please try adding the directory with
> run_tc_pairs.py
> >> > > (/D2/xinxia/METplus/METplus/ush) to your path in your
~/.bashrc
> file,
> >> > then
> >> > > run "source ~/.bashrc", then trying rerunning.  Please let me
know
> how
> >> > that
> >> > > goes.
> >> > >
> >> > > Thanks!
> >> > >
> >> > > Julie
> >> > >
> >> > > On Thu, Feb 23, 2017 at 11:55 AM, Xinxia Song via RT <
> >> met_help at ucar.edu>
> >> > > wrote:
> >> > >
> >> > > >
> >> > > > <URL:
https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=79605 >
> >> > > >
> >> > > > Hi Julie,
> >> > > >
> >> > > >
> >> > > > I'm running met in a machine that's owned by our
department, I
> don't
> >> > have
> >> > > > sudo right, so when I type which run_tc_pairs.py, it says
couldn't
> >> find
> >> > > it.
> >> > > >
> >> > > > no run_tc_pairs.py in (/opt/ncl/bin:/opt/intel-soft/
> >> > > > bin:/opt/ncl/bin:/opt/ncl/bin:/opt/intel-soft/bin:/opt/ncl/
> >> > > > bin:/home/xinxia/anaconda/bin:/home/xinxia/anaconda/bin:/
> >> > > > opt/ncl/bin:/opt/intel-soft/bin:/opt/ncl/bin:/usr/lib64/
> >> > > > qt-3.3/bin:/usr/local/bin:/bin:/usr/bin:/usr/local/sbin:/
> >> > > > usr/sbin:/sbin:/sbin:/usr/sbin:/cm/local/apps/
> >> > > environment-modules/3.2.10/
> >> > > > bin:/home/xinxia/bin:/opt/ncl-621/bin)
> >> > > >
> >> > > >
> >> > > > But I could find it manually in that directory.
> >> > > >
> >> > > >
> >> > > > Thanks,
> >> > > >
> >> > > >
> >> > > > Xinxia
> >> > > >
> >> > > > ________________________________
> >> > > > From: Julie Prestopnik via RT <met_help at ucar.edu>
> >> > > > Sent: Friday, February 24, 2017 8:52:16 AM
> >> > > > To: Xinxia_Song at outlook.com
> >> > > > Subject: Re: [rt.rap.ucar.edu #79605] ImportError: No
module
> named
> >> > > > constants_pdef
> >> > > >
> >> > > > Hi Xinxia.
> >> > > >
> >> > > > It looks like you got a successful run of tc_stat - that's
great
> >> news!
> >> > > >
> >> > > > I'm not sure what you mean by "Because I don't have the
right, I
> >> can't
> >> > > find
> >> > > > run_tc_pairs.py, but I know it's under
> >> > > >
> >> > > > /D2/xinxia/METplus/METplus/ush".
> >> > > >
> >> > > > Can you please explain?  What happened when you ran "which
> >> > > > run_tc_pairs.py"?
> >> > > >
> >> > > > Thanks,
> >> > > > Julie
> >> > > >
> >> > > >
> >> > > >
> >> > > >
> >> > > >
> >> > > >
> >> > > > On Thu, Feb 23, 2017 at 11:44 AM, Xinxia Song via RT <
> >> > met_help at ucar.edu>
> >> > > > wrote:
> >> > > >
> >> > > > >
> >> > > > > <URL:
https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=79605 >
> >> > > > >
> >> > > > > Hi Julie,
> >> > > > >
> >> > > > >
> >> > > > > I removed the space.
> >> > > > >
> >> > > > > [xinxia at chaos parm]$ /D2/xinxia/METplus/MET/met-
5.2/bin/tc_stat
> >> -job
> >> > > > > filter -lookin
/D2/xinxia/METplus/MET/input/tc_pairs/201412
> >> > -init_inc
> >> > > > > 20141201_00 -match_points true -dump_row
> >> /D2/xinxia/METplus/MET/out/
> >> > > > > extract_tiles/20141201_00/filter_20141201_00.tcst  -basin
ML
> >> > > > > -out_init_mask /D2/xinxia/METplus/MET/met-5.
> >> > > 2/share/met/poly/CONUS.poly
> >> > > > >
> >> > > > > DEBUG 1: [Source 1] Lookin: /D2/xinxia/METplus/MET/input/
> >> > > tc_pairs/201412
> >> > > > >
> >> > > > > DEBUG 2:
> >> > > > >
> >> > > > > DEBUG 2: Processing Job 1: -job filter -basin ML
-init_inc
> >> > > > 20141201_000000
> >> > > > > -match_points true -out_init_mask
/D2/xinxia/METplus/MET/met-5.
> >> > > > 2/share/met/poly/CONUS.poly
> >> > > > > -dump_row
/D2/xinxia/METplus/MET/out/extract_tiles/20141201_00/
> >> > > > > filter_20141201_00.tcst
> >> > > > >
> >> > > > > DEBUG 1: Creating output dump file:
/D2/xinxia/METplus/MET/out/
> >> > > > > extract_tiles/20141201_00/filter_20141201_00.tcst
> >> > > > >
> >> > > > > FILTER: -job filter -basin ML -init_inc 20141201_000000
> >> -match_points
> >> > > > true
> >> > > > > -out_init_mask /D2/xinxia/METplus/MET/met-5.
> >> > > 2/share/met/poly/CONUS.poly
> >> > > > > -dump_row
/D2/xinxia/METplus/MET/out/extract_tiles/20141201_00/
> >> > > > > filter_20141201_00.tcst
> >> > > > >
> >> > > > >
> >> > > > > DEBUG 2: Job 1 used 0 out of 27292 lines read.
> >> > > > >
> >> > > > >
> >> > > > > Because I don't have the right, I can't find
run_tc_pairs.py,
> but
> >> I
> >> > > know
> >> > > > > it's under
> >> > > > >
> >> > > > > /D2/xinxia/METplus/METplus/ush
> >> > > > >
> >> > > > >
> >> > > > > For Python,
> >> > > > >
> >> > > > > [xinxia at chaos ~]$ which python
> >> > > > >
> >> > > > > /usr/bin/python
> >> > > > >
> >> > > > >
> >> > > > > Xinxia
> >> > > > >
> >> > > > > ________________________________
> >> > > > > From: Julie Prestopnik via RT <met_help at ucar.edu>
> >> > > > > Sent: Friday, February 24, 2017 8:30:01 AM
> >> > > > > To: Xinxia_Song at outlook.com
> >> > > > > Subject: Re: [rt.rap.ucar.edu #79605] ImportError: No
module
> >> named
> >> > > > > constants_pdef
> >> > > > >
> >> > > > > Hi Xinxia.
> >> > > > >
> >> > > > > It looks like there is a space where there should not be
a space
> >> > > (between
> >> > > > > /D2/xinxia/METplus/MET/out/extract_tiles/20141201_00/ and
> >> > > > > filter_20141201_00.tcst after the -dump_row option).
> >> > > > >
> >> > > > > Could you please try it again without the space?
> >> > > > >
> >> > > > > /D2/xinxia/METplus/METplus/ush/run_tc_stat.py:tc_stat
from
> >> calling
> >> > MET
> >> > > > > TC-STAT with command:/D2/xinxia/METplus/MET/met-
5.2/bin/tc_stat
> >> -job
> >> > > > > filter
> >> > > > > -lookin /D2/xinxia/METplus/MET/input/tc_pairs/201412
-init_inc
> >> > > > 20141201_00
> >> > > > > -match_points true -dump_row /D2/xinxia/METplus/MET/out/
> >> > > > > extract_tiles/20141201_00/filter_20141201_00.tcst  -basin
ML
> >> > > > > -out_init_mask
> >> > > > > /D2/xinxia/METplus/MET/met-5.2/share/met/poly/CONUS.poly
> >> > > > >
> >> > > > > Regarding the master_met_plus.py run, please try running
the
> >> > following
> >> > > > two
> >> > > > > commands and send me the output:
> >> > > > >
> >> > > > > which run_tc_pairs.py
> >> > > > >
> >> > > > > which python
> >> > > > >
> >> > > > > Thanks!
> >> > > > >
> >> > > > > Julie
> >> > > > >
> >> > > > > On Thu, Feb 23, 2017 at 11:06 AM, Xinxia Song via RT <
> >> > > met_help at ucar.edu>
> >> > > > > wrote:
> >> > > > >
> >> > > > > >
> >> > > > > > <URL:
https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=79605
> >
> >> > > > > >
> >> > > > > > Hi Julie,
> >> > > > > >
> >> > > > > >
> >> > > > > > After I ran the long one line command:
> >> > > > > >
> >> > > > > > [xinxia at chaos parm]$ /D2/xinxia/METplus/MET/met-5.
> 2/bin/tc_stat
> >> > -job
> >> > > > > > filter -lookin
/D2/xinxia/METplus/MET/input/tc_pairs/201412
> >> > > -init_inc
> >> > > > > > 20141201_00 -match_points true -dump_row
> >> > /D2/xinxia/METplus/MET/out/
> >> > > > > extract_tiles/20141201_00/
> >> > > > > > filter_20141201_00.tcst  -basin ML -out_init_mask
> >> > > > > > /D2/xinxia/METplus/MET/met-
5.2/share/met/poly/CONUS.poly
> >> > > > > >
> >> > > > > >
> >> > > > > > DEBUG 1: [Source 1] Lookin:
/D2/xinxia/METplus/MET/input/
> >> > > > tc_pairs/201412
> >> > > > > >
> >> > > > > > ERROR  :
> >> > > > > >
> >> > > > > > ERROR  : TCStatJob
*TCStatJobFactory::new_tc_stat_job(const
> >> char
> >> > > > > > *jobstring) -> unsupported job command options
> >> > > > "filter_20141201_00.tcst".
> >> > > > > >
> >> > > > > > ERROR  :
> >> > > > > >
> >> > > > > >
> >> > > > > > And for the master_met_plus.py, I got the error:
> >> > > > > >
> >> > > > > > [xinxia at chaos ush]$ python master_met_plus.py
> >> > > > > >
> >> > > > > > sh: run_tc_pairs.py: command not found
> >> > > > > >
> >> > > > > >
> >> > > > > > Thanks,
> >> > > > > >
> >> > > > > >
> >> > > > > > Xinxia
> >> > > > > >
> >> > > > > > ________________________________
> >> > > > > > From: Julie Prestopnik via RT <met_help at ucar.edu>
> >> > > > > > Sent: Friday, February 24, 2017 7:42:21 AM
> >> > > > > > To: Xinxia_Song at outlook.com
> >> > > > > > Subject: Re: [rt.rap.ucar.edu #79605] ImportError: No
module
> >> named
> >> > > > > > constants_pdef
> >> > > > > >
> >> > > > > > My apologies, my response should have said, "By
default, MET
> >> > version
> >> > > > 5.2
> >> > > > > is
> >> > > > > > compiled using dynamic linking."  It's true for both,
but I
> see
> >> > > you're
> >> > > > > > using 5.2 and I inadvertently referred to 5.1.
> >> > > > > >
> >> > > > > > On Thu, Feb 23, 2017 at 10:40 AM, Julie Prestopnik <
> >> > jpresto at ucar.edu
> >> > > >
> >> > > > > > wrote:
> >> > > > > >
> >> > > > > > > Hi Xinxia.  Regarding the error:
> >> > > > > > >
> >> > > > > > > /D2/xinxia/METplus/MET/met-5.2/bin/tc_stat: error
while
> >> loading
> >> > > > shared
> >> > > > > > > libraries: libgsl.so.19: cannot open shared object
file: No
> >> such
> >> > > file
> >> > > > > or
> >> > > > > > > directory
> >> > > > > > >
> >> > > > > > > By default, MET version 5.1 is compiled using dynamic
> linking.
> >> > > > Rather
> >> > > > > > > than compiling the external library code in with the
MET
> >> > > executables
> >> > > > > > (which
> >> > > > > > > is
> >> > > > > > > called static linking), it looks for them at runtime.
And
> >> it's
> >> > > > looking
> >> > > > > > > for those "shared object" (.so) library files.
> >> > > > > > >
> >> > > > > > > This should be easy to fix. We just need to tell it
where to
> >> find
> >> > > > them,
> >> > > > > > > and we do that by setting (or adding to the
> LD_LIBRARY_PATH).
> >> > Look
> >> > > > in
> >> > > > > > your
> >> > > > > > > ~/.bashrc file.  If LD_LIBRARY_PATH is already
defined in
> >> there,
> >> > > add
> >> > > > > the
> >> > > > > > > path to the libgsl.so.19 to the end of it.  If not,
add an
> >> > > > > > > LD_LIBRARY_PATH entry in your ~/.bashrc file.  So,
for
> >> example,
> >> > if
> >> > > > the
> >> > > > > > path
> >> > > > > > > to your libgsl.so.19 file is
/D2/xinxia/METplus/MET/externa
> >> > > > > > l_libs/GSL/gsl-1.16/lib
> >> > > > > > > you would add teh following to your ~/.bashrc file:
> >> > > > > > >
> >> > > > > > >   export LD_LIBRARY_PATH=/D2/xinxia/
> >> > METplus/MET/external_libs/GSL/
> >> > > > > > > gsl-1.16/lib
> >> > > > > > >
> >> > > > > > > Then save the change and source that file:
> >> > > > > > >
> >> > > > > > >   source ~/.bashrc
> >> > > > > > >
> >> > > > > > > Then, please try rerunning the command manually and
let me
> >> know
> >> > if
> >> > > it
> >> > > > > > > works.
> >> > > > > > >
> >> > > > > > > I believe that this was the cause of the initial
error you
> >> > received
> >> > > > > from
> >> > > > > > > MET+:
> >> > > > > > >
> >> > > > > > > ERROR| /D2/xinxia/METplus/METplus/
> ush/run_tc_stat.py:tc_stat
> >> > from
> >> > > > > > calling
> >> > > > > > > MET TC-STAT with command:/D2/xinxia/METplus/
> >> > > MET/met-5.2/bin/tc_stat
> >> > > > > -job
> >> > > > > > > filter -lookin
/D2/xinxia/METplus/MET/input/tc_pairs/201412
> >> > > > -init_inc
> >> > > > > > > 20141201_00 -match_points true -dump_row
> >> > > > /D2/xinxia/METplus/MET/out/ext
> >> > > > > > > ract_tiles/20141201_00/filter_20141201_00.tcst
-basin ML
> >> > > > > -out_init_mask
> >> > > > > > > /D2/xinxia/METplus/MET/met-
5.2/share/met/poly/CONUS.poly
> >> > > > > > >
> >> > > > > > >
> >> > > > > > > Thanks,
> >> > > > > > > Julie
> >> > > > > > >
> >> > > > > > > On Thu, Feb 23, 2017 at 10:14 AM, Xinxia Song via RT
<
> >> > > > > met_help at ucar.edu>
> >> > > > > > > wrote:
> >> > > > > > >
> >> > > > > > >>
> >> > > > > > >> <URL: https://rt.rap.ucar.edu/rt/Tic
> >> ket/Display.html?id=79605 >
> >> > > > > > >>
> >> > > > > > >> Hi Julie,
> >> > > > > > >>
> >> > > > > > >>
> >> > > > > > >> [xinxia at chaos ush]$ /D2/xinxia/METplus/MET/met-5.2
> >> /bin/tc_stat
> >> > > -job
> >> > > > > > >> filter -lookin /D2/xinxia/METplus/MET/input/
> tc_pairs/201412
> >> > > > -init_inc
> >> > > > > > >> 20141201_00 -match_points true -dump_row
> >> > > > > /D2/xinxia/METplus/MET/out/ext
> >> > > > > > ract_tiles/20141201_00/
> >> > > > > > >> filter_20141201_00.tcst  -basin ML -out_init_mask
> >> > > > > > >> /D2/xinxia/METplus/MET/met-
5.2/share/met/poly/CONUS.poly
> >> > > > > > >>
> >> > > > > > >> /D2/xinxia/METplus/MET/met-5.2/bin/tc_stat: error
while
> >> loading
> >> > > > > shared
> >> > > > > > >> libraries: libgsl.so.19: cannot open shared object
file: No
> >> such
> >> > > > file
> >> > > > > or
> >> > > > > > >> directory
> >> > > > > > >>
> >> > > > > > >>
> >> > > > > > >> And I uploaded the configuration file
(constants_pdef.py)
> >> under
> >> > > > > > >> xinxia_data directory.
> >> > > > > > >>
> >> > > > > > >>
> >> > > > > > >> Thanks,
> >> > > > > > >>
> >> > > > > > >>
> >> > > > > > >> Xinxia
> >> > > > > > >>
> >> > > > > > >> ________________________________
> >> > > > > > >> From: Julie Prestopnik via RT <met_help at ucar.edu>
> >> > > > > > >> Sent: Friday, February 24, 2017 6:15:57 AM
> >> > > > > > >> To: Xinxia_Song at outlook.com
> >> > > > > > >> Subject: Re: [rt.rap.ucar.edu #79605] ImportError:
No
> module
> >> > > named
> >> > > > > > >> constants_pdef
> >> > > > > > >>
> >> > > > > > >> Hi Xinxia.
> >> > > > > > >>
> >> > > > > > >> I can see that your command, which should have been
all on
> >> one
> >> > > line,
> >> > > > > was
> >> > > > > > >> broken up into several lines.  Please try running
the
> command
> >> > > again,
> >> > > > > > >> making
> >> > > > > > >> sure that the entire command is on one line:
> >> > > > > > >>
> >> > > > > > >> /D2/xinxia/METplus/MET/met-5.2/bin/tc_stat -job
filter
> >> -lookin
> >> > > > > > >> /D2/xinxia/METplus/MET/input/tc_pairs/201412
-init_inc
> >> > > 20141201_00
> >> > > > > > >> -match_points true -dump_row
> >> > > > > > >>
/D2/xinxia/METplus/MET/out/extract_tiles/20141201_00/
> >> > > > > > >> filter_20141201_00.tcst  -basin ML -out_init_mask
> >> > > > > > >> /D2/xinxia/METplus/MET/met-
5.2/share/met/poly/CONUS.poly
> >> > > > > > >>
> >> > > > > > >> Then, please send the output from that command.
> >> > > > > > >>
> >> > > > > > >> Regarding, your error:
> >> > > > > > >>
> >> > > > > > >> sh: run_tc_pairs.py: command not found
> >> > > > > > >>
> >> > > > > > >> It's strange that would only have occurred after
having
> >> changed
> >> > > the
> >> > > > > > >> LOG_LEVEL.  Could you please send us your
configuration
> file?
> >> > > > > > >>
> >> > > > > > >> Thanks!
> >> > > > > > >>
> >> > > > > > >> Julie
> >> > > > > > >>
> >> > > > > > >> On Wed, Feb 22, 2017 at 2:54 PM, Xinxia Song via RT
<
> >> > > > > met_help at ucar.edu>
> >> > > > > > >> wrote:
> >> > > > > > >>
> >> > > > > > >> >
> >> > > > > > >> > <URL: https://rt.rap.ucar.edu/rt/Tic
> >> ket/Display.html?id=79605
> >> > >
> >> > > > > > >> >
> >> > > > > > >> > Hi Julie,
> >> > > > > > >> >
> >> > > > > > >> >
> >> > > > > > >> > [xinxia at chaos ush]$ /D2/xinxia/METplus/MET/met-5.
> >> > 2/bin/tc_stat
> >> > > > -job
> >> > > > > > >> > filter -lookin
> >> > > > > > >> >
> >> > > > > > >> > /D2/xinxia/METplus/MET/met-5.2/bin/tc_stat: error
while
> >> > loading
> >> > > > > > shared
> >> > > > > > >> > libraries: libgsl.so.19: cannot open shared object
file:
> No
> >> > such
> >> > > > > file
> >> > > > > > or
> >> > > > > > >> > directory
> >> > > > > > >> >
> >> > > > > > >> >
> >> > > > > > >> > [xinxia at chaos ush]$ /D2/xinxia/METplus/MET/input/
> >> > > tc_pairs/201412
> >> > > > > > >> > -init_inc 20141201_00 -match_points true -dump_row
> >> > > > > > >> >
> >> > > > > > >> > -bash:
/D2/xinxia/METplus/MET/input/tc_pairs/201412: is
> a
> >> > > > directory
> >> > > > > > >> >
> >> > > > > > >> >
> >> > > > > > >> > [xinxia at chaos ush]$ /D2/xinxia/METplus/MET/out/ext
> >> > > > > > >> ract_tiles/20141201_00/
> >> > > > > > >> > filter_20141201_00.tcst  -basin ML -out_init_mask
> >> > > > > > >> > /D2/xinxia/METplus/MET/met-
5.2/share/met/poly/CONUS.poly
> >> > > > > > >> >
> >> > > > > > >> > -bash: /D2/xinxia/METplus/MET/out/ext
> >> ract_tiles/20141201_00/:
> >> > > No
> >> > > > > such
> >> > > > > > >> > file or directory
> >> > > > > > >> >
> >> > > > > > >> >
> >> > > > > > >> > After I change the LOG_LEVEL, I ran the
> >> master_met_plus.py, it
> >> > > > says:
> >> > > > > > >> >
> >> > > > > > >> > [xinxia at chaos ush]$ python master_met_plus.py
> >> > > > > > >> >
> >> > > > > > >> > sh: run_tc_pairs.py: command not found
> >> > > > > > >> >
> >> > > > > > >> >
> >> > > > > > >> >
> >> > > > > > >> > Thanks,
> >> > > > > > >> >
> >> > > > > > >> >
> >> > > > > > >> > Xinxia
> >> > > > > > >> >
> >> > > > > > >> >
> >> > > > > > >> > ________________________________
> >> > > > > > >> > From: Julie Prestopnik via RT <met_help at ucar.edu>
> >> > > > > > >> > Sent: Thursday, February 23, 2017 10:04:55 AM
> >> > > > > > >> > To: Xinxia_Song at outlook.com
> >> > > > > > >> > Subject: Re: [rt.rap.ucar.edu #79605] ImportError:
No
> >> module
> >> > > > named
> >> > > > > > >> > constants_pdef
> >> > > > > > >> >
> >> > > > > > >> > Thank you.  Unfortunately, the level of detail in
the log
> >> file
> >> > > > > wasn't
> >> > > > > > >> what
> >> > > > > > >> > I hoped for.  I'd like to have you try two things.
> >> > > > > > >> >
> >> > > > > > >> > First, could you please send me your output of
your
> manual
> >> run
> >> > > of
> >> > > > > the
> >> > > > > > >> > following?
> >> > > > > > >> >
> >> > > > > > >> > "/D2/xinxia/METplus/MET/met-5.2/bin/tc_stat -job
filter
> >> > -lookin
> >> > > > > > >> > /D2/xinxia/METplus/MET/input/tc_pairs/201412
-init_inc
> >> > > > 20141201_00
> >> > > > > > >> > -match_points true -dump_row
/D2/xinxia/METplus/MET/out/
> >> > > > > > >> > extract_tiles/20141201_00/ filter_20141201_00.tcst
> -basin
> >> ML
> >> > > > > > >> > -out_init_mask
> >> > > > > > >> > /D2/xinxia/METplus/MET/met-5.
> 2/share/met/poly/CONUS.poly"
> >> > > > > > >> >
> >> > > > > > >> > Second, could you please change your log level in
your
> >> > > > configuration
> >> > > > > > >> file
> >> > > > > > >> > from
> >> > > > > > >> >
> >> > > > > > >> > LOG_LEVEL = "INFO"
> >> > > > > > >> >
> >> > > > > > >> > to
> >> > > > > > >> >
> >> > > > > > >> > LOG_LEVEL = "DEBUG"
> >> > > > > > >> >
> >> > > > > > >> > then rerun and upload your log file to our ftp
server
> >> again?
> >> > > > > > >> >
> >> > > > > > >> > Thank you!
> >> > > > > > >> >
> >> > > > > > >> > Julie
> >> > > > > > >> >
> >> > > > > > >> >
> >> > > > > > >> > On Wed, Feb 22, 2017 at 12:39 PM, Xinxia Song via
RT <
> >> > > > > > met_help at ucar.edu
> >> > > > > > >> >
> >> > > > > > >> > wrote:
> >> > > > > > >> >
> >> > > > > > >> > >
> >> > > > > > >> > > <URL: https://rt.rap.ucar.edu/rt/
> >> > Ticket/Display.html?id=79605
> >> > > >
> >> > > > > > >> > >
> >> > > > > > >> > > Hi Julie,
> >> > > > > > >> > >
> >> > > > > > >> > >
> >> > > > > > >> > > I uploaded the log file under xinxia_data
directory.
> >> > > > > > >> > >
> >> > > > > > >> > >
> >> > > > > > >> > > Thanks,
> >> > > > > > >> > >
> >> > > > > > >> > >
> >> > > > > > >> > > Xinxia
> >> > > > > > >> > >
> >> > > > > > >> > >
> >> > > > > > >> > > ________________________________
> >> > > > > > >> > > From: Julie Prestopnik via RT
<met_help at ucar.edu>
> >> > > > > > >> > > Sent: Thursday, February 23, 2017 9:11:32 AM
> >> > > > > > >> > > To: Xinxia_Song at outlook.com
> >> > > > > > >> > > Subject: Re: [rt.rap.ucar.edu #79605]
ImportError: No
> >> > module
> >> > > > > named
> >> > > > > > >> > > constants_pdef
> >> > > > > > >> > >
> >> > > > > > >> > > Hi Xinxia.
> >> > > > > > >> > >
> >> > > > > > >> > > I think it would be helpful if I could take a
look at
> the
> >> > log
> >> > > > > file.
> >> > > > > > >> > Could
> >> > > > > > >> > > you please upload your file to our anonymous ftp
site
> as
> >> > > follows
> >> > > > > so
> >> > > > > > >> that
> >> > > > > > >> > I
> >> > > > > > >> > > can take a look?
> >> > > > > > >> > >
> >> > > > > > >> > >    http://www.dtcenter.org/met/
> >> > users/support/met_help.php#ftp
> >> > > > > > >> > >
> >> > > > > > >> > > Also, could you please try running the following
> manually
> >> > and
> >> > > > send
> >> > > > > > the
> >> > > > > > >> > > output to me?
> >> > > > > > >> > >
> >> > > > > > >> > > "/D2/xinxia/METplus/MET/met-5.2/bin/tc_stat -job
> filter
> >> > > -lookin
> >> > > > > > >> > > /D2/xinxia/METplus/MET/input/tc_pairs/201412
-init_inc
> >> > > > > 20141201_00
> >> > > > > > >> > > -match_points true -dump_row
> /D2/xinxia/METplus/MET/out/
> >> > > > > > >> > >
extract_tiles/20141201_00/filter_20141201_00.tcst
> >> -basin
> >> > ML
> >> > > > > > >> > > -out_init_mask
> >> > > > > > >> > > /D2/xinxia/METplus/MET/met-5.2
> >> /share/met/poly/CONUS.poly"
> >> > > > > > >> > >
> >> > > > > > >> > > Thank you!
> >> > > > > > >> > >
> >> > > > > > >> > > Julie
> >> > > > > > >> > >
> >> > > > > > >> > >
> >> > > > > > >> > >
> >> > > > > > >> > > On Wed, Feb 22, 2017 at 12:06 PM, Xinxia Song
via RT <
> >> > > > > > >> met_help at ucar.edu>
> >> > > > > > >> > > wrote:
> >> > > > > > >> > >
> >> > > > > > >> > > >
> >> > > > > > >> > > > <URL: https://rt.rap.ucar.edu/rt/
> >> > > Ticket/Display.html?id=79605
> >> > > > >
> >> > > > > > >> > > >
> >> > > > > > >> > > > Hi Julie,
> >> > > > > > >> > > >
> >> > > > > > >> > > >
> >> > > > > > >> > > > Now I can run the program, but when I look at
the log
> >> file
> >> > > in
> >> > > > > the
> >> > > > > > >> > output,
> >> > > > > > >> > > > it shows error below:
> >> > > > > > >> > > >
> >> > > > > > >> > > >
> >> > > > > > >> > > > ERROR| /D2/xinxia/METplus/METplus/
> >> > > ush/run_tc_stat.py:tc_stat
> >> > > > > from
> >> > > > > > >> > > calling
> >> > > > > > >> > > > MET TC-STAT with
command:/D2/xinxia/METplus/MET
> >> > > > > > /met-5.2/bin/tc_stat
> >> > > > > > >> > -job
> >> > > > > > >> > > > filter -lookin /D2/xinxia/METplus/MET/input/
> >> > tc_pairs/201412
> >> > > > > > >> -init_inc
> >> > > > > > >> > > > 20141201_00 -match_points true -dump_row
> >> > > > > > /D2/xinxia/METplus/MET/out/
> >> > > > > > >> > > >
extract_tiles/20141201_00/filter_20141201_00.tcst
> >> -basin
> >> > > ML
> >> > > > > > >> > > > -out_init_mask /D2/xinxia/METplus/MET/met-5.
> >> > > > > > >> > 2/share/met/poly/CONUS.poly
> >> > > > > > >> > > >
> >> > > > > > >> > > >
> >> > > > > > >> > > > How should I fix it?
> >> > > > > > >> > > >
> >> > > > > > >> > > >
> >> > > > > > >> > > > Thanks,
> >> > > > > > >> > > >
> >> > > > > > >> > > >
> >> > > > > > >> > > > Xinxia
> >> > > > > > >> > > >
> >> > > > > > >> > > > ________________________________
> >> > > > > > >> > > > From: Julie Prestopnik via RT
<met_help at ucar.edu>
> >> > > > > > >> > > > Sent: Thursday, February 23, 2017 7:30:06 AM
> >> > > > > > >> > > > To: Xinxia_Song at outlook.com
> >> > > > > > >> > > > Subject: Re: [rt.rap.ucar.edu #79605]
ImportError:
> No
> >> > > module
> >> > > > > > named
> >> > > > > > >> > > > constants_pdef
> >> > > > > > >> > > >
> >> > > > > > >> > > > Hi Xinxia.
> >> > > > > > >> > > >
> >> > > > > > >> > > > I believe that python doesn't know how to find
the
> >> module
> >> > > > > because
> >> > > > > > >> the
> >> > > > > > >> > ush
> >> > > > > > >> > > > directory is not in your PYTHONPATH.  Both the
parm
> and
> >> > ush
> >> > > > > > >> directory
> >> > > > > > >> > > need
> >> > > > > > >> > > > to be specified in your PYTHONPATH.  Please
add the
> ush
> >> > > > > directory
> >> > > > > > to
> >> > > > > > >> > your
> >> > > > > > >> > > > PYTHONPATH, source ~/.bashrc, and let us know
how it
> >> goes.
> >> > > > > > >> > > >
> >> > > > > > >> > > > Thanks,
> >> > > > > > >> > > > Julie
> >> > > > > > >> > > >
> >> > > > > > >> > > > On Wed, Feb 22, 2017 at 10:24 AM, Xinxia Song
via RT
> <
> >> > > > > > >> > met_help at ucar.edu>
> >> > > > > > >> > > > wrote:
> >> > > > > > >> > > >
> >> > > > > > >> > > > >
> >> > > > > > >> > > > > <URL: https://rt.rap.ucar.edu/rt/
> >> > > > Ticket/Display.html?id=79605
> >> > > > > >
> >> > > > > > >> > > > >
> >> > > > > > >> > > > > Hi Julie,
> >> > > > > > >> > > > >
> >> > > > > > >> > > > >
> >> > > > > > >> > > > > Since I don't have setenv, I added these 3
sentence
> >> into
> >> > > my
> >> > > > > > >> .bashrc
> >> > > > > > >> > > file:
> >> > > > > > >> > > > >
> >> > > > > > >> > > > >
> >> > > > > > >> > > > > export PYTHONPATH="/D2/xinxia/
> METplus/METplus/parm"
> >> > > > > > >> > > > >
> >> > > > > > >> > > > >
> >> > > > > > >> > > > > export
USHROOT=/D2/xinxia/METplus/METplus/ush
> >> > > > > > >> > > > >
> >> > > > > > >> > > > > export PATH=$USHROOT:$PATH
> >> > > > > > >> > > > >
> >> > > > > > >> > > > >
> >> > > > > > >> > > > > I sourced the ~/.bashrc, and checked that
the
> >> variables
> >> > > are
> >> > > > > set,
> >> > > > > > >> but
> >> > > > > > >> > > the
> >> > > > > > >> > > > > program still can't find the module.
> >> > > > > > >> > > > >
> >> > > > > > >> > > > >
> >> > > > > > >> > > > > Thanks,
> >> > > > > > >> > > > >
> >> > > > > > >> > > > > Xinxia
> >> > > > > > >> > > > >
> >> > > > > > >> > > > > ________________________________
> >> > > > > > >> > > > > From: Julie Prestopnik via RT
<met_help at ucar.edu>
> >> > > > > > >> > > > > Sent: Thursday, February 23, 2017 6:24:21 AM
> >> > > > > > >> > > > > To: Xinxia_Song at outlook.com
> >> > > > > > >> > > > > Subject: Re: [rt.rap.ucar.edu #79605]
ImportError:
> >> No
> >> > > > module
> >> > > > > > >> named
> >> > > > > > >> > > > > constants_pdef
> >> > > > > > >> > > > >
> >> > > > > > >> > > > > Hi Xinxia.
> >> > > > > > >> > > > >
> >> > > > > > >> > > > > Could you please check to make sure that the
ush
> >> > directory
> >> > > > > with
> >> > > > > > >> > > > > constants_pdef.py is in your PYTHONPATH in
your
> >> .cshrc
> >> > > file
> >> > > > > (or
> >> > > > > > >> > .bashrc
> >> > > > > > >> > > > or
> >> > > > > > >> > > > > similar file)?  The parm directory should
also be
> in
> >> > your
> >> > > > > > >> PYTHONPATH.
> >> > > > > > >> > > > >
> >> > > > > > >> > > > > For example,
> >> > > > > > >> > > > >
> >> > > > > > >> > > > > setenv PYTHONPATH
/d1/jpresto/sbu/METplus/ush:/
> >> > > > > > >> > > > d1/jpresto/sbu/METplus/parm
> >> > > > > > >> > > > >
> >> > > > > > >> > > > > Please also check make sure that the path to
the
> ush
> >> > > > directory
> >> > > > > > is
> >> > > > > > >> > also
> >> > > > > > >> > > > > specified your your path environment
variable.  For
> >> > > example,
> >> > > > > > >> > > > >
> >> > > > > > >> > > > > set path = (/usr/local/bin \
> >> > > > > > >> > > > >
/usr/local/python/bin/python \
> >> > > > > > >> > > > >                  /d1/jpresto/sbu/METplus/ush
)
> >> > > > > > >> > > > >
> >> > > > > > >> > > > > If they are not there, please add them and
then
> >> source
> >> > the
> >> > > > > file
> >> > > > > > >> (e.g.
> >> > > > > > >> > > run
> >> > > > > > >> > > > > "source ~/.cshrc").
> >> > > > > > >> > > > >
> >> > > > > > >> > > > > Thank you!  Please let us know how it goes.
> >> > > > > > >> > > > >
> >> > > > > > >> > > > > Julie
> >> > > > > > >> > > > >
> >> > > > > > >> > > > >
> >> > > > > > >> > > > >
> >> > > > > > >> > > > >
> >> > > > > > >> > > > > On Tue, Feb 21, 2017 at 4:49 PM, Xinxia Song
via
> RT <
> >> > > > > > >> > met_help at ucar.edu
> >> > > > > > >> > > >
> >> > > > > > >> > > > > wrote:
> >> > > > > > >> > > > >
> >> > > > > > >> > > > > >
> >> > > > > > >> > > > > > Tue Feb 21 16:49:28 2017: Request 79605
was acted
> >> > upon.
> >> > > > > > >> > > > > > Transaction: Ticket created by
> >> > Xinxia_Song at outlook.com
> >> > > > > > >> > > > > >        Queue: met_help
> >> > > > > > >> > > > > >      Subject: ImportError: No module named
> >> > > constants_pdef
> >> > > > > > >> > > > > >        Owner: Nobody
> >> > > > > > >> > > > > >   Requestors: Xinxia_Song at outlook.com
> >> > > > > > >> > > > > >       Status: new
> >> > > > > > >> > > > > >  Ticket <URL: https://rt.rap.ucar.edu/rt/
> >> > > > > > >> > > Ticket/Display.html?id=79605
> >> > > > > > >> > > > >
> >> > > > > > >> > > > > >
> >> > > > > > >> > > > > >
> >> > > > > > >> > > > > > Hi,
> >> > > > > > >> > > > > >
> >> > > > > > >> > > > > >
> >> > > > > > >> > > > > > When I ran the mater_met_plus.py, it says:
> >> > > > > > >> > > > > >
> >> > > > > > >> > > > > >
> >> > > > > > >> > > > > > ImportError: No module named
constants_pdef
> >> > > > > > >> > > > > >
> >> > > > > > >> > > > > >
> >> > > > > > >> > > > > > Seems it doesn't recognize constants_pdef
as its
> >> > module.
> >> > > > > > >> > > > > >
> >> > > > > > >> > > > > >
> >> > > > > > >> > > > > > Thanks,
> >> > > > > > >> > > > > >
> >> > > > > > >> > > > > > Xinxia
> >> > > > > > >> > > > > >
> >> > > > > > >> > > > > >
> >> > > > > > >> > > > >
> >> > > > > > >> > > > >
> >> > > > > > >> > > > >
> >> > > > > > >> > > >
> >> > > > > > >> > > >
> >> > > > > > >> > > >
> >> > > > > > >> > >
> >> > > > > > >> > >
> >> > > > > > >> > >
> >> > > > > > >> >
> >> > > > > > >> >
> >> > > > > > >> >
> >> > > > > > >>
> >> > > > > > >>
> >> > > > > > >>
> >> > > > > > >
> >> > > > > >
> >> > > > > >
> >> > > > > >
> >> > > > >
> >> > > > >
> >> > > > >
> >> > > >
> >> > > >
> >> > > >
> >> > >
> >> > >
> >> > >
> >> >
> >> >
> >> >
> >>
> >>
> >>
> >
>
>
>


------------------------------------------------
Subject: ImportError: No module named constants_pdef
From: Julie Prestopnik
Time: Mon Feb 27 12:18:55 2017

Thank you, Xinxia.

Unfortunately, the "DEBUG" log level did not provide much information
for
this task:

2017-02-26 21:30:28,041 : INFO | [master_met_plus.py:main] | Running:
series_by_lead.py
2017-02-26 21:30:28,212 : ERROR | [master_met_plus.py:main] | Problem
executing: series_by_lead.py

Could you please try running series_by_lead.py in the ush directory?
Please let me know what the output is from that run - it may still be
contained in your log file.

Thanks!

Julie


On Mon, Feb 27, 2017 at 11:17 AM, Xinxia Song via RT
<met_help at ucar.edu>
wrote:

>
> <URL: https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=79605 >
>
> Hi Julie,
>
>
> I uploaded the constants_pdef.py and master_met_plus.20170226.log.
>
>
> Thanks,
>
>
> Xinxia
>
> ________________________________
> From: Julie Prestopnik via RT <met_help at ucar.edu>
> Sent: Tuesday, February 28, 2017 5:46:37 AM
> To: Xinxia_Song at outlook.com
> Subject: Re: [rt.rap.ucar.edu #79605] ImportError: No module named
> constants_pdef
>
> Hi Xinxia.  Can you please upload the configuration file that you
used and
> the log file from that run to our ftp server so that we can take a
look?
>
> Thanks!
>
> Julie
>
> On Sun, Feb 26, 2017 at 2:35 PM, Xinxia Song via RT
<met_help at ucar.edu>
> wrote:
>
> >
> > <URL: https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=79605 >
> >
> > Hi Julie,
> >
> >
> > I ran the mater_met_plus.py and in the end in the log file it gave
me an
> > error:
> >
> > 2017-02-26 21:30:28,212 : ERROR | [master_met_plus.py:main] |
Problem
> > executing: series_by_lead.py
> >
> >
> > Thanks,
> >
> > Xinxia
> >
> > ________________________________
> > From: Julie Prestopnik via RT <met_help at ucar.edu>
> > Sent: Saturday, February 25, 2017 6:49:56 AM
> > To: Xinxia_Song at outlook.com
> > Subject: Re: [rt.rap.ucar.edu #79605] ImportError: No module named
> > constants_pdef
> >
> > You could also run "tail -f </path/to/logfile/logfile_name>"
replacing
> > </path/to/logfile/logfile_name> with the logfile path and name
> information
> > to see how the run is coming along.  I hope that helps!
> >
> > Julie
> >
> > On Fri, Feb 24, 2017 at 9:42 AM, Julie Prestopnik
<jpresto at ucar.edu>
> > wrote:
> >
> > > Hi Xinxia.  Running the entire three months of data could
certainly
> take
> > a
> > > long time.  I am hoping to get an estimate on how long it took
to run
> the
> > > three month data set here, but have not been able to obtain that
number
> > > yet.   It sounds the code was running successfully for you.  If
you're
> > > eager to take a lot at some output, I would suggest running a
smaller
> > > subset of the data, or perhaps you could set up the whole three
month
> to
> > > run over the weekend.  I would suggest letting the code run to
> completion
> > > for either a smaller subset or for the entire subset and then
checking
> > the
> > > log file for errors.  I hope that helps.  Please let me know if
you
> have
> > > any questions or encounter any issues.
> > >
> > > Thanks,
> > > Julie
> > >
> > >
> > > On Thu, Feb 23, 2017 at 4:28 PM, Xinxia Song via RT
<met_help at ucar.edu
> >
> > > wrote:
> > >
> > >>
> > >> <URL: https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=79605 >
> > >>
> > >> Hi Julie,
> > >>
> > >>
> > >> The version is set to be 2.7+. When I ran master_met_plus.py,
it seems
> > it
> > >> will run forever. So I killed it, and got the following:
> > >>
> > >> [xinxia at chaos ush]$ python master_met_plus.py
> > >>
> > >> ^CTraceback (most recent call last):
> > >>
> > >>   File "/D2/xinxia/METplus/METplus/ush/extract_tiles.py", line
157,
> in
> > >> <module>
> > >>
> > >>     main()
> > >>
> > >>   File "/D2/xinxia/METplus/METplus/ush/extract_tiles.py", line
100,
> in
> > >> main
> > >>
> > >>     filtered_out_dir)
> > >>
> > >>   File "/D2/xinxia/METplus/METplus/ush/run_tc_stat.py", line
69, in
> > >> tc_stat
> > >>
> > >>     tc_stat_out = subprocess.check_output(tc_cmd,
> > >> stderr=subprocess.STDOUT, shell=True )
> > >>
> > >>   File "/home/xinxia/anaconda2/lib/python2.7/subprocess.py",
line
> 213,
> > >> in check_output
> > >>
> > >>     output, unused_err = process.communicate()
> > >>
> > >>   File "/home/xinxia/anaconda2/lib/python2.7/subprocess.py",
line
> 471,
> > >> in communicate
> > >>
> > >>     stdout = _eintr_retry_call(self.stdout.read)
> > >>
> > >>   File "/home/xinxia/anaconda2/lib/python2.7/subprocess.py",
line
> 121,
> > >> in _eintr_retry_call
> > >>
> > >>     return func(*args)
> > >>
> > >> KeyboardInterrupt
> > >>
> > >>
> > >> Thanks,
> > >>
> > >>
> > >> Xinxia
> > >>
> > >> ________________________________
> > >> From: Julie Prestopnik via RT <met_help at ucar.edu>
> > >> Sent: Friday, February 24, 2017 12:02:21 PM
> > >> To: Xinxia_Song at outlook.com
> > >> Subject: Re: [rt.rap.ucar.edu #79605] ImportError: No module
named
> > >> constants_pdef
> > >>
> > >> Hi Xinxia.  I suspect that even though you installed Python 2.7
that
> > >> Python
> > >> 2.6.6 is still being used.
> > >>
> > >> Please try running:
> > >>
> > >> python --version
> > >>
> > >> on the command line.
> > >>
> > >> If you see "Python 2..6.6", please add the path for Python 2.7
to the
> > >> front
> > >> of your path in your ~/.bashrc file.  Then, source your
~/.bashrc file
> > and
> > >> try rerunning
> > >>
> > >> python --version
> > >>
> > >> on the command line.  Hopefully, then you will see the new
version.
> > Then,
> > >> please try rerunning master_met_plus.py.
> > >>
> > >> I hope this helps!  Thanks!
> > >>
> > >> Julie
> > >>
> > >> On Thu, Feb 23, 2017 at 1:51 PM, Xinxia Song via RT <
> met_help at ucar.edu>
> > >> wrote:
> > >>
> > >> >
> > >> > <URL: https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=79605
>
> > >> >
> > >> > Hi Julie,
> > >> >
> > >> >
> > >> > I installed myself the 2.7 python, it still got the error
when
> > running:
> > >> >
> > >> > Traceback (most recent call last):
> > >> >
> > >> >   File "/D2/xinxia/METplus/METplus/ush/series_by_lead.py",
line
> 945,
> > in
> > >> > <module>
> > >> >
> > >> >     analysis_by_lead_time()
> > >> >
> > >> >   File "/D2/xinxia/METplus/METplus/ush/series_by_lead.py",
line
> 107,
> > in
> > >> > analysis_by_lead_time
> > >> >
> > >> >     util.apply_series_filters(tile_dir, init_times,
> > >> > series_lead_filtered_out_dir, p, logger)
> > >> >
> > >> >   File "/D2/xinxia/METplus/METplus/ush/met_util.py", line
1005, in
> > >> > apply_series_filters
> > >> >
> > >> >     tcs.tc_stat(p, logger, tc_cmd, series_output_dir)
> > >> >
> > >> >   File "/D2/xinxia/METplus/METplus/ush/run_tc_stat.py", line
69, in
> > >> > tc_stat
> > >> >
> > >> >     tc_stat_out = subprocess.check_output(tc_cmd,
> > >> > stderr=subprocess.STDOUT, shell=True )
> > >> >
> > >> > AttributeError: 'module' object has no attribute
'check_output'
> > >> >
> > >> >
> > >> > Thanks,
> > >> >
> > >> >
> > >> > Xinxia
> > >> >
> > >> > ________________________________
> > >> > From: Julie Prestopnik via RT <met_help at ucar.edu>
> > >> > Sent: Friday, February 24, 2017 9:37:53 AM
> > >> > To: Xinxia_Song at outlook.com
> > >> > Subject: Re: [rt.rap.ucar.edu #79605] ImportError: No module
named
> > >> > constants_pdef
> > >> >
> > >> > Can you please tell me which version of Python you are using?
> > >> check_output
> > >> > for subprocess was introduced in Python 2.7.    Do you have
access
> to
> > >> > Python version 2.7 or higher?
> > >> >
> > >> > Thanks,
> > >> > Julie
> > >> >
> > >> > On Thu, Feb 23, 2017 at 12:11 PM, Xinxia Song via RT <
> > met_help at ucar.edu
> > >> >
> > >> > wrote:
> > >> >
> > >> > >
> > >> > > <URL:
https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=79605 >
> > >> > >
> > >> > > Hi Julie,
> > >> > >
> > >> > >
> > >> > > I added it to the $PATH and ran the master_met_python.py:
> > >> > >
> > >> > > [xinxia at chaos ush]$ python master_met_plus.py
> > >> > >
> > >> > > Traceback (most recent call last):
> > >> > >
> > >> > >   File "/D2/xinxia/METplus/METplus/ush/extract_tiles.py",
line
> 157,
> > >> in
> > >> > > <module>
> > >> > >
> > >> > >     main()
> > >> > >
> > >> > >   File "/D2/xinxia/METplus/METplus/ush/extract_tiles.py",
line
> 100,
> > >> in
> > >> > > main
> > >> > >
> > >> > >     filtered_out_dir)
> > >> > >
> > >> > >   File "/D2/xinxia/METplus/METplus/ush/run_tc_stat.py",
line 69,
> in
> > >> > > tc_stat
> > >> > >
> > >> > >     tc_stat_out = subprocess.check_output(tc_cmd,
> > >> > > stderr=subprocess.STDOUT, shell=True )
> > >> > >
> > >> > > AttributeError: 'module' object has no attribute
'check_output'
> > >> > >
> > >> > >
> > >> > > Thanks,
> > >> > >
> > >> > >
> > >> > > Xinxia
> > >> > >
> > >> > > ________________________________
> > >> > > From: Julie Prestopnik via RT <met_help at ucar.edu>
> > >> > > Sent: Friday, February 24, 2017 9:07:40 AM
> > >> > > To: Xinxia_Song at outlook.com
> > >> > > Subject: Re: [rt.rap.ucar.edu #79605] ImportError: No
module
> named
> > >> > > constants_pdef
> > >> > >
> > >> > > Unfortunately, your environment does not know where to find
> > >> > > run_tc_pairs.py.  Please try adding the directory with
> > run_tc_pairs.py
> > >> > > (/D2/xinxia/METplus/METplus/ush) to your path in your
~/.bashrc
> > file,
> > >> > then
> > >> > > run "source ~/.bashrc", then trying rerunning.  Please let
me know
> > how
> > >> > that
> > >> > > goes.
> > >> > >
> > >> > > Thanks!
> > >> > >
> > >> > > Julie
> > >> > >
> > >> > > On Thu, Feb 23, 2017 at 11:55 AM, Xinxia Song via RT <
> > >> met_help at ucar.edu>
> > >> > > wrote:
> > >> > >
> > >> > > >
> > >> > > > <URL:
https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=79605 >
> > >> > > >
> > >> > > > Hi Julie,
> > >> > > >
> > >> > > >
> > >> > > > I'm running met in a machine that's owned by our
department, I
> > don't
> > >> > have
> > >> > > > sudo right, so when I type which run_tc_pairs.py, it says
> couldn't
> > >> find
> > >> > > it.
> > >> > > >
> > >> > > > no run_tc_pairs.py in (/opt/ncl/bin:/opt/intel-soft/
> > >> > > > bin:/opt/ncl/bin:/opt/ncl/bin:/opt/intel-
soft/bin:/opt/ncl/
> > >> > > > bin:/home/xinxia/anaconda/bin:/home/xinxia/anaconda/bin:/
> > >> > > > opt/ncl/bin:/opt/intel-soft/bin:/opt/ncl/bin:/usr/lib64/
> > >> > > > qt-3.3/bin:/usr/local/bin:/bin:/usr/bin:/usr/local/sbin:/
> > >> > > > usr/sbin:/sbin:/sbin:/usr/sbin:/cm/local/apps/
> > >> > > environment-modules/3.2.10/
> > >> > > > bin:/home/xinxia/bin:/opt/ncl-621/bin)
> > >> > > >
> > >> > > >
> > >> > > > But I could find it manually in that directory.
> > >> > > >
> > >> > > >
> > >> > > > Thanks,
> > >> > > >
> > >> > > >
> > >> > > > Xinxia
> > >> > > >
> > >> > > > ________________________________
> > >> > > > From: Julie Prestopnik via RT <met_help at ucar.edu>
> > >> > > > Sent: Friday, February 24, 2017 8:52:16 AM
> > >> > > > To: Xinxia_Song at outlook.com
> > >> > > > Subject: Re: [rt.rap.ucar.edu #79605] ImportError: No
module
> > named
> > >> > > > constants_pdef
> > >> > > >
> > >> > > > Hi Xinxia.
> > >> > > >
> > >> > > > It looks like you got a successful run of tc_stat -
that's great
> > >> news!
> > >> > > >
> > >> > > > I'm not sure what you mean by "Because I don't have the
right, I
> > >> can't
> > >> > > find
> > >> > > > run_tc_pairs.py, but I know it's under
> > >> > > >
> > >> > > > /D2/xinxia/METplus/METplus/ush".
> > >> > > >
> > >> > > > Can you please explain?  What happened when you ran
"which
> > >> > > > run_tc_pairs.py"?
> > >> > > >
> > >> > > > Thanks,
> > >> > > > Julie
> > >> > > >
> > >> > > >
> > >> > > >
> > >> > > >
> > >> > > >
> > >> > > >
> > >> > > > On Thu, Feb 23, 2017 at 11:44 AM, Xinxia Song via RT <
> > >> > met_help at ucar.edu>
> > >> > > > wrote:
> > >> > > >
> > >> > > > >
> > >> > > > > <URL:
https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=79605
> >
> > >> > > > >
> > >> > > > > Hi Julie,
> > >> > > > >
> > >> > > > >
> > >> > > > > I removed the space.
> > >> > > > >
> > >> > > > > [xinxia at chaos parm]$ /D2/xinxia/METplus/MET/met-5.2
> /bin/tc_stat
> > >> -job
> > >> > > > > filter -lookin
/D2/xinxia/METplus/MET/input/tc_pairs/201412
> > >> > -init_inc
> > >> > > > > 20141201_00 -match_points true -dump_row
> > >> /D2/xinxia/METplus/MET/out/
> > >> > > > > extract_tiles/20141201_00/filter_20141201_00.tcst
-basin ML
> > >> > > > > -out_init_mask /D2/xinxia/METplus/MET/met-5.
> > >> > > 2/share/met/poly/CONUS.poly
> > >> > > > >
> > >> > > > > DEBUG 1: [Source 1] Lookin:
/D2/xinxia/METplus/MET/input/
> > >> > > tc_pairs/201412
> > >> > > > >
> > >> > > > > DEBUG 2:
> > >> > > > >
> > >> > > > > DEBUG 2: Processing Job 1: -job filter -basin ML
-init_inc
> > >> > > > 20141201_000000
> > >> > > > > -match_points true -out_init_mask
> /D2/xinxia/METplus/MET/met-5.
> > >> > > > 2/share/met/poly/CONUS.poly
> > >> > > > > -dump_row /D2/xinxia/METplus/MET/out/ext
> ract_tiles/20141201_00/
> > >> > > > > filter_20141201_00.tcst
> > >> > > > >
> > >> > > > > DEBUG 1: Creating output dump file:
> /D2/xinxia/METplus/MET/out/
> > >> > > > > extract_tiles/20141201_00/filter_20141201_00.tcst
> > >> > > > >
> > >> > > > > FILTER: -job filter -basin ML -init_inc 20141201_000000
> > >> -match_points
> > >> > > > true
> > >> > > > > -out_init_mask /D2/xinxia/METplus/MET/met-5.
> > >> > > 2/share/met/poly/CONUS.poly
> > >> > > > > -dump_row /D2/xinxia/METplus/MET/out/ext
> ract_tiles/20141201_00/
> > >> > > > > filter_20141201_00.tcst
> > >> > > > >
> > >> > > > >
> > >> > > > > DEBUG 2: Job 1 used 0 out of 27292 lines read.
> > >> > > > >
> > >> > > > >
> > >> > > > > Because I don't have the right, I can't find
run_tc_pairs.py,
> > but
> > >> I
> > >> > > know
> > >> > > > > it's under
> > >> > > > >
> > >> > > > > /D2/xinxia/METplus/METplus/ush
> > >> > > > >
> > >> > > > >
> > >> > > > > For Python,
> > >> > > > >
> > >> > > > > [xinxia at chaos ~]$ which python
> > >> > > > >
> > >> > > > > /usr/bin/python
> > >> > > > >
> > >> > > > >
> > >> > > > > Xinxia
> > >> > > > >
> > >> > > > > ________________________________
> > >> > > > > From: Julie Prestopnik via RT <met_help at ucar.edu>
> > >> > > > > Sent: Friday, February 24, 2017 8:30:01 AM
> > >> > > > > To: Xinxia_Song at outlook.com
> > >> > > > > Subject: Re: [rt.rap.ucar.edu #79605] ImportError: No
module
> > >> named
> > >> > > > > constants_pdef
> > >> > > > >
> > >> > > > > Hi Xinxia.
> > >> > > > >
> > >> > > > > It looks like there is a space where there should not
be a
> space
> > >> > > (between
> > >> > > > > /D2/xinxia/METplus/MET/out/extract_tiles/20141201_00/
and
> > >> > > > > filter_20141201_00.tcst after the -dump_row option).
> > >> > > > >
> > >> > > > > Could you please try it again without the space?
> > >> > > > >
> > >> > > > > /D2/xinxia/METplus/METplus/ush/run_tc_stat.py:tc_stat
from
> > >> calling
> > >> > MET
> > >> > > > > TC-STAT with command:/D2/xinxia/METplus/MET
> /met-5.2/bin/tc_stat
> > >> -job
> > >> > > > > filter
> > >> > > > > -lookin /D2/xinxia/METplus/MET/input/tc_pairs/201412
> -init_inc
> > >> > > > 20141201_00
> > >> > > > > -match_points true -dump_row
/D2/xinxia/METplus/MET/out/
> > >> > > > > extract_tiles/20141201_00/filter_20141201_00.tcst
-basin ML
> > >> > > > > -out_init_mask
> > >> > > > > /D2/xinxia/METplus/MET/met-
5.2/share/met/poly/CONUS.poly
> > >> > > > >
> > >> > > > > Regarding the master_met_plus.py run, please try
running the
> > >> > following
> > >> > > > two
> > >> > > > > commands and send me the output:
> > >> > > > >
> > >> > > > > which run_tc_pairs.py
> > >> > > > >
> > >> > > > > which python
> > >> > > > >
> > >> > > > > Thanks!
> > >> > > > >
> > >> > > > > Julie
> > >> > > > >
> > >> > > > > On Thu, Feb 23, 2017 at 11:06 AM, Xinxia Song via RT <
> > >> > > met_help at ucar.edu>
> > >> > > > > wrote:
> > >> > > > >
> > >> > > > > >
> > >> > > > > > <URL: https://rt.rap.ucar.edu/rt/Tic
> ket/Display.html?id=79605
> > >
> > >> > > > > >
> > >> > > > > > Hi Julie,
> > >> > > > > >
> > >> > > > > >
> > >> > > > > > After I ran the long one line command:
> > >> > > > > >
> > >> > > > > > [xinxia at chaos parm]$ /D2/xinxia/METplus/MET/met-5.
> > 2/bin/tc_stat
> > >> > -job
> > >> > > > > > filter -lookin
/D2/xinxia/METplus/MET/input/tc_pairs/201412
> > >> > > -init_inc
> > >> > > > > > 20141201_00 -match_points true -dump_row
> > >> > /D2/xinxia/METplus/MET/out/
> > >> > > > > extract_tiles/20141201_00/
> > >> > > > > > filter_20141201_00.tcst  -basin ML -out_init_mask
> > >> > > > > > /D2/xinxia/METplus/MET/met-
5.2/share/met/poly/CONUS.poly
> > >> > > > > >
> > >> > > > > >
> > >> > > > > > DEBUG 1: [Source 1] Lookin:
/D2/xinxia/METplus/MET/input/
> > >> > > > tc_pairs/201412
> > >> > > > > >
> > >> > > > > > ERROR  :
> > >> > > > > >
> > >> > > > > > ERROR  : TCStatJob
*TCStatJobFactory::new_tc_stat_job(const
> > >> char
> > >> > > > > > *jobstring) -> unsupported job command options
> > >> > > > "filter_20141201_00.tcst".
> > >> > > > > >
> > >> > > > > > ERROR  :
> > >> > > > > >
> > >> > > > > >
> > >> > > > > > And for the master_met_plus.py, I got the error:
> > >> > > > > >
> > >> > > > > > [xinxia at chaos ush]$ python master_met_plus.py
> > >> > > > > >
> > >> > > > > > sh: run_tc_pairs.py: command not found
> > >> > > > > >
> > >> > > > > >
> > >> > > > > > Thanks,
> > >> > > > > >
> > >> > > > > >
> > >> > > > > > Xinxia
> > >> > > > > >
> > >> > > > > > ________________________________
> > >> > > > > > From: Julie Prestopnik via RT <met_help at ucar.edu>
> > >> > > > > > Sent: Friday, February 24, 2017 7:42:21 AM
> > >> > > > > > To: Xinxia_Song at outlook.com
> > >> > > > > > Subject: Re: [rt.rap.ucar.edu #79605] ImportError: No
> module
> > >> named
> > >> > > > > > constants_pdef
> > >> > > > > >
> > >> > > > > > My apologies, my response should have said, "By
default, MET
> > >> > version
> > >> > > > 5.2
> > >> > > > > is
> > >> > > > > > compiled using dynamic linking."  It's true for both,
but I
> > see
> > >> > > you're
> > >> > > > > > using 5.2 and I inadvertently referred to 5.1.
> > >> > > > > >
> > >> > > > > > On Thu, Feb 23, 2017 at 10:40 AM, Julie Prestopnik <
> > >> > jpresto at ucar.edu
> > >> > > >
> > >> > > > > > wrote:
> > >> > > > > >
> > >> > > > > > > Hi Xinxia.  Regarding the error:
> > >> > > > > > >
> > >> > > > > > > /D2/xinxia/METplus/MET/met-5.2/bin/tc_stat: error
while
> > >> loading
> > >> > > > shared
> > >> > > > > > > libraries: libgsl.so.19: cannot open shared object
file:
> No
> > >> such
> > >> > > file
> > >> > > > > or
> > >> > > > > > > directory
> > >> > > > > > >
> > >> > > > > > > By default, MET version 5.1 is compiled using
dynamic
> > linking.
> > >> > > > Rather
> > >> > > > > > > than compiling the external library code in with
the MET
> > >> > > executables
> > >> > > > > > (which
> > >> > > > > > > is
> > >> > > > > > > called static linking), it looks for them at
runtime.  And
> > >> it's
> > >> > > > looking
> > >> > > > > > > for those "shared object" (.so) library files.
> > >> > > > > > >
> > >> > > > > > > This should be easy to fix. We just need to tell it
where
> to
> > >> find
> > >> > > > them,
> > >> > > > > > > and we do that by setting (or adding to the
> > LD_LIBRARY_PATH).
> > >> > Look
> > >> > > > in
> > >> > > > > > your
> > >> > > > > > > ~/.bashrc file.  If LD_LIBRARY_PATH is already
defined in
> > >> there,
> > >> > > add
> > >> > > > > the
> > >> > > > > > > path to the libgsl.so.19 to the end of it.  If not,
add an
> > >> > > > > > > LD_LIBRARY_PATH entry in your ~/.bashrc file.  So,
for
> > >> example,
> > >> > if
> > >> > > > the
> > >> > > > > > path
> > >> > > > > > > to your libgsl.so.19 file is
> /D2/xinxia/METplus/MET/externa
> > >> > > > > > l_libs/GSL/gsl-1.16/lib
> > >> > > > > > > you would add teh following to your ~/.bashrc file:
> > >> > > > > > >
> > >> > > > > > >   export LD_LIBRARY_PATH=/D2/xinxia/
> > >> > METplus/MET/external_libs/GSL/
> > >> > > > > > > gsl-1.16/lib
> > >> > > > > > >
> > >> > > > > > > Then save the change and source that file:
> > >> > > > > > >
> > >> > > > > > >   source ~/.bashrc
> > >> > > > > > >
> > >> > > > > > > Then, please try rerunning the command manually and
let me
> > >> know
> > >> > if
> > >> > > it
> > >> > > > > > > works.
> > >> > > > > > >
> > >> > > > > > > I believe that this was the cause of the initial
error you
> > >> > received
> > >> > > > > from
> > >> > > > > > > MET+:
> > >> > > > > > >
> > >> > > > > > > ERROR| /D2/xinxia/METplus/METplus/
> > ush/run_tc_stat.py:tc_stat
> > >> > from
> > >> > > > > > calling
> > >> > > > > > > MET TC-STAT with command:/D2/xinxia/METplus/
> > >> > > MET/met-5.2/bin/tc_stat
> > >> > > > > -job
> > >> > > > > > > filter -lookin /D2/xinxia/METplus/MET/input/t
> c_pairs/201412
> > >> > > > -init_inc
> > >> > > > > > > 20141201_00 -match_points true -dump_row
> > >> > > > /D2/xinxia/METplus/MET/out/ext
> > >> > > > > > > ract_tiles/20141201_00/filter_20141201_00.tcst
-basin ML
> > >> > > > > -out_init_mask
> > >> > > > > > > /D2/xinxia/METplus/MET/met-
5.2/share/met/poly/CONUS.poly
> > >> > > > > > >
> > >> > > > > > >
> > >> > > > > > > Thanks,
> > >> > > > > > > Julie
> > >> > > > > > >
> > >> > > > > > > On Thu, Feb 23, 2017 at 10:14 AM, Xinxia Song via
RT <
> > >> > > > > met_help at ucar.edu>
> > >> > > > > > > wrote:
> > >> > > > > > >
> > >> > > > > > >>
> > >> > > > > > >> <URL: https://rt.rap.ucar.edu/rt/Tic
> > >> ket/Display.html?id=79605 >
> > >> > > > > > >>
> > >> > > > > > >> Hi Julie,
> > >> > > > > > >>
> > >> > > > > > >>
> > >> > > > > > >> [xinxia at chaos ush]$ /D2/xinxia/METplus/MET/met-5.2
> > >> /bin/tc_stat
> > >> > > -job
> > >> > > > > > >> filter -lookin /D2/xinxia/METplus/MET/input/
> > tc_pairs/201412
> > >> > > > -init_inc
> > >> > > > > > >> 20141201_00 -match_points true -dump_row
> > >> > > > > /D2/xinxia/METplus/MET/out/ext
> > >> > > > > > ract_tiles/20141201_00/
> > >> > > > > > >> filter_20141201_00.tcst  -basin ML -out_init_mask
> > >> > > > > > >> /D2/xinxia/METplus/MET/met-
5.2/share/met/poly/CONUS.poly
> > >> > > > > > >>
> > >> > > > > > >> /D2/xinxia/METplus/MET/met-5.2/bin/tc_stat: error
while
> > >> loading
> > >> > > > > shared
> > >> > > > > > >> libraries: libgsl.so.19: cannot open shared object
file:
> No
> > >> such
> > >> > > > file
> > >> > > > > or
> > >> > > > > > >> directory
> > >> > > > > > >>
> > >> > > > > > >>
> > >> > > > > > >> And I uploaded the configuration file
(constants_pdef.py)
> > >> under
> > >> > > > > > >> xinxia_data directory.
> > >> > > > > > >>
> > >> > > > > > >>
> > >> > > > > > >> Thanks,
> > >> > > > > > >>
> > >> > > > > > >>
> > >> > > > > > >> Xinxia
> > >> > > > > > >>
> > >> > > > > > >> ________________________________
> > >> > > > > > >> From: Julie Prestopnik via RT <met_help at ucar.edu>
> > >> > > > > > >> Sent: Friday, February 24, 2017 6:15:57 AM
> > >> > > > > > >> To: Xinxia_Song at outlook.com
> > >> > > > > > >> Subject: Re: [rt.rap.ucar.edu #79605] ImportError:
No
> > module
> > >> > > named
> > >> > > > > > >> constants_pdef
> > >> > > > > > >>
> > >> > > > > > >> Hi Xinxia.
> > >> > > > > > >>
> > >> > > > > > >> I can see that your command, which should have
been all
> on
> > >> one
> > >> > > line,
> > >> > > > > was
> > >> > > > > > >> broken up into several lines.  Please try running
the
> > command
> > >> > > again,
> > >> > > > > > >> making
> > >> > > > > > >> sure that the entire command is on one line:
> > >> > > > > > >>
> > >> > > > > > >> /D2/xinxia/METplus/MET/met-5.2/bin/tc_stat -job
filter
> > >> -lookin
> > >> > > > > > >> /D2/xinxia/METplus/MET/input/tc_pairs/201412
-init_inc
> > >> > > 20141201_00
> > >> > > > > > >> -match_points true -dump_row
> > >> > > > > > >>
/D2/xinxia/METplus/MET/out/extract_tiles/20141201_00/
> > >> > > > > > >> filter_20141201_00.tcst  -basin ML -out_init_mask
> > >> > > > > > >> /D2/xinxia/METplus/MET/met-
5.2/share/met/poly/CONUS.poly
> > >> > > > > > >>
> > >> > > > > > >> Then, please send the output from that command.
> > >> > > > > > >>
> > >> > > > > > >> Regarding, your error:
> > >> > > > > > >>
> > >> > > > > > >> sh: run_tc_pairs.py: command not found
> > >> > > > > > >>
> > >> > > > > > >> It's strange that would only have occurred after
having
> > >> changed
> > >> > > the
> > >> > > > > > >> LOG_LEVEL.  Could you please send us your
configuration
> > file?
> > >> > > > > > >>
> > >> > > > > > >> Thanks!
> > >> > > > > > >>
> > >> > > > > > >> Julie
> > >> > > > > > >>
> > >> > > > > > >> On Wed, Feb 22, 2017 at 2:54 PM, Xinxia Song via
RT <
> > >> > > > > met_help at ucar.edu>
> > >> > > > > > >> wrote:
> > >> > > > > > >>
> > >> > > > > > >> >
> > >> > > > > > >> > <URL: https://rt.rap.ucar.edu/rt/Tic
> > >> ket/Display.html?id=79605
> > >> > >
> > >> > > > > > >> >
> > >> > > > > > >> > Hi Julie,
> > >> > > > > > >> >
> > >> > > > > > >> >
> > >> > > > > > >> > [xinxia at chaos ush]$ /D2/xinxia/METplus/MET/met-
5.
> > >> > 2/bin/tc_stat
> > >> > > > -job
> > >> > > > > > >> > filter -lookin
> > >> > > > > > >> >
> > >> > > > > > >> > /D2/xinxia/METplus/MET/met-5.2/bin/tc_stat:
error
> while
> > >> > loading
> > >> > > > > > shared
> > >> > > > > > >> > libraries: libgsl.so.19: cannot open shared
object
> file:
> > No
> > >> > such
> > >> > > > > file
> > >> > > > > > or
> > >> > > > > > >> > directory
> > >> > > > > > >> >
> > >> > > > > > >> >
> > >> > > > > > >> > [xinxia at chaos ush]$
/D2/xinxia/METplus/MET/input/
> > >> > > tc_pairs/201412
> > >> > > > > > >> > -init_inc 20141201_00 -match_points true
-dump_row
> > >> > > > > > >> >
> > >> > > > > > >> > -bash:
/D2/xinxia/METplus/MET/input/tc_pairs/201412:
> is
> > a
> > >> > > > directory
> > >> > > > > > >> >
> > >> > > > > > >> >
> > >> > > > > > >> > [xinxia at chaos ush]$
/D2/xinxia/METplus/MET/out/ext
> > >> > > > > > >> ract_tiles/20141201_00/
> > >> > > > > > >> > filter_20141201_00.tcst  -basin ML
-out_init_mask
> > >> > > > > > >> > /D2/xinxia/METplus/MET/met-5.2
> /share/met/poly/CONUS.poly
> > >> > > > > > >> >
> > >> > > > > > >> > -bash: /D2/xinxia/METplus/MET/out/ext
> > >> ract_tiles/20141201_00/:
> > >> > > No
> > >> > > > > such
> > >> > > > > > >> > file or directory
> > >> > > > > > >> >
> > >> > > > > > >> >
> > >> > > > > > >> > After I change the LOG_LEVEL, I ran the
> > >> master_met_plus.py, it
> > >> > > > says:
> > >> > > > > > >> >
> > >> > > > > > >> > [xinxia at chaos ush]$ python master_met_plus.py
> > >> > > > > > >> >
> > >> > > > > > >> > sh: run_tc_pairs.py: command not found
> > >> > > > > > >> >
> > >> > > > > > >> >
> > >> > > > > > >> >
> > >> > > > > > >> > Thanks,
> > >> > > > > > >> >
> > >> > > > > > >> >
> > >> > > > > > >> > Xinxia
> > >> > > > > > >> >
> > >> > > > > > >> >
> > >> > > > > > >> > ________________________________
> > >> > > > > > >> > From: Julie Prestopnik via RT
<met_help at ucar.edu>
> > >> > > > > > >> > Sent: Thursday, February 23, 2017 10:04:55 AM
> > >> > > > > > >> > To: Xinxia_Song at outlook.com
> > >> > > > > > >> > Subject: Re: [rt.rap.ucar.edu #79605]
ImportError: No
> > >> module
> > >> > > > named
> > >> > > > > > >> > constants_pdef
> > >> > > > > > >> >
> > >> > > > > > >> > Thank you.  Unfortunately, the level of detail
in the
> log
> > >> file
> > >> > > > > wasn't
> > >> > > > > > >> what
> > >> > > > > > >> > I hoped for.  I'd like to have you try two
things.
> > >> > > > > > >> >
> > >> > > > > > >> > First, could you please send me your output of
your
> > manual
> > >> run
> > >> > > of
> > >> > > > > the
> > >> > > > > > >> > following?
> > >> > > > > > >> >
> > >> > > > > > >> > "/D2/xinxia/METplus/MET/met-5.2/bin/tc_stat -job
> filter
> > >> > -lookin
> > >> > > > > > >> > /D2/xinxia/METplus/MET/input/tc_pairs/201412
-init_inc
> > >> > > > 20141201_00
> > >> > > > > > >> > -match_points true -dump_row
> /D2/xinxia/METplus/MET/out/
> > >> > > > > > >> > extract_tiles/20141201_00/
filter_20141201_00.tcst
> > -basin
> > >> ML
> > >> > > > > > >> > -out_init_mask
> > >> > > > > > >> > /D2/xinxia/METplus/MET/met-5.
> > 2/share/met/poly/CONUS.poly"
> > >> > > > > > >> >
> > >> > > > > > >> > Second, could you please change your log level
in your
> > >> > > > configuration
> > >> > > > > > >> file
> > >> > > > > > >> > from
> > >> > > > > > >> >
> > >> > > > > > >> > LOG_LEVEL = "INFO"
> > >> > > > > > >> >
> > >> > > > > > >> > to
> > >> > > > > > >> >
> > >> > > > > > >> > LOG_LEVEL = "DEBUG"
> > >> > > > > > >> >
> > >> > > > > > >> > then rerun and upload your log file to our ftp
server
> > >> again?
> > >> > > > > > >> >
> > >> > > > > > >> > Thank you!
> > >> > > > > > >> >
> > >> > > > > > >> > Julie
> > >> > > > > > >> >
> > >> > > > > > >> >
> > >> > > > > > >> > On Wed, Feb 22, 2017 at 12:39 PM, Xinxia Song
via RT <
> > >> > > > > > met_help at ucar.edu
> > >> > > > > > >> >
> > >> > > > > > >> > wrote:
> > >> > > > > > >> >
> > >> > > > > > >> > >
> > >> > > > > > >> > > <URL: https://rt.rap.ucar.edu/rt/
> > >> > Ticket/Display.html?id=79605
> > >> > > >
> > >> > > > > > >> > >
> > >> > > > > > >> > > Hi Julie,
> > >> > > > > > >> > >
> > >> > > > > > >> > >
> > >> > > > > > >> > > I uploaded the log file under xinxia_data
directory.
> > >> > > > > > >> > >
> > >> > > > > > >> > >
> > >> > > > > > >> > > Thanks,
> > >> > > > > > >> > >
> > >> > > > > > >> > >
> > >> > > > > > >> > > Xinxia
> > >> > > > > > >> > >
> > >> > > > > > >> > >
> > >> > > > > > >> > > ________________________________
> > >> > > > > > >> > > From: Julie Prestopnik via RT
<met_help at ucar.edu>
> > >> > > > > > >> > > Sent: Thursday, February 23, 2017 9:11:32 AM
> > >> > > > > > >> > > To: Xinxia_Song at outlook.com
> > >> > > > > > >> > > Subject: Re: [rt.rap.ucar.edu #79605]
ImportError:
> No
> > >> > module
> > >> > > > > named
> > >> > > > > > >> > > constants_pdef
> > >> > > > > > >> > >
> > >> > > > > > >> > > Hi Xinxia.
> > >> > > > > > >> > >
> > >> > > > > > >> > > I think it would be helpful if I could take a
look at
> > the
> > >> > log
> > >> > > > > file.
> > >> > > > > > >> > Could
> > >> > > > > > >> > > you please upload your file to our anonymous
ftp site
> > as
> > >> > > follows
> > >> > > > > so
> > >> > > > > > >> that
> > >> > > > > > >> > I
> > >> > > > > > >> > > can take a look?
> > >> > > > > > >> > >
> > >> > > > > > >> > >    http://www.dtcenter.org/met/
> > >> > users/support/met_help.php#ftp
> > >> > > > > > >> > >
> > >> > > > > > >> > > Also, could you please try running the
following
> > manually
> > >> > and
> > >> > > > send
> > >> > > > > > the
> > >> > > > > > >> > > output to me?
> > >> > > > > > >> > >
> > >> > > > > > >> > > "/D2/xinxia/METplus/MET/met-5.2/bin/tc_stat
-job
> > filter
> > >> > > -lookin
> > >> > > > > > >> > > /D2/xinxia/METplus/MET/input/tc_pairs/201412
> -init_inc
> > >> > > > > 20141201_00
> > >> > > > > > >> > > -match_points true -dump_row
> > /D2/xinxia/METplus/MET/out/
> > >> > > > > > >> > >
extract_tiles/20141201_00/filter_20141201_00.tcst
> > >> -basin
> > >> > ML
> > >> > > > > > >> > > -out_init_mask
> > >> > > > > > >> > > /D2/xinxia/METplus/MET/met-5.2
> > >> /share/met/poly/CONUS.poly"
> > >> > > > > > >> > >
> > >> > > > > > >> > > Thank you!
> > >> > > > > > >> > >
> > >> > > > > > >> > > Julie
> > >> > > > > > >> > >
> > >> > > > > > >> > >
> > >> > > > > > >> > >
> > >> > > > > > >> > > On Wed, Feb 22, 2017 at 12:06 PM, Xinxia Song
via RT
> <
> > >> > > > > > >> met_help at ucar.edu>
> > >> > > > > > >> > > wrote:
> > >> > > > > > >> > >
> > >> > > > > > >> > > >
> > >> > > > > > >> > > > <URL: https://rt.rap.ucar.edu/rt/
> > >> > > Ticket/Display.html?id=79605
> > >> > > > >
> > >> > > > > > >> > > >
> > >> > > > > > >> > > > Hi Julie,
> > >> > > > > > >> > > >
> > >> > > > > > >> > > >
> > >> > > > > > >> > > > Now I can run the program, but when I look
at the
> log
> > >> file
> > >> > > in
> > >> > > > > the
> > >> > > > > > >> > output,
> > >> > > > > > >> > > > it shows error below:
> > >> > > > > > >> > > >
> > >> > > > > > >> > > >
> > >> > > > > > >> > > > ERROR| /D2/xinxia/METplus/METplus/
> > >> > > ush/run_tc_stat.py:tc_stat
> > >> > > > > from
> > >> > > > > > >> > > calling
> > >> > > > > > >> > > > MET TC-STAT with
command:/D2/xinxia/METplus/MET
> > >> > > > > > /met-5.2/bin/tc_stat
> > >> > > > > > >> > -job
> > >> > > > > > >> > > > filter -lookin /D2/xinxia/METplus/MET/input/
> > >> > tc_pairs/201412
> > >> > > > > > >> -init_inc
> > >> > > > > > >> > > > 20141201_00 -match_points true -dump_row
> > >> > > > > > /D2/xinxia/METplus/MET/out/
> > >> > > > > > >> > > >
extract_tiles/20141201_00/filter_20141201_00.tcst
> > >> -basin
> > >> > > ML
> > >> > > > > > >> > > > -out_init_mask /D2/xinxia/METplus/MET/met-5.
> > >> > > > > > >> > 2/share/met/poly/CONUS.poly
> > >> > > > > > >> > > >
> > >> > > > > > >> > > >
> > >> > > > > > >> > > > How should I fix it?
> > >> > > > > > >> > > >
> > >> > > > > > >> > > >
> > >> > > > > > >> > > > Thanks,
> > >> > > > > > >> > > >
> > >> > > > > > >> > > >
> > >> > > > > > >> > > > Xinxia
> > >> > > > > > >> > > >
> > >> > > > > > >> > > > ________________________________
> > >> > > > > > >> > > > From: Julie Prestopnik via RT
<met_help at ucar.edu>
> > >> > > > > > >> > > > Sent: Thursday, February 23, 2017 7:30:06 AM
> > >> > > > > > >> > > > To: Xinxia_Song at outlook.com
> > >> > > > > > >> > > > Subject: Re: [rt.rap.ucar.edu #79605]
ImportError:
> > No
> > >> > > module
> > >> > > > > > named
> > >> > > > > > >> > > > constants_pdef
> > >> > > > > > >> > > >
> > >> > > > > > >> > > > Hi Xinxia.
> > >> > > > > > >> > > >
> > >> > > > > > >> > > > I believe that python doesn't know how to
find the
> > >> module
> > >> > > > > because
> > >> > > > > > >> the
> > >> > > > > > >> > ush
> > >> > > > > > >> > > > directory is not in your PYTHONPATH.  Both
the parm
> > and
> > >> > ush
> > >> > > > > > >> directory
> > >> > > > > > >> > > need
> > >> > > > > > >> > > > to be specified in your PYTHONPATH.  Please
add the
> > ush
> > >> > > > > directory
> > >> > > > > > to
> > >> > > > > > >> > your
> > >> > > > > > >> > > > PYTHONPATH, source ~/.bashrc, and let us
know how
> it
> > >> goes.
> > >> > > > > > >> > > >
> > >> > > > > > >> > > > Thanks,
> > >> > > > > > >> > > > Julie
> > >> > > > > > >> > > >
> > >> > > > > > >> > > > On Wed, Feb 22, 2017 at 10:24 AM, Xinxia
Song via
> RT
> > <
> > >> > > > > > >> > met_help at ucar.edu>
> > >> > > > > > >> > > > wrote:
> > >> > > > > > >> > > >
> > >> > > > > > >> > > > >
> > >> > > > > > >> > > > > <URL: https://rt.rap.ucar.edu/rt/
> > >> > > > Ticket/Display.html?id=79605
> > >> > > > > >
> > >> > > > > > >> > > > >
> > >> > > > > > >> > > > > Hi Julie,
> > >> > > > > > >> > > > >
> > >> > > > > > >> > > > >
> > >> > > > > > >> > > > > Since I don't have setenv, I added these 3
> sentence
> > >> into
> > >> > > my
> > >> > > > > > >> .bashrc
> > >> > > > > > >> > > file:
> > >> > > > > > >> > > > >
> > >> > > > > > >> > > > >
> > >> > > > > > >> > > > > export PYTHONPATH="/D2/xinxia/
> > METplus/METplus/parm"
> > >> > > > > > >> > > > >
> > >> > > > > > >> > > > >
> > >> > > > > > >> > > > > export
USHROOT=/D2/xinxia/METplus/METplus/ush
> > >> > > > > > >> > > > >
> > >> > > > > > >> > > > > export PATH=$USHROOT:$PATH
> > >> > > > > > >> > > > >
> > >> > > > > > >> > > > >
> > >> > > > > > >> > > > > I sourced the ~/.bashrc, and checked that
the
> > >> variables
> > >> > > are
> > >> > > > > set,
> > >> > > > > > >> but
> > >> > > > > > >> > > the
> > >> > > > > > >> > > > > program still can't find the module.
> > >> > > > > > >> > > > >
> > >> > > > > > >> > > > >
> > >> > > > > > >> > > > > Thanks,
> > >> > > > > > >> > > > >
> > >> > > > > > >> > > > > Xinxia
> > >> > > > > > >> > > > >
> > >> > > > > > >> > > > > ________________________________
> > >> > > > > > >> > > > > From: Julie Prestopnik via RT
<met_help at ucar.edu
> >
> > >> > > > > > >> > > > > Sent: Thursday, February 23, 2017 6:24:21
AM
> > >> > > > > > >> > > > > To: Xinxia_Song at outlook.com
> > >> > > > > > >> > > > > Subject: Re: [rt.rap.ucar.edu #79605]
> ImportError:
> > >> No
> > >> > > > module
> > >> > > > > > >> named
> > >> > > > > > >> > > > > constants_pdef
> > >> > > > > > >> > > > >
> > >> > > > > > >> > > > > Hi Xinxia.
> > >> > > > > > >> > > > >
> > >> > > > > > >> > > > > Could you please check to make sure that
the ush
> > >> > directory
> > >> > > > > with
> > >> > > > > > >> > > > > constants_pdef.py is in your PYTHONPATH in
your
> > >> .cshrc
> > >> > > file
> > >> > > > > (or
> > >> > > > > > >> > .bashrc
> > >> > > > > > >> > > > or
> > >> > > > > > >> > > > > similar file)?  The parm directory should
also be
> > in
> > >> > your
> > >> > > > > > >> PYTHONPATH.
> > >> > > > > > >> > > > >
> > >> > > > > > >> > > > > For example,
> > >> > > > > > >> > > > >
> > >> > > > > > >> > > > > setenv PYTHONPATH
/d1/jpresto/sbu/METplus/ush:/
> > >> > > > > > >> > > > d1/jpresto/sbu/METplus/parm
> > >> > > > > > >> > > > >
> > >> > > > > > >> > > > > Please also check make sure that the path
to the
> > ush
> > >> > > > directory
> > >> > > > > > is
> > >> > > > > > >> > also
> > >> > > > > > >> > > > > specified your your path environment
variable.
> For
> > >> > > example,
> > >> > > > > > >> > > > >
> > >> > > > > > >> > > > > set path = (/usr/local/bin \
> > >> > > > > > >> > > > >
/usr/local/python/bin/python \
> > >> > > > > > >> > > > >
/d1/jpresto/sbu/METplus/ush )
> > >> > > > > > >> > > > >
> > >> > > > > > >> > > > > If they are not there, please add them and
then
> > >> source
> > >> > the
> > >> > > > > file
> > >> > > > > > >> (e.g.
> > >> > > > > > >> > > run
> > >> > > > > > >> > > > > "source ~/.cshrc").
> > >> > > > > > >> > > > >
> > >> > > > > > >> > > > > Thank you!  Please let us know how it
goes.
> > >> > > > > > >> > > > >
> > >> > > > > > >> > > > > Julie
> > >> > > > > > >> > > > >
> > >> > > > > > >> > > > >
> > >> > > > > > >> > > > >
> > >> > > > > > >> > > > >
> > >> > > > > > >> > > > > On Tue, Feb 21, 2017 at 4:49 PM, Xinxia
Song via
> > RT <
> > >> > > > > > >> > met_help at ucar.edu
> > >> > > > > > >> > > >
> > >> > > > > > >> > > > > wrote:
> > >> > > > > > >> > > > >
> > >> > > > > > >> > > > > >
> > >> > > > > > >> > > > > > Tue Feb 21 16:49:28 2017: Request 79605
was
> acted
> > >> > upon.
> > >> > > > > > >> > > > > > Transaction: Ticket created by
> > >> > Xinxia_Song at outlook.com
> > >> > > > > > >> > > > > >        Queue: met_help
> > >> > > > > > >> > > > > >      Subject: ImportError: No module
named
> > >> > > constants_pdef
> > >> > > > > > >> > > > > >        Owner: Nobody
> > >> > > > > > >> > > > > >   Requestors: Xinxia_Song at outlook.com
> > >> > > > > > >> > > > > >       Status: new
> > >> > > > > > >> > > > > >  Ticket <URL:
https://rt.rap.ucar.edu/rt/
> > >> > > > > > >> > > Ticket/Display.html?id=79605
> > >> > > > > > >> > > > >
> > >> > > > > > >> > > > > >
> > >> > > > > > >> > > > > >
> > >> > > > > > >> > > > > > Hi,
> > >> > > > > > >> > > > > >
> > >> > > > > > >> > > > > >
> > >> > > > > > >> > > > > > When I ran the mater_met_plus.py, it
says:
> > >> > > > > > >> > > > > >
> > >> > > > > > >> > > > > >
> > >> > > > > > >> > > > > > ImportError: No module named
constants_pdef
> > >> > > > > > >> > > > > >
> > >> > > > > > >> > > > > >
> > >> > > > > > >> > > > > > Seems it doesn't recognize
constants_pdef as
> its
> > >> > module.
> > >> > > > > > >> > > > > >
> > >> > > > > > >> > > > > >
> > >> > > > > > >> > > > > > Thanks,
> > >> > > > > > >> > > > > >
> > >> > > > > > >> > > > > > Xinxia
> > >> > > > > > >> > > > > >
> > >> > > > > > >> > > > > >
> > >> > > > > > >> > > > >
> > >> > > > > > >> > > > >
> > >> > > > > > >> > > > >
> > >> > > > > > >> > > >
> > >> > > > > > >> > > >
> > >> > > > > > >> > > >
> > >> > > > > > >> > >
> > >> > > > > > >> > >
> > >> > > > > > >> > >
> > >> > > > > > >> >
> > >> > > > > > >> >
> > >> > > > > > >> >
> > >> > > > > > >>
> > >> > > > > > >>
> > >> > > > > > >>
> > >> > > > > > >
> > >> > > > > >
> > >> > > > > >
> > >> > > > > >
> > >> > > > >
> > >> > > > >
> > >> > > > >
> > >> > > >
> > >> > > >
> > >> > > >
> > >> > >
> > >> > >
> > >> > >
> > >> >
> > >> >
> > >> >
> > >>
> > >>
> > >>
> > >
> >
> >
> >
>
>
>

------------------------------------------------
Subject: ImportError: No module named constants_pdef
From: Xinxia Song
Time: Mon Feb 27 14:55:35 2017

Hi Julie,


The error is:

Traceback (most recent call last):

  File "series_by_lead.py", line 945, in <module>

    analysis_by_lead_time()

  File "series_by_lead.py", line 326, in analysis_by_lead_time

    vmin, vmax = get_netcdf_min_max(nc_var_list, cur_stat, p, logger)

  File "series_by_lead.py", line 605, in get_netcdf_min_max

    shell=True)

  File "/home/xinxia/anaconda2/lib/python2.7/subprocess.py", line 219,
in check_output

    raise CalledProcessError(retcode, cmd, output=output)

subprocess.CalledProcessError: Command '/usr/local/nco/bin/ncap2 -v -s
"min=min(series_cnt_TOTAL)"
/D2/xinxia/METplus/MET/out/series_analysis_lead/series_F042/series_F042_HGT_P500.nc
/D2/xinxia/METplus/MET/out/series_analysis_lead/series_F042/min.nc'
returned non-zero exit status 127


Thanks,


Xinxia

________________________________
From: Julie Prestopnik via RT <met_help at ucar.edu>
Sent: Tuesday, February 28, 2017 9:18:55 AM
To: Xinxia_Song at outlook.com
Subject: Re: [rt.rap.ucar.edu #79605] ImportError: No module named
constants_pdef

Thank you, Xinxia.

Unfortunately, the "DEBUG" log level did not provide much information
for
this task:

2017-02-26 21:30:28,041 : INFO | [master_met_plus.py:main] | Running:
series_by_lead.py
2017-02-26 21:30:28,212 : ERROR | [master_met_plus.py:main] | Problem
executing: series_by_lead.py

Could you please try running series_by_lead.py in the ush directory?
Please let me know what the output is from that run - it may still be
contained in your log file.

Thanks!

Julie


On Mon, Feb 27, 2017 at 11:17 AM, Xinxia Song via RT
<met_help at ucar.edu>
wrote:

>
> <URL: https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=79605 >
>
> Hi Julie,
>
>
> I uploaded the constants_pdef.py and master_met_plus.20170226.log.
>
>
> Thanks,
>
>
> Xinxia
>
> ________________________________
> From: Julie Prestopnik via RT <met_help at ucar.edu>
> Sent: Tuesday, February 28, 2017 5:46:37 AM
> To: Xinxia_Song at outlook.com
> Subject: Re: [rt.rap.ucar.edu #79605] ImportError: No module named
> constants_pdef
>
> Hi Xinxia.  Can you please upload the configuration file that you
used and
> the log file from that run to our ftp server so that we can take a
look?
>
> Thanks!
>
> Julie
>
> On Sun, Feb 26, 2017 at 2:35 PM, Xinxia Song via RT
<met_help at ucar.edu>
> wrote:
>
> >
> > <URL: https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=79605 >
> >
> > Hi Julie,
> >
> >
> > I ran the mater_met_plus.py and in the end in the log file it gave
me an
> > error:
> >
> > 2017-02-26 21:30:28,212 : ERROR | [master_met_plus.py:main] |
Problem
> > executing: series_by_lead.py
> >
> >
> > Thanks,
> >
> > Xinxia
> >
> > ________________________________
> > From: Julie Prestopnik via RT <met_help at ucar.edu>
> > Sent: Saturday, February 25, 2017 6:49:56 AM
> > To: Xinxia_Song at outlook.com
> > Subject: Re: [rt.rap.ucar.edu #79605] ImportError: No module named
> > constants_pdef
> >
> > You could also run "tail -f </path/to/logfile/logfile_name>"
replacing
> > </path/to/logfile/logfile_name> with the logfile path and name
> information
> > to see how the run is coming along.  I hope that helps!
> >
> > Julie
> >
> > On Fri, Feb 24, 2017 at 9:42 AM, Julie Prestopnik
<jpresto at ucar.edu>
> > wrote:
> >
> > > Hi Xinxia.  Running the entire three months of data could
certainly
> take
> > a
> > > long time.  I am hoping to get an estimate on how long it took
to run
> the
> > > three month data set here, but have not been able to obtain that
number
> > > yet.   It sounds the code was running successfully for you.  If
you're
> > > eager to take a lot at some output, I would suggest running a
smaller
> > > subset of the data, or perhaps you could set up the whole three
month
> to
> > > run over the weekend.  I would suggest letting the code run to
> completion
> > > for either a smaller subset or for the entire subset and then
checking
> > the
> > > log file for errors.  I hope that helps.  Please let me know if
you
> have
> > > any questions or encounter any issues.
> > >
> > > Thanks,
> > > Julie
> > >
> > >
> > > On Thu, Feb 23, 2017 at 4:28 PM, Xinxia Song via RT
<met_help at ucar.edu
> >
> > > wrote:
> > >
> > >>
> > >> <URL: https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=79605 >
> > >>
> > >> Hi Julie,
> > >>
> > >>
> > >> The version is set to be 2.7+. When I ran master_met_plus.py,
it seems
> > it
> > >> will run forever. So I killed it, and got the following:
> > >>
> > >> [xinxia at chaos ush]$ python master_met_plus.py
> > >>
> > >> ^CTraceback (most recent call last):
> > >>
> > >>   File "/D2/xinxia/METplus/METplus/ush/extract_tiles.py", line
157,
> in
> > >> <module>
> > >>
> > >>     main()
> > >>
> > >>   File "/D2/xinxia/METplus/METplus/ush/extract_tiles.py", line
100,
> in
> > >> main
> > >>
> > >>     filtered_out_dir)
> > >>
> > >>   File "/D2/xinxia/METplus/METplus/ush/run_tc_stat.py", line
69, in
> > >> tc_stat
> > >>
> > >>     tc_stat_out = subprocess.check_output(tc_cmd,
> > >> stderr=subprocess.STDOUT, shell=True )
> > >>
> > >>   File "/home/xinxia/anaconda2/lib/python2.7/subprocess.py",
line
> 213,
> > >> in check_output
> > >>
> > >>     output, unused_err = process.communicate()
> > >>
> > >>   File "/home/xinxia/anaconda2/lib/python2.7/subprocess.py",
line
> 471,
> > >> in communicate
> > >>
> > >>     stdout = _eintr_retry_call(self.stdout.read)
> > >>
> > >>   File "/home/xinxia/anaconda2/lib/python2.7/subprocess.py",
line
> 121,
> > >> in _eintr_retry_call
> > >>
> > >>     return func(*args)
> > >>
> > >> KeyboardInterrupt
> > >>
> > >>
> > >> Thanks,
> > >>
> > >>
> > >> Xinxia
> > >>
> > >> ________________________________
> > >> From: Julie Prestopnik via RT <met_help at ucar.edu>
> > >> Sent: Friday, February 24, 2017 12:02:21 PM
> > >> To: Xinxia_Song at outlook.com
> > >> Subject: Re: [rt.rap.ucar.edu #79605] ImportError: No module
named
> > >> constants_pdef
> > >>
> > >> Hi Xinxia.  I suspect that even though you installed Python 2.7
that
> > >> Python
> > >> 2.6.6 is still being used.
> > >>
> > >> Please try running:
> > >>
> > >> python --version
> > >>
> > >> on the command line.
> > >>
> > >> If you see "Python 2..6.6", please add the path for Python 2.7
to the
> > >> front
> > >> of your path in your ~/.bashrc file.  Then, source your
~/.bashrc file
> > and
> > >> try rerunning
> > >>
> > >> python --version
> > >>
> > >> on the command line.  Hopefully, then you will see the new
version.
> > Then,
> > >> please try rerunning master_met_plus.py.
> > >>
> > >> I hope this helps!  Thanks!
> > >>
> > >> Julie
> > >>
> > >> On Thu, Feb 23, 2017 at 1:51 PM, Xinxia Song via RT <
> met_help at ucar.edu>
> > >> wrote:
> > >>
> > >> >
> > >> > <URL: https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=79605
>
> > >> >
> > >> > Hi Julie,
> > >> >
> > >> >
> > >> > I installed myself the 2.7 python, it still got the error
when
> > running:
> > >> >
> > >> > Traceback (most recent call last):
> > >> >
> > >> >   File "/D2/xinxia/METplus/METplus/ush/series_by_lead.py",
line
> 945,
> > in
> > >> > <module>
> > >> >
> > >> >     analysis_by_lead_time()
> > >> >
> > >> >   File "/D2/xinxia/METplus/METplus/ush/series_by_lead.py",
line
> 107,
> > in
> > >> > analysis_by_lead_time
> > >> >
> > >> >     util.apply_series_filters(tile_dir, init_times,
> > >> > series_lead_filtered_out_dir, p, logger)
> > >> >
> > >> >   File "/D2/xinxia/METplus/METplus/ush/met_util.py", line
1005, in
> > >> > apply_series_filters
> > >> >
> > >> >     tcs.tc_stat(p, logger, tc_cmd, series_output_dir)
> > >> >
> > >> >   File "/D2/xinxia/METplus/METplus/ush/run_tc_stat.py", line
69, in
> > >> > tc_stat
> > >> >
> > >> >     tc_stat_out = subprocess.check_output(tc_cmd,
> > >> > stderr=subprocess.STDOUT, shell=True )
> > >> >
> > >> > AttributeError: 'module' object has no attribute
'check_output'
> > >> >
> > >> >
> > >> > Thanks,
> > >> >
> > >> >
> > >> > Xinxia
> > >> >
> > >> > ________________________________
> > >> > From: Julie Prestopnik via RT <met_help at ucar.edu>
> > >> > Sent: Friday, February 24, 2017 9:37:53 AM
> > >> > To: Xinxia_Song at outlook.com
> > >> > Subject: Re: [rt.rap.ucar.edu #79605] ImportError: No module
named
> > >> > constants_pdef
> > >> >
> > >> > Can you please tell me which version of Python you are using?
> > >> check_output
> > >> > for subprocess was introduced in Python 2.7.    Do you have
access
> to
> > >> > Python version 2.7 or higher?
> > >> >
> > >> > Thanks,
> > >> > Julie
> > >> >
> > >> > On Thu, Feb 23, 2017 at 12:11 PM, Xinxia Song via RT <
> > met_help at ucar.edu
> > >> >
> > >> > wrote:
> > >> >
> > >> > >
> > >> > > <URL:
https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=79605 >
> > >> > >
> > >> > > Hi Julie,
> > >> > >
> > >> > >
> > >> > > I added it to the $PATH and ran the master_met_python.py:
> > >> > >
> > >> > > [xinxia at chaos ush]$ python master_met_plus.py
> > >> > >
> > >> > > Traceback (most recent call last):
> > >> > >
> > >> > >   File "/D2/xinxia/METplus/METplus/ush/extract_tiles.py",
line
> 157,
> > >> in
> > >> > > <module>
> > >> > >
> > >> > >     main()
> > >> > >
> > >> > >   File "/D2/xinxia/METplus/METplus/ush/extract_tiles.py",
line
> 100,
> > >> in
> > >> > > main
> > >> > >
> > >> > >     filtered_out_dir)
> > >> > >
> > >> > >   File "/D2/xinxia/METplus/METplus/ush/run_tc_stat.py",
line 69,
> in
> > >> > > tc_stat
> > >> > >
> > >> > >     tc_stat_out = subprocess.check_output(tc_cmd,
> > >> > > stderr=subprocess.STDOUT, shell=True )
> > >> > >
> > >> > > AttributeError: 'module' object has no attribute
'check_output'
> > >> > >
> > >> > >
> > >> > > Thanks,
> > >> > >
> > >> > >
> > >> > > Xinxia
> > >> > >
> > >> > > ________________________________
> > >> > > From: Julie Prestopnik via RT <met_help at ucar.edu>
> > >> > > Sent: Friday, February 24, 2017 9:07:40 AM
> > >> > > To: Xinxia_Song at outlook.com
> > >> > > Subject: Re: [rt.rap.ucar.edu #79605] ImportError: No
module
> named
> > >> > > constants_pdef
> > >> > >
> > >> > > Unfortunately, your environment does not know where to find
> > >> > > run_tc_pairs.py.  Please try adding the directory with
> > run_tc_pairs.py
> > >> > > (/D2/xinxia/METplus/METplus/ush) to your path in your
~/.bashrc
> > file,
> > >> > then
> > >> > > run "source ~/.bashrc", then trying rerunning.  Please let
me know
> > how
> > >> > that
> > >> > > goes.
> > >> > >
> > >> > > Thanks!
> > >> > >
> > >> > > Julie
> > >> > >
> > >> > > On Thu, Feb 23, 2017 at 11:55 AM, Xinxia Song via RT <
> > >> met_help at ucar.edu>
> > >> > > wrote:
> > >> > >
> > >> > > >
> > >> > > > <URL:
https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=79605 >
> > >> > > >
> > >> > > > Hi Julie,
> > >> > > >
> > >> > > >
> > >> > > > I'm running met in a machine that's owned by our
department, I
> > don't
> > >> > have
> > >> > > > sudo right, so when I type which run_tc_pairs.py, it says
> couldn't
> > >> find
> > >> > > it.
> > >> > > >
> > >> > > > no run_tc_pairs.py in (/opt/ncl/bin:/opt/intel-soft/
> > >> > > > bin:/opt/ncl/bin:/opt/ncl/bin:/opt/intel-
soft/bin:/opt/ncl/
> > >> > > > bin:/home/xinxia/anaconda/bin:/home/xinxia/anaconda/bin:/
> > >> > > > opt/ncl/bin:/opt/intel-soft/bin:/opt/ncl/bin:/usr/lib64/
> > >> > > > qt-3.3/bin:/usr/local/bin:/bin:/usr/bin:/usr/local/sbin:/
> > >> > > > usr/sbin:/sbin:/sbin:/usr/sbin:/cm/local/apps/
> > >> > > environment-modules/3.2.10/
> > >> > > > bin:/home/xinxia/bin:/opt/ncl-621/bin)
> > >> > > >
> > >> > > >
> > >> > > > But I could find it manually in that directory.
> > >> > > >
> > >> > > >
> > >> > > > Thanks,
> > >> > > >
> > >> > > >
> > >> > > > Xinxia
> > >> > > >
> > >> > > > ________________________________
> > >> > > > From: Julie Prestopnik via RT <met_help at ucar.edu>
> > >> > > > Sent: Friday, February 24, 2017 8:52:16 AM
> > >> > > > To: Xinxia_Song at outlook.com
> > >> > > > Subject: Re: [rt.rap.ucar.edu #79605] ImportError: No
module
> > named
> > >> > > > constants_pdef
> > >> > > >
> > >> > > > Hi Xinxia.
> > >> > > >
> > >> > > > It looks like you got a successful run of tc_stat -
that's great
> > >> news!
> > >> > > >
> > >> > > > I'm not sure what you mean by "Because I don't have the
right, I
> > >> can't
> > >> > > find
> > >> > > > run_tc_pairs.py, but I know it's under
> > >> > > >
> > >> > > > /D2/xinxia/METplus/METplus/ush".
> > >> > > >
> > >> > > > Can you please explain?  What happened when you ran
"which
> > >> > > > run_tc_pairs.py"?
> > >> > > >
> > >> > > > Thanks,
> > >> > > > Julie
> > >> > > >
> > >> > > >
> > >> > > >
> > >> > > >
> > >> > > >
> > >> > > >
> > >> > > > On Thu, Feb 23, 2017 at 11:44 AM, Xinxia Song via RT <
> > >> > met_help at ucar.edu>
> > >> > > > wrote:
> > >> > > >
> > >> > > > >
> > >> > > > > <URL:
https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=79605
> >
> > >> > > > >
> > >> > > > > Hi Julie,
> > >> > > > >
> > >> > > > >
> > >> > > > > I removed the space.
> > >> > > > >
> > >> > > > > [xinxia at chaos parm]$ /D2/xinxia/METplus/MET/met-5.2
> /bin/tc_stat
> > >> -job
> > >> > > > > filter -lookin
/D2/xinxia/METplus/MET/input/tc_pairs/201412
> > >> > -init_inc
> > >> > > > > 20141201_00 -match_points true -dump_row
> > >> /D2/xinxia/METplus/MET/out/
> > >> > > > > extract_tiles/20141201_00/filter_20141201_00.tcst
-basin ML
> > >> > > > > -out_init_mask /D2/xinxia/METplus/MET/met-5.
> > >> > > 2/share/met/poly/CONUS.poly
> > >> > > > >
> > >> > > > > DEBUG 1: [Source 1] Lookin:
/D2/xinxia/METplus/MET/input/
> > >> > > tc_pairs/201412
> > >> > > > >
> > >> > > > > DEBUG 2:
> > >> > > > >
> > >> > > > > DEBUG 2: Processing Job 1: -job filter -basin ML
-init_inc
> > >> > > > 20141201_000000
> > >> > > > > -match_points true -out_init_mask
> /D2/xinxia/METplus/MET/met-5.
> > >> > > > 2/share/met/poly/CONUS.poly
> > >> > > > > -dump_row /D2/xinxia/METplus/MET/out/ext
> ract_tiles/20141201_00/
> > >> > > > > filter_20141201_00.tcst
> > >> > > > >
> > >> > > > > DEBUG 1: Creating output dump file:
> /D2/xinxia/METplus/MET/out/
> > >> > > > > extract_tiles/20141201_00/filter_20141201_00.tcst
> > >> > > > >
> > >> > > > > FILTER: -job filter -basin ML -init_inc 20141201_000000
> > >> -match_points
> > >> > > > true
> > >> > > > > -out_init_mask /D2/xinxia/METplus/MET/met-5.
> > >> > > 2/share/met/poly/CONUS.poly
> > >> > > > > -dump_row /D2/xinxia/METplus/MET/out/ext
> ract_tiles/20141201_00/
> > >> > > > > filter_20141201_00.tcst
> > >> > > > >
> > >> > > > >
> > >> > > > > DEBUG 2: Job 1 used 0 out of 27292 lines read.
> > >> > > > >
> > >> > > > >
> > >> > > > > Because I don't have the right, I can't find
run_tc_pairs.py,
> > but
> > >> I
> > >> > > know
> > >> > > > > it's under
> > >> > > > >
> > >> > > > > /D2/xinxia/METplus/METplus/ush
> > >> > > > >
> > >> > > > >
> > >> > > > > For Python,
> > >> > > > >
> > >> > > > > [xinxia at chaos ~]$ which python
> > >> > > > >
> > >> > > > > /usr/bin/python
> > >> > > > >
> > >> > > > >
> > >> > > > > Xinxia
> > >> > > > >
> > >> > > > > ________________________________
> > >> > > > > From: Julie Prestopnik via RT <met_help at ucar.edu>
> > >> > > > > Sent: Friday, February 24, 2017 8:30:01 AM
> > >> > > > > To: Xinxia_Song at outlook.com
> > >> > > > > Subject: Re: [rt.rap.ucar.edu #79605] ImportError: No
module
> > >> named
> > >> > > > > constants_pdef
> > >> > > > >
> > >> > > > > Hi Xinxia.
> > >> > > > >
> > >> > > > > It looks like there is a space where there should not
be a
> space
> > >> > > (between
> > >> > > > > /D2/xinxia/METplus/MET/out/extract_tiles/20141201_00/
and
> > >> > > > > filter_20141201_00.tcst after the -dump_row option).
> > >> > > > >
> > >> > > > > Could you please try it again without the space?
> > >> > > > >
> > >> > > > > /D2/xinxia/METplus/METplus/ush/run_tc_stat.py:tc_stat
from
> > >> calling
> > >> > MET
> > >> > > > > TC-STAT with command:/D2/xinxia/METplus/MET
> /met-5.2/bin/tc_stat
> > >> -job
> > >> > > > > filter
> > >> > > > > -lookin /D2/xinxia/METplus/MET/input/tc_pairs/201412
> -init_inc
> > >> > > > 20141201_00
> > >> > > > > -match_points true -dump_row
/D2/xinxia/METplus/MET/out/
> > >> > > > > extract_tiles/20141201_00/filter_20141201_00.tcst
-basin ML
> > >> > > > > -out_init_mask
> > >> > > > > /D2/xinxia/METplus/MET/met-
5.2/share/met/poly/CONUS.poly
> > >> > > > >
> > >> > > > > Regarding the master_met_plus.py run, please try
running the
> > >> > following
> > >> > > > two
> > >> > > > > commands and send me the output:
> > >> > > > >
> > >> > > > > which run_tc_pairs.py
> > >> > > > >
> > >> > > > > which python
> > >> > > > >
> > >> > > > > Thanks!
> > >> > > > >
> > >> > > > > Julie
> > >> > > > >
> > >> > > > > On Thu, Feb 23, 2017 at 11:06 AM, Xinxia Song via RT <
> > >> > > met_help at ucar.edu>
> > >> > > > > wrote:
> > >> > > > >
> > >> > > > > >
> > >> > > > > > <URL: https://rt.rap.ucar.edu/rt/Tic
> ket/Display.html?id=79605
> > >
> > >> > > > > >
> > >> > > > > > Hi Julie,
> > >> > > > > >
> > >> > > > > >
> > >> > > > > > After I ran the long one line command:
> > >> > > > > >
> > >> > > > > > [xinxia at chaos parm]$ /D2/xinxia/METplus/MET/met-5.
> > 2/bin/tc_stat
> > >> > -job
> > >> > > > > > filter -lookin
/D2/xinxia/METplus/MET/input/tc_pairs/201412
> > >> > > -init_inc
> > >> > > > > > 20141201_00 -match_points true -dump_row
> > >> > /D2/xinxia/METplus/MET/out/
> > >> > > > > extract_tiles/20141201_00/
> > >> > > > > > filter_20141201_00.tcst  -basin ML -out_init_mask
> > >> > > > > > /D2/xinxia/METplus/MET/met-
5.2/share/met/poly/CONUS.poly
> > >> > > > > >
> > >> > > > > >
> > >> > > > > > DEBUG 1: [Source 1] Lookin:
/D2/xinxia/METplus/MET/input/
> > >> > > > tc_pairs/201412
> > >> > > > > >
> > >> > > > > > ERROR  :
> > >> > > > > >
> > >> > > > > > ERROR  : TCStatJob
*TCStatJobFactory::new_tc_stat_job(const
> > >> char
> > >> > > > > > *jobstring) -> unsupported job command options
> > >> > > > "filter_20141201_00.tcst".
> > >> > > > > >
> > >> > > > > > ERROR  :
> > >> > > > > >
> > >> > > > > >
> > >> > > > > > And for the master_met_plus.py, I got the error:
> > >> > > > > >
> > >> > > > > > [xinxia at chaos ush]$ python master_met_plus.py
> > >> > > > > >
> > >> > > > > > sh: run_tc_pairs.py: command not found
> > >> > > > > >
> > >> > > > > >
> > >> > > > > > Thanks,
> > >> > > > > >
> > >> > > > > >
> > >> > > > > > Xinxia
> > >> > > > > >
> > >> > > > > > ________________________________
> > >> > > > > > From: Julie Prestopnik via RT <met_help at ucar.edu>
> > >> > > > > > Sent: Friday, February 24, 2017 7:42:21 AM
> > >> > > > > > To: Xinxia_Song at outlook.com
> > >> > > > > > Subject: Re: [rt.rap.ucar.edu #79605] ImportError: No
> module
> > >> named
> > >> > > > > > constants_pdef
> > >> > > > > >
> > >> > > > > > My apologies, my response should have said, "By
default, MET
> > >> > version
> > >> > > > 5.2
> > >> > > > > is
> > >> > > > > > compiled using dynamic linking."  It's true for both,
but I
> > see
> > >> > > you're
> > >> > > > > > using 5.2 and I inadvertently referred to 5.1.
> > >> > > > > >
> > >> > > > > > On Thu, Feb 23, 2017 at 10:40 AM, Julie Prestopnik <
> > >> > jpresto at ucar.edu
> > >> > > >
> > >> > > > > > wrote:
> > >> > > > > >
> > >> > > > > > > Hi Xinxia.  Regarding the error:
> > >> > > > > > >
> > >> > > > > > > /D2/xinxia/METplus/MET/met-5.2/bin/tc_stat: error
while
> > >> loading
> > >> > > > shared
> > >> > > > > > > libraries: libgsl.so.19: cannot open shared object
file:
> No
> > >> such
> > >> > > file
> > >> > > > > or
> > >> > > > > > > directory
> > >> > > > > > >
> > >> > > > > > > By default, MET version 5.1 is compiled using
dynamic
> > linking.
> > >> > > > Rather
> > >> > > > > > > than compiling the external library code in with
the MET
> > >> > > executables
> > >> > > > > > (which
> > >> > > > > > > is
> > >> > > > > > > called static linking), it looks for them at
runtime.  And
> > >> it's
> > >> > > > looking
> > >> > > > > > > for those "shared object" (.so) library files.
> > >> > > > > > >
> > >> > > > > > > This should be easy to fix. We just need to tell it
where
> to
> > >> find
> > >> > > > them,
> > >> > > > > > > and we do that by setting (or adding to the
> > LD_LIBRARY_PATH).
> > >> > Look
> > >> > > > in
> > >> > > > > > your
> > >> > > > > > > ~/.bashrc file.  If LD_LIBRARY_PATH is already
defined in
> > >> there,
> > >> > > add
> > >> > > > > the
> > >> > > > > > > path to the libgsl.so.19 to the end of it.  If not,
add an
> > >> > > > > > > LD_LIBRARY_PATH entry in your ~/.bashrc file.  So,
for
> > >> example,
> > >> > if
> > >> > > > the
> > >> > > > > > path
> > >> > > > > > > to your libgsl.so.19 file is
> /D2/xinxia/METplus/MET/externa
> > >> > > > > > l_libs/GSL/gsl-1.16/lib
> > >> > > > > > > you would add teh following to your ~/.bashrc file:
> > >> > > > > > >
> > >> > > > > > >   export LD_LIBRARY_PATH=/D2/xinxia/
> > >> > METplus/MET/external_libs/GSL/
> > >> > > > > > > gsl-1.16/lib
> > >> > > > > > >
> > >> > > > > > > Then save the change and source that file:
> > >> > > > > > >
> > >> > > > > > >   source ~/.bashrc
> > >> > > > > > >
> > >> > > > > > > Then, please try rerunning the command manually and
let me
> > >> know
> > >> > if
> > >> > > it
> > >> > > > > > > works.
> > >> > > > > > >
> > >> > > > > > > I believe that this was the cause of the initial
error you
> > >> > received
> > >> > > > > from
> > >> > > > > > > MET+:
> > >> > > > > > >
> > >> > > > > > > ERROR| /D2/xinxia/METplus/METplus/
> > ush/run_tc_stat.py:tc_stat
> > >> > from
> > >> > > > > > calling
> > >> > > > > > > MET TC-STAT with command:/D2/xinxia/METplus/
> > >> > > MET/met-5.2/bin/tc_stat
> > >> > > > > -job
> > >> > > > > > > filter -lookin /D2/xinxia/METplus/MET/input/t
> c_pairs/201412
> > >> > > > -init_inc
> > >> > > > > > > 20141201_00 -match_points true -dump_row
> > >> > > > /D2/xinxia/METplus/MET/out/ext
> > >> > > > > > > ract_tiles/20141201_00/filter_20141201_00.tcst
-basin ML
> > >> > > > > -out_init_mask
> > >> > > > > > > /D2/xinxia/METplus/MET/met-
5.2/share/met/poly/CONUS.poly
> > >> > > > > > >
> > >> > > > > > >
> > >> > > > > > > Thanks,
> > >> > > > > > > Julie
> > >> > > > > > >
> > >> > > > > > > On Thu, Feb 23, 2017 at 10:14 AM, Xinxia Song via
RT <
> > >> > > > > met_help at ucar.edu>
> > >> > > > > > > wrote:
> > >> > > > > > >
> > >> > > > > > >>
> > >> > > > > > >> <URL: https://rt.rap.ucar.edu/rt/Tic
> > >> ket/Display.html?id=79605 >
> > >> > > > > > >>
> > >> > > > > > >> Hi Julie,
> > >> > > > > > >>
> > >> > > > > > >>
> > >> > > > > > >> [xinxia at chaos ush]$ /D2/xinxia/METplus/MET/met-5.2
> > >> /bin/tc_stat
> > >> > > -job
> > >> > > > > > >> filter -lookin /D2/xinxia/METplus/MET/input/
> > tc_pairs/201412
> > >> > > > -init_inc
> > >> > > > > > >> 20141201_00 -match_points true -dump_row
> > >> > > > > /D2/xinxia/METplus/MET/out/ext
> > >> > > > > > ract_tiles/20141201_00/
> > >> > > > > > >> filter_20141201_00.tcst  -basin ML -out_init_mask
> > >> > > > > > >> /D2/xinxia/METplus/MET/met-
5.2/share/met/poly/CONUS.poly
> > >> > > > > > >>
> > >> > > > > > >> /D2/xinxia/METplus/MET/met-5.2/bin/tc_stat: error
while
> > >> loading
> > >> > > > > shared
> > >> > > > > > >> libraries: libgsl.so.19: cannot open shared object
file:
> No
> > >> such
> > >> > > > file
> > >> > > > > or
> > >> > > > > > >> directory
> > >> > > > > > >>
> > >> > > > > > >>
> > >> > > > > > >> And I uploaded the configuration file
(constants_pdef.py)
> > >> under
> > >> > > > > > >> xinxia_data directory.
> > >> > > > > > >>
> > >> > > > > > >>
> > >> > > > > > >> Thanks,
> > >> > > > > > >>
> > >> > > > > > >>
> > >> > > > > > >> Xinxia
> > >> > > > > > >>
> > >> > > > > > >> ________________________________
> > >> > > > > > >> From: Julie Prestopnik via RT <met_help at ucar.edu>
> > >> > > > > > >> Sent: Friday, February 24, 2017 6:15:57 AM
> > >> > > > > > >> To: Xinxia_Song at outlook.com
> > >> > > > > > >> Subject: Re: [rt.rap.ucar.edu #79605] ImportError:
No
> > module
> > >> > > named
> > >> > > > > > >> constants_pdef
> > >> > > > > > >>
> > >> > > > > > >> Hi Xinxia.
> > >> > > > > > >>
> > >> > > > > > >> I can see that your command, which should have
been all
> on
> > >> one
> > >> > > line,
> > >> > > > > was
> > >> > > > > > >> broken up into several lines.  Please try running
the
> > command
> > >> > > again,
> > >> > > > > > >> making
> > >> > > > > > >> sure that the entire command is on one line:
> > >> > > > > > >>
> > >> > > > > > >> /D2/xinxia/METplus/MET/met-5.2/bin/tc_stat -job
filter
> > >> -lookin
> > >> > > > > > >> /D2/xinxia/METplus/MET/input/tc_pairs/201412
-init_inc
> > >> > > 20141201_00
> > >> > > > > > >> -match_points true -dump_row
> > >> > > > > > >>
/D2/xinxia/METplus/MET/out/extract_tiles/20141201_00/
> > >> > > > > > >> filter_20141201_00.tcst  -basin ML -out_init_mask
> > >> > > > > > >> /D2/xinxia/METplus/MET/met-
5.2/share/met/poly/CONUS.poly
> > >> > > > > > >>
> > >> > > > > > >> Then, please send the output from that command.
> > >> > > > > > >>
> > >> > > > > > >> Regarding, your error:
> > >> > > > > > >>
> > >> > > > > > >> sh: run_tc_pairs.py: command not found
> > >> > > > > > >>
> > >> > > > > > >> It's strange that would only have occurred after
having
> > >> changed
> > >> > > the
> > >> > > > > > >> LOG_LEVEL.  Could you please send us your
configuration
> > file?
> > >> > > > > > >>
> > >> > > > > > >> Thanks!
> > >> > > > > > >>
> > >> > > > > > >> Julie
> > >> > > > > > >>
> > >> > > > > > >> On Wed, Feb 22, 2017 at 2:54 PM, Xinxia Song via
RT <
> > >> > > > > met_help at ucar.edu>
> > >> > > > > > >> wrote:
> > >> > > > > > >>
> > >> > > > > > >> >
> > >> > > > > > >> > <URL: https://rt.rap.ucar.edu/rt/Tic
> > >> ket/Display.html?id=79605
> > >> > >
> > >> > > > > > >> >
> > >> > > > > > >> > Hi Julie,
> > >> > > > > > >> >
> > >> > > > > > >> >
> > >> > > > > > >> > [xinxia at chaos ush]$ /D2/xinxia/METplus/MET/met-
5.
> > >> > 2/bin/tc_stat
> > >> > > > -job
> > >> > > > > > >> > filter -lookin
> > >> > > > > > >> >
> > >> > > > > > >> > /D2/xinxia/METplus/MET/met-5.2/bin/tc_stat:
error
> while
> > >> > loading
> > >> > > > > > shared
> > >> > > > > > >> > libraries: libgsl.so.19: cannot open shared
object
> file:
> > No
> > >> > such
> > >> > > > > file
> > >> > > > > > or
> > >> > > > > > >> > directory
> > >> > > > > > >> >
> > >> > > > > > >> >
> > >> > > > > > >> > [xinxia at chaos ush]$
/D2/xinxia/METplus/MET/input/
> > >> > > tc_pairs/201412
> > >> > > > > > >> > -init_inc 20141201_00 -match_points true
-dump_row
> > >> > > > > > >> >
> > >> > > > > > >> > -bash:
/D2/xinxia/METplus/MET/input/tc_pairs/201412:
> is
> > a
> > >> > > > directory
> > >> > > > > > >> >
> > >> > > > > > >> >
> > >> > > > > > >> > [xinxia at chaos ush]$
/D2/xinxia/METplus/MET/out/ext
> > >> > > > > > >> ract_tiles/20141201_00/
> > >> > > > > > >> > filter_20141201_00.tcst  -basin ML
-out_init_mask
> > >> > > > > > >> > /D2/xinxia/METplus/MET/met-5.2
> /share/met/poly/CONUS.poly
> > >> > > > > > >> >
> > >> > > > > > >> > -bash: /D2/xinxia/METplus/MET/out/ext
> > >> ract_tiles/20141201_00/:
> > >> > > No
> > >> > > > > such
> > >> > > > > > >> > file or directory
> > >> > > > > > >> >
> > >> > > > > > >> >
> > >> > > > > > >> > After I change the LOG_LEVEL, I ran the
> > >> master_met_plus.py, it
> > >> > > > says:
> > >> > > > > > >> >
> > >> > > > > > >> > [xinxia at chaos ush]$ python master_met_plus.py
> > >> > > > > > >> >
> > >> > > > > > >> > sh: run_tc_pairs.py: command not found
> > >> > > > > > >> >
> > >> > > > > > >> >
> > >> > > > > > >> >
> > >> > > > > > >> > Thanks,
> > >> > > > > > >> >
> > >> > > > > > >> >
> > >> > > > > > >> > Xinxia
> > >> > > > > > >> >
> > >> > > > > > >> >
> > >> > > > > > >> > ________________________________
> > >> > > > > > >> > From: Julie Prestopnik via RT
<met_help at ucar.edu>
> > >> > > > > > >> > Sent: Thursday, February 23, 2017 10:04:55 AM
> > >> > > > > > >> > To: Xinxia_Song at outlook.com
> > >> > > > > > >> > Subject: Re: [rt.rap.ucar.edu #79605]
ImportError: No
> > >> module
> > >> > > > named
> > >> > > > > > >> > constants_pdef
> > >> > > > > > >> >
> > >> > > > > > >> > Thank you.  Unfortunately, the level of detail
in the
> log
> > >> file
> > >> > > > > wasn't
> > >> > > > > > >> what
> > >> > > > > > >> > I hoped for.  I'd like to have you try two
things.
> > >> > > > > > >> >
> > >> > > > > > >> > First, could you please send me your output of
your
> > manual
> > >> run
> > >> > > of
> > >> > > > > the
> > >> > > > > > >> > following?
> > >> > > > > > >> >
> > >> > > > > > >> > "/D2/xinxia/METplus/MET/met-5.2/bin/tc_stat -job
> filter
> > >> > -lookin
> > >> > > > > > >> > /D2/xinxia/METplus/MET/input/tc_pairs/201412
-init_inc
> > >> > > > 20141201_00
> > >> > > > > > >> > -match_points true -dump_row
> /D2/xinxia/METplus/MET/out/
> > >> > > > > > >> > extract_tiles/20141201_00/
filter_20141201_00.tcst
> > -basin
> > >> ML
> > >> > > > > > >> > -out_init_mask
> > >> > > > > > >> > /D2/xinxia/METplus/MET/met-5.
> > 2/share/met/poly/CONUS.poly"
> > >> > > > > > >> >
> > >> > > > > > >> > Second, could you please change your log level
in your
> > >> > > > configuration
> > >> > > > > > >> file
> > >> > > > > > >> > from
> > >> > > > > > >> >
> > >> > > > > > >> > LOG_LEVEL = "INFO"
> > >> > > > > > >> >
> > >> > > > > > >> > to
> > >> > > > > > >> >
> > >> > > > > > >> > LOG_LEVEL = "DEBUG"
> > >> > > > > > >> >
> > >> > > > > > >> > then rerun and upload your log file to our ftp
server
> > >> again?
> > >> > > > > > >> >
> > >> > > > > > >> > Thank you!
> > >> > > > > > >> >
> > >> > > > > > >> > Julie
> > >> > > > > > >> >
> > >> > > > > > >> >
> > >> > > > > > >> > On Wed, Feb 22, 2017 at 12:39 PM, Xinxia Song
via RT <
> > >> > > > > > met_help at ucar.edu
> > >> > > > > > >> >
> > >> > > > > > >> > wrote:
> > >> > > > > > >> >
> > >> > > > > > >> > >
> > >> > > > > > >> > > <URL: https://rt.rap.ucar.edu/rt/
> > >> > Ticket/Display.html?id=79605
> > >> > > >
> > >> > > > > > >> > >
> > >> > > > > > >> > > Hi Julie,
> > >> > > > > > >> > >
> > >> > > > > > >> > >
> > >> > > > > > >> > > I uploaded the log file under xinxia_data
directory.
> > >> > > > > > >> > >
> > >> > > > > > >> > >
> > >> > > > > > >> > > Thanks,
> > >> > > > > > >> > >
> > >> > > > > > >> > >
> > >> > > > > > >> > > Xinxia
> > >> > > > > > >> > >
> > >> > > > > > >> > >
> > >> > > > > > >> > > ________________________________
> > >> > > > > > >> > > From: Julie Prestopnik via RT
<met_help at ucar.edu>
> > >> > > > > > >> > > Sent: Thursday, February 23, 2017 9:11:32 AM
> > >> > > > > > >> > > To: Xinxia_Song at outlook.com
> > >> > > > > > >> > > Subject: Re: [rt.rap.ucar.edu #79605]
ImportError:
> No
> > >> > module
> > >> > > > > named
> > >> > > > > > >> > > constants_pdef
> > >> > > > > > >> > >
> > >> > > > > > >> > > Hi Xinxia.
> > >> > > > > > >> > >
> > >> > > > > > >> > > I think it would be helpful if I could take a
look at
> > the
> > >> > log
> > >> > > > > file.
> > >> > > > > > >> > Could
> > >> > > > > > >> > > you please upload your file to our anonymous
ftp site
> > as
> > >> > > follows
> > >> > > > > so
> > >> > > > > > >> that
> > >> > > > > > >> > I
> > >> > > > > > >> > > can take a look?
> > >> > > > > > >> > >
> > >> > > > > > >> > >    http://www.dtcenter.org/met/
> > >> > users/support/met_help.php#ftp
> > >> > > > > > >> > >
> > >> > > > > > >> > > Also, could you please try running the
following
> > manually
> > >> > and
> > >> > > > send
> > >> > > > > > the
> > >> > > > > > >> > > output to me?
> > >> > > > > > >> > >
> > >> > > > > > >> > > "/D2/xinxia/METplus/MET/met-5.2/bin/tc_stat
-job
> > filter
> > >> > > -lookin
> > >> > > > > > >> > > /D2/xinxia/METplus/MET/input/tc_pairs/201412
> -init_inc
> > >> > > > > 20141201_00
> > >> > > > > > >> > > -match_points true -dump_row
> > /D2/xinxia/METplus/MET/out/
> > >> > > > > > >> > >
extract_tiles/20141201_00/filter_20141201_00.tcst
> > >> -basin
> > >> > ML
> > >> > > > > > >> > > -out_init_mask
> > >> > > > > > >> > > /D2/xinxia/METplus/MET/met-5.2
> > >> /share/met/poly/CONUS.poly"
> > >> > > > > > >> > >
> > >> > > > > > >> > > Thank you!
> > >> > > > > > >> > >
> > >> > > > > > >> > > Julie
> > >> > > > > > >> > >
> > >> > > > > > >> > >
> > >> > > > > > >> > >
> > >> > > > > > >> > > On Wed, Feb 22, 2017 at 12:06 PM, Xinxia Song
via RT
> <
> > >> > > > > > >> met_help at ucar.edu>
> > >> > > > > > >> > > wrote:
> > >> > > > > > >> > >
> > >> > > > > > >> > > >
> > >> > > > > > >> > > > <URL: https://rt.rap.ucar.edu/rt/
> > >> > > Ticket/Display.html?id=79605
> > >> > > > >
> > >> > > > > > >> > > >
> > >> > > > > > >> > > > Hi Julie,
> > >> > > > > > >> > > >
> > >> > > > > > >> > > >
> > >> > > > > > >> > > > Now I can run the program, but when I look
at the
> log
> > >> file
> > >> > > in
> > >> > > > > the
> > >> > > > > > >> > output,
> > >> > > > > > >> > > > it shows error below:
> > >> > > > > > >> > > >
> > >> > > > > > >> > > >
> > >> > > > > > >> > > > ERROR| /D2/xinxia/METplus/METplus/
> > >> > > ush/run_tc_stat.py:tc_stat
> > >> > > > > from
> > >> > > > > > >> > > calling
> > >> > > > > > >> > > > MET TC-STAT with
command:/D2/xinxia/METplus/MET
> > >> > > > > > /met-5.2/bin/tc_stat
> > >> > > > > > >> > -job
> > >> > > > > > >> > > > filter -lookin /D2/xinxia/METplus/MET/input/
> > >> > tc_pairs/201412
> > >> > > > > > >> -init_inc
> > >> > > > > > >> > > > 20141201_00 -match_points true -dump_row
> > >> > > > > > /D2/xinxia/METplus/MET/out/
> > >> > > > > > >> > > >
extract_tiles/20141201_00/filter_20141201_00.tcst
> > >> -basin
> > >> > > ML
> > >> > > > > > >> > > > -out_init_mask /D2/xinxia/METplus/MET/met-5.
> > >> > > > > > >> > 2/share/met/poly/CONUS.poly
> > >> > > > > > >> > > >
> > >> > > > > > >> > > >
> > >> > > > > > >> > > > How should I fix it?
> > >> > > > > > >> > > >
> > >> > > > > > >> > > >
> > >> > > > > > >> > > > Thanks,
> > >> > > > > > >> > > >
> > >> > > > > > >> > > >
> > >> > > > > > >> > > > Xinxia
> > >> > > > > > >> > > >
> > >> > > > > > >> > > > ________________________________
> > >> > > > > > >> > > > From: Julie Prestopnik via RT
<met_help at ucar.edu>
> > >> > > > > > >> > > > Sent: Thursday, February 23, 2017 7:30:06 AM
> > >> > > > > > >> > > > To: Xinxia_Song at outlook.com
> > >> > > > > > >> > > > Subject: Re: [rt.rap.ucar.edu #79605]
ImportError:
> > No
> > >> > > module
> > >> > > > > > named
> > >> > > > > > >> > > > constants_pdef
> > >> > > > > > >> > > >
> > >> > > > > > >> > > > Hi Xinxia.
> > >> > > > > > >> > > >
> > >> > > > > > >> > > > I believe that python doesn't know how to
find the
> > >> module
> > >> > > > > because
> > >> > > > > > >> the
> > >> > > > > > >> > ush
> > >> > > > > > >> > > > directory is not in your PYTHONPATH.  Both
the parm
> > and
> > >> > ush
> > >> > > > > > >> directory
> > >> > > > > > >> > > need
> > >> > > > > > >> > > > to be specified in your PYTHONPATH.  Please
add the
> > ush
> > >> > > > > directory
> > >> > > > > > to
> > >> > > > > > >> > your
> > >> > > > > > >> > > > PYTHONPATH, source ~/.bashrc, and let us
know how
> it
> > >> goes.
> > >> > > > > > >> > > >
> > >> > > > > > >> > > > Thanks,
> > >> > > > > > >> > > > Julie
> > >> > > > > > >> > > >
> > >> > > > > > >> > > > On Wed, Feb 22, 2017 at 10:24 AM, Xinxia
Song via
> RT
> > <
> > >> > > > > > >> > met_help at ucar.edu>
> > >> > > > > > >> > > > wrote:
> > >> > > > > > >> > > >
> > >> > > > > > >> > > > >
> > >> > > > > > >> > > > > <URL: https://rt.rap.ucar.edu/rt/
> > >> > > > Ticket/Display.html?id=79605
> > >> > > > > >
> > >> > > > > > >> > > > >
> > >> > > > > > >> > > > > Hi Julie,
> > >> > > > > > >> > > > >
> > >> > > > > > >> > > > >
> > >> > > > > > >> > > > > Since I don't have setenv, I added these 3
> sentence
> > >> into
> > >> > > my
> > >> > > > > > >> .bashrc
> > >> > > > > > >> > > file:
> > >> > > > > > >> > > > >
> > >> > > > > > >> > > > >
> > >> > > > > > >> > > > > export PYTHONPATH="/D2/xinxia/
> > METplus/METplus/parm"
> > >> > > > > > >> > > > >
> > >> > > > > > >> > > > >
> > >> > > > > > >> > > > > export
USHROOT=/D2/xinxia/METplus/METplus/ush
> > >> > > > > > >> > > > >
> > >> > > > > > >> > > > > export PATH=$USHROOT:$PATH
> > >> > > > > > >> > > > >
> > >> > > > > > >> > > > >
> > >> > > > > > >> > > > > I sourced the ~/.bashrc, and checked that
the
> > >> variables
> > >> > > are
> > >> > > > > set,
> > >> > > > > > >> but
> > >> > > > > > >> > > the
> > >> > > > > > >> > > > > program still can't find the module.
> > >> > > > > > >> > > > >
> > >> > > > > > >> > > > >
> > >> > > > > > >> > > > > Thanks,
> > >> > > > > > >> > > > >
> > >> > > > > > >> > > > > Xinxia
> > >> > > > > > >> > > > >
> > >> > > > > > >> > > > > ________________________________
> > >> > > > > > >> > > > > From: Julie Prestopnik via RT
<met_help at ucar.edu
> >
> > >> > > > > > >> > > > > Sent: Thursday, February 23, 2017 6:24:21
AM
> > >> > > > > > >> > > > > To: Xinxia_Song at outlook.com
> > >> > > > > > >> > > > > Subject: Re: [rt.rap.ucar.edu #79605]
> ImportError:
> > >> No
> > >> > > > module
> > >> > > > > > >> named
> > >> > > > > > >> > > > > constants_pdef
> > >> > > > > > >> > > > >
> > >> > > > > > >> > > > > Hi Xinxia.
> > >> > > > > > >> > > > >
> > >> > > > > > >> > > > > Could you please check to make sure that
the ush
> > >> > directory
> > >> > > > > with
> > >> > > > > > >> > > > > constants_pdef.py is in your PYTHONPATH in
your
> > >> .cshrc
> > >> > > file
> > >> > > > > (or
> > >> > > > > > >> > .bashrc
> > >> > > > > > >> > > > or
> > >> > > > > > >> > > > > similar file)?  The parm directory should
also be
> > in
> > >> > your
> > >> > > > > > >> PYTHONPATH.
> > >> > > > > > >> > > > >
> > >> > > > > > >> > > > > For example,
> > >> > > > > > >> > > > >
> > >> > > > > > >> > > > > setenv PYTHONPATH
/d1/jpresto/sbu/METplus/ush:/
> > >> > > > > > >> > > > d1/jpresto/sbu/METplus/parm
> > >> > > > > > >> > > > >
> > >> > > > > > >> > > > > Please also check make sure that the path
to the
> > ush
> > >> > > > directory
> > >> > > > > > is
> > >> > > > > > >> > also
> > >> > > > > > >> > > > > specified your your path environment
variable.
> For
> > >> > > example,
> > >> > > > > > >> > > > >
> > >> > > > > > >> > > > > set path = (/usr/local/bin \
> > >> > > > > > >> > > > >
/usr/local/python/bin/python \
> > >> > > > > > >> > > > >
/d1/jpresto/sbu/METplus/ush )
> > >> > > > > > >> > > > >
> > >> > > > > > >> > > > > If they are not there, please add them and
then
> > >> source
> > >> > the
> > >> > > > > file
> > >> > > > > > >> (e.g.
> > >> > > > > > >> > > run
> > >> > > > > > >> > > > > "source ~/.cshrc").
> > >> > > > > > >> > > > >
> > >> > > > > > >> > > > > Thank you!  Please let us know how it
goes.
> > >> > > > > > >> > > > >
> > >> > > > > > >> > > > > Julie
> > >> > > > > > >> > > > >
> > >> > > > > > >> > > > >
> > >> > > > > > >> > > > >
> > >> > > > > > >> > > > >
> > >> > > > > > >> > > > > On Tue, Feb 21, 2017 at 4:49 PM, Xinxia
Song via
> > RT <
> > >> > > > > > >> > met_help at ucar.edu
> > >> > > > > > >> > > >
> > >> > > > > > >> > > > > wrote:
> > >> > > > > > >> > > > >
> > >> > > > > > >> > > > > >
> > >> > > > > > >> > > > > > Tue Feb 21 16:49:28 2017: Request 79605
was
> acted
> > >> > upon.
> > >> > > > > > >> > > > > > Transaction: Ticket created by
> > >> > Xinxia_Song at outlook.com
> > >> > > > > > >> > > > > >        Queue: met_help
> > >> > > > > > >> > > > > >      Subject: ImportError: No module
named
> > >> > > constants_pdef
> > >> > > > > > >> > > > > >        Owner: Nobody
> > >> > > > > > >> > > > > >   Requestors: Xinxia_Song at outlook.com
> > >> > > > > > >> > > > > >       Status: new
> > >> > > > > > >> > > > > >  Ticket <URL:
https://rt.rap.ucar.edu/rt/
> > >> > > > > > >> > > Ticket/Display.html?id=79605
> > >> > > > > > >> > > > >
> > >> > > > > > >> > > > > >
> > >> > > > > > >> > > > > >
> > >> > > > > > >> > > > > > Hi,
> > >> > > > > > >> > > > > >
> > >> > > > > > >> > > > > >
> > >> > > > > > >> > > > > > When I ran the mater_met_plus.py, it
says:
> > >> > > > > > >> > > > > >
> > >> > > > > > >> > > > > >
> > >> > > > > > >> > > > > > ImportError: No module named
constants_pdef
> > >> > > > > > >> > > > > >
> > >> > > > > > >> > > > > >
> > >> > > > > > >> > > > > > Seems it doesn't recognize
constants_pdef as
> its
> > >> > module.
> > >> > > > > > >> > > > > >
> > >> > > > > > >> > > > > >
> > >> > > > > > >> > > > > > Thanks,
> > >> > > > > > >> > > > > >
> > >> > > > > > >> > > > > > Xinxia
> > >> > > > > > >> > > > > >
> > >> > > > > > >> > > > > >
> > >> > > > > > >> > > > >
> > >> > > > > > >> > > > >
> > >> > > > > > >> > > > >
> > >> > > > > > >> > > >
> > >> > > > > > >> > > >
> > >> > > > > > >> > > >
> > >> > > > > > >> > >
> > >> > > > > > >> > >
> > >> > > > > > >> > >
> > >> > > > > > >> >
> > >> > > > > > >> >
> > >> > > > > > >> >
> > >> > > > > > >>
> > >> > > > > > >>
> > >> > > > > > >>
> > >> > > > > > >
> > >> > > > > >
> > >> > > > > >
> > >> > > > > >
> > >> > > > >
> > >> > > > >
> > >> > > > >
> > >> > > >
> > >> > > >
> > >> > > >
> > >> > >
> > >> > >
> > >> > >
> > >> >
> > >> >
> > >> >
> > >>
> > >>
> > >>
> > >
> >
> >
> >
>
>
>


------------------------------------------------
Subject: ImportError: No module named constants_pdef
From: Julie Prestopnik
Time: Mon Feb 27 15:08:47 2017

Hi Xinxia. I believe that error code refers to "Command not found".
Can
you please run the following and send me the output?

/usr/local/nco/bin/ncap2 --version

Thanks!

Julie


On Mon, Feb 27, 2017 at 2:55 PM, Xinxia Song via RT
<met_help at ucar.edu>
wrote:

>
> <URL: https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=79605 >
>
> Hi Julie,
>
>
> The error is:
>
> Traceback (most recent call last):
>
>   File "series_by_lead.py", line 945, in <module>
>
>     analysis_by_lead_time()
>
>   File "series_by_lead.py", line 326, in analysis_by_lead_time
>
>     vmin, vmax = get_netcdf_min_max(nc_var_list, cur_stat, p,
logger)
>
>   File "series_by_lead.py", line 605, in get_netcdf_min_max
>
>     shell=True)
>
>   File "/home/xinxia/anaconda2/lib/python2.7/subprocess.py", line
219, in
> check_output
>
>     raise CalledProcessError(retcode, cmd, output=output)
>
> subprocess.CalledProcessError: Command '/usr/local/nco/bin/ncap2 -v
-s
> "min=min(series_cnt_TOTAL)" /D2/xinxia/METplus/MET/out/
> series_analysis_lead/series_F042/series_F042_HGT_P500.nc
> /D2/xinxia/METplus/MET/out/series_analysis_lead/series_F042/min.nc'
> returned non-zero exit status 127
>
>
> Thanks,
>
>
> Xinxia
>
> ________________________________
> From: Julie Prestopnik via RT <met_help at ucar.edu>
> Sent: Tuesday, February 28, 2017 9:18:55 AM
> To: Xinxia_Song at outlook.com
> Subject: Re: [rt.rap.ucar.edu #79605] ImportError: No module named
> constants_pdef
>
> Thank you, Xinxia.
>
> Unfortunately, the "DEBUG" log level did not provide much
information for
> this task:
>
> 2017-02-26 21:30:28,041 : INFO | [master_met_plus.py:main] |
Running:
> series_by_lead.py
> 2017-02-26 21:30:28,212 : ERROR | [master_met_plus.py:main] |
Problem
> executing: series_by_lead.py
>
> Could you please try running series_by_lead.py in the ush directory?
> Please let me know what the output is from that run - it may still
be
> contained in your log file.
>
> Thanks!
>
> Julie
>
>
> On Mon, Feb 27, 2017 at 11:17 AM, Xinxia Song via RT
<met_help at ucar.edu>
> wrote:
>
> >
> > <URL: https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=79605 >
> >
> > Hi Julie,
> >
> >
> > I uploaded the constants_pdef.py and master_met_plus.20170226.log.
> >
> >
> > Thanks,
> >
> >
> > Xinxia
> >
> > ________________________________
> > From: Julie Prestopnik via RT <met_help at ucar.edu>
> > Sent: Tuesday, February 28, 2017 5:46:37 AM
> > To: Xinxia_Song at outlook.com
> > Subject: Re: [rt.rap.ucar.edu #79605] ImportError: No module named
> > constants_pdef
> >
> > Hi Xinxia.  Can you please upload the configuration file that you
used
> and
> > the log file from that run to our ftp server so that we can take a
look?
> >
> > Thanks!
> >
> > Julie
> >
> > On Sun, Feb 26, 2017 at 2:35 PM, Xinxia Song via RT
<met_help at ucar.edu>
> > wrote:
> >
> > >
> > > <URL: https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=79605 >
> > >
> > > Hi Julie,
> > >
> > >
> > > I ran the mater_met_plus.py and in the end in the log file it
gave me
> an
> > > error:
> > >
> > > 2017-02-26 21:30:28,212 : ERROR | [master_met_plus.py:main] |
Problem
> > > executing: series_by_lead.py
> > >
> > >
> > > Thanks,
> > >
> > > Xinxia
> > >
> > > ________________________________
> > > From: Julie Prestopnik via RT <met_help at ucar.edu>
> > > Sent: Saturday, February 25, 2017 6:49:56 AM
> > > To: Xinxia_Song at outlook.com
> > > Subject: Re: [rt.rap.ucar.edu #79605] ImportError: No module
named
> > > constants_pdef
> > >
> > > You could also run "tail -f </path/to/logfile/logfile_name>"
replacing
> > > </path/to/logfile/logfile_name> with the logfile path and name
> > information
> > > to see how the run is coming along.  I hope that helps!
> > >
> > > Julie
> > >
> > > On Fri, Feb 24, 2017 at 9:42 AM, Julie Prestopnik
<jpresto at ucar.edu>
> > > wrote:
> > >
> > > > Hi Xinxia.  Running the entire three months of data could
certainly
> > take
> > > a
> > > > long time.  I am hoping to get an estimate on how long it took
to run
> > the
> > > > three month data set here, but have not been able to obtain
that
> number
> > > > yet.   It sounds the code was running successfully for you.
If
> you're
> > > > eager to take a lot at some output, I would suggest running a
smaller
> > > > subset of the data, or perhaps you could set up the whole
three month
> > to
> > > > run over the weekend.  I would suggest letting the code run to
> > completion
> > > > for either a smaller subset or for the entire subset and then
> checking
> > > the
> > > > log file for errors.  I hope that helps.  Please let me know
if you
> > have
> > > > any questions or encounter any issues.
> > > >
> > > > Thanks,
> > > > Julie
> > > >
> > > >
> > > > On Thu, Feb 23, 2017 at 4:28 PM, Xinxia Song via RT <
> met_help at ucar.edu
> > >
> > > > wrote:
> > > >
> > > >>
> > > >> <URL: https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=79605
>
> > > >>
> > > >> Hi Julie,
> > > >>
> > > >>
> > > >> The version is set to be 2.7+. When I ran master_met_plus.py,
it
> seems
> > > it
> > > >> will run forever. So I killed it, and got the following:
> > > >>
> > > >> [xinxia at chaos ush]$ python master_met_plus.py
> > > >>
> > > >> ^CTraceback (most recent call last):
> > > >>
> > > >>   File "/D2/xinxia/METplus/METplus/ush/extract_tiles.py",
line 157,
> > in
> > > >> <module>
> > > >>
> > > >>     main()
> > > >>
> > > >>   File "/D2/xinxia/METplus/METplus/ush/extract_tiles.py",
line 100,
> > in
> > > >> main
> > > >>
> > > >>     filtered_out_dir)
> > > >>
> > > >>   File "/D2/xinxia/METplus/METplus/ush/run_tc_stat.py", line
69, in
> > > >> tc_stat
> > > >>
> > > >>     tc_stat_out = subprocess.check_output(tc_cmd,
> > > >> stderr=subprocess.STDOUT, shell=True )
> > > >>
> > > >>   File "/home/xinxia/anaconda2/lib/python2.7/subprocess.py",
line
> > 213,
> > > >> in check_output
> > > >>
> > > >>     output, unused_err = process.communicate()
> > > >>
> > > >>   File "/home/xinxia/anaconda2/lib/python2.7/subprocess.py",
line
> > 471,
> > > >> in communicate
> > > >>
> > > >>     stdout = _eintr_retry_call(self.stdout.read)
> > > >>
> > > >>   File "/home/xinxia/anaconda2/lib/python2.7/subprocess.py",
line
> > 121,
> > > >> in _eintr_retry_call
> > > >>
> > > >>     return func(*args)
> > > >>
> > > >> KeyboardInterrupt
> > > >>
> > > >>
> > > >> Thanks,
> > > >>
> > > >>
> > > >> Xinxia
> > > >>
> > > >> ________________________________
> > > >> From: Julie Prestopnik via RT <met_help at ucar.edu>
> > > >> Sent: Friday, February 24, 2017 12:02:21 PM
> > > >> To: Xinxia_Song at outlook.com
> > > >> Subject: Re: [rt.rap.ucar.edu #79605] ImportError: No module
named
> > > >> constants_pdef
> > > >>
> > > >> Hi Xinxia.  I suspect that even though you installed Python
2.7 that
> > > >> Python
> > > >> 2.6.6 is still being used.
> > > >>
> > > >> Please try running:
> > > >>
> > > >> python --version
> > > >>
> > > >> on the command line.
> > > >>
> > > >> If you see "Python 2..6.6", please add the path for Python
2.7 to
> the
> > > >> front
> > > >> of your path in your ~/.bashrc file.  Then, source your
~/.bashrc
> file
> > > and
> > > >> try rerunning
> > > >>
> > > >> python --version
> > > >>
> > > >> on the command line.  Hopefully, then you will see the new
version.
> > > Then,
> > > >> please try rerunning master_met_plus.py.
> > > >>
> > > >> I hope this helps!  Thanks!
> > > >>
> > > >> Julie
> > > >>
> > > >> On Thu, Feb 23, 2017 at 1:51 PM, Xinxia Song via RT <
> > met_help at ucar.edu>
> > > >> wrote:
> > > >>
> > > >> >
> > > >> > <URL:
https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=79605 >
> > > >> >
> > > >> > Hi Julie,
> > > >> >
> > > >> >
> > > >> > I installed myself the 2.7 python, it still got the error
when
> > > running:
> > > >> >
> > > >> > Traceback (most recent call last):
> > > >> >
> > > >> >   File "/D2/xinxia/METplus/METplus/ush/series_by_lead.py",
line
> > 945,
> > > in
> > > >> > <module>
> > > >> >
> > > >> >     analysis_by_lead_time()
> > > >> >
> > > >> >   File "/D2/xinxia/METplus/METplus/ush/series_by_lead.py",
line
> > 107,
> > > in
> > > >> > analysis_by_lead_time
> > > >> >
> > > >> >     util.apply_series_filters(tile_dir, init_times,
> > > >> > series_lead_filtered_out_dir, p, logger)
> > > >> >
> > > >> >   File "/D2/xinxia/METplus/METplus/ush/met_util.py", line
1005,
> in
> > > >> > apply_series_filters
> > > >> >
> > > >> >     tcs.tc_stat(p, logger, tc_cmd, series_output_dir)
> > > >> >
> > > >> >   File "/D2/xinxia/METplus/METplus/ush/run_tc_stat.py",
line 69,
> in
> > > >> > tc_stat
> > > >> >
> > > >> >     tc_stat_out = subprocess.check_output(tc_cmd,
> > > >> > stderr=subprocess.STDOUT, shell=True )
> > > >> >
> > > >> > AttributeError: 'module' object has no attribute
'check_output'
> > > >> >
> > > >> >
> > > >> > Thanks,
> > > >> >
> > > >> >
> > > >> > Xinxia
> > > >> >
> > > >> > ________________________________
> > > >> > From: Julie Prestopnik via RT <met_help at ucar.edu>
> > > >> > Sent: Friday, February 24, 2017 9:37:53 AM
> > > >> > To: Xinxia_Song at outlook.com
> > > >> > Subject: Re: [rt.rap.ucar.edu #79605] ImportError: No
module
> named
> > > >> > constants_pdef
> > > >> >
> > > >> > Can you please tell me which version of Python you are
using?
> > > >> check_output
> > > >> > for subprocess was introduced in Python 2.7.    Do you have
access
> > to
> > > >> > Python version 2.7 or higher?
> > > >> >
> > > >> > Thanks,
> > > >> > Julie
> > > >> >
> > > >> > On Thu, Feb 23, 2017 at 12:11 PM, Xinxia Song via RT <
> > > met_help at ucar.edu
> > > >> >
> > > >> > wrote:
> > > >> >
> > > >> > >
> > > >> > > <URL:
https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=79605 >
> > > >> > >
> > > >> > > Hi Julie,
> > > >> > >
> > > >> > >
> > > >> > > I added it to the $PATH and ran the master_met_python.py:
> > > >> > >
> > > >> > > [xinxia at chaos ush]$ python master_met_plus.py
> > > >> > >
> > > >> > > Traceback (most recent call last):
> > > >> > >
> > > >> > >   File "/D2/xinxia/METplus/METplus/ush/extract_tiles.py",
line
> > 157,
> > > >> in
> > > >> > > <module>
> > > >> > >
> > > >> > >     main()
> > > >> > >
> > > >> > >   File "/D2/xinxia/METplus/METplus/ush/extract_tiles.py",
line
> > 100,
> > > >> in
> > > >> > > main
> > > >> > >
> > > >> > >     filtered_out_dir)
> > > >> > >
> > > >> > >   File "/D2/xinxia/METplus/METplus/ush/run_tc_stat.py",
line
> 69,
> > in
> > > >> > > tc_stat
> > > >> > >
> > > >> > >     tc_stat_out = subprocess.check_output(tc_cmd,
> > > >> > > stderr=subprocess.STDOUT, shell=True )
> > > >> > >
> > > >> > > AttributeError: 'module' object has no attribute
'check_output'
> > > >> > >
> > > >> > >
> > > >> > > Thanks,
> > > >> > >
> > > >> > >
> > > >> > > Xinxia
> > > >> > >
> > > >> > > ________________________________
> > > >> > > From: Julie Prestopnik via RT <met_help at ucar.edu>
> > > >> > > Sent: Friday, February 24, 2017 9:07:40 AM
> > > >> > > To: Xinxia_Song at outlook.com
> > > >> > > Subject: Re: [rt.rap.ucar.edu #79605] ImportError: No
module
> > named
> > > >> > > constants_pdef
> > > >> > >
> > > >> > > Unfortunately, your environment does not know where to
find
> > > >> > > run_tc_pairs.py.  Please try adding the directory with
> > > run_tc_pairs.py
> > > >> > > (/D2/xinxia/METplus/METplus/ush) to your path in your
~/.bashrc
> > > file,
> > > >> > then
> > > >> > > run "source ~/.bashrc", then trying rerunning.  Please
let me
> know
> > > how
> > > >> > that
> > > >> > > goes.
> > > >> > >
> > > >> > > Thanks!
> > > >> > >
> > > >> > > Julie
> > > >> > >
> > > >> > > On Thu, Feb 23, 2017 at 11:55 AM, Xinxia Song via RT <
> > > >> met_help at ucar.edu>
> > > >> > > wrote:
> > > >> > >
> > > >> > > >
> > > >> > > > <URL:
https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=79605
> >
> > > >> > > >
> > > >> > > > Hi Julie,
> > > >> > > >
> > > >> > > >
> > > >> > > > I'm running met in a machine that's owned by our
department, I
> > > don't
> > > >> > have
> > > >> > > > sudo right, so when I type which run_tc_pairs.py, it
says
> > couldn't
> > > >> find
> > > >> > > it.
> > > >> > > >
> > > >> > > > no run_tc_pairs.py in (/opt/ncl/bin:/opt/intel-soft/
> > > >> > > > bin:/opt/ncl/bin:/opt/ncl/bin:/opt/intel-
soft/bin:/opt/ncl/
> > > >> > > >
bin:/home/xinxia/anaconda/bin:/home/xinxia/anaconda/bin:/
> > > >> > > > opt/ncl/bin:/opt/intel-
soft/bin:/opt/ncl/bin:/usr/lib64/
> > > >> > > > qt-
3.3/bin:/usr/local/bin:/bin:/usr/bin:/usr/local/sbin:/
> > > >> > > > usr/sbin:/sbin:/sbin:/usr/sbin:/cm/local/apps/
> > > >> > > environment-modules/3.2.10/
> > > >> > > > bin:/home/xinxia/bin:/opt/ncl-621/bin)
> > > >> > > >
> > > >> > > >
> > > >> > > > But I could find it manually in that directory.
> > > >> > > >
> > > >> > > >
> > > >> > > > Thanks,
> > > >> > > >
> > > >> > > >
> > > >> > > > Xinxia
> > > >> > > >
> > > >> > > > ________________________________
> > > >> > > > From: Julie Prestopnik via RT <met_help at ucar.edu>
> > > >> > > > Sent: Friday, February 24, 2017 8:52:16 AM
> > > >> > > > To: Xinxia_Song at outlook.com
> > > >> > > > Subject: Re: [rt.rap.ucar.edu #79605] ImportError: No
module
> > > named
> > > >> > > > constants_pdef
> > > >> > > >
> > > >> > > > Hi Xinxia.
> > > >> > > >
> > > >> > > > It looks like you got a successful run of tc_stat -
that's
> great
> > > >> news!
> > > >> > > >
> > > >> > > > I'm not sure what you mean by "Because I don't have the
> right, I
> > > >> can't
> > > >> > > find
> > > >> > > > run_tc_pairs.py, but I know it's under
> > > >> > > >
> > > >> > > > /D2/xinxia/METplus/METplus/ush".
> > > >> > > >
> > > >> > > > Can you please explain?  What happened when you ran
"which
> > > >> > > > run_tc_pairs.py"?
> > > >> > > >
> > > >> > > > Thanks,
> > > >> > > > Julie
> > > >> > > >
> > > >> > > >
> > > >> > > >
> > > >> > > >
> > > >> > > >
> > > >> > > >
> > > >> > > > On Thu, Feb 23, 2017 at 11:44 AM, Xinxia Song via RT <
> > > >> > met_help at ucar.edu>
> > > >> > > > wrote:
> > > >> > > >
> > > >> > > > >
> > > >> > > > > <URL: https://rt.rap.ucar.edu/rt/
> Ticket/Display.html?id=79605
> > >
> > > >> > > > >
> > > >> > > > > Hi Julie,
> > > >> > > > >
> > > >> > > > >
> > > >> > > > > I removed the space.
> > > >> > > > >
> > > >> > > > > [xinxia at chaos parm]$ /D2/xinxia/METplus/MET/met-5.2
> > /bin/tc_stat
> > > >> -job
> > > >> > > > > filter -lookin
/D2/xinxia/METplus/MET/input/tc_pairs/201412
> > > >> > -init_inc
> > > >> > > > > 20141201_00 -match_points true -dump_row
> > > >> /D2/xinxia/METplus/MET/out/
> > > >> > > > > extract_tiles/20141201_00/filter_20141201_00.tcst
-basin
> ML
> > > >> > > > > -out_init_mask /D2/xinxia/METplus/MET/met-5.
> > > >> > > 2/share/met/poly/CONUS.poly
> > > >> > > > >
> > > >> > > > > DEBUG 1: [Source 1] Lookin:
/D2/xinxia/METplus/MET/input/
> > > >> > > tc_pairs/201412
> > > >> > > > >
> > > >> > > > > DEBUG 2:
> > > >> > > > >
> > > >> > > > > DEBUG 2: Processing Job 1: -job filter -basin ML
-init_inc
> > > >> > > > 20141201_000000
> > > >> > > > > -match_points true -out_init_mask
> > /D2/xinxia/METplus/MET/met-5.
> > > >> > > > 2/share/met/poly/CONUS.poly
> > > >> > > > > -dump_row /D2/xinxia/METplus/MET/out/ext
> > ract_tiles/20141201_00/
> > > >> > > > > filter_20141201_00.tcst
> > > >> > > > >
> > > >> > > > > DEBUG 1: Creating output dump file:
> > /D2/xinxia/METplus/MET/out/
> > > >> > > > > extract_tiles/20141201_00/filter_20141201_00.tcst
> > > >> > > > >
> > > >> > > > > FILTER: -job filter -basin ML -init_inc
20141201_000000
> > > >> -match_points
> > > >> > > > true
> > > >> > > > > -out_init_mask /D2/xinxia/METplus/MET/met-5.
> > > >> > > 2/share/met/poly/CONUS.poly
> > > >> > > > > -dump_row /D2/xinxia/METplus/MET/out/ext
> > ract_tiles/20141201_00/
> > > >> > > > > filter_20141201_00.tcst
> > > >> > > > >
> > > >> > > > >
> > > >> > > > > DEBUG 2: Job 1 used 0 out of 27292 lines read.
> > > >> > > > >
> > > >> > > > >
> > > >> > > > > Because I don't have the right, I can't find
> run_tc_pairs.py,
> > > but
> > > >> I
> > > >> > > know
> > > >> > > > > it's under
> > > >> > > > >
> > > >> > > > > /D2/xinxia/METplus/METplus/ush
> > > >> > > > >
> > > >> > > > >
> > > >> > > > > For Python,
> > > >> > > > >
> > > >> > > > > [xinxia at chaos ~]$ which python
> > > >> > > > >
> > > >> > > > > /usr/bin/python
> > > >> > > > >
> > > >> > > > >
> > > >> > > > > Xinxia
> > > >> > > > >
> > > >> > > > > ________________________________
> > > >> > > > > From: Julie Prestopnik via RT <met_help at ucar.edu>
> > > >> > > > > Sent: Friday, February 24, 2017 8:30:01 AM
> > > >> > > > > To: Xinxia_Song at outlook.com
> > > >> > > > > Subject: Re: [rt.rap.ucar.edu #79605] ImportError: No
> module
> > > >> named
> > > >> > > > > constants_pdef
> > > >> > > > >
> > > >> > > > > Hi Xinxia.
> > > >> > > > >
> > > >> > > > > It looks like there is a space where there should not
be a
> > space
> > > >> > > (between
> > > >> > > > > /D2/xinxia/METplus/MET/out/extract_tiles/20141201_00/
and
> > > >> > > > > filter_20141201_00.tcst after the -dump_row option).
> > > >> > > > >
> > > >> > > > > Could you please try it again without the space?
> > > >> > > > >
> > > >> > > > > /D2/xinxia/METplus/METplus/ush/run_tc_stat.py:tc_stat
from
> > > >> calling
> > > >> > MET
> > > >> > > > > TC-STAT with command:/D2/xinxia/METplus/MET
> > /met-5.2/bin/tc_stat
> > > >> -job
> > > >> > > > > filter
> > > >> > > > > -lookin /D2/xinxia/METplus/MET/input/tc_pairs/201412
> > -init_inc
> > > >> > > > 20141201_00
> > > >> > > > > -match_points true -dump_row
/D2/xinxia/METplus/MET/out/
> > > >> > > > > extract_tiles/20141201_00/filter_20141201_00.tcst
-basin
> ML
> > > >> > > > > -out_init_mask
> > > >> > > > > /D2/xinxia/METplus/MET/met-
5.2/share/met/poly/CONUS.poly
> > > >> > > > >
> > > >> > > > > Regarding the master_met_plus.py run, please try
running the
> > > >> > following
> > > >> > > > two
> > > >> > > > > commands and send me the output:
> > > >> > > > >
> > > >> > > > > which run_tc_pairs.py
> > > >> > > > >
> > > >> > > > > which python
> > > >> > > > >
> > > >> > > > > Thanks!
> > > >> > > > >
> > > >> > > > > Julie
> > > >> > > > >
> > > >> > > > > On Thu, Feb 23, 2017 at 11:06 AM, Xinxia Song via RT
<
> > > >> > > met_help at ucar.edu>
> > > >> > > > > wrote:
> > > >> > > > >
> > > >> > > > > >
> > > >> > > > > > <URL: https://rt.rap.ucar.edu/rt/Tic
> > ket/Display.html?id=79605
> > > >
> > > >> > > > > >
> > > >> > > > > > Hi Julie,
> > > >> > > > > >
> > > >> > > > > >
> > > >> > > > > > After I ran the long one line command:
> > > >> > > > > >
> > > >> > > > > > [xinxia at chaos parm]$ /D2/xinxia/METplus/MET/met-5.
> > > 2/bin/tc_stat
> > > >> > -job
> > > >> > > > > > filter -lookin /D2/xinxia/METplus/MET/input/
> tc_pairs/201412
> > > >> > > -init_inc
> > > >> > > > > > 20141201_00 -match_points true -dump_row
> > > >> > /D2/xinxia/METplus/MET/out/
> > > >> > > > > extract_tiles/20141201_00/
> > > >> > > > > > filter_20141201_00.tcst  -basin ML -out_init_mask
> > > >> > > > > > /D2/xinxia/METplus/MET/met-
5.2/share/met/poly/CONUS.poly
> > > >> > > > > >
> > > >> > > > > >
> > > >> > > > > > DEBUG 1: [Source 1] Lookin:
/D2/xinxia/METplus/MET/input/
> > > >> > > > tc_pairs/201412
> > > >> > > > > >
> > > >> > > > > > ERROR  :
> > > >> > > > > >
> > > >> > > > > > ERROR  : TCStatJob *TCStatJobFactory::new_tc_
> stat_job(const
> > > >> char
> > > >> > > > > > *jobstring) -> unsupported job command options
> > > >> > > > "filter_20141201_00.tcst".
> > > >> > > > > >
> > > >> > > > > > ERROR  :
> > > >> > > > > >
> > > >> > > > > >
> > > >> > > > > > And for the master_met_plus.py, I got the error:
> > > >> > > > > >
> > > >> > > > > > [xinxia at chaos ush]$ python master_met_plus.py
> > > >> > > > > >
> > > >> > > > > > sh: run_tc_pairs.py: command not found
> > > >> > > > > >
> > > >> > > > > >
> > > >> > > > > > Thanks,
> > > >> > > > > >
> > > >> > > > > >
> > > >> > > > > > Xinxia
> > > >> > > > > >
> > > >> > > > > > ________________________________
> > > >> > > > > > From: Julie Prestopnik via RT <met_help at ucar.edu>
> > > >> > > > > > Sent: Friday, February 24, 2017 7:42:21 AM
> > > >> > > > > > To: Xinxia_Song at outlook.com
> > > >> > > > > > Subject: Re: [rt.rap.ucar.edu #79605] ImportError:
No
> > module
> > > >> named
> > > >> > > > > > constants_pdef
> > > >> > > > > >
> > > >> > > > > > My apologies, my response should have said, "By
default,
> MET
> > > >> > version
> > > >> > > > 5.2
> > > >> > > > > is
> > > >> > > > > > compiled using dynamic linking."  It's true for
both, but
> I
> > > see
> > > >> > > you're
> > > >> > > > > > using 5.2 and I inadvertently referred to 5.1.
> > > >> > > > > >
> > > >> > > > > > On Thu, Feb 23, 2017 at 10:40 AM, Julie Prestopnik
<
> > > >> > jpresto at ucar.edu
> > > >> > > >
> > > >> > > > > > wrote:
> > > >> > > > > >
> > > >> > > > > > > Hi Xinxia.  Regarding the error:
> > > >> > > > > > >
> > > >> > > > > > > /D2/xinxia/METplus/MET/met-5.2/bin/tc_stat: error
while
> > > >> loading
> > > >> > > > shared
> > > >> > > > > > > libraries: libgsl.so.19: cannot open shared
object file:
> > No
> > > >> such
> > > >> > > file
> > > >> > > > > or
> > > >> > > > > > > directory
> > > >> > > > > > >
> > > >> > > > > > > By default, MET version 5.1 is compiled using
dynamic
> > > linking.
> > > >> > > > Rather
> > > >> > > > > > > than compiling the external library code in with
the MET
> > > >> > > executables
> > > >> > > > > > (which
> > > >> > > > > > > is
> > > >> > > > > > > called static linking), it looks for them at
runtime.
> And
> > > >> it's
> > > >> > > > looking
> > > >> > > > > > > for those "shared object" (.so) library files.
> > > >> > > > > > >
> > > >> > > > > > > This should be easy to fix. We just need to tell
it
> where
> > to
> > > >> find
> > > >> > > > them,
> > > >> > > > > > > and we do that by setting (or adding to the
> > > LD_LIBRARY_PATH).
> > > >> > Look
> > > >> > > > in
> > > >> > > > > > your
> > > >> > > > > > > ~/.bashrc file.  If LD_LIBRARY_PATH is already
defined
> in
> > > >> there,
> > > >> > > add
> > > >> > > > > the
> > > >> > > > > > > path to the libgsl.so.19 to the end of it.  If
not, add
> an
> > > >> > > > > > > LD_LIBRARY_PATH entry in your ~/.bashrc file.
So, for
> > > >> example,
> > > >> > if
> > > >> > > > the
> > > >> > > > > > path
> > > >> > > > > > > to your libgsl.so.19 file is
> > /D2/xinxia/METplus/MET/externa
> > > >> > > > > > l_libs/GSL/gsl-1.16/lib
> > > >> > > > > > > you would add teh following to your ~/.bashrc
file:
> > > >> > > > > > >
> > > >> > > > > > >   export LD_LIBRARY_PATH=/D2/xinxia/
> > > >> > METplus/MET/external_libs/GSL/
> > > >> > > > > > > gsl-1.16/lib
> > > >> > > > > > >
> > > >> > > > > > > Then save the change and source that file:
> > > >> > > > > > >
> > > >> > > > > > >   source ~/.bashrc
> > > >> > > > > > >
> > > >> > > > > > > Then, please try rerunning the command manually
and let
> me
> > > >> know
> > > >> > if
> > > >> > > it
> > > >> > > > > > > works.
> > > >> > > > > > >
> > > >> > > > > > > I believe that this was the cause of the initial
error
> you
> > > >> > received
> > > >> > > > > from
> > > >> > > > > > > MET+:
> > > >> > > > > > >
> > > >> > > > > > > ERROR| /D2/xinxia/METplus/METplus/
> > > ush/run_tc_stat.py:tc_stat
> > > >> > from
> > > >> > > > > > calling
> > > >> > > > > > > MET TC-STAT with command:/D2/xinxia/METplus/
> > > >> > > MET/met-5.2/bin/tc_stat
> > > >> > > > > -job
> > > >> > > > > > > filter -lookin /D2/xinxia/METplus/MET/input/t
> > c_pairs/201412
> > > >> > > > -init_inc
> > > >> > > > > > > 20141201_00 -match_points true -dump_row
> > > >> > > > /D2/xinxia/METplus/MET/out/ext
> > > >> > > > > > > ract_tiles/20141201_00/filter_20141201_00.tcst
-basin
> ML
> > > >> > > > > -out_init_mask
> > > >> > > > > > > /D2/xinxia/METplus/MET/met-5.
> 2/share/met/poly/CONUS.poly
> > > >> > > > > > >
> > > >> > > > > > >
> > > >> > > > > > > Thanks,
> > > >> > > > > > > Julie
> > > >> > > > > > >
> > > >> > > > > > > On Thu, Feb 23, 2017 at 10:14 AM, Xinxia Song via
RT <
> > > >> > > > > met_help at ucar.edu>
> > > >> > > > > > > wrote:
> > > >> > > > > > >
> > > >> > > > > > >>
> > > >> > > > > > >> <URL: https://rt.rap.ucar.edu/rt/Tic
> > > >> ket/Display.html?id=79605 >
> > > >> > > > > > >>
> > > >> > > > > > >> Hi Julie,
> > > >> > > > > > >>
> > > >> > > > > > >>
> > > >> > > > > > >> [xinxia at chaos ush]$ /D2/xinxia/METplus/MET/met-
5.2
> > > >> /bin/tc_stat
> > > >> > > -job
> > > >> > > > > > >> filter -lookin /D2/xinxia/METplus/MET/input/
> > > tc_pairs/201412
> > > >> > > > -init_inc
> > > >> > > > > > >> 20141201_00 -match_points true -dump_row
> > > >> > > > > /D2/xinxia/METplus/MET/out/ext
> > > >> > > > > > ract_tiles/20141201_00/
> > > >> > > > > > >> filter_20141201_00.tcst  -basin ML
-out_init_mask
> > > >> > > > > > >> /D2/xinxia/METplus/MET/met-5.
> 2/share/met/poly/CONUS.poly
> > > >> > > > > > >>
> > > >> > > > > > >> /D2/xinxia/METplus/MET/met-5.2/bin/tc_stat:
error
> while
> > > >> loading
> > > >> > > > > shared
> > > >> > > > > > >> libraries: libgsl.so.19: cannot open shared
object
> file:
> > No
> > > >> such
> > > >> > > > file
> > > >> > > > > or
> > > >> > > > > > >> directory
> > > >> > > > > > >>
> > > >> > > > > > >>
> > > >> > > > > > >> And I uploaded the configuration file
> (constants_pdef.py)
> > > >> under
> > > >> > > > > > >> xinxia_data directory.
> > > >> > > > > > >>
> > > >> > > > > > >>
> > > >> > > > > > >> Thanks,
> > > >> > > > > > >>
> > > >> > > > > > >>
> > > >> > > > > > >> Xinxia
> > > >> > > > > > >>
> > > >> > > > > > >> ________________________________
> > > >> > > > > > >> From: Julie Prestopnik via RT
<met_help at ucar.edu>
> > > >> > > > > > >> Sent: Friday, February 24, 2017 6:15:57 AM
> > > >> > > > > > >> To: Xinxia_Song at outlook.com
> > > >> > > > > > >> Subject: Re: [rt.rap.ucar.edu #79605]
ImportError: No
> > > module
> > > >> > > named
> > > >> > > > > > >> constants_pdef
> > > >> > > > > > >>
> > > >> > > > > > >> Hi Xinxia.
> > > >> > > > > > >>
> > > >> > > > > > >> I can see that your command, which should have
been all
> > on
> > > >> one
> > > >> > > line,
> > > >> > > > > was
> > > >> > > > > > >> broken up into several lines.  Please try
running the
> > > command
> > > >> > > again,
> > > >> > > > > > >> making
> > > >> > > > > > >> sure that the entire command is on one line:
> > > >> > > > > > >>
> > > >> > > > > > >> /D2/xinxia/METplus/MET/met-5.2/bin/tc_stat -job
filter
> > > >> -lookin
> > > >> > > > > > >> /D2/xinxia/METplus/MET/input/tc_pairs/201412
-init_inc
> > > >> > > 20141201_00
> > > >> > > > > > >> -match_points true -dump_row
> > > >> > > > > > >>
/D2/xinxia/METplus/MET/out/extract_tiles/20141201_00/
> > > >> > > > > > >> filter_20141201_00.tcst  -basin ML
-out_init_mask
> > > >> > > > > > >> /D2/xinxia/METplus/MET/met-5.
> 2/share/met/poly/CONUS.poly
> > > >> > > > > > >>
> > > >> > > > > > >> Then, please send the output from that command.
> > > >> > > > > > >>
> > > >> > > > > > >> Regarding, your error:
> > > >> > > > > > >>
> > > >> > > > > > >> sh: run_tc_pairs.py: command not found
> > > >> > > > > > >>
> > > >> > > > > > >> It's strange that would only have occurred after
having
> > > >> changed
> > > >> > > the
> > > >> > > > > > >> LOG_LEVEL.  Could you please send us your
configuration
> > > file?
> > > >> > > > > > >>
> > > >> > > > > > >> Thanks!
> > > >> > > > > > >>
> > > >> > > > > > >> Julie
> > > >> > > > > > >>
> > > >> > > > > > >> On Wed, Feb 22, 2017 at 2:54 PM, Xinxia Song via
RT <
> > > >> > > > > met_help at ucar.edu>
> > > >> > > > > > >> wrote:
> > > >> > > > > > >>
> > > >> > > > > > >> >
> > > >> > > > > > >> > <URL: https://rt.rap.ucar.edu/rt/Tic
> > > >> ket/Display.html?id=79605
> > > >> > >
> > > >> > > > > > >> >
> > > >> > > > > > >> > Hi Julie,
> > > >> > > > > > >> >
> > > >> > > > > > >> >
> > > >> > > > > > >> > [xinxia at chaos ush]$
/D2/xinxia/METplus/MET/met-5.
> > > >> > 2/bin/tc_stat
> > > >> > > > -job
> > > >> > > > > > >> > filter -lookin
> > > >> > > > > > >> >
> > > >> > > > > > >> > /D2/xinxia/METplus/MET/met-5.2/bin/tc_stat:
error
> > while
> > > >> > loading
> > > >> > > > > > shared
> > > >> > > > > > >> > libraries: libgsl.so.19: cannot open shared
object
> > file:
> > > No
> > > >> > such
> > > >> > > > > file
> > > >> > > > > > or
> > > >> > > > > > >> > directory
> > > >> > > > > > >> >
> > > >> > > > > > >> >
> > > >> > > > > > >> > [xinxia at chaos ush]$
/D2/xinxia/METplus/MET/input/
> > > >> > > tc_pairs/201412
> > > >> > > > > > >> > -init_inc 20141201_00 -match_points true
-dump_row
> > > >> > > > > > >> >
> > > >> > > > > > >> > -bash:
/D2/xinxia/METplus/MET/input/tc_pairs/201412:
> > is
> > > a
> > > >> > > > directory
> > > >> > > > > > >> >
> > > >> > > > > > >> >
> > > >> > > > > > >> > [xinxia at chaos ush]$
/D2/xinxia/METplus/MET/out/ext
> > > >> > > > > > >> ract_tiles/20141201_00/
> > > >> > > > > > >> > filter_20141201_00.tcst  -basin ML
-out_init_mask
> > > >> > > > > > >> > /D2/xinxia/METplus/MET/met-5.2
> > /share/met/poly/CONUS.poly
> > > >> > > > > > >> >
> > > >> > > > > > >> > -bash: /D2/xinxia/METplus/MET/out/ext
> > > >> ract_tiles/20141201_00/:
> > > >> > > No
> > > >> > > > > such
> > > >> > > > > > >> > file or directory
> > > >> > > > > > >> >
> > > >> > > > > > >> >
> > > >> > > > > > >> > After I change the LOG_LEVEL, I ran the
> > > >> master_met_plus.py, it
> > > >> > > > says:
> > > >> > > > > > >> >
> > > >> > > > > > >> > [xinxia at chaos ush]$ python master_met_plus.py
> > > >> > > > > > >> >
> > > >> > > > > > >> > sh: run_tc_pairs.py: command not found
> > > >> > > > > > >> >
> > > >> > > > > > >> >
> > > >> > > > > > >> >
> > > >> > > > > > >> > Thanks,
> > > >> > > > > > >> >
> > > >> > > > > > >> >
> > > >> > > > > > >> > Xinxia
> > > >> > > > > > >> >
> > > >> > > > > > >> >
> > > >> > > > > > >> > ________________________________
> > > >> > > > > > >> > From: Julie Prestopnik via RT
<met_help at ucar.edu>
> > > >> > > > > > >> > Sent: Thursday, February 23, 2017 10:04:55 AM
> > > >> > > > > > >> > To: Xinxia_Song at outlook.com
> > > >> > > > > > >> > Subject: Re: [rt.rap.ucar.edu #79605]
ImportError:
> No
> > > >> module
> > > >> > > > named
> > > >> > > > > > >> > constants_pdef
> > > >> > > > > > >> >
> > > >> > > > > > >> > Thank you.  Unfortunately, the level of detail
in the
> > log
> > > >> file
> > > >> > > > > wasn't
> > > >> > > > > > >> what
> > > >> > > > > > >> > I hoped for.  I'd like to have you try two
things.
> > > >> > > > > > >> >
> > > >> > > > > > >> > First, could you please send me your output of
your
> > > manual
> > > >> run
> > > >> > > of
> > > >> > > > > the
> > > >> > > > > > >> > following?
> > > >> > > > > > >> >
> > > >> > > > > > >> > "/D2/xinxia/METplus/MET/met-5.2/bin/tc_stat
-job
> > filter
> > > >> > -lookin
> > > >> > > > > > >> > /D2/xinxia/METplus/MET/input/tc_pairs/201412
> -init_inc
> > > >> > > > 20141201_00
> > > >> > > > > > >> > -match_points true -dump_row
> > /D2/xinxia/METplus/MET/out/
> > > >> > > > > > >> > extract_tiles/20141201_00/
filter_20141201_00.tcst
> > > -basin
> > > >> ML
> > > >> > > > > > >> > -out_init_mask
> > > >> > > > > > >> > /D2/xinxia/METplus/MET/met-5.
> > > 2/share/met/poly/CONUS.poly"
> > > >> > > > > > >> >
> > > >> > > > > > >> > Second, could you please change your log level
in
> your
> > > >> > > > configuration
> > > >> > > > > > >> file
> > > >> > > > > > >> > from
> > > >> > > > > > >> >
> > > >> > > > > > >> > LOG_LEVEL = "INFO"
> > > >> > > > > > >> >
> > > >> > > > > > >> > to
> > > >> > > > > > >> >
> > > >> > > > > > >> > LOG_LEVEL = "DEBUG"
> > > >> > > > > > >> >
> > > >> > > > > > >> > then rerun and upload your log file to our ftp
server
> > > >> again?
> > > >> > > > > > >> >
> > > >> > > > > > >> > Thank you!
> > > >> > > > > > >> >
> > > >> > > > > > >> > Julie
> > > >> > > > > > >> >
> > > >> > > > > > >> >
> > > >> > > > > > >> > On Wed, Feb 22, 2017 at 12:39 PM, Xinxia Song
via RT
> <
> > > >> > > > > > met_help at ucar.edu
> > > >> > > > > > >> >
> > > >> > > > > > >> > wrote:
> > > >> > > > > > >> >
> > > >> > > > > > >> > >
> > > >> > > > > > >> > > <URL: https://rt.rap.ucar.edu/rt/
> > > >> > Ticket/Display.html?id=79605
> > > >> > > >
> > > >> > > > > > >> > >
> > > >> > > > > > >> > > Hi Julie,
> > > >> > > > > > >> > >
> > > >> > > > > > >> > >
> > > >> > > > > > >> > > I uploaded the log file under xinxia_data
> directory.
> > > >> > > > > > >> > >
> > > >> > > > > > >> > >
> > > >> > > > > > >> > > Thanks,
> > > >> > > > > > >> > >
> > > >> > > > > > >> > >
> > > >> > > > > > >> > > Xinxia
> > > >> > > > > > >> > >
> > > >> > > > > > >> > >
> > > >> > > > > > >> > > ________________________________
> > > >> > > > > > >> > > From: Julie Prestopnik via RT
<met_help at ucar.edu>
> > > >> > > > > > >> > > Sent: Thursday, February 23, 2017 9:11:32 AM
> > > >> > > > > > >> > > To: Xinxia_Song at outlook.com
> > > >> > > > > > >> > > Subject: Re: [rt.rap.ucar.edu #79605]
ImportError:
> > No
> > > >> > module
> > > >> > > > > named
> > > >> > > > > > >> > > constants_pdef
> > > >> > > > > > >> > >
> > > >> > > > > > >> > > Hi Xinxia.
> > > >> > > > > > >> > >
> > > >> > > > > > >> > > I think it would be helpful if I could take
a look
> at
> > > the
> > > >> > log
> > > >> > > > > file.
> > > >> > > > > > >> > Could
> > > >> > > > > > >> > > you please upload your file to our anonymous
ftp
> site
> > > as
> > > >> > > follows
> > > >> > > > > so
> > > >> > > > > > >> that
> > > >> > > > > > >> > I
> > > >> > > > > > >> > > can take a look?
> > > >> > > > > > >> > >
> > > >> > > > > > >> > >    http://www.dtcenter.org/met/
> > > >> > users/support/met_help.php#ftp
> > > >> > > > > > >> > >
> > > >> > > > > > >> > > Also, could you please try running the
following
> > > manually
> > > >> > and
> > > >> > > > send
> > > >> > > > > > the
> > > >> > > > > > >> > > output to me?
> > > >> > > > > > >> > >
> > > >> > > > > > >> > > "/D2/xinxia/METplus/MET/met-5.2/bin/tc_stat
-job
> > > filter
> > > >> > > -lookin
> > > >> > > > > > >> > > /D2/xinxia/METplus/MET/input/tc_pairs/201412
> > -init_inc
> > > >> > > > > 20141201_00
> > > >> > > > > > >> > > -match_points true -dump_row
> > > /D2/xinxia/METplus/MET/out/
> > > >> > > > > > >> > >
extract_tiles/20141201_00/filter_20141201_00.tcst
> > > >> -basin
> > > >> > ML
> > > >> > > > > > >> > > -out_init_mask
> > > >> > > > > > >> > > /D2/xinxia/METplus/MET/met-5.2
> > > >> /share/met/poly/CONUS.poly"
> > > >> > > > > > >> > >
> > > >> > > > > > >> > > Thank you!
> > > >> > > > > > >> > >
> > > >> > > > > > >> > > Julie
> > > >> > > > > > >> > >
> > > >> > > > > > >> > >
> > > >> > > > > > >> > >
> > > >> > > > > > >> > > On Wed, Feb 22, 2017 at 12:06 PM, Xinxia
Song via
> RT
> > <
> > > >> > > > > > >> met_help at ucar.edu>
> > > >> > > > > > >> > > wrote:
> > > >> > > > > > >> > >
> > > >> > > > > > >> > > >
> > > >> > > > > > >> > > > <URL: https://rt.rap.ucar.edu/rt/
> > > >> > > Ticket/Display.html?id=79605
> > > >> > > > >
> > > >> > > > > > >> > > >
> > > >> > > > > > >> > > > Hi Julie,
> > > >> > > > > > >> > > >
> > > >> > > > > > >> > > >
> > > >> > > > > > >> > > > Now I can run the program, but when I look
at the
> > log
> > > >> file
> > > >> > > in
> > > >> > > > > the
> > > >> > > > > > >> > output,
> > > >> > > > > > >> > > > it shows error below:
> > > >> > > > > > >> > > >
> > > >> > > > > > >> > > >
> > > >> > > > > > >> > > > ERROR| /D2/xinxia/METplus/METplus/
> > > >> > > ush/run_tc_stat.py:tc_stat
> > > >> > > > > from
> > > >> > > > > > >> > > calling
> > > >> > > > > > >> > > > MET TC-STAT with
command:/D2/xinxia/METplus/MET
> > > >> > > > > > /met-5.2/bin/tc_stat
> > > >> > > > > > >> > -job
> > > >> > > > > > >> > > > filter -lookin
/D2/xinxia/METplus/MET/input/
> > > >> > tc_pairs/201412
> > > >> > > > > > >> -init_inc
> > > >> > > > > > >> > > > 20141201_00 -match_points true -dump_row
> > > >> > > > > > /D2/xinxia/METplus/MET/out/
> > > >> > > > > > >> > > > extract_tiles/20141201_00/
> filter_20141201_00.tcst
> > > >> -basin
> > > >> > > ML
> > > >> > > > > > >> > > > -out_init_mask /D2/xinxia/METplus/MET/met-
5.
> > > >> > > > > > >> > 2/share/met/poly/CONUS.poly
> > > >> > > > > > >> > > >
> > > >> > > > > > >> > > >
> > > >> > > > > > >> > > > How should I fix it?
> > > >> > > > > > >> > > >
> > > >> > > > > > >> > > >
> > > >> > > > > > >> > > > Thanks,
> > > >> > > > > > >> > > >
> > > >> > > > > > >> > > >
> > > >> > > > > > >> > > > Xinxia
> > > >> > > > > > >> > > >
> > > >> > > > > > >> > > > ________________________________
> > > >> > > > > > >> > > > From: Julie Prestopnik via RT
<met_help at ucar.edu
> >
> > > >> > > > > > >> > > > Sent: Thursday, February 23, 2017 7:30:06
AM
> > > >> > > > > > >> > > > To: Xinxia_Song at outlook.com
> > > >> > > > > > >> > > > Subject: Re: [rt.rap.ucar.edu #79605]
> ImportError:
> > > No
> > > >> > > module
> > > >> > > > > > named
> > > >> > > > > > >> > > > constants_pdef
> > > >> > > > > > >> > > >
> > > >> > > > > > >> > > > Hi Xinxia.
> > > >> > > > > > >> > > >
> > > >> > > > > > >> > > > I believe that python doesn't know how to
find
> the
> > > >> module
> > > >> > > > > because
> > > >> > > > > > >> the
> > > >> > > > > > >> > ush
> > > >> > > > > > >> > > > directory is not in your PYTHONPATH.  Both
the
> parm
> > > and
> > > >> > ush
> > > >> > > > > > >> directory
> > > >> > > > > > >> > > need
> > > >> > > > > > >> > > > to be specified in your PYTHONPATH.
Please add
> the
> > > ush
> > > >> > > > > directory
> > > >> > > > > > to
> > > >> > > > > > >> > your
> > > >> > > > > > >> > > > PYTHONPATH, source ~/.bashrc, and let us
know how
> > it
> > > >> goes.
> > > >> > > > > > >> > > >
> > > >> > > > > > >> > > > Thanks,
> > > >> > > > > > >> > > > Julie
> > > >> > > > > > >> > > >
> > > >> > > > > > >> > > > On Wed, Feb 22, 2017 at 10:24 AM, Xinxia
Song via
> > RT
> > > <
> > > >> > > > > > >> > met_help at ucar.edu>
> > > >> > > > > > >> > > > wrote:
> > > >> > > > > > >> > > >
> > > >> > > > > > >> > > > >
> > > >> > > > > > >> > > > > <URL: https://rt.rap.ucar.edu/rt/
> > > >> > > > Ticket/Display.html?id=79605
> > > >> > > > > >
> > > >> > > > > > >> > > > >
> > > >> > > > > > >> > > > > Hi Julie,
> > > >> > > > > > >> > > > >
> > > >> > > > > > >> > > > >
> > > >> > > > > > >> > > > > Since I don't have setenv, I added these
3
> > sentence
> > > >> into
> > > >> > > my
> > > >> > > > > > >> .bashrc
> > > >> > > > > > >> > > file:
> > > >> > > > > > >> > > > >
> > > >> > > > > > >> > > > >
> > > >> > > > > > >> > > > > export PYTHONPATH="/D2/xinxia/
> > > METplus/METplus/parm"
> > > >> > > > > > >> > > > >
> > > >> > > > > > >> > > > >
> > > >> > > > > > >> > > > > export
USHROOT=/D2/xinxia/METplus/METplus/ush
> > > >> > > > > > >> > > > >
> > > >> > > > > > >> > > > > export PATH=$USHROOT:$PATH
> > > >> > > > > > >> > > > >
> > > >> > > > > > >> > > > >
> > > >> > > > > > >> > > > > I sourced the ~/.bashrc, and checked
that the
> > > >> variables
> > > >> > > are
> > > >> > > > > set,
> > > >> > > > > > >> but
> > > >> > > > > > >> > > the
> > > >> > > > > > >> > > > > program still can't find the module.
> > > >> > > > > > >> > > > >
> > > >> > > > > > >> > > > >
> > > >> > > > > > >> > > > > Thanks,
> > > >> > > > > > >> > > > >
> > > >> > > > > > >> > > > > Xinxia
> > > >> > > > > > >> > > > >
> > > >> > > > > > >> > > > > ________________________________
> > > >> > > > > > >> > > > > From: Julie Prestopnik via RT <
> met_help at ucar.edu
> > >
> > > >> > > > > > >> > > > > Sent: Thursday, February 23, 2017
6:24:21 AM
> > > >> > > > > > >> > > > > To: Xinxia_Song at outlook.com
> > > >> > > > > > >> > > > > Subject: Re: [rt.rap.ucar.edu #79605]
> > ImportError:
> > > >> No
> > > >> > > > module
> > > >> > > > > > >> named
> > > >> > > > > > >> > > > > constants_pdef
> > > >> > > > > > >> > > > >
> > > >> > > > > > >> > > > > Hi Xinxia.
> > > >> > > > > > >> > > > >
> > > >> > > > > > >> > > > > Could you please check to make sure that
the
> ush
> > > >> > directory
> > > >> > > > > with
> > > >> > > > > > >> > > > > constants_pdef.py is in your PYTHONPATH
in your
> > > >> .cshrc
> > > >> > > file
> > > >> > > > > (or
> > > >> > > > > > >> > .bashrc
> > > >> > > > > > >> > > > or
> > > >> > > > > > >> > > > > similar file)?  The parm directory
should also
> be
> > > in
> > > >> > your
> > > >> > > > > > >> PYTHONPATH.
> > > >> > > > > > >> > > > >
> > > >> > > > > > >> > > > > For example,
> > > >> > > > > > >> > > > >
> > > >> > > > > > >> > > > > setenv PYTHONPATH
/d1/jpresto/sbu/METplus/ush:/
> > > >> > > > > > >> > > > d1/jpresto/sbu/METplus/parm
> > > >> > > > > > >> > > > >
> > > >> > > > > > >> > > > > Please also check make sure that the
path to
> the
> > > ush
> > > >> > > > directory
> > > >> > > > > > is
> > > >> > > > > > >> > also
> > > >> > > > > > >> > > > > specified your your path environment
variable.
> > For
> > > >> > > example,
> > > >> > > > > > >> > > > >
> > > >> > > > > > >> > > > > set path = (/usr/local/bin \
> > > >> > > > > > >> > > > >
/usr/local/python/bin/python \
> > > >> > > > > > >> > > > >
/d1/jpresto/sbu/METplus/ush )
> > > >> > > > > > >> > > > >
> > > >> > > > > > >> > > > > If they are not there, please add them
and then
> > > >> source
> > > >> > the
> > > >> > > > > file
> > > >> > > > > > >> (e.g.
> > > >> > > > > > >> > > run
> > > >> > > > > > >> > > > > "source ~/.cshrc").
> > > >> > > > > > >> > > > >
> > > >> > > > > > >> > > > > Thank you!  Please let us know how it
goes.
> > > >> > > > > > >> > > > >
> > > >> > > > > > >> > > > > Julie
> > > >> > > > > > >> > > > >
> > > >> > > > > > >> > > > >
> > > >> > > > > > >> > > > >
> > > >> > > > > > >> > > > >
> > > >> > > > > > >> > > > > On Tue, Feb 21, 2017 at 4:49 PM, Xinxia
Song
> via
> > > RT <
> > > >> > > > > > >> > met_help at ucar.edu
> > > >> > > > > > >> > > >
> > > >> > > > > > >> > > > > wrote:
> > > >> > > > > > >> > > > >
> > > >> > > > > > >> > > > > >
> > > >> > > > > > >> > > > > > Tue Feb 21 16:49:28 2017: Request
79605 was
> > acted
> > > >> > upon.
> > > >> > > > > > >> > > > > > Transaction: Ticket created by
> > > >> > Xinxia_Song at outlook.com
> > > >> > > > > > >> > > > > >        Queue: met_help
> > > >> > > > > > >> > > > > >      Subject: ImportError: No module
named
> > > >> > > constants_pdef
> > > >> > > > > > >> > > > > >        Owner: Nobody
> > > >> > > > > > >> > > > > >   Requestors: Xinxia_Song at outlook.com
> > > >> > > > > > >> > > > > >       Status: new
> > > >> > > > > > >> > > > > >  Ticket <URL:
https://rt.rap.ucar.edu/rt/
> > > >> > > > > > >> > > Ticket/Display.html?id=79605
> > > >> > > > > > >> > > > >
> > > >> > > > > > >> > > > > >
> > > >> > > > > > >> > > > > >
> > > >> > > > > > >> > > > > > Hi,
> > > >> > > > > > >> > > > > >
> > > >> > > > > > >> > > > > >
> > > >> > > > > > >> > > > > > When I ran the mater_met_plus.py, it
says:
> > > >> > > > > > >> > > > > >
> > > >> > > > > > >> > > > > >
> > > >> > > > > > >> > > > > > ImportError: No module named
constants_pdef
> > > >> > > > > > >> > > > > >
> > > >> > > > > > >> > > > > >
> > > >> > > > > > >> > > > > > Seems it doesn't recognize
constants_pdef as
> > its
> > > >> > module.
> > > >> > > > > > >> > > > > >
> > > >> > > > > > >> > > > > >
> > > >> > > > > > >> > > > > > Thanks,
> > > >> > > > > > >> > > > > >
> > > >> > > > > > >> > > > > > Xinxia
> > > >> > > > > > >> > > > > >
> > > >> > > > > > >> > > > > >
> > > >> > > > > > >> > > > >
> > > >> > > > > > >> > > > >
> > > >> > > > > > >> > > > >
> > > >> > > > > > >> > > >
> > > >> > > > > > >> > > >
> > > >> > > > > > >> > > >
> > > >> > > > > > >> > >
> > > >> > > > > > >> > >
> > > >> > > > > > >> > >
> > > >> > > > > > >> >
> > > >> > > > > > >> >
> > > >> > > > > > >> >
> > > >> > > > > > >>
> > > >> > > > > > >>
> > > >> > > > > > >>
> > > >> > > > > > >
> > > >> > > > > >
> > > >> > > > > >
> > > >> > > > > >
> > > >> > > > >
> > > >> > > > >
> > > >> > > > >
> > > >> > > >
> > > >> > > >
> > > >> > > >
> > > >> > >
> > > >> > >
> > > >> > >
> > > >> >
> > > >> >
> > > >> >
> > > >>
> > > >>
> > > >>
> > > >
> > >
> > >
> > >
> >
> >
> >
>
>
>

------------------------------------------------
Subject: ImportError: No module named constants_pdef
From: Xinxia Song
Time: Mon Feb 27 15:10:19 2017

Hi Julie,


The result is :

-bash: /usr/local/nco/bin/ncap2: No such file or directory

I think we don't have it installed.


Thanks,

Xinxia

________________________________
From: Julie Prestopnik via RT <met_help at ucar.edu>
Sent: Monday, February 27, 2017 5:08:48 PM
To: Xinxia_Song at outlook.com
Subject: Re: [rt.rap.ucar.edu #79605] ImportError: No module named
constants_pdef

Hi Xinxia. I believe that error code refers to "Command not found".
Can
you please run the following and send me the output?

/usr/local/nco/bin/ncap2 --version

Thanks!

Julie


On Mon, Feb 27, 2017 at 2:55 PM, Xinxia Song via RT
<met_help at ucar.edu>
wrote:

>
> <URL: https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=79605 >
>
> Hi Julie,
>
>
> The error is:
>
> Traceback (most recent call last):
>
>   File "series_by_lead.py", line 945, in <module>
>
>     analysis_by_lead_time()
>
>   File "series_by_lead.py", line 326, in analysis_by_lead_time
>
>     vmin, vmax = get_netcdf_min_max(nc_var_list, cur_stat, p,
logger)
>
>   File "series_by_lead.py", line 605, in get_netcdf_min_max
>
>     shell=True)
>
>   File "/home/xinxia/anaconda2/lib/python2.7/subprocess.py", line
219, in
> check_output
>
>     raise CalledProcessError(retcode, cmd, output=output)
>
> subprocess.CalledProcessError: Command '/usr/local/nco/bin/ncap2 -v
-s
> "min=min(series_cnt_TOTAL)" /D2/xinxia/METplus/MET/out/
> series_analysis_lead/series_F042/series_F042_HGT_P500.nc
> /D2/xinxia/METplus/MET/out/series_analysis_lead/series_F042/min.nc'
> returned non-zero exit status 127
>
>
> Thanks,
>
>
> Xinxia
>
> ________________________________
> From: Julie Prestopnik via RT <met_help at ucar.edu>
> Sent: Tuesday, February 28, 2017 9:18:55 AM
> To: Xinxia_Song at outlook.com
> Subject: Re: [rt.rap.ucar.edu #79605] ImportError: No module named
> constants_pdef
>
> Thank you, Xinxia.
>
> Unfortunately, the "DEBUG" log level did not provide much
information for
> this task:
>
> 2017-02-26 21:30:28,041 : INFO | [master_met_plus.py:main] |
Running:
> series_by_lead.py
> 2017-02-26 21:30:28,212 : ERROR | [master_met_plus.py:main] |
Problem
> executing: series_by_lead.py
>
> Could you please try running series_by_lead.py in the ush directory?
> Please let me know what the output is from that run - it may still
be
> contained in your log file.
>
> Thanks!
>
> Julie
>
>
> On Mon, Feb 27, 2017 at 11:17 AM, Xinxia Song via RT
<met_help at ucar.edu>
> wrote:
>
> >
> > <URL: https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=79605 >
> >
> > Hi Julie,
> >
> >
> > I uploaded the constants_pdef.py and master_met_plus.20170226.log.
> >
> >
> > Thanks,
> >
> >
> > Xinxia
> >
> > ________________________________
> > From: Julie Prestopnik via RT <met_help at ucar.edu>
> > Sent: Tuesday, February 28, 2017 5:46:37 AM
> > To: Xinxia_Song at outlook.com
> > Subject: Re: [rt.rap.ucar.edu #79605] ImportError: No module named
> > constants_pdef
> >
> > Hi Xinxia.  Can you please upload the configuration file that you
used
> and
> > the log file from that run to our ftp server so that we can take a
look?
> >
> > Thanks!
> >
> > Julie
> >
> > On Sun, Feb 26, 2017 at 2:35 PM, Xinxia Song via RT
<met_help at ucar.edu>
> > wrote:
> >
> > >
> > > <URL: https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=79605 >
> > >
> > > Hi Julie,
> > >
> > >
> > > I ran the mater_met_plus.py and in the end in the log file it
gave me
> an
> > > error:
> > >
> > > 2017-02-26 21:30:28,212 : ERROR | [master_met_plus.py:main] |
Problem
> > > executing: series_by_lead.py
> > >
> > >
> > > Thanks,
> > >
> > > Xinxia
> > >
> > > ________________________________
> > > From: Julie Prestopnik via RT <met_help at ucar.edu>
> > > Sent: Saturday, February 25, 2017 6:49:56 AM
> > > To: Xinxia_Song at outlook.com
> > > Subject: Re: [rt.rap.ucar.edu #79605] ImportError: No module
named
> > > constants_pdef
> > >
> > > You could also run "tail -f </path/to/logfile/logfile_name>"
replacing
> > > </path/to/logfile/logfile_name> with the logfile path and name
> > information
> > > to see how the run is coming along.  I hope that helps!
> > >
> > > Julie
> > >
> > > On Fri, Feb 24, 2017 at 9:42 AM, Julie Prestopnik
<jpresto at ucar.edu>
> > > wrote:
> > >
> > > > Hi Xinxia.  Running the entire three months of data could
certainly
> > take
> > > a
> > > > long time.  I am hoping to get an estimate on how long it took
to run
> > the
> > > > three month data set here, but have not been able to obtain
that
> number
> > > > yet.   It sounds the code was running successfully for you.
If
> you're
> > > > eager to take a lot at some output, I would suggest running a
smaller
> > > > subset of the data, or perhaps you could set up the whole
three month
> > to
> > > > run over the weekend.  I would suggest letting the code run to
> > completion
> > > > for either a smaller subset or for the entire subset and then
> checking
> > > the
> > > > log file for errors.  I hope that helps.  Please let me know
if you
> > have
> > > > any questions or encounter any issues.
> > > >
> > > > Thanks,
> > > > Julie
> > > >
> > > >
> > > > On Thu, Feb 23, 2017 at 4:28 PM, Xinxia Song via RT <
> met_help at ucar.edu
> > >
> > > > wrote:
> > > >
> > > >>
> > > >> <URL: https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=79605
>
> > > >>
> > > >> Hi Julie,
> > > >>
> > > >>
> > > >> The version is set to be 2.7+. When I ran master_met_plus.py,
it
> seems
> > > it
> > > >> will run forever. So I killed it, and got the following:
> > > >>
> > > >> [xinxia at chaos ush]$ python master_met_plus.py
> > > >>
> > > >> ^CTraceback (most recent call last):
> > > >>
> > > >>   File "/D2/xinxia/METplus/METplus/ush/extract_tiles.py",
line 157,
> > in
> > > >> <module>
> > > >>
> > > >>     main()
> > > >>
> > > >>   File "/D2/xinxia/METplus/METplus/ush/extract_tiles.py",
line 100,
> > in
> > > >> main
> > > >>
> > > >>     filtered_out_dir)
> > > >>
> > > >>   File "/D2/xinxia/METplus/METplus/ush/run_tc_stat.py", line
69, in
> > > >> tc_stat
> > > >>
> > > >>     tc_stat_out = subprocess.check_output(tc_cmd,
> > > >> stderr=subprocess.STDOUT, shell=True )
> > > >>
> > > >>   File "/home/xinxia/anaconda2/lib/python2.7/subprocess.py",
line
> > 213,
> > > >> in check_output
> > > >>
> > > >>     output, unused_err = process.communicate()
> > > >>
> > > >>   File "/home/xinxia/anaconda2/lib/python2.7/subprocess.py",
line
> > 471,
> > > >> in communicate
> > > >>
> > > >>     stdout = _eintr_retry_call(self.stdout.read)
> > > >>
> > > >>   File "/home/xinxia/anaconda2/lib/python2.7/subprocess.py",
line
> > 121,
> > > >> in _eintr_retry_call
> > > >>
> > > >>     return func(*args)
> > > >>
> > > >> KeyboardInterrupt
> > > >>
> > > >>
> > > >> Thanks,
> > > >>
> > > >>
> > > >> Xinxia
> > > >>
> > > >> ________________________________
> > > >> From: Julie Prestopnik via RT <met_help at ucar.edu>
> > > >> Sent: Friday, February 24, 2017 12:02:21 PM
> > > >> To: Xinxia_Song at outlook.com
> > > >> Subject: Re: [rt.rap.ucar.edu #79605] ImportError: No module
named
> > > >> constants_pdef
> > > >>
> > > >> Hi Xinxia.  I suspect that even though you installed Python
2.7 that
> > > >> Python
> > > >> 2.6.6 is still being used.
> > > >>
> > > >> Please try running:
> > > >>
> > > >> python --version
> > > >>
> > > >> on the command line.
> > > >>
> > > >> If you see "Python 2..6.6", please add the path for Python
2.7 to
> the
> > > >> front
> > > >> of your path in your ~/.bashrc file.  Then, source your
~/.bashrc
> file
> > > and
> > > >> try rerunning
> > > >>
> > > >> python --version
> > > >>
> > > >> on the command line.  Hopefully, then you will see the new
version.
> > > Then,
> > > >> please try rerunning master_met_plus.py.
> > > >>
> > > >> I hope this helps!  Thanks!
> > > >>
> > > >> Julie
> > > >>
> > > >> On Thu, Feb 23, 2017 at 1:51 PM, Xinxia Song via RT <
> > met_help at ucar.edu>
> > > >> wrote:
> > > >>
> > > >> >
> > > >> > <URL:
https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=79605 >
> > > >> >
> > > >> > Hi Julie,
> > > >> >
> > > >> >
> > > >> > I installed myself the 2.7 python, it still got the error
when
> > > running:
> > > >> >
> > > >> > Traceback (most recent call last):
> > > >> >
> > > >> >   File "/D2/xinxia/METplus/METplus/ush/series_by_lead.py",
line
> > 945,
> > > in
> > > >> > <module>
> > > >> >
> > > >> >     analysis_by_lead_time()
> > > >> >
> > > >> >   File "/D2/xinxia/METplus/METplus/ush/series_by_lead.py",
line
> > 107,
> > > in
> > > >> > analysis_by_lead_time
> > > >> >
> > > >> >     util.apply_series_filters(tile_dir, init_times,
> > > >> > series_lead_filtered_out_dir, p, logger)
> > > >> >
> > > >> >   File "/D2/xinxia/METplus/METplus/ush/met_util.py", line
1005,
> in
> > > >> > apply_series_filters
> > > >> >
> > > >> >     tcs.tc_stat(p, logger, tc_cmd, series_output_dir)
> > > >> >
> > > >> >   File "/D2/xinxia/METplus/METplus/ush/run_tc_stat.py",
line 69,
> in
> > > >> > tc_stat
> > > >> >
> > > >> >     tc_stat_out = subprocess.check_output(tc_cmd,
> > > >> > stderr=subprocess.STDOUT, shell=True )
> > > >> >
> > > >> > AttributeError: 'module' object has no attribute
'check_output'
> > > >> >
> > > >> >
> > > >> > Thanks,
> > > >> >
> > > >> >
> > > >> > Xinxia
> > > >> >
> > > >> > ________________________________
> > > >> > From: Julie Prestopnik via RT <met_help at ucar.edu>
> > > >> > Sent: Friday, February 24, 2017 9:37:53 AM
> > > >> > To: Xinxia_Song at outlook.com
> > > >> > Subject: Re: [rt.rap.ucar.edu #79605] ImportError: No
module
> named
> > > >> > constants_pdef
> > > >> >
> > > >> > Can you please tell me which version of Python you are
using?
> > > >> check_output
> > > >> > for subprocess was introduced in Python 2.7.    Do you have
access
> > to
> > > >> > Python version 2.7 or higher?
> > > >> >
> > > >> > Thanks,
> > > >> > Julie
> > > >> >
> > > >> > On Thu, Feb 23, 2017 at 12:11 PM, Xinxia Song via RT <
> > > met_help at ucar.edu
> > > >> >
> > > >> > wrote:
> > > >> >
> > > >> > >
> > > >> > > <URL:
https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=79605 >
> > > >> > >
> > > >> > > Hi Julie,
> > > >> > >
> > > >> > >
> > > >> > > I added it to the $PATH and ran the master_met_python.py:
> > > >> > >
> > > >> > > [xinxia at chaos ush]$ python master_met_plus.py
> > > >> > >
> > > >> > > Traceback (most recent call last):
> > > >> > >
> > > >> > >   File "/D2/xinxia/METplus/METplus/ush/extract_tiles.py",
line
> > 157,
> > > >> in
> > > >> > > <module>
> > > >> > >
> > > >> > >     main()
> > > >> > >
> > > >> > >   File "/D2/xinxia/METplus/METplus/ush/extract_tiles.py",
line
> > 100,
> > > >> in
> > > >> > > main
> > > >> > >
> > > >> > >     filtered_out_dir)
> > > >> > >
> > > >> > >   File "/D2/xinxia/METplus/METplus/ush/run_tc_stat.py",
line
> 69,
> > in
> > > >> > > tc_stat
> > > >> > >
> > > >> > >     tc_stat_out = subprocess.check_output(tc_cmd,
> > > >> > > stderr=subprocess.STDOUT, shell=True )
> > > >> > >
> > > >> > > AttributeError: 'module' object has no attribute
'check_output'
> > > >> > >
> > > >> > >
> > > >> > > Thanks,
> > > >> > >
> > > >> > >
> > > >> > > Xinxia
> > > >> > >
> > > >> > > ________________________________
> > > >> > > From: Julie Prestopnik via RT <met_help at ucar.edu>
> > > >> > > Sent: Friday, February 24, 2017 9:07:40 AM
> > > >> > > To: Xinxia_Song at outlook.com
> > > >> > > Subject: Re: [rt.rap.ucar.edu #79605] ImportError: No
module
> > named
> > > >> > > constants_pdef
> > > >> > >
> > > >> > > Unfortunately, your environment does not know where to
find
> > > >> > > run_tc_pairs.py.  Please try adding the directory with
> > > run_tc_pairs.py
> > > >> > > (/D2/xinxia/METplus/METplus/ush) to your path in your
~/.bashrc
> > > file,
> > > >> > then
> > > >> > > run "source ~/.bashrc", then trying rerunning.  Please
let me
> know
> > > how
> > > >> > that
> > > >> > > goes.
> > > >> > >
> > > >> > > Thanks!
> > > >> > >
> > > >> > > Julie
> > > >> > >
> > > >> > > On Thu, Feb 23, 2017 at 11:55 AM, Xinxia Song via RT <
> > > >> met_help at ucar.edu>
> > > >> > > wrote:
> > > >> > >
> > > >> > > >
> > > >> > > > <URL:
https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=79605
> >
> > > >> > > >
> > > >> > > > Hi Julie,
> > > >> > > >
> > > >> > > >
> > > >> > > > I'm running met in a machine that's owned by our
department, I
> > > don't
> > > >> > have
> > > >> > > > sudo right, so when I type which run_tc_pairs.py, it
says
> > couldn't
> > > >> find
> > > >> > > it.
> > > >> > > >
> > > >> > > > no run_tc_pairs.py in (/opt/ncl/bin:/opt/intel-soft/
> > > >> > > > bin:/opt/ncl/bin:/opt/ncl/bin:/opt/intel-
soft/bin:/opt/ncl/
> > > >> > > >
bin:/home/xinxia/anaconda/bin:/home/xinxia/anaconda/bin:/
> > > >> > > > opt/ncl/bin:/opt/intel-
soft/bin:/opt/ncl/bin:/usr/lib64/
> > > >> > > > qt-
3.3/bin:/usr/local/bin:/bin:/usr/bin:/usr/local/sbin:/
> > > >> > > > usr/sbin:/sbin:/sbin:/usr/sbin:/cm/local/apps/
> > > >> > > environment-modules/3.2.10/
> > > >> > > > bin:/home/xinxia/bin:/opt/ncl-621/bin)
> > > >> > > >
> > > >> > > >
> > > >> > > > But I could find it manually in that directory.
> > > >> > > >
> > > >> > > >
> > > >> > > > Thanks,
> > > >> > > >
> > > >> > > >
> > > >> > > > Xinxia
> > > >> > > >
> > > >> > > > ________________________________
> > > >> > > > From: Julie Prestopnik via RT <met_help at ucar.edu>
> > > >> > > > Sent: Friday, February 24, 2017 8:52:16 AM
> > > >> > > > To: Xinxia_Song at outlook.com
> > > >> > > > Subject: Re: [rt.rap.ucar.edu #79605] ImportError: No
module
> > > named
> > > >> > > > constants_pdef
> > > >> > > >
> > > >> > > > Hi Xinxia.
> > > >> > > >
> > > >> > > > It looks like you got a successful run of tc_stat -
that's
> great
> > > >> news!
> > > >> > > >
> > > >> > > > I'm not sure what you mean by "Because I don't have the
> right, I
> > > >> can't
> > > >> > > find
> > > >> > > > run_tc_pairs.py, but I know it's under
> > > >> > > >
> > > >> > > > /D2/xinxia/METplus/METplus/ush".
> > > >> > > >
> > > >> > > > Can you please explain?  What happened when you ran
"which
> > > >> > > > run_tc_pairs.py"?
> > > >> > > >
> > > >> > > > Thanks,
> > > >> > > > Julie
> > > >> > > >
> > > >> > > >
> > > >> > > >
> > > >> > > >
> > > >> > > >
> > > >> > > >
> > > >> > > > On Thu, Feb 23, 2017 at 11:44 AM, Xinxia Song via RT <
> > > >> > met_help at ucar.edu>
> > > >> > > > wrote:
> > > >> > > >
> > > >> > > > >
> > > >> > > > > <URL: https://rt.rap.ucar.edu/rt/
> Ticket/Display.html?id=79605
> > >
> > > >> > > > >
> > > >> > > > > Hi Julie,
> > > >> > > > >
> > > >> > > > >
> > > >> > > > > I removed the space.
> > > >> > > > >
> > > >> > > > > [xinxia at chaos parm]$ /D2/xinxia/METplus/MET/met-5.2
> > /bin/tc_stat
> > > >> -job
> > > >> > > > > filter -lookin
/D2/xinxia/METplus/MET/input/tc_pairs/201412
> > > >> > -init_inc
> > > >> > > > > 20141201_00 -match_points true -dump_row
> > > >> /D2/xinxia/METplus/MET/out/
> > > >> > > > > extract_tiles/20141201_00/filter_20141201_00.tcst
-basin
> ML
> > > >> > > > > -out_init_mask /D2/xinxia/METplus/MET/met-5.
> > > >> > > 2/share/met/poly/CONUS.poly
> > > >> > > > >
> > > >> > > > > DEBUG 1: [Source 1] Lookin:
/D2/xinxia/METplus/MET/input/
> > > >> > > tc_pairs/201412
> > > >> > > > >
> > > >> > > > > DEBUG 2:
> > > >> > > > >
> > > >> > > > > DEBUG 2: Processing Job 1: -job filter -basin ML
-init_inc
> > > >> > > > 20141201_000000
> > > >> > > > > -match_points true -out_init_mask
> > /D2/xinxia/METplus/MET/met-5.
> > > >> > > > 2/share/met/poly/CONUS.poly
> > > >> > > > > -dump_row /D2/xinxia/METplus/MET/out/ext
> > ract_tiles/20141201_00/
> > > >> > > > > filter_20141201_00.tcst
> > > >> > > > >
> > > >> > > > > DEBUG 1: Creating output dump file:
> > /D2/xinxia/METplus/MET/out/
> > > >> > > > > extract_tiles/20141201_00/filter_20141201_00.tcst
> > > >> > > > >
> > > >> > > > > FILTER: -job filter -basin ML -init_inc
20141201_000000
> > > >> -match_points
> > > >> > > > true
> > > >> > > > > -out_init_mask /D2/xinxia/METplus/MET/met-5.
> > > >> > > 2/share/met/poly/CONUS.poly
> > > >> > > > > -dump_row /D2/xinxia/METplus/MET/out/ext
> > ract_tiles/20141201_00/
> > > >> > > > > filter_20141201_00.tcst
> > > >> > > > >
> > > >> > > > >
> > > >> > > > > DEBUG 2: Job 1 used 0 out of 27292 lines read.
> > > >> > > > >
> > > >> > > > >
> > > >> > > > > Because I don't have the right, I can't find
> run_tc_pairs.py,
> > > but
> > > >> I
> > > >> > > know
> > > >> > > > > it's under
> > > >> > > > >
> > > >> > > > > /D2/xinxia/METplus/METplus/ush
> > > >> > > > >
> > > >> > > > >
> > > >> > > > > For Python,
> > > >> > > > >
> > > >> > > > > [xinxia at chaos ~]$ which python
> > > >> > > > >
> > > >> > > > > /usr/bin/python
> > > >> > > > >
> > > >> > > > >
> > > >> > > > > Xinxia
> > > >> > > > >
> > > >> > > > > ________________________________
> > > >> > > > > From: Julie Prestopnik via RT <met_help at ucar.edu>
> > > >> > > > > Sent: Friday, February 24, 2017 8:30:01 AM
> > > >> > > > > To: Xinxia_Song at outlook.com
> > > >> > > > > Subject: Re: [rt.rap.ucar.edu #79605] ImportError: No
> module
> > > >> named
> > > >> > > > > constants_pdef
> > > >> > > > >
> > > >> > > > > Hi Xinxia.
> > > >> > > > >
> > > >> > > > > It looks like there is a space where there should not
be a
> > space
> > > >> > > (between
> > > >> > > > > /D2/xinxia/METplus/MET/out/extract_tiles/20141201_00/
and
> > > >> > > > > filter_20141201_00.tcst after the -dump_row option).
> > > >> > > > >
> > > >> > > > > Could you please try it again without the space?
> > > >> > > > >
> > > >> > > > > /D2/xinxia/METplus/METplus/ush/run_tc_stat.py:tc_stat
from
> > > >> calling
> > > >> > MET
> > > >> > > > > TC-STAT with command:/D2/xinxia/METplus/MET
> > /met-5.2/bin/tc_stat
> > > >> -job
> > > >> > > > > filter
> > > >> > > > > -lookin /D2/xinxia/METplus/MET/input/tc_pairs/201412
> > -init_inc
> > > >> > > > 20141201_00
> > > >> > > > > -match_points true -dump_row
/D2/xinxia/METplus/MET/out/
> > > >> > > > > extract_tiles/20141201_00/filter_20141201_00.tcst
-basin
> ML
> > > >> > > > > -out_init_mask
> > > >> > > > > /D2/xinxia/METplus/MET/met-
5.2/share/met/poly/CONUS.poly
> > > >> > > > >
> > > >> > > > > Regarding the master_met_plus.py run, please try
running the
> > > >> > following
> > > >> > > > two
> > > >> > > > > commands and send me the output:
> > > >> > > > >
> > > >> > > > > which run_tc_pairs.py
> > > >> > > > >
> > > >> > > > > which python
> > > >> > > > >
> > > >> > > > > Thanks!
> > > >> > > > >
> > > >> > > > > Julie
> > > >> > > > >
> > > >> > > > > On Thu, Feb 23, 2017 at 11:06 AM, Xinxia Song via RT
<
> > > >> > > met_help at ucar.edu>
> > > >> > > > > wrote:
> > > >> > > > >
> > > >> > > > > >
> > > >> > > > > > <URL: https://rt.rap.ucar.edu/rt/Tic
> > ket/Display.html?id=79605
> > > >
> > > >> > > > > >
> > > >> > > > > > Hi Julie,
> > > >> > > > > >
> > > >> > > > > >
> > > >> > > > > > After I ran the long one line command:
> > > >> > > > > >
> > > >> > > > > > [xinxia at chaos parm]$ /D2/xinxia/METplus/MET/met-5.
> > > 2/bin/tc_stat
> > > >> > -job
> > > >> > > > > > filter -lookin /D2/xinxia/METplus/MET/input/
> tc_pairs/201412
> > > >> > > -init_inc
> > > >> > > > > > 20141201_00 -match_points true -dump_row
> > > >> > /D2/xinxia/METplus/MET/out/
> > > >> > > > > extract_tiles/20141201_00/
> > > >> > > > > > filter_20141201_00.tcst  -basin ML -out_init_mask
> > > >> > > > > > /D2/xinxia/METplus/MET/met-
5.2/share/met/poly/CONUS.poly
> > > >> > > > > >
> > > >> > > > > >
> > > >> > > > > > DEBUG 1: [Source 1] Lookin:
/D2/xinxia/METplus/MET/input/
> > > >> > > > tc_pairs/201412
> > > >> > > > > >
> > > >> > > > > > ERROR  :
> > > >> > > > > >
> > > >> > > > > > ERROR  : TCStatJob *TCStatJobFactory::new_tc_
> stat_job(const
> > > >> char
> > > >> > > > > > *jobstring) -> unsupported job command options
> > > >> > > > "filter_20141201_00.tcst".
> > > >> > > > > >
> > > >> > > > > > ERROR  :
> > > >> > > > > >
> > > >> > > > > >
> > > >> > > > > > And for the master_met_plus.py, I got the error:
> > > >> > > > > >
> > > >> > > > > > [xinxia at chaos ush]$ python master_met_plus.py
> > > >> > > > > >
> > > >> > > > > > sh: run_tc_pairs.py: command not found
> > > >> > > > > >
> > > >> > > > > >
> > > >> > > > > > Thanks,
> > > >> > > > > >
> > > >> > > > > >
> > > >> > > > > > Xinxia
> > > >> > > > > >
> > > >> > > > > > ________________________________
> > > >> > > > > > From: Julie Prestopnik via RT <met_help at ucar.edu>
> > > >> > > > > > Sent: Friday, February 24, 2017 7:42:21 AM
> > > >> > > > > > To: Xinxia_Song at outlook.com
> > > >> > > > > > Subject: Re: [rt.rap.ucar.edu #79605] ImportError:
No
> > module
> > > >> named
> > > >> > > > > > constants_pdef
> > > >> > > > > >
> > > >> > > > > > My apologies, my response should have said, "By
default,
> MET
> > > >> > version
> > > >> > > > 5.2
> > > >> > > > > is
> > > >> > > > > > compiled using dynamic linking."  It's true for
both, but
> I
> > > see
> > > >> > > you're
> > > >> > > > > > using 5.2 and I inadvertently referred to 5.1.
> > > >> > > > > >
> > > >> > > > > > On Thu, Feb 23, 2017 at 10:40 AM, Julie Prestopnik
<
> > > >> > jpresto at ucar.edu
> > > >> > > >
> > > >> > > > > > wrote:
> > > >> > > > > >
> > > >> > > > > > > Hi Xinxia.  Regarding the error:
> > > >> > > > > > >
> > > >> > > > > > > /D2/xinxia/METplus/MET/met-5.2/bin/tc_stat: error
while
> > > >> loading
> > > >> > > > shared
> > > >> > > > > > > libraries: libgsl.so.19: cannot open shared
object file:
> > No
> > > >> such
> > > >> > > file
> > > >> > > > > or
> > > >> > > > > > > directory
> > > >> > > > > > >
> > > >> > > > > > > By default, MET version 5.1 is compiled using
dynamic
> > > linking.
> > > >> > > > Rather
> > > >> > > > > > > than compiling the external library code in with
the MET
> > > >> > > executables
> > > >> > > > > > (which
> > > >> > > > > > > is
> > > >> > > > > > > called static linking), it looks for them at
runtime.
> And
> > > >> it's
> > > >> > > > looking
> > > >> > > > > > > for those "shared object" (.so) library files.
> > > >> > > > > > >
> > > >> > > > > > > This should be easy to fix. We just need to tell
it
> where
> > to
> > > >> find
> > > >> > > > them,
> > > >> > > > > > > and we do that by setting (or adding to the
> > > LD_LIBRARY_PATH).
> > > >> > Look
> > > >> > > > in
> > > >> > > > > > your
> > > >> > > > > > > ~/.bashrc file.  If LD_LIBRARY_PATH is already
defined
> in
> > > >> there,
> > > >> > > add
> > > >> > > > > the
> > > >> > > > > > > path to the libgsl.so.19 to the end of it.  If
not, add
> an
> > > >> > > > > > > LD_LIBRARY_PATH entry in your ~/.bashrc file.
So, for
> > > >> example,
> > > >> > if
> > > >> > > > the
> > > >> > > > > > path
> > > >> > > > > > > to your libgsl.so.19 file is
> > /D2/xinxia/METplus/MET/externa
> > > >> > > > > > l_libs/GSL/gsl-1.16/lib
> > > >> > > > > > > you would add teh following to your ~/.bashrc
file:
> > > >> > > > > > >
> > > >> > > > > > >   export LD_LIBRARY_PATH=/D2/xinxia/
> > > >> > METplus/MET/external_libs/GSL/
> > > >> > > > > > > gsl-1.16/lib
> > > >> > > > > > >
> > > >> > > > > > > Then save the change and source that file:
> > > >> > > > > > >
> > > >> > > > > > >   source ~/.bashrc
> > > >> > > > > > >
> > > >> > > > > > > Then, please try rerunning the command manually
and let
> me
> > > >> know
> > > >> > if
> > > >> > > it
> > > >> > > > > > > works.
> > > >> > > > > > >
> > > >> > > > > > > I believe that this was the cause of the initial
error
> you
> > > >> > received
> > > >> > > > > from
> > > >> > > > > > > MET+:
> > > >> > > > > > >
> > > >> > > > > > > ERROR| /D2/xinxia/METplus/METplus/
> > > ush/run_tc_stat.py:tc_stat
> > > >> > from
> > > >> > > > > > calling
> > > >> > > > > > > MET TC-STAT with command:/D2/xinxia/METplus/
> > > >> > > MET/met-5.2/bin/tc_stat
> > > >> > > > > -job
> > > >> > > > > > > filter -lookin /D2/xinxia/METplus/MET/input/t
> > c_pairs/201412
> > > >> > > > -init_inc
> > > >> > > > > > > 20141201_00 -match_points true -dump_row
> > > >> > > > /D2/xinxia/METplus/MET/out/ext
> > > >> > > > > > > ract_tiles/20141201_00/filter_20141201_00.tcst
-basin
> ML
> > > >> > > > > -out_init_mask
> > > >> > > > > > > /D2/xinxia/METplus/MET/met-5.
> 2/share/met/poly/CONUS.poly
> > > >> > > > > > >
> > > >> > > > > > >
> > > >> > > > > > > Thanks,
> > > >> > > > > > > Julie
> > > >> > > > > > >
> > > >> > > > > > > On Thu, Feb 23, 2017 at 10:14 AM, Xinxia Song via
RT <
> > > >> > > > > met_help at ucar.edu>
> > > >> > > > > > > wrote:
> > > >> > > > > > >
> > > >> > > > > > >>
> > > >> > > > > > >> <URL: https://rt.rap.ucar.edu/rt/Tic
> > > >> ket/Display.html?id=79605 >
> > > >> > > > > > >>
> > > >> > > > > > >> Hi Julie,
> > > >> > > > > > >>
> > > >> > > > > > >>
> > > >> > > > > > >> [xinxia at chaos ush]$ /D2/xinxia/METplus/MET/met-
5.2
> > > >> /bin/tc_stat
> > > >> > > -job
> > > >> > > > > > >> filter -lookin /D2/xinxia/METplus/MET/input/
> > > tc_pairs/201412
> > > >> > > > -init_inc
> > > >> > > > > > >> 20141201_00 -match_points true -dump_row
> > > >> > > > > /D2/xinxia/METplus/MET/out/ext
> > > >> > > > > > ract_tiles/20141201_00/
> > > >> > > > > > >> filter_20141201_00.tcst  -basin ML
-out_init_mask
> > > >> > > > > > >> /D2/xinxia/METplus/MET/met-5.
> 2/share/met/poly/CONUS.poly
> > > >> > > > > > >>
> > > >> > > > > > >> /D2/xinxia/METplus/MET/met-5.2/bin/tc_stat:
error
> while
> > > >> loading
> > > >> > > > > shared
> > > >> > > > > > >> libraries: libgsl.so.19: cannot open shared
object
> file:
> > No
> > > >> such
> > > >> > > > file
> > > >> > > > > or
> > > >> > > > > > >> directory
> > > >> > > > > > >>
> > > >> > > > > > >>
> > > >> > > > > > >> And I uploaded the configuration file
> (constants_pdef.py)
> > > >> under
> > > >> > > > > > >> xinxia_data directory.
> > > >> > > > > > >>
> > > >> > > > > > >>
> > > >> > > > > > >> Thanks,
> > > >> > > > > > >>
> > > >> > > > > > >>
> > > >> > > > > > >> Xinxia
> > > >> > > > > > >>
> > > >> > > > > > >> ________________________________
> > > >> > > > > > >> From: Julie Prestopnik via RT
<met_help at ucar.edu>
> > > >> > > > > > >> Sent: Friday, February 24, 2017 6:15:57 AM
> > > >> > > > > > >> To: Xinxia_Song at outlook.com
> > > >> > > > > > >> Subject: Re: [rt.rap.ucar.edu #79605]
ImportError: No
> > > module
> > > >> > > named
> > > >> > > > > > >> constants_pdef
> > > >> > > > > > >>
> > > >> > > > > > >> Hi Xinxia.
> > > >> > > > > > >>
> > > >> > > > > > >> I can see that your command, which should have
been all
> > on
> > > >> one
> > > >> > > line,
> > > >> > > > > was
> > > >> > > > > > >> broken up into several lines.  Please try
running the
> > > command
> > > >> > > again,
> > > >> > > > > > >> making
> > > >> > > > > > >> sure that the entire command is on one line:
> > > >> > > > > > >>
> > > >> > > > > > >> /D2/xinxia/METplus/MET/met-5.2/bin/tc_stat -job
filter
> > > >> -lookin
> > > >> > > > > > >> /D2/xinxia/METplus/MET/input/tc_pairs/201412
-init_inc
> > > >> > > 20141201_00
> > > >> > > > > > >> -match_points true -dump_row
> > > >> > > > > > >>
/D2/xinxia/METplus/MET/out/extract_tiles/20141201_00/
> > > >> > > > > > >> filter_20141201_00.tcst  -basin ML
-out_init_mask
> > > >> > > > > > >> /D2/xinxia/METplus/MET/met-5.
> 2/share/met/poly/CONUS.poly
> > > >> > > > > > >>
> > > >> > > > > > >> Then, please send the output from that command.
> > > >> > > > > > >>
> > > >> > > > > > >> Regarding, your error:
> > > >> > > > > > >>
> > > >> > > > > > >> sh: run_tc_pairs.py: command not found
> > > >> > > > > > >>
> > > >> > > > > > >> It's strange that would only have occurred after
having
> > > >> changed
> > > >> > > the
> > > >> > > > > > >> LOG_LEVEL.  Could you please send us your
configuration
> > > file?
> > > >> > > > > > >>
> > > >> > > > > > >> Thanks!
> > > >> > > > > > >>
> > > >> > > > > > >> Julie
> > > >> > > > > > >>
> > > >> > > > > > >> On Wed, Feb 22, 2017 at 2:54 PM, Xinxia Song via
RT <
> > > >> > > > > met_help at ucar.edu>
> > > >> > > > > > >> wrote:
> > > >> > > > > > >>
> > > >> > > > > > >> >
> > > >> > > > > > >> > <URL: https://rt.rap.ucar.edu/rt/Tic
> > > >> ket/Display.html?id=79605
> > > >> > >
> > > >> > > > > > >> >
> > > >> > > > > > >> > Hi Julie,
> > > >> > > > > > >> >
> > > >> > > > > > >> >
> > > >> > > > > > >> > [xinxia at chaos ush]$
/D2/xinxia/METplus/MET/met-5.
> > > >> > 2/bin/tc_stat
> > > >> > > > -job
> > > >> > > > > > >> > filter -lookin
> > > >> > > > > > >> >
> > > >> > > > > > >> > /D2/xinxia/METplus/MET/met-5.2/bin/tc_stat:
error
> > while
> > > >> > loading
> > > >> > > > > > shared
> > > >> > > > > > >> > libraries: libgsl.so.19: cannot open shared
object
> > file:
> > > No
> > > >> > such
> > > >> > > > > file
> > > >> > > > > > or
> > > >> > > > > > >> > directory
> > > >> > > > > > >> >
> > > >> > > > > > >> >
> > > >> > > > > > >> > [xinxia at chaos ush]$
/D2/xinxia/METplus/MET/input/
> > > >> > > tc_pairs/201412
> > > >> > > > > > >> > -init_inc 20141201_00 -match_points true
-dump_row
> > > >> > > > > > >> >
> > > >> > > > > > >> > -bash:
/D2/xinxia/METplus/MET/input/tc_pairs/201412:
> > is
> > > a
> > > >> > > > directory
> > > >> > > > > > >> >
> > > >> > > > > > >> >
> > > >> > > > > > >> > [xinxia at chaos ush]$
/D2/xinxia/METplus/MET/out/ext
> > > >> > > > > > >> ract_tiles/20141201_00/
> > > >> > > > > > >> > filter_20141201_00.tcst  -basin ML
-out_init_mask
> > > >> > > > > > >> > /D2/xinxia/METplus/MET/met-5.2
> > /share/met/poly/CONUS.poly
> > > >> > > > > > >> >
> > > >> > > > > > >> > -bash: /D2/xinxia/METplus/MET/out/ext
> > > >> ract_tiles/20141201_00/:
> > > >> > > No
> > > >> > > > > such
> > > >> > > > > > >> > file or directory
> > > >> > > > > > >> >
> > > >> > > > > > >> >
> > > >> > > > > > >> > After I change the LOG_LEVEL, I ran the
> > > >> master_met_plus.py, it
> > > >> > > > says:
> > > >> > > > > > >> >
> > > >> > > > > > >> > [xinxia at chaos ush]$ python master_met_plus.py
> > > >> > > > > > >> >
> > > >> > > > > > >> > sh: run_tc_pairs.py: command not found
> > > >> > > > > > >> >
> > > >> > > > > > >> >
> > > >> > > > > > >> >
> > > >> > > > > > >> > Thanks,
> > > >> > > > > > >> >
> > > >> > > > > > >> >
> > > >> > > > > > >> > Xinxia
> > > >> > > > > > >> >
> > > >> > > > > > >> >
> > > >> > > > > > >> > ________________________________
> > > >> > > > > > >> > From: Julie Prestopnik via RT
<met_help at ucar.edu>
> > > >> > > > > > >> > Sent: Thursday, February 23, 2017 10:04:55 AM
> > > >> > > > > > >> > To: Xinxia_Song at outlook.com
> > > >> > > > > > >> > Subject: Re: [rt.rap.ucar.edu #79605]
ImportError:
> No
> > > >> module
> > > >> > > > named
> > > >> > > > > > >> > constants_pdef
> > > >> > > > > > >> >
> > > >> > > > > > >> > Thank you.  Unfortunately, the level of detail
in the
> > log
> > > >> file
> > > >> > > > > wasn't
> > > >> > > > > > >> what
> > > >> > > > > > >> > I hoped for.  I'd like to have you try two
things.
> > > >> > > > > > >> >
> > > >> > > > > > >> > First, could you please send me your output of
your
> > > manual
> > > >> run
> > > >> > > of
> > > >> > > > > the
> > > >> > > > > > >> > following?
> > > >> > > > > > >> >
> > > >> > > > > > >> > "/D2/xinxia/METplus/MET/met-5.2/bin/tc_stat
-job
> > filter
> > > >> > -lookin
> > > >> > > > > > >> > /D2/xinxia/METplus/MET/input/tc_pairs/201412
> -init_inc
> > > >> > > > 20141201_00
> > > >> > > > > > >> > -match_points true -dump_row
> > /D2/xinxia/METplus/MET/out/
> > > >> > > > > > >> > extract_tiles/20141201_00/
filter_20141201_00.tcst
> > > -basin
> > > >> ML
> > > >> > > > > > >> > -out_init_mask
> > > >> > > > > > >> > /D2/xinxia/METplus/MET/met-5.
> > > 2/share/met/poly/CONUS.poly"
> > > >> > > > > > >> >
> > > >> > > > > > >> > Second, could you please change your log level
in
> your
> > > >> > > > configuration
> > > >> > > > > > >> file
> > > >> > > > > > >> > from
> > > >> > > > > > >> >
> > > >> > > > > > >> > LOG_LEVEL = "INFO"
> > > >> > > > > > >> >
> > > >> > > > > > >> > to
> > > >> > > > > > >> >
> > > >> > > > > > >> > LOG_LEVEL = "DEBUG"
> > > >> > > > > > >> >
> > > >> > > > > > >> > then rerun and upload your log file to our ftp
server
> > > >> again?
> > > >> > > > > > >> >
> > > >> > > > > > >> > Thank you!
> > > >> > > > > > >> >
> > > >> > > > > > >> > Julie
> > > >> > > > > > >> >
> > > >> > > > > > >> >
> > > >> > > > > > >> > On Wed, Feb 22, 2017 at 12:39 PM, Xinxia Song
via RT
> <
> > > >> > > > > > met_help at ucar.edu
> > > >> > > > > > >> >
> > > >> > > > > > >> > wrote:
> > > >> > > > > > >> >
> > > >> > > > > > >> > >
> > > >> > > > > > >> > > <URL: https://rt.rap.ucar.edu/rt/
> > > >> > Ticket/Display.html?id=79605
> > > >> > > >
> > > >> > > > > > >> > >
> > > >> > > > > > >> > > Hi Julie,
> > > >> > > > > > >> > >
> > > >> > > > > > >> > >
> > > >> > > > > > >> > > I uploaded the log file under xinxia_data
> directory.
> > > >> > > > > > >> > >
> > > >> > > > > > >> > >
> > > >> > > > > > >> > > Thanks,
> > > >> > > > > > >> > >
> > > >> > > > > > >> > >
> > > >> > > > > > >> > > Xinxia
> > > >> > > > > > >> > >
> > > >> > > > > > >> > >
> > > >> > > > > > >> > > ________________________________
> > > >> > > > > > >> > > From: Julie Prestopnik via RT
<met_help at ucar.edu>
> > > >> > > > > > >> > > Sent: Thursday, February 23, 2017 9:11:32 AM
> > > >> > > > > > >> > > To: Xinxia_Song at outlook.com
> > > >> > > > > > >> > > Subject: Re: [rt.rap.ucar.edu #79605]
ImportError:
> > No
> > > >> > module
> > > >> > > > > named
> > > >> > > > > > >> > > constants_pdef
> > > >> > > > > > >> > >
> > > >> > > > > > >> > > Hi Xinxia.
> > > >> > > > > > >> > >
> > > >> > > > > > >> > > I think it would be helpful if I could take
a look
> at
> > > the
> > > >> > log
> > > >> > > > > file.
> > > >> > > > > > >> > Could
> > > >> > > > > > >> > > you please upload your file to our anonymous
ftp
> site
> > > as
> > > >> > > follows
> > > >> > > > > so
> > > >> > > > > > >> that
> > > >> > > > > > >> > I
> > > >> > > > > > >> > > can take a look?
> > > >> > > > > > >> > >
> > > >> > > > > > >> > >    http://www.dtcenter.org/met/
> > > >> > users/support/met_help.php#ftp
> > > >> > > > > > >> > >
> > > >> > > > > > >> > > Also, could you please try running the
following
> > > manually
> > > >> > and
> > > >> > > > send
> > > >> > > > > > the
> > > >> > > > > > >> > > output to me?
> > > >> > > > > > >> > >
> > > >> > > > > > >> > > "/D2/xinxia/METplus/MET/met-5.2/bin/tc_stat
-job
> > > filter
> > > >> > > -lookin
> > > >> > > > > > >> > > /D2/xinxia/METplus/MET/input/tc_pairs/201412
> > -init_inc
> > > >> > > > > 20141201_00
> > > >> > > > > > >> > > -match_points true -dump_row
> > > /D2/xinxia/METplus/MET/out/
> > > >> > > > > > >> > >
extract_tiles/20141201_00/filter_20141201_00.tcst
> > > >> -basin
> > > >> > ML
> > > >> > > > > > >> > > -out_init_mask
> > > >> > > > > > >> > > /D2/xinxia/METplus/MET/met-5.2
> > > >> /share/met/poly/CONUS.poly"
> > > >> > > > > > >> > >
> > > >> > > > > > >> > > Thank you!
> > > >> > > > > > >> > >
> > > >> > > > > > >> > > Julie
> > > >> > > > > > >> > >
> > > >> > > > > > >> > >
> > > >> > > > > > >> > >
> > > >> > > > > > >> > > On Wed, Feb 22, 2017 at 12:06 PM, Xinxia
Song via
> RT
> > <
> > > >> > > > > > >> met_help at ucar.edu>
> > > >> > > > > > >> > > wrote:
> > > >> > > > > > >> > >
> > > >> > > > > > >> > > >
> > > >> > > > > > >> > > > <URL: https://rt.rap.ucar.edu/rt/
> > > >> > > Ticket/Display.html?id=79605
> > > >> > > > >
> > > >> > > > > > >> > > >
> > > >> > > > > > >> > > > Hi Julie,
> > > >> > > > > > >> > > >
> > > >> > > > > > >> > > >
> > > >> > > > > > >> > > > Now I can run the program, but when I look
at the
> > log
> > > >> file
> > > >> > > in
> > > >> > > > > the
> > > >> > > > > > >> > output,
> > > >> > > > > > >> > > > it shows error below:
> > > >> > > > > > >> > > >
> > > >> > > > > > >> > > >
> > > >> > > > > > >> > > > ERROR| /D2/xinxia/METplus/METplus/
> > > >> > > ush/run_tc_stat.py:tc_stat
> > > >> > > > > from
> > > >> > > > > > >> > > calling
> > > >> > > > > > >> > > > MET TC-STAT with
command:/D2/xinxia/METplus/MET
> > > >> > > > > > /met-5.2/bin/tc_stat
> > > >> > > > > > >> > -job
> > > >> > > > > > >> > > > filter -lookin
/D2/xinxia/METplus/MET/input/
> > > >> > tc_pairs/201412
> > > >> > > > > > >> -init_inc
> > > >> > > > > > >> > > > 20141201_00 -match_points true -dump_row
> > > >> > > > > > /D2/xinxia/METplus/MET/out/
> > > >> > > > > > >> > > > extract_tiles/20141201_00/
> filter_20141201_00.tcst
> > > >> -basin
> > > >> > > ML
> > > >> > > > > > >> > > > -out_init_mask /D2/xinxia/METplus/MET/met-
5.
> > > >> > > > > > >> > 2/share/met/poly/CONUS.poly
> > > >> > > > > > >> > > >
> > > >> > > > > > >> > > >
> > > >> > > > > > >> > > > How should I fix it?
> > > >> > > > > > >> > > >
> > > >> > > > > > >> > > >
> > > >> > > > > > >> > > > Thanks,
> > > >> > > > > > >> > > >
> > > >> > > > > > >> > > >
> > > >> > > > > > >> > > > Xinxia
> > > >> > > > > > >> > > >
> > > >> > > > > > >> > > > ________________________________
> > > >> > > > > > >> > > > From: Julie Prestopnik via RT
<met_help at ucar.edu
> >
> > > >> > > > > > >> > > > Sent: Thursday, February 23, 2017 7:30:06
AM
> > > >> > > > > > >> > > > To: Xinxia_Song at outlook.com
> > > >> > > > > > >> > > > Subject: Re: [rt.rap.ucar.edu #79605]
> ImportError:
> > > No
> > > >> > > module
> > > >> > > > > > named
> > > >> > > > > > >> > > > constants_pdef
> > > >> > > > > > >> > > >
> > > >> > > > > > >> > > > Hi Xinxia.
> > > >> > > > > > >> > > >
> > > >> > > > > > >> > > > I believe that python doesn't know how to
find
> the
> > > >> module
> > > >> > > > > because
> > > >> > > > > > >> the
> > > >> > > > > > >> > ush
> > > >> > > > > > >> > > > directory is not in your PYTHONPATH.  Both
the
> parm
> > > and
> > > >> > ush
> > > >> > > > > > >> directory
> > > >> > > > > > >> > > need
> > > >> > > > > > >> > > > to be specified in your PYTHONPATH.
Please add
> the
> > > ush
> > > >> > > > > directory
> > > >> > > > > > to
> > > >> > > > > > >> > your
> > > >> > > > > > >> > > > PYTHONPATH, source ~/.bashrc, and let us
know how
> > it
> > > >> goes.
> > > >> > > > > > >> > > >
> > > >> > > > > > >> > > > Thanks,
> > > >> > > > > > >> > > > Julie
> > > >> > > > > > >> > > >
> > > >> > > > > > >> > > > On Wed, Feb 22, 2017 at 10:24 AM, Xinxia
Song via
> > RT
> > > <
> > > >> > > > > > >> > met_help at ucar.edu>
> > > >> > > > > > >> > > > wrote:
> > > >> > > > > > >> > > >
> > > >> > > > > > >> > > > >
> > > >> > > > > > >> > > > > <URL: https://rt.rap.ucar.edu/rt/
> > > >> > > > Ticket/Display.html?id=79605
> > > >> > > > > >
> > > >> > > > > > >> > > > >
> > > >> > > > > > >> > > > > Hi Julie,
> > > >> > > > > > >> > > > >
> > > >> > > > > > >> > > > >
> > > >> > > > > > >> > > > > Since I don't have setenv, I added these
3
> > sentence
> > > >> into
> > > >> > > my
> > > >> > > > > > >> .bashrc
> > > >> > > > > > >> > > file:
> > > >> > > > > > >> > > > >
> > > >> > > > > > >> > > > >
> > > >> > > > > > >> > > > > export PYTHONPATH="/D2/xinxia/
> > > METplus/METplus/parm"
> > > >> > > > > > >> > > > >
> > > >> > > > > > >> > > > >
> > > >> > > > > > >> > > > > export
USHROOT=/D2/xinxia/METplus/METplus/ush
> > > >> > > > > > >> > > > >
> > > >> > > > > > >> > > > > export PATH=$USHROOT:$PATH
> > > >> > > > > > >> > > > >
> > > >> > > > > > >> > > > >
> > > >> > > > > > >> > > > > I sourced the ~/.bashrc, and checked
that the
> > > >> variables
> > > >> > > are
> > > >> > > > > set,
> > > >> > > > > > >> but
> > > >> > > > > > >> > > the
> > > >> > > > > > >> > > > > program still can't find the module.
> > > >> > > > > > >> > > > >
> > > >> > > > > > >> > > > >
> > > >> > > > > > >> > > > > Thanks,
> > > >> > > > > > >> > > > >
> > > >> > > > > > >> > > > > Xinxia
> > > >> > > > > > >> > > > >
> > > >> > > > > > >> > > > > ________________________________
> > > >> > > > > > >> > > > > From: Julie Prestopnik via RT <
> met_help at ucar.edu
> > >
> > > >> > > > > > >> > > > > Sent: Thursday, February 23, 2017
6:24:21 AM
> > > >> > > > > > >> > > > > To: Xinxia_Song at outlook.com
> > > >> > > > > > >> > > > > Subject: Re: [rt.rap.ucar.edu #79605]
> > ImportError:
> > > >> No
> > > >> > > > module
> > > >> > > > > > >> named
> > > >> > > > > > >> > > > > constants_pdef
> > > >> > > > > > >> > > > >
> > > >> > > > > > >> > > > > Hi Xinxia.
> > > >> > > > > > >> > > > >
> > > >> > > > > > >> > > > > Could you please check to make sure that
the
> ush
> > > >> > directory
> > > >> > > > > with
> > > >> > > > > > >> > > > > constants_pdef.py is in your PYTHONPATH
in your
> > > >> .cshrc
> > > >> > > file
> > > >> > > > > (or
> > > >> > > > > > >> > .bashrc
> > > >> > > > > > >> > > > or
> > > >> > > > > > >> > > > > similar file)?  The parm directory
should also
> be
> > > in
> > > >> > your
> > > >> > > > > > >> PYTHONPATH.
> > > >> > > > > > >> > > > >
> > > >> > > > > > >> > > > > For example,
> > > >> > > > > > >> > > > >
> > > >> > > > > > >> > > > > setenv PYTHONPATH
/d1/jpresto/sbu/METplus/ush:/
> > > >> > > > > > >> > > > d1/jpresto/sbu/METplus/parm
> > > >> > > > > > >> > > > >
> > > >> > > > > > >> > > > > Please also check make sure that the
path to
> the
> > > ush
> > > >> > > > directory
> > > >> > > > > > is
> > > >> > > > > > >> > also
> > > >> > > > > > >> > > > > specified your your path environment
variable.
> > For
> > > >> > > example,
> > > >> > > > > > >> > > > >
> > > >> > > > > > >> > > > > set path = (/usr/local/bin \
> > > >> > > > > > >> > > > >
/usr/local/python/bin/python \
> > > >> > > > > > >> > > > >
/d1/jpresto/sbu/METplus/ush )
> > > >> > > > > > >> > > > >
> > > >> > > > > > >> > > > > If they are not there, please add them
and then
> > > >> source
> > > >> > the
> > > >> > > > > file
> > > >> > > > > > >> (e.g.
> > > >> > > > > > >> > > run
> > > >> > > > > > >> > > > > "source ~/.cshrc").
> > > >> > > > > > >> > > > >
> > > >> > > > > > >> > > > > Thank you!  Please let us know how it
goes.
> > > >> > > > > > >> > > > >
> > > >> > > > > > >> > > > > Julie
> > > >> > > > > > >> > > > >
> > > >> > > > > > >> > > > >
> > > >> > > > > > >> > > > >
> > > >> > > > > > >> > > > >
> > > >> > > > > > >> > > > > On Tue, Feb 21, 2017 at 4:49 PM, Xinxia
Song
> via
> > > RT <
> > > >> > > > > > >> > met_help at ucar.edu
> > > >> > > > > > >> > > >
> > > >> > > > > > >> > > > > wrote:
> > > >> > > > > > >> > > > >
> > > >> > > > > > >> > > > > >
> > > >> > > > > > >> > > > > > Tue Feb 21 16:49:28 2017: Request
79605 was
> > acted
> > > >> > upon.
> > > >> > > > > > >> > > > > > Transaction: Ticket created by
> > > >> > Xinxia_Song at outlook.com
> > > >> > > > > > >> > > > > >        Queue: met_help
> > > >> > > > > > >> > > > > >      Subject: ImportError: No module
named
> > > >> > > constants_pdef
> > > >> > > > > > >> > > > > >        Owner: Nobody
> > > >> > > > > > >> > > > > >   Requestors: Xinxia_Song at outlook.com
> > > >> > > > > > >> > > > > >       Status: new
> > > >> > > > > > >> > > > > >  Ticket <URL:
https://rt.rap.ucar.edu/rt/
> > > >> > > > > > >> > > Ticket/Display.html?id=79605
> > > >> > > > > > >> > > > >
> > > >> > > > > > >> > > > > >
> > > >> > > > > > >> > > > > >
> > > >> > > > > > >> > > > > > Hi,
> > > >> > > > > > >> > > > > >
> > > >> > > > > > >> > > > > >
> > > >> > > > > > >> > > > > > When I ran the mater_met_plus.py, it
says:
> > > >> > > > > > >> > > > > >
> > > >> > > > > > >> > > > > >
> > > >> > > > > > >> > > > > > ImportError: No module named
constants_pdef
> > > >> > > > > > >> > > > > >
> > > >> > > > > > >> > > > > >
> > > >> > > > > > >> > > > > > Seems it doesn't recognize
constants_pdef as
> > its
> > > >> > module.
> > > >> > > > > > >> > > > > >
> > > >> > > > > > >> > > > > >
> > > >> > > > > > >> > > > > > Thanks,
> > > >> > > > > > >> > > > > >
> > > >> > > > > > >> > > > > > Xinxia
> > > >> > > > > > >> > > > > >
> > > >> > > > > > >> > > > > >
> > > >> > > > > > >> > > > >
> > > >> > > > > > >> > > > >
> > > >> > > > > > >> > > > >
> > > >> > > > > > >> > > >
> > > >> > > > > > >> > > >
> > > >> > > > > > >> > > >
> > > >> > > > > > >> > >
> > > >> > > > > > >> > >
> > > >> > > > > > >> > >
> > > >> > > > > > >> >
> > > >> > > > > > >> >
> > > >> > > > > > >> >
> > > >> > > > > > >>
> > > >> > > > > > >>
> > > >> > > > > > >>
> > > >> > > > > > >
> > > >> > > > > >
> > > >> > > > > >
> > > >> > > > > >
> > > >> > > > >
> > > >> > > > >
> > > >> > > > >
> > > >> > > >
> > > >> > > >
> > > >> > > >
> > > >> > >
> > > >> > >
> > > >> > >
> > > >> >
> > > >> >
> > > >> >
> > > >>
> > > >>
> > > >>
> > > >
> > >
> > >
> > >
> >
> >
> >
>
>
>


------------------------------------------------
Subject: ImportError: No module named constants_pdef
From: Julie Prestopnik
Time: Mon Feb 27 15:15:59 2017

Please install ncap2 and update the location to the executable in the
NCAP2_EXE field of the constants_pdef.py file and trying rerunning the
MET+
code.  Please let us know how it goes.

Thanks,
Julie

On Mon, Feb 27, 2017 at 3:10 PM, Xinxia Song via RT
<met_help at ucar.edu>
wrote:

>
> <URL: https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=79605 >
>
> Hi Julie,
>
>
> The result is :
>
> -bash: /usr/local/nco/bin/ncap2: No such file or directory
>
> I think we don't have it installed.
>
>
> Thanks,
>
> Xinxia
>
> ________________________________
> From: Julie Prestopnik via RT <met_help at ucar.edu>
> Sent: Monday, February 27, 2017 5:08:48 PM
> To: Xinxia_Song at outlook.com
> Subject: Re: [rt.rap.ucar.edu #79605] ImportError: No module named
> constants_pdef
>
> Hi Xinxia. I believe that error code refers to "Command not found".
Can
> you please run the following and send me the output?
>
> /usr/local/nco/bin/ncap2 --version
>
> Thanks!
>
> Julie
>
>
> On Mon, Feb 27, 2017 at 2:55 PM, Xinxia Song via RT
<met_help at ucar.edu>
> wrote:
>
> >
> > <URL: https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=79605 >
> >
> > Hi Julie,
> >
> >
> > The error is:
> >
> > Traceback (most recent call last):
> >
> >   File "series_by_lead.py", line 945, in <module>
> >
> >     analysis_by_lead_time()
> >
> >   File "series_by_lead.py", line 326, in analysis_by_lead_time
> >
> >     vmin, vmax = get_netcdf_min_max(nc_var_list, cur_stat, p,
logger)
> >
> >   File "series_by_lead.py", line 605, in get_netcdf_min_max
> >
> >     shell=True)
> >
> >   File "/home/xinxia/anaconda2/lib/python2.7/subprocess.py", line
219,
> in
> > check_output
> >
> >     raise CalledProcessError(retcode, cmd, output=output)
> >
> > subprocess.CalledProcessError: Command '/usr/local/nco/bin/ncap2
-v -s
> > "min=min(series_cnt_TOTAL)" /D2/xinxia/METplus/MET/out/
> > series_analysis_lead/series_F042/series_F042_HGT_P500.nc
> >
/D2/xinxia/METplus/MET/out/series_analysis_lead/series_F042/min.nc'
> > returned non-zero exit status 127
> >
> >
> > Thanks,
> >
> >
> > Xinxia
> >
> > ________________________________
> > From: Julie Prestopnik via RT <met_help at ucar.edu>
> > Sent: Tuesday, February 28, 2017 9:18:55 AM
> > To: Xinxia_Song at outlook.com
> > Subject: Re: [rt.rap.ucar.edu #79605] ImportError: No module named
> > constants_pdef
> >
> > Thank you, Xinxia.
> >
> > Unfortunately, the "DEBUG" log level did not provide much
information for
> > this task:
> >
> > 2017-02-26 21:30:28,041 : INFO | [master_met_plus.py:main] |
Running:
> > series_by_lead.py
> > 2017-02-26 21:30:28,212 : ERROR | [master_met_plus.py:main] |
Problem
> > executing: series_by_lead.py
> >
> > Could you please try running series_by_lead.py in the ush
directory?
> > Please let me know what the output is from that run - it may still
be
> > contained in your log file.
> >
> > Thanks!
> >
> > Julie
> >
> >
> > On Mon, Feb 27, 2017 at 11:17 AM, Xinxia Song via RT
<met_help at ucar.edu>
> > wrote:
> >
> > >
> > > <URL: https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=79605 >
> > >
> > > Hi Julie,
> > >
> > >
> > > I uploaded the constants_pdef.py and
master_met_plus.20170226.log.
> > >
> > >
> > > Thanks,
> > >
> > >
> > > Xinxia
> > >
> > > ________________________________
> > > From: Julie Prestopnik via RT <met_help at ucar.edu>
> > > Sent: Tuesday, February 28, 2017 5:46:37 AM
> > > To: Xinxia_Song at outlook.com
> > > Subject: Re: [rt.rap.ucar.edu #79605] ImportError: No module
named
> > > constants_pdef
> > >
> > > Hi Xinxia.  Can you please upload the configuration file that
you used
> > and
> > > the log file from that run to our ftp server so that we can take
a
> look?
> > >
> > > Thanks!
> > >
> > > Julie
> > >
> > > On Sun, Feb 26, 2017 at 2:35 PM, Xinxia Song via RT
<met_help at ucar.edu
> >
> > > wrote:
> > >
> > > >
> > > > <URL: https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=79605
>
> > > >
> > > > Hi Julie,
> > > >
> > > >
> > > > I ran the mater_met_plus.py and in the end in the log file it
gave me
> > an
> > > > error:
> > > >
> > > > 2017-02-26 21:30:28,212 : ERROR | [master_met_plus.py:main] |
Problem
> > > > executing: series_by_lead.py
> > > >
> > > >
> > > > Thanks,
> > > >
> > > > Xinxia
> > > >
> > > > ________________________________
> > > > From: Julie Prestopnik via RT <met_help at ucar.edu>
> > > > Sent: Saturday, February 25, 2017 6:49:56 AM
> > > > To: Xinxia_Song at outlook.com
> > > > Subject: Re: [rt.rap.ucar.edu #79605] ImportError: No module
named
> > > > constants_pdef
> > > >
> > > > You could also run "tail -f </path/to/logfile/logfile_name>"
> replacing
> > > > </path/to/logfile/logfile_name> with the logfile path and name
> > > information
> > > > to see how the run is coming along.  I hope that helps!
> > > >
> > > > Julie
> > > >
> > > > On Fri, Feb 24, 2017 at 9:42 AM, Julie Prestopnik
<jpresto at ucar.edu>
> > > > wrote:
> > > >
> > > > > Hi Xinxia.  Running the entire three months of data could
certainly
> > > take
> > > > a
> > > > > long time.  I am hoping to get an estimate on how long it
took to
> run
> > > the
> > > > > three month data set here, but have not been able to obtain
that
> > number
> > > > > yet.   It sounds the code was running successfully for you.
If
> > you're
> > > > > eager to take a lot at some output, I would suggest running
a
> smaller
> > > > > subset of the data, or perhaps you could set up the whole
three
> month
> > > to
> > > > > run over the weekend.  I would suggest letting the code run
to
> > > completion
> > > > > for either a smaller subset or for the entire subset and
then
> > checking
> > > > the
> > > > > log file for errors.  I hope that helps.  Please let me know
if you
> > > have
> > > > > any questions or encounter any issues.
> > > > >
> > > > > Thanks,
> > > > > Julie
> > > > >
> > > > >
> > > > > On Thu, Feb 23, 2017 at 4:28 PM, Xinxia Song via RT <
> > met_help at ucar.edu
> > > >
> > > > > wrote:
> > > > >
> > > > >>
> > > > >> <URL:
https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=79605 >
> > > > >>
> > > > >> Hi Julie,
> > > > >>
> > > > >>
> > > > >> The version is set to be 2.7+. When I ran
master_met_plus.py, it
> > seems
> > > > it
> > > > >> will run forever. So I killed it, and got the following:
> > > > >>
> > > > >> [xinxia at chaos ush]$ python master_met_plus.py
> > > > >>
> > > > >> ^CTraceback (most recent call last):
> > > > >>
> > > > >>   File "/D2/xinxia/METplus/METplus/ush/extract_tiles.py",
line
> 157,
> > > in
> > > > >> <module>
> > > > >>
> > > > >>     main()
> > > > >>
> > > > >>   File "/D2/xinxia/METplus/METplus/ush/extract_tiles.py",
line
> 100,
> > > in
> > > > >> main
> > > > >>
> > > > >>     filtered_out_dir)
> > > > >>
> > > > >>   File "/D2/xinxia/METplus/METplus/ush/run_tc_stat.py",
line 69,
> in
> > > > >> tc_stat
> > > > >>
> > > > >>     tc_stat_out = subprocess.check_output(tc_cmd,
> > > > >> stderr=subprocess.STDOUT, shell=True )
> > > > >>
> > > > >>   File
"/home/xinxia/anaconda2/lib/python2.7/subprocess.py", line
> > > 213,
> > > > >> in check_output
> > > > >>
> > > > >>     output, unused_err = process.communicate()
> > > > >>
> > > > >>   File
"/home/xinxia/anaconda2/lib/python2.7/subprocess.py", line
> > > 471,
> > > > >> in communicate
> > > > >>
> > > > >>     stdout = _eintr_retry_call(self.stdout.read)
> > > > >>
> > > > >>   File
"/home/xinxia/anaconda2/lib/python2.7/subprocess.py", line
> > > 121,
> > > > >> in _eintr_retry_call
> > > > >>
> > > > >>     return func(*args)
> > > > >>
> > > > >> KeyboardInterrupt
> > > > >>
> > > > >>
> > > > >> Thanks,
> > > > >>
> > > > >>
> > > > >> Xinxia
> > > > >>
> > > > >> ________________________________
> > > > >> From: Julie Prestopnik via RT <met_help at ucar.edu>
> > > > >> Sent: Friday, February 24, 2017 12:02:21 PM
> > > > >> To: Xinxia_Song at outlook.com
> > > > >> Subject: Re: [rt.rap.ucar.edu #79605] ImportError: No
module
> named
> > > > >> constants_pdef
> > > > >>
> > > > >> Hi Xinxia.  I suspect that even though you installed Python
2.7
> that
> > > > >> Python
> > > > >> 2.6.6 is still being used.
> > > > >>
> > > > >> Please try running:
> > > > >>
> > > > >> python --version
> > > > >>
> > > > >> on the command line.
> > > > >>
> > > > >> If you see "Python 2..6.6", please add the path for Python
2.7 to
> > the
> > > > >> front
> > > > >> of your path in your ~/.bashrc file.  Then, source your
~/.bashrc
> > file
> > > > and
> > > > >> try rerunning
> > > > >>
> > > > >> python --version
> > > > >>
> > > > >> on the command line.  Hopefully, then you will see the new
> version.
> > > > Then,
> > > > >> please try rerunning master_met_plus.py.
> > > > >>
> > > > >> I hope this helps!  Thanks!
> > > > >>
> > > > >> Julie
> > > > >>
> > > > >> On Thu, Feb 23, 2017 at 1:51 PM, Xinxia Song via RT <
> > > met_help at ucar.edu>
> > > > >> wrote:
> > > > >>
> > > > >> >
> > > > >> > <URL:
https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=79605 >
> > > > >> >
> > > > >> > Hi Julie,
> > > > >> >
> > > > >> >
> > > > >> > I installed myself the 2.7 python, it still got the error
when
> > > > running:
> > > > >> >
> > > > >> > Traceback (most recent call last):
> > > > >> >
> > > > >> >   File
"/D2/xinxia/METplus/METplus/ush/series_by_lead.py", line
> > > 945,
> > > > in
> > > > >> > <module>
> > > > >> >
> > > > >> >     analysis_by_lead_time()
> > > > >> >
> > > > >> >   File
"/D2/xinxia/METplus/METplus/ush/series_by_lead.py", line
> > > 107,
> > > > in
> > > > >> > analysis_by_lead_time
> > > > >> >
> > > > >> >     util.apply_series_filters(tile_dir, init_times,
> > > > >> > series_lead_filtered_out_dir, p, logger)
> > > > >> >
> > > > >> >   File "/D2/xinxia/METplus/METplus/ush/met_util.py", line
1005,
> > in
> > > > >> > apply_series_filters
> > > > >> >
> > > > >> >     tcs.tc_stat(p, logger, tc_cmd, series_output_dir)
> > > > >> >
> > > > >> >   File "/D2/xinxia/METplus/METplus/ush/run_tc_stat.py",
line
> 69,
> > in
> > > > >> > tc_stat
> > > > >> >
> > > > >> >     tc_stat_out = subprocess.check_output(tc_cmd,
> > > > >> > stderr=subprocess.STDOUT, shell=True )
> > > > >> >
> > > > >> > AttributeError: 'module' object has no attribute
'check_output'
> > > > >> >
> > > > >> >
> > > > >> > Thanks,
> > > > >> >
> > > > >> >
> > > > >> > Xinxia
> > > > >> >
> > > > >> > ________________________________
> > > > >> > From: Julie Prestopnik via RT <met_help at ucar.edu>
> > > > >> > Sent: Friday, February 24, 2017 9:37:53 AM
> > > > >> > To: Xinxia_Song at outlook.com
> > > > >> > Subject: Re: [rt.rap.ucar.edu #79605] ImportError: No
module
> > named
> > > > >> > constants_pdef
> > > > >> >
> > > > >> > Can you please tell me which version of Python you are
using?
> > > > >> check_output
> > > > >> > for subprocess was introduced in Python 2.7.    Do you
have
> access
> > > to
> > > > >> > Python version 2.7 or higher?
> > > > >> >
> > > > >> > Thanks,
> > > > >> > Julie
> > > > >> >
> > > > >> > On Thu, Feb 23, 2017 at 12:11 PM, Xinxia Song via RT <
> > > > met_help at ucar.edu
> > > > >> >
> > > > >> > wrote:
> > > > >> >
> > > > >> > >
> > > > >> > > <URL:
https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=79605
> >
> > > > >> > >
> > > > >> > > Hi Julie,
> > > > >> > >
> > > > >> > >
> > > > >> > > I added it to the $PATH and ran the
master_met_python.py:
> > > > >> > >
> > > > >> > > [xinxia at chaos ush]$ python master_met_plus.py
> > > > >> > >
> > > > >> > > Traceback (most recent call last):
> > > > >> > >
> > > > >> > >   File
"/D2/xinxia/METplus/METplus/ush/extract_tiles.py",
> line
> > > 157,
> > > > >> in
> > > > >> > > <module>
> > > > >> > >
> > > > >> > >     main()
> > > > >> > >
> > > > >> > >   File
"/D2/xinxia/METplus/METplus/ush/extract_tiles.py",
> line
> > > 100,
> > > > >> in
> > > > >> > > main
> > > > >> > >
> > > > >> > >     filtered_out_dir)
> > > > >> > >
> > > > >> > >   File "/D2/xinxia/METplus/METplus/ush/run_tc_stat.py",
line
> > 69,
> > > in
> > > > >> > > tc_stat
> > > > >> > >
> > > > >> > >     tc_stat_out = subprocess.check_output(tc_cmd,
> > > > >> > > stderr=subprocess.STDOUT, shell=True )
> > > > >> > >
> > > > >> > > AttributeError: 'module' object has no attribute
> 'check_output'
> > > > >> > >
> > > > >> > >
> > > > >> > > Thanks,
> > > > >> > >
> > > > >> > >
> > > > >> > > Xinxia
> > > > >> > >
> > > > >> > > ________________________________
> > > > >> > > From: Julie Prestopnik via RT <met_help at ucar.edu>
> > > > >> > > Sent: Friday, February 24, 2017 9:07:40 AM
> > > > >> > > To: Xinxia_Song at outlook.com
> > > > >> > > Subject: Re: [rt.rap.ucar.edu #79605] ImportError: No
module
> > > named
> > > > >> > > constants_pdef
> > > > >> > >
> > > > >> > > Unfortunately, your environment does not know where to
find
> > > > >> > > run_tc_pairs.py.  Please try adding the directory with
> > > > run_tc_pairs.py
> > > > >> > > (/D2/xinxia/METplus/METplus/ush) to your path in your
> ~/.bashrc
> > > > file,
> > > > >> > then
> > > > >> > > run "source ~/.bashrc", then trying rerunning.  Please
let me
> > know
> > > > how
> > > > >> > that
> > > > >> > > goes.
> > > > >> > >
> > > > >> > > Thanks!
> > > > >> > >
> > > > >> > > Julie
> > > > >> > >
> > > > >> > > On Thu, Feb 23, 2017 at 11:55 AM, Xinxia Song via RT <
> > > > >> met_help at ucar.edu>
> > > > >> > > wrote:
> > > > >> > >
> > > > >> > > >
> > > > >> > > > <URL: https://rt.rap.ucar.edu/rt/
> Ticket/Display.html?id=79605
> > >
> > > > >> > > >
> > > > >> > > > Hi Julie,
> > > > >> > > >
> > > > >> > > >
> > > > >> > > > I'm running met in a machine that's owned by our
> department, I
> > > > don't
> > > > >> > have
> > > > >> > > > sudo right, so when I type which run_tc_pairs.py, it
says
> > > couldn't
> > > > >> find
> > > > >> > > it.
> > > > >> > > >
> > > > >> > > > no run_tc_pairs.py in (/opt/ncl/bin:/opt/intel-soft/
> > > > >> > > > bin:/opt/ncl/bin:/opt/ncl/bin:/opt/intel-
soft/bin:/opt/ncl/
> > > > >> > > >
bin:/home/xinxia/anaconda/bin:/home/xinxia/anaconda/bin:/
> > > > >> > > > opt/ncl/bin:/opt/intel-
soft/bin:/opt/ncl/bin:/usr/lib64/
> > > > >> > > > qt-
3.3/bin:/usr/local/bin:/bin:/usr/bin:/usr/local/sbin:/
> > > > >> > > > usr/sbin:/sbin:/sbin:/usr/sbin:/cm/local/apps/
> > > > >> > > environment-modules/3.2.10/
> > > > >> > > > bin:/home/xinxia/bin:/opt/ncl-621/bin)
> > > > >> > > >
> > > > >> > > >
> > > > >> > > > But I could find it manually in that directory.
> > > > >> > > >
> > > > >> > > >
> > > > >> > > > Thanks,
> > > > >> > > >
> > > > >> > > >
> > > > >> > > > Xinxia
> > > > >> > > >
> > > > >> > > > ________________________________
> > > > >> > > > From: Julie Prestopnik via RT <met_help at ucar.edu>
> > > > >> > > > Sent: Friday, February 24, 2017 8:52:16 AM
> > > > >> > > > To: Xinxia_Song at outlook.com
> > > > >> > > > Subject: Re: [rt.rap.ucar.edu #79605] ImportError: No
> module
> > > > named
> > > > >> > > > constants_pdef
> > > > >> > > >
> > > > >> > > > Hi Xinxia.
> > > > >> > > >
> > > > >> > > > It looks like you got a successful run of tc_stat -
that's
> > great
> > > > >> news!
> > > > >> > > >
> > > > >> > > > I'm not sure what you mean by "Because I don't have
the
> > right, I
> > > > >> can't
> > > > >> > > find
> > > > >> > > > run_tc_pairs.py, but I know it's under
> > > > >> > > >
> > > > >> > > > /D2/xinxia/METplus/METplus/ush".
> > > > >> > > >
> > > > >> > > > Can you please explain?  What happened when you ran
"which
> > > > >> > > > run_tc_pairs.py"?
> > > > >> > > >
> > > > >> > > > Thanks,
> > > > >> > > > Julie
> > > > >> > > >
> > > > >> > > >
> > > > >> > > >
> > > > >> > > >
> > > > >> > > >
> > > > >> > > >
> > > > >> > > > On Thu, Feb 23, 2017 at 11:44 AM, Xinxia Song via RT
<
> > > > >> > met_help at ucar.edu>
> > > > >> > > > wrote:
> > > > >> > > >
> > > > >> > > > >
> > > > >> > > > > <URL: https://rt.rap.ucar.edu/rt/
> > Ticket/Display.html?id=79605
> > > >
> > > > >> > > > >
> > > > >> > > > > Hi Julie,
> > > > >> > > > >
> > > > >> > > > >
> > > > >> > > > > I removed the space.
> > > > >> > > > >
> > > > >> > > > > [xinxia at chaos parm]$ /D2/xinxia/METplus/MET/met-5.2
> > > /bin/tc_stat
> > > > >> -job
> > > > >> > > > > filter -lookin /D2/xinxia/METplus/MET/input/
> tc_pairs/201412
> > > > >> > -init_inc
> > > > >> > > > > 20141201_00 -match_points true -dump_row
> > > > >> /D2/xinxia/METplus/MET/out/
> > > > >> > > > > extract_tiles/20141201_00/filter_20141201_00.tcst
-basin
> > ML
> > > > >> > > > > -out_init_mask /D2/xinxia/METplus/MET/met-5.
> > > > >> > > 2/share/met/poly/CONUS.poly
> > > > >> > > > >
> > > > >> > > > > DEBUG 1: [Source 1] Lookin:
/D2/xinxia/METplus/MET/input/
> > > > >> > > tc_pairs/201412
> > > > >> > > > >
> > > > >> > > > > DEBUG 2:
> > > > >> > > > >
> > > > >> > > > > DEBUG 2: Processing Job 1: -job filter -basin ML
-init_inc
> > > > >> > > > 20141201_000000
> > > > >> > > > > -match_points true -out_init_mask
> > > /D2/xinxia/METplus/MET/met-5.
> > > > >> > > > 2/share/met/poly/CONUS.poly
> > > > >> > > > > -dump_row /D2/xinxia/METplus/MET/out/ext
> > > ract_tiles/20141201_00/
> > > > >> > > > > filter_20141201_00.tcst
> > > > >> > > > >
> > > > >> > > > > DEBUG 1: Creating output dump file:
> > > /D2/xinxia/METplus/MET/out/
> > > > >> > > > > extract_tiles/20141201_00/filter_20141201_00.tcst
> > > > >> > > > >
> > > > >> > > > > FILTER: -job filter -basin ML -init_inc
20141201_000000
> > > > >> -match_points
> > > > >> > > > true
> > > > >> > > > > -out_init_mask /D2/xinxia/METplus/MET/met-5.
> > > > >> > > 2/share/met/poly/CONUS.poly
> > > > >> > > > > -dump_row /D2/xinxia/METplus/MET/out/ext
> > > ract_tiles/20141201_00/
> > > > >> > > > > filter_20141201_00.tcst
> > > > >> > > > >
> > > > >> > > > >
> > > > >> > > > > DEBUG 2: Job 1 used 0 out of 27292 lines read.
> > > > >> > > > >
> > > > >> > > > >
> > > > >> > > > > Because I don't have the right, I can't find
> > run_tc_pairs.py,
> > > > but
> > > > >> I
> > > > >> > > know
> > > > >> > > > > it's under
> > > > >> > > > >
> > > > >> > > > > /D2/xinxia/METplus/METplus/ush
> > > > >> > > > >
> > > > >> > > > >
> > > > >> > > > > For Python,
> > > > >> > > > >
> > > > >> > > > > [xinxia at chaos ~]$ which python
> > > > >> > > > >
> > > > >> > > > > /usr/bin/python
> > > > >> > > > >
> > > > >> > > > >
> > > > >> > > > > Xinxia
> > > > >> > > > >
> > > > >> > > > > ________________________________
> > > > >> > > > > From: Julie Prestopnik via RT <met_help at ucar.edu>
> > > > >> > > > > Sent: Friday, February 24, 2017 8:30:01 AM
> > > > >> > > > > To: Xinxia_Song at outlook.com
> > > > >> > > > > Subject: Re: [rt.rap.ucar.edu #79605] ImportError:
No
> > module
> > > > >> named
> > > > >> > > > > constants_pdef
> > > > >> > > > >
> > > > >> > > > > Hi Xinxia.
> > > > >> > > > >
> > > > >> > > > > It looks like there is a space where there should
not be a
> > > space
> > > > >> > > (between
> > > > >> > > > >
/D2/xinxia/METplus/MET/out/extract_tiles/20141201_00/ and
> > > > >> > > > > filter_20141201_00.tcst after the -dump_row
option).
> > > > >> > > > >
> > > > >> > > > > Could you please try it again without the space?
> > > > >> > > > >
> > > > >> > > > >
/D2/xinxia/METplus/METplus/ush/run_tc_stat.py:tc_stat
> from
> > > > >> calling
> > > > >> > MET
> > > > >> > > > > TC-STAT with command:/D2/xinxia/METplus/MET
> > > /met-5.2/bin/tc_stat
> > > > >> -job
> > > > >> > > > > filter
> > > > >> > > > > -lookin
/D2/xinxia/METplus/MET/input/tc_pairs/201412
> > > -init_inc
> > > > >> > > > 20141201_00
> > > > >> > > > > -match_points true -dump_row
/D2/xinxia/METplus/MET/out/
> > > > >> > > > > extract_tiles/20141201_00/filter_20141201_00.tcst
-basin
> > ML
> > > > >> > > > > -out_init_mask
> > > > >> > > > > /D2/xinxia/METplus/MET/met-
5.2/share/met/poly/CONUS.poly
> > > > >> > > > >
> > > > >> > > > > Regarding the master_met_plus.py run, please try
running
> the
> > > > >> > following
> > > > >> > > > two
> > > > >> > > > > commands and send me the output:
> > > > >> > > > >
> > > > >> > > > > which run_tc_pairs.py
> > > > >> > > > >
> > > > >> > > > > which python
> > > > >> > > > >
> > > > >> > > > > Thanks!
> > > > >> > > > >
> > > > >> > > > > Julie
> > > > >> > > > >
> > > > >> > > > > On Thu, Feb 23, 2017 at 11:06 AM, Xinxia Song via
RT <
> > > > >> > > met_help at ucar.edu>
> > > > >> > > > > wrote:
> > > > >> > > > >
> > > > >> > > > > >
> > > > >> > > > > > <URL: https://rt.rap.ucar.edu/rt/Tic
> > > ket/Display.html?id=79605
> > > > >
> > > > >> > > > > >
> > > > >> > > > > > Hi Julie,
> > > > >> > > > > >
> > > > >> > > > > >
> > > > >> > > > > > After I ran the long one line command:
> > > > >> > > > > >
> > > > >> > > > > > [xinxia at chaos parm]$ /D2/xinxia/METplus/MET/met-
5.
> > > > 2/bin/tc_stat
> > > > >> > -job
> > > > >> > > > > > filter -lookin /D2/xinxia/METplus/MET/input/
> > tc_pairs/201412
> > > > >> > > -init_inc
> > > > >> > > > > > 20141201_00 -match_points true -dump_row
> > > > >> > /D2/xinxia/METplus/MET/out/
> > > > >> > > > > extract_tiles/20141201_00/
> > > > >> > > > > > filter_20141201_00.tcst  -basin ML -out_init_mask
> > > > >> > > > > > /D2/xinxia/METplus/MET/met-5.
> 2/share/met/poly/CONUS.poly
> > > > >> > > > > >
> > > > >> > > > > >
> > > > >> > > > > > DEBUG 1: [Source 1] Lookin:
> /D2/xinxia/METplus/MET/input/
> > > > >> > > > tc_pairs/201412
> > > > >> > > > > >
> > > > >> > > > > > ERROR  :
> > > > >> > > > > >
> > > > >> > > > > > ERROR  : TCStatJob *TCStatJobFactory::new_tc_
> > stat_job(const
> > > > >> char
> > > > >> > > > > > *jobstring) -> unsupported job command options
> > > > >> > > > "filter_20141201_00.tcst".
> > > > >> > > > > >
> > > > >> > > > > > ERROR  :
> > > > >> > > > > >
> > > > >> > > > > >
> > > > >> > > > > > And for the master_met_plus.py, I got the error:
> > > > >> > > > > >
> > > > >> > > > > > [xinxia at chaos ush]$ python master_met_plus.py
> > > > >> > > > > >
> > > > >> > > > > > sh: run_tc_pairs.py: command not found
> > > > >> > > > > >
> > > > >> > > > > >
> > > > >> > > > > > Thanks,
> > > > >> > > > > >
> > > > >> > > > > >
> > > > >> > > > > > Xinxia
> > > > >> > > > > >
> > > > >> > > > > > ________________________________
> > > > >> > > > > > From: Julie Prestopnik via RT <met_help at ucar.edu>
> > > > >> > > > > > Sent: Friday, February 24, 2017 7:42:21 AM
> > > > >> > > > > > To: Xinxia_Song at outlook.com
> > > > >> > > > > > Subject: Re: [rt.rap.ucar.edu #79605]
ImportError: No
> > > module
> > > > >> named
> > > > >> > > > > > constants_pdef
> > > > >> > > > > >
> > > > >> > > > > > My apologies, my response should have said, "By
default,
> > MET
> > > > >> > version
> > > > >> > > > 5.2
> > > > >> > > > > is
> > > > >> > > > > > compiled using dynamic linking."  It's true for
both,
> but
> > I
> > > > see
> > > > >> > > you're
> > > > >> > > > > > using 5.2 and I inadvertently referred to 5.1.
> > > > >> > > > > >
> > > > >> > > > > > On Thu, Feb 23, 2017 at 10:40 AM, Julie
Prestopnik <
> > > > >> > jpresto at ucar.edu
> > > > >> > > >
> > > > >> > > > > > wrote:
> > > > >> > > > > >
> > > > >> > > > > > > Hi Xinxia.  Regarding the error:
> > > > >> > > > > > >
> > > > >> > > > > > > /D2/xinxia/METplus/MET/met-5.2/bin/tc_stat:
error
> while
> > > > >> loading
> > > > >> > > > shared
> > > > >> > > > > > > libraries: libgsl.so.19: cannot open shared
object
> file:
> > > No
> > > > >> such
> > > > >> > > file
> > > > >> > > > > or
> > > > >> > > > > > > directory
> > > > >> > > > > > >
> > > > >> > > > > > > By default, MET version 5.1 is compiled using
dynamic
> > > > linking.
> > > > >> > > > Rather
> > > > >> > > > > > > than compiling the external library code in
with the
> MET
> > > > >> > > executables
> > > > >> > > > > > (which
> > > > >> > > > > > > is
> > > > >> > > > > > > called static linking), it looks for them at
runtime.
> > And
> > > > >> it's
> > > > >> > > > looking
> > > > >> > > > > > > for those "shared object" (.so) library files.
> > > > >> > > > > > >
> > > > >> > > > > > > This should be easy to fix. We just need to
tell it
> > where
> > > to
> > > > >> find
> > > > >> > > > them,
> > > > >> > > > > > > and we do that by setting (or adding to the
> > > > LD_LIBRARY_PATH).
> > > > >> > Look
> > > > >> > > > in
> > > > >> > > > > > your
> > > > >> > > > > > > ~/.bashrc file.  If LD_LIBRARY_PATH is already
defined
> > in
> > > > >> there,
> > > > >> > > add
> > > > >> > > > > the
> > > > >> > > > > > > path to the libgsl.so.19 to the end of it.  If
not,
> add
> > an
> > > > >> > > > > > > LD_LIBRARY_PATH entry in your ~/.bashrc file.
So, for
> > > > >> example,
> > > > >> > if
> > > > >> > > > the
> > > > >> > > > > > path
> > > > >> > > > > > > to your libgsl.so.19 file is
> > > /D2/xinxia/METplus/MET/externa
> > > > >> > > > > > l_libs/GSL/gsl-1.16/lib
> > > > >> > > > > > > you would add teh following to your ~/.bashrc
file:
> > > > >> > > > > > >
> > > > >> > > > > > >   export LD_LIBRARY_PATH=/D2/xinxia/
> > > > >> > METplus/MET/external_libs/GSL/
> > > > >> > > > > > > gsl-1.16/lib
> > > > >> > > > > > >
> > > > >> > > > > > > Then save the change and source that file:
> > > > >> > > > > > >
> > > > >> > > > > > >   source ~/.bashrc
> > > > >> > > > > > >
> > > > >> > > > > > > Then, please try rerunning the command manually
and
> let
> > me
> > > > >> know
> > > > >> > if
> > > > >> > > it
> > > > >> > > > > > > works.
> > > > >> > > > > > >
> > > > >> > > > > > > I believe that this was the cause of the
initial error
> > you
> > > > >> > received
> > > > >> > > > > from
> > > > >> > > > > > > MET+:
> > > > >> > > > > > >
> > > > >> > > > > > > ERROR| /D2/xinxia/METplus/METplus/
> > > > ush/run_tc_stat.py:tc_stat
> > > > >> > from
> > > > >> > > > > > calling
> > > > >> > > > > > > MET TC-STAT with command:/D2/xinxia/METplus/
> > > > >> > > MET/met-5.2/bin/tc_stat
> > > > >> > > > > -job
> > > > >> > > > > > > filter -lookin /D2/xinxia/METplus/MET/input/t
> > > c_pairs/201412
> > > > >> > > > -init_inc
> > > > >> > > > > > > 20141201_00 -match_points true -dump_row
> > > > >> > > > /D2/xinxia/METplus/MET/out/ext
> > > > >> > > > > > > ract_tiles/20141201_00/filter_20141201_00.tcst
> -basin
> > ML
> > > > >> > > > > -out_init_mask
> > > > >> > > > > > > /D2/xinxia/METplus/MET/met-5.
> > 2/share/met/poly/CONUS.poly
> > > > >> > > > > > >
> > > > >> > > > > > >
> > > > >> > > > > > > Thanks,
> > > > >> > > > > > > Julie
> > > > >> > > > > > >
> > > > >> > > > > > > On Thu, Feb 23, 2017 at 10:14 AM, Xinxia Song
via RT <
> > > > >> > > > > met_help at ucar.edu>
> > > > >> > > > > > > wrote:
> > > > >> > > > > > >
> > > > >> > > > > > >>
> > > > >> > > > > > >> <URL: https://rt.rap.ucar.edu/rt/Tic
> > > > >> ket/Display.html?id=79605 >
> > > > >> > > > > > >>
> > > > >> > > > > > >> Hi Julie,
> > > > >> > > > > > >>
> > > > >> > > > > > >>
> > > > >> > > > > > >> [xinxia at chaos ush]$
/D2/xinxia/METplus/MET/met-5.2
> > > > >> /bin/tc_stat
> > > > >> > > -job
> > > > >> > > > > > >> filter -lookin /D2/xinxia/METplus/MET/input/
> > > > tc_pairs/201412
> > > > >> > > > -init_inc
> > > > >> > > > > > >> 20141201_00 -match_points true -dump_row
> > > > >> > > > > /D2/xinxia/METplus/MET/out/ext
> > > > >> > > > > > ract_tiles/20141201_00/
> > > > >> > > > > > >> filter_20141201_00.tcst  -basin ML
-out_init_mask
> > > > >> > > > > > >> /D2/xinxia/METplus/MET/met-5.
> > 2/share/met/poly/CONUS.poly
> > > > >> > > > > > >>
> > > > >> > > > > > >> /D2/xinxia/METplus/MET/met-5.2/bin/tc_stat:
error
> > while
> > > > >> loading
> > > > >> > > > > shared
> > > > >> > > > > > >> libraries: libgsl.so.19: cannot open shared
object
> > file:
> > > No
> > > > >> such
> > > > >> > > > file
> > > > >> > > > > or
> > > > >> > > > > > >> directory
> > > > >> > > > > > >>
> > > > >> > > > > > >>
> > > > >> > > > > > >> And I uploaded the configuration file
> > (constants_pdef.py)
> > > > >> under
> > > > >> > > > > > >> xinxia_data directory.
> > > > >> > > > > > >>
> > > > >> > > > > > >>
> > > > >> > > > > > >> Thanks,
> > > > >> > > > > > >>
> > > > >> > > > > > >>
> > > > >> > > > > > >> Xinxia
> > > > >> > > > > > >>
> > > > >> > > > > > >> ________________________________
> > > > >> > > > > > >> From: Julie Prestopnik via RT
<met_help at ucar.edu>
> > > > >> > > > > > >> Sent: Friday, February 24, 2017 6:15:57 AM
> > > > >> > > > > > >> To: Xinxia_Song at outlook.com
> > > > >> > > > > > >> Subject: Re: [rt.rap.ucar.edu #79605]
ImportError:
> No
> > > > module
> > > > >> > > named
> > > > >> > > > > > >> constants_pdef
> > > > >> > > > > > >>
> > > > >> > > > > > >> Hi Xinxia.
> > > > >> > > > > > >>
> > > > >> > > > > > >> I can see that your command, which should have
been
> all
> > > on
> > > > >> one
> > > > >> > > line,
> > > > >> > > > > was
> > > > >> > > > > > >> broken up into several lines.  Please try
running the
> > > > command
> > > > >> > > again,
> > > > >> > > > > > >> making
> > > > >> > > > > > >> sure that the entire command is on one line:
> > > > >> > > > > > >>
> > > > >> > > > > > >> /D2/xinxia/METplus/MET/met-5.2/bin/tc_stat
-job
> filter
> > > > >> -lookin
> > > > >> > > > > > >> /D2/xinxia/METplus/MET/input/tc_pairs/201412
> -init_inc
> > > > >> > > 20141201_00
> > > > >> > > > > > >> -match_points true -dump_row
> > > > >> > > > > > >> /D2/xinxia/METplus/MET/out/
> extract_tiles/20141201_00/
> > > > >> > > > > > >> filter_20141201_00.tcst  -basin ML
-out_init_mask
> > > > >> > > > > > >> /D2/xinxia/METplus/MET/met-5.
> > 2/share/met/poly/CONUS.poly
> > > > >> > > > > > >>
> > > > >> > > > > > >> Then, please send the output from that
command.
> > > > >> > > > > > >>
> > > > >> > > > > > >> Regarding, your error:
> > > > >> > > > > > >>
> > > > >> > > > > > >> sh: run_tc_pairs.py: command not found
> > > > >> > > > > > >>
> > > > >> > > > > > >> It's strange that would only have occurred
after
> having
> > > > >> changed
> > > > >> > > the
> > > > >> > > > > > >> LOG_LEVEL.  Could you please send us your
> configuration
> > > > file?
> > > > >> > > > > > >>
> > > > >> > > > > > >> Thanks!
> > > > >> > > > > > >>
> > > > >> > > > > > >> Julie
> > > > >> > > > > > >>
> > > > >> > > > > > >> On Wed, Feb 22, 2017 at 2:54 PM, Xinxia Song
via RT <
> > > > >> > > > > met_help at ucar.edu>
> > > > >> > > > > > >> wrote:
> > > > >> > > > > > >>
> > > > >> > > > > > >> >
> > > > >> > > > > > >> > <URL: https://rt.rap.ucar.edu/rt/Tic
> > > > >> ket/Display.html?id=79605
> > > > >> > >
> > > > >> > > > > > >> >
> > > > >> > > > > > >> > Hi Julie,
> > > > >> > > > > > >> >
> > > > >> > > > > > >> >
> > > > >> > > > > > >> > [xinxia at chaos ush]$
/D2/xinxia/METplus/MET/met-5.
> > > > >> > 2/bin/tc_stat
> > > > >> > > > -job
> > > > >> > > > > > >> > filter -lookin
> > > > >> > > > > > >> >
> > > > >> > > > > > >> > /D2/xinxia/METplus/MET/met-5.2/bin/tc_stat:
error
> > > while
> > > > >> > loading
> > > > >> > > > > > shared
> > > > >> > > > > > >> > libraries: libgsl.so.19: cannot open shared
object
> > > file:
> > > > No
> > > > >> > such
> > > > >> > > > > file
> > > > >> > > > > > or
> > > > >> > > > > > >> > directory
> > > > >> > > > > > >> >
> > > > >> > > > > > >> >
> > > > >> > > > > > >> > [xinxia at chaos ush]$
/D2/xinxia/METplus/MET/input/
> > > > >> > > tc_pairs/201412
> > > > >> > > > > > >> > -init_inc 20141201_00 -match_points true
-dump_row
> > > > >> > > > > > >> >
> > > > >> > > > > > >> > -bash: /D2/xinxia/METplus/MET/input/
> tc_pairs/201412:
> > > is
> > > > a
> > > > >> > > > directory
> > > > >> > > > > > >> >
> > > > >> > > > > > >> >
> > > > >> > > > > > >> > [xinxia at chaos ush]$
/D2/xinxia/METplus/MET/out/ext
> > > > >> > > > > > >> ract_tiles/20141201_00/
> > > > >> > > > > > >> > filter_20141201_00.tcst  -basin ML
-out_init_mask
> > > > >> > > > > > >> > /D2/xinxia/METplus/MET/met-5.2
> > > /share/met/poly/CONUS.poly
> > > > >> > > > > > >> >
> > > > >> > > > > > >> > -bash: /D2/xinxia/METplus/MET/out/ext
> > > > >> ract_tiles/20141201_00/:
> > > > >> > > No
> > > > >> > > > > such
> > > > >> > > > > > >> > file or directory
> > > > >> > > > > > >> >
> > > > >> > > > > > >> >
> > > > >> > > > > > >> > After I change the LOG_LEVEL, I ran the
> > > > >> master_met_plus.py, it
> > > > >> > > > says:
> > > > >> > > > > > >> >
> > > > >> > > > > > >> > [xinxia at chaos ush]$ python
master_met_plus.py
> > > > >> > > > > > >> >
> > > > >> > > > > > >> > sh: run_tc_pairs.py: command not found
> > > > >> > > > > > >> >
> > > > >> > > > > > >> >
> > > > >> > > > > > >> >
> > > > >> > > > > > >> > Thanks,
> > > > >> > > > > > >> >
> > > > >> > > > > > >> >
> > > > >> > > > > > >> > Xinxia
> > > > >> > > > > > >> >
> > > > >> > > > > > >> >
> > > > >> > > > > > >> > ________________________________
> > > > >> > > > > > >> > From: Julie Prestopnik via RT
<met_help at ucar.edu>
> > > > >> > > > > > >> > Sent: Thursday, February 23, 2017 10:04:55
AM
> > > > >> > > > > > >> > To: Xinxia_Song at outlook.com
> > > > >> > > > > > >> > Subject: Re: [rt.rap.ucar.edu #79605]
ImportError:
> > No
> > > > >> module
> > > > >> > > > named
> > > > >> > > > > > >> > constants_pdef
> > > > >> > > > > > >> >
> > > > >> > > > > > >> > Thank you.  Unfortunately, the level of
detail in
> the
> > > log
> > > > >> file
> > > > >> > > > > wasn't
> > > > >> > > > > > >> what
> > > > >> > > > > > >> > I hoped for.  I'd like to have you try two
things.
> > > > >> > > > > > >> >
> > > > >> > > > > > >> > First, could you please send me your output
of your
> > > > manual
> > > > >> run
> > > > >> > > of
> > > > >> > > > > the
> > > > >> > > > > > >> > following?
> > > > >> > > > > > >> >
> > > > >> > > > > > >> > "/D2/xinxia/METplus/MET/met-5.2/bin/tc_stat
-job
> > > filter
> > > > >> > -lookin
> > > > >> > > > > > >> > /D2/xinxia/METplus/MET/input/tc_pairs/201412
> > -init_inc
> > > > >> > > > 20141201_00
> > > > >> > > > > > >> > -match_points true -dump_row
> > > /D2/xinxia/METplus/MET/out/
> > > > >> > > > > > >> > extract_tiles/20141201_00/
filter_20141201_00.tcst
> > > > -basin
> > > > >> ML
> > > > >> > > > > > >> > -out_init_mask
> > > > >> > > > > > >> > /D2/xinxia/METplus/MET/met-5.
> > > > 2/share/met/poly/CONUS.poly"
> > > > >> > > > > > >> >
> > > > >> > > > > > >> > Second, could you please change your log
level in
> > your
> > > > >> > > > configuration
> > > > >> > > > > > >> file
> > > > >> > > > > > >> > from
> > > > >> > > > > > >> >
> > > > >> > > > > > >> > LOG_LEVEL = "INFO"
> > > > >> > > > > > >> >
> > > > >> > > > > > >> > to
> > > > >> > > > > > >> >
> > > > >> > > > > > >> > LOG_LEVEL = "DEBUG"
> > > > >> > > > > > >> >
> > > > >> > > > > > >> > then rerun and upload your log file to our
ftp
> server
> > > > >> again?
> > > > >> > > > > > >> >
> > > > >> > > > > > >> > Thank you!
> > > > >> > > > > > >> >
> > > > >> > > > > > >> > Julie
> > > > >> > > > > > >> >
> > > > >> > > > > > >> >
> > > > >> > > > > > >> > On Wed, Feb 22, 2017 at 12:39 PM, Xinxia
Song via
> RT
> > <
> > > > >> > > > > > met_help at ucar.edu
> > > > >> > > > > > >> >
> > > > >> > > > > > >> > wrote:
> > > > >> > > > > > >> >
> > > > >> > > > > > >> > >
> > > > >> > > > > > >> > > <URL: https://rt.rap.ucar.edu/rt/
> > > > >> > Ticket/Display.html?id=79605
> > > > >> > > >
> > > > >> > > > > > >> > >
> > > > >> > > > > > >> > > Hi Julie,
> > > > >> > > > > > >> > >
> > > > >> > > > > > >> > >
> > > > >> > > > > > >> > > I uploaded the log file under xinxia_data
> > directory.
> > > > >> > > > > > >> > >
> > > > >> > > > > > >> > >
> > > > >> > > > > > >> > > Thanks,
> > > > >> > > > > > >> > >
> > > > >> > > > > > >> > >
> > > > >> > > > > > >> > > Xinxia
> > > > >> > > > > > >> > >
> > > > >> > > > > > >> > >
> > > > >> > > > > > >> > > ________________________________
> > > > >> > > > > > >> > > From: Julie Prestopnik via RT
<met_help at ucar.edu
> >
> > > > >> > > > > > >> > > Sent: Thursday, February 23, 2017 9:11:32
AM
> > > > >> > > > > > >> > > To: Xinxia_Song at outlook.com
> > > > >> > > > > > >> > > Subject: Re: [rt.rap.ucar.edu #79605]
> ImportError:
> > > No
> > > > >> > module
> > > > >> > > > > named
> > > > >> > > > > > >> > > constants_pdef
> > > > >> > > > > > >> > >
> > > > >> > > > > > >> > > Hi Xinxia.
> > > > >> > > > > > >> > >
> > > > >> > > > > > >> > > I think it would be helpful if I could
take a
> look
> > at
> > > > the
> > > > >> > log
> > > > >> > > > > file.
> > > > >> > > > > > >> > Could
> > > > >> > > > > > >> > > you please upload your file to our
anonymous ftp
> > site
> > > > as
> > > > >> > > follows
> > > > >> > > > > so
> > > > >> > > > > > >> that
> > > > >> > > > > > >> > I
> > > > >> > > > > > >> > > can take a look?
> > > > >> > > > > > >> > >
> > > > >> > > > > > >> > >    http://www.dtcenter.org/met/
> > > > >> > users/support/met_help.php#ftp
> > > > >> > > > > > >> > >
> > > > >> > > > > > >> > > Also, could you please try running the
following
> > > > manually
> > > > >> > and
> > > > >> > > > send
> > > > >> > > > > > the
> > > > >> > > > > > >> > > output to me?
> > > > >> > > > > > >> > >
> > > > >> > > > > > >> > > "/D2/xinxia/METplus/MET/met-
5.2/bin/tc_stat -job
> > > > filter
> > > > >> > > -lookin
> > > > >> > > > > > >> > >
/D2/xinxia/METplus/MET/input/tc_pairs/201412
> > > -init_inc
> > > > >> > > > > 20141201_00
> > > > >> > > > > > >> > > -match_points true -dump_row
> > > > /D2/xinxia/METplus/MET/out/
> > > > >> > > > > > >> > > extract_tiles/20141201_00/
> filter_20141201_00.tcst
> > > > >> -basin
> > > > >> > ML
> > > > >> > > > > > >> > > -out_init_mask
> > > > >> > > > > > >> > > /D2/xinxia/METplus/MET/met-5.2
> > > > >> /share/met/poly/CONUS.poly"
> > > > >> > > > > > >> > >
> > > > >> > > > > > >> > > Thank you!
> > > > >> > > > > > >> > >
> > > > >> > > > > > >> > > Julie
> > > > >> > > > > > >> > >
> > > > >> > > > > > >> > >
> > > > >> > > > > > >> > >
> > > > >> > > > > > >> > > On Wed, Feb 22, 2017 at 12:06 PM, Xinxia
Song via
> > RT
> > > <
> > > > >> > > > > > >> met_help at ucar.edu>
> > > > >> > > > > > >> > > wrote:
> > > > >> > > > > > >> > >
> > > > >> > > > > > >> > > >
> > > > >> > > > > > >> > > > <URL: https://rt.rap.ucar.edu/rt/
> > > > >> > > Ticket/Display.html?id=79605
> > > > >> > > > >
> > > > >> > > > > > >> > > >
> > > > >> > > > > > >> > > > Hi Julie,
> > > > >> > > > > > >> > > >
> > > > >> > > > > > >> > > >
> > > > >> > > > > > >> > > > Now I can run the program, but when I
look at
> the
> > > log
> > > > >> file
> > > > >> > > in
> > > > >> > > > > the
> > > > >> > > > > > >> > output,
> > > > >> > > > > > >> > > > it shows error below:
> > > > >> > > > > > >> > > >
> > > > >> > > > > > >> > > >
> > > > >> > > > > > >> > > > ERROR| /D2/xinxia/METplus/METplus/
> > > > >> > > ush/run_tc_stat.py:tc_stat
> > > > >> > > > > from
> > > > >> > > > > > >> > > calling
> > > > >> > > > > > >> > > > MET TC-STAT with
command:/D2/xinxia/METplus/MET
> > > > >> > > > > > /met-5.2/bin/tc_stat
> > > > >> > > > > > >> > -job
> > > > >> > > > > > >> > > > filter -lookin
/D2/xinxia/METplus/MET/input/
> > > > >> > tc_pairs/201412
> > > > >> > > > > > >> -init_inc
> > > > >> > > > > > >> > > > 20141201_00 -match_points true -dump_row
> > > > >> > > > > > /D2/xinxia/METplus/MET/out/
> > > > >> > > > > > >> > > > extract_tiles/20141201_00/
> > filter_20141201_00.tcst
> > > > >> -basin
> > > > >> > > ML
> > > > >> > > > > > >> > > > -out_init_mask
/D2/xinxia/METplus/MET/met-5.
> > > > >> > > > > > >> > 2/share/met/poly/CONUS.poly
> > > > >> > > > > > >> > > >
> > > > >> > > > > > >> > > >
> > > > >> > > > > > >> > > > How should I fix it?
> > > > >> > > > > > >> > > >
> > > > >> > > > > > >> > > >
> > > > >> > > > > > >> > > > Thanks,
> > > > >> > > > > > >> > > >
> > > > >> > > > > > >> > > >
> > > > >> > > > > > >> > > > Xinxia
> > > > >> > > > > > >> > > >
> > > > >> > > > > > >> > > > ________________________________
> > > > >> > > > > > >> > > > From: Julie Prestopnik via RT <
> met_help at ucar.edu
> > >
> > > > >> > > > > > >> > > > Sent: Thursday, February 23, 2017
7:30:06 AM
> > > > >> > > > > > >> > > > To: Xinxia_Song at outlook.com
> > > > >> > > > > > >> > > > Subject: Re: [rt.rap.ucar.edu #79605]
> > ImportError:
> > > > No
> > > > >> > > module
> > > > >> > > > > > named
> > > > >> > > > > > >> > > > constants_pdef
> > > > >> > > > > > >> > > >
> > > > >> > > > > > >> > > > Hi Xinxia.
> > > > >> > > > > > >> > > >
> > > > >> > > > > > >> > > > I believe that python doesn't know how
to find
> > the
> > > > >> module
> > > > >> > > > > because
> > > > >> > > > > > >> the
> > > > >> > > > > > >> > ush
> > > > >> > > > > > >> > > > directory is not in your PYTHONPATH.
Both the
> > parm
> > > > and
> > > > >> > ush
> > > > >> > > > > > >> directory
> > > > >> > > > > > >> > > need
> > > > >> > > > > > >> > > > to be specified in your PYTHONPATH.
Please add
> > the
> > > > ush
> > > > >> > > > > directory
> > > > >> > > > > > to
> > > > >> > > > > > >> > your
> > > > >> > > > > > >> > > > PYTHONPATH, source ~/.bashrc, and let us
know
> how
> > > it
> > > > >> goes.
> > > > >> > > > > > >> > > >
> > > > >> > > > > > >> > > > Thanks,
> > > > >> > > > > > >> > > > Julie
> > > > >> > > > > > >> > > >
> > > > >> > > > > > >> > > > On Wed, Feb 22, 2017 at 10:24 AM, Xinxia
Song
> via
> > > RT
> > > > <
> > > > >> > > > > > >> > met_help at ucar.edu>
> > > > >> > > > > > >> > > > wrote:
> > > > >> > > > > > >> > > >
> > > > >> > > > > > >> > > > >
> > > > >> > > > > > >> > > > > <URL: https://rt.rap.ucar.edu/rt/
> > > > >> > > > Ticket/Display.html?id=79605
> > > > >> > > > > >
> > > > >> > > > > > >> > > > >
> > > > >> > > > > > >> > > > > Hi Julie,
> > > > >> > > > > > >> > > > >
> > > > >> > > > > > >> > > > >
> > > > >> > > > > > >> > > > > Since I don't have setenv, I added
these 3
> > > sentence
> > > > >> into
> > > > >> > > my
> > > > >> > > > > > >> .bashrc
> > > > >> > > > > > >> > > file:
> > > > >> > > > > > >> > > > >
> > > > >> > > > > > >> > > > >
> > > > >> > > > > > >> > > > > export PYTHONPATH="/D2/xinxia/
> > > > METplus/METplus/parm"
> > > > >> > > > > > >> > > > >
> > > > >> > > > > > >> > > > >
> > > > >> > > > > > >> > > > > export USHROOT=/D2/xinxia/METplus/
> METplus/ush
> > > > >> > > > > > >> > > > >
> > > > >> > > > > > >> > > > > export PATH=$USHROOT:$PATH
> > > > >> > > > > > >> > > > >
> > > > >> > > > > > >> > > > >
> > > > >> > > > > > >> > > > > I sourced the ~/.bashrc, and checked
that the
> > > > >> variables
> > > > >> > > are
> > > > >> > > > > set,
> > > > >> > > > > > >> but
> > > > >> > > > > > >> > > the
> > > > >> > > > > > >> > > > > program still can't find the module.
> > > > >> > > > > > >> > > > >
> > > > >> > > > > > >> > > > >
> > > > >> > > > > > >> > > > > Thanks,
> > > > >> > > > > > >> > > > >
> > > > >> > > > > > >> > > > > Xinxia
> > > > >> > > > > > >> > > > >
> > > > >> > > > > > >> > > > > ________________________________
> > > > >> > > > > > >> > > > > From: Julie Prestopnik via RT <
> > met_help at ucar.edu
> > > >
> > > > >> > > > > > >> > > > > Sent: Thursday, February 23, 2017
6:24:21 AM
> > > > >> > > > > > >> > > > > To: Xinxia_Song at outlook.com
> > > > >> > > > > > >> > > > > Subject: Re: [rt.rap.ucar.edu #79605]
> > > ImportError:
> > > > >> No
> > > > >> > > > module
> > > > >> > > > > > >> named
> > > > >> > > > > > >> > > > > constants_pdef
> > > > >> > > > > > >> > > > >
> > > > >> > > > > > >> > > > > Hi Xinxia.
> > > > >> > > > > > >> > > > >
> > > > >> > > > > > >> > > > > Could you please check to make sure
that the
> > ush
> > > > >> > directory
> > > > >> > > > > with
> > > > >> > > > > > >> > > > > constants_pdef.py is in your
PYTHONPATH in
> your
> > > > >> .cshrc
> > > > >> > > file
> > > > >> > > > > (or
> > > > >> > > > > > >> > .bashrc
> > > > >> > > > > > >> > > > or
> > > > >> > > > > > >> > > > > similar file)?  The parm directory
should
> also
> > be
> > > > in
> > > > >> > your
> > > > >> > > > > > >> PYTHONPATH.
> > > > >> > > > > > >> > > > >
> > > > >> > > > > > >> > > > > For example,
> > > > >> > > > > > >> > > > >
> > > > >> > > > > > >> > > > > setenv PYTHONPATH
> /d1/jpresto/sbu/METplus/ush:/
> > > > >> > > > > > >> > > > d1/jpresto/sbu/METplus/parm
> > > > >> > > > > > >> > > > >
> > > > >> > > > > > >> > > > > Please also check make sure that the
path to
> > the
> > > > ush
> > > > >> > > > directory
> > > > >> > > > > > is
> > > > >> > > > > > >> > also
> > > > >> > > > > > >> > > > > specified your your path environment
> variable.
> > > For
> > > > >> > > example,
> > > > >> > > > > > >> > > > >
> > > > >> > > > > > >> > > > > set path = (/usr/local/bin \
> > > > >> > > > > > >> > > > >
> /usr/local/python/bin/python \
> > > > >> > > > > > >> > > > >
/d1/jpresto/sbu/METplus/ush
> )
> > > > >> > > > > > >> > > > >
> > > > >> > > > > > >> > > > > If they are not there, please add them
and
> then
> > > > >> source
> > > > >> > the
> > > > >> > > > > file
> > > > >> > > > > > >> (e.g.
> > > > >> > > > > > >> > > run
> > > > >> > > > > > >> > > > > "source ~/.cshrc").
> > > > >> > > > > > >> > > > >
> > > > >> > > > > > >> > > > > Thank you!  Please let us know how it
goes.
> > > > >> > > > > > >> > > > >
> > > > >> > > > > > >> > > > > Julie
> > > > >> > > > > > >> > > > >
> > > > >> > > > > > >> > > > >
> > > > >> > > > > > >> > > > >
> > > > >> > > > > > >> > > > >
> > > > >> > > > > > >> > > > > On Tue, Feb 21, 2017 at 4:49 PM,
Xinxia Song
> > via
> > > > RT <
> > > > >> > > > > > >> > met_help at ucar.edu
> > > > >> > > > > > >> > > >
> > > > >> > > > > > >> > > > > wrote:
> > > > >> > > > > > >> > > > >
> > > > >> > > > > > >> > > > > >
> > > > >> > > > > > >> > > > > > Tue Feb 21 16:49:28 2017: Request
79605 was
> > > acted
> > > > >> > upon.
> > > > >> > > > > > >> > > > > > Transaction: Ticket created by
> > > > >> > Xinxia_Song at outlook.com
> > > > >> > > > > > >> > > > > >        Queue: met_help
> > > > >> > > > > > >> > > > > >      Subject: ImportError: No module
named
> > > > >> > > constants_pdef
> > > > >> > > > > > >> > > > > >        Owner: Nobody
> > > > >> > > > > > >> > > > > >   Requestors:
Xinxia_Song at outlook.com
> > > > >> > > > > > >> > > > > >       Status: new
> > > > >> > > > > > >> > > > > >  Ticket <URL:
https://rt.rap.ucar.edu/rt/
> > > > >> > > > > > >> > > Ticket/Display.html?id=79605
> > > > >> > > > > > >> > > > >
> > > > >> > > > > > >> > > > > >
> > > > >> > > > > > >> > > > > >
> > > > >> > > > > > >> > > > > > Hi,
> > > > >> > > > > > >> > > > > >
> > > > >> > > > > > >> > > > > >
> > > > >> > > > > > >> > > > > > When I ran the mater_met_plus.py, it
says:
> > > > >> > > > > > >> > > > > >
> > > > >> > > > > > >> > > > > >
> > > > >> > > > > > >> > > > > > ImportError: No module named
constants_pdef
> > > > >> > > > > > >> > > > > >
> > > > >> > > > > > >> > > > > >
> > > > >> > > > > > >> > > > > > Seems it doesn't recognize
constants_pdef
> as
> > > its
> > > > >> > module.
> > > > >> > > > > > >> > > > > >
> > > > >> > > > > > >> > > > > >
> > > > >> > > > > > >> > > > > > Thanks,
> > > > >> > > > > > >> > > > > >
> > > > >> > > > > > >> > > > > > Xinxia
> > > > >> > > > > > >> > > > > >
> > > > >> > > > > > >> > > > > >
> > > > >> > > > > > >> > > > >
> > > > >> > > > > > >> > > > >
> > > > >> > > > > > >> > > > >
> > > > >> > > > > > >> > > >
> > > > >> > > > > > >> > > >
> > > > >> > > > > > >> > > >
> > > > >> > > > > > >> > >
> > > > >> > > > > > >> > >
> > > > >> > > > > > >> > >
> > > > >> > > > > > >> >
> > > > >> > > > > > >> >
> > > > >> > > > > > >> >
> > > > >> > > > > > >>
> > > > >> > > > > > >>
> > > > >> > > > > > >>
> > > > >> > > > > > >
> > > > >> > > > > >
> > > > >> > > > > >
> > > > >> > > > > >
> > > > >> > > > >
> > > > >> > > > >
> > > > >> > > > >
> > > > >> > > >
> > > > >> > > >
> > > > >> > > >
> > > > >> > >
> > > > >> > >
> > > > >> > >
> > > > >> >
> > > > >> >
> > > > >> >
> > > > >>
> > > > >>
> > > > >>
> > > > >
> > > >
> > > >
> > > >
> > >
> > >
> > >
> >
> >
> >
>
>
>

------------------------------------------------
Subject: ImportError: No module named constants_pdef
From: Xinxia Song
Time: Mon Feb 27 20:14:19 2017

Hi Julie,


after I update the NCAP2 path in constants_pdef.py and ran the
master_met_plus.py, I got the error:

2017-02-28 02:49:40,659 : ERROR | [master_met_plus.py:main] | Problem
executing: series_by_lead.py

and message:

Traceback (most recent call last):

  File "/D2/xinxia/METplus/METplus/ush/series_by_lead.py", line 945,
in <module>

    analysis_by_lead_time()

  File "/D2/xinxia/METplus/METplus/ush/series_by_lead.py", line 107,
in analysis_by_lead_time

    util.apply_series_filters(tile_dir, init_times,
series_lead_filtered_out_dir, p, logger)

  File "/D2/xinxia/METplus/METplus/ush/met_util.py", line 1005, in
apply_series_filters

    tcs.tc_stat(p, logger, tc_cmd, series_output_dir)

  File "/D2/xinxia/METplus/METplus/ush/run_tc_stat.py", line 69, in
tc_stat

    tc_stat_out = subprocess.check_output(tc_cmd,
stderr=subprocess.STDOUT, shell=True )

AttributeError: 'module' object has no attribute 'check_output'


Thanks,


Xinxia

________________________________
From: Julie Prestopnik via RT <met_help at ucar.edu>
Sent: Monday, February 27, 2017 5:15:59 PM
To: Xinxia_Song at outlook.com
Subject: Re: [rt.rap.ucar.edu #79605] ImportError: No module named
constants_pdef

Please install ncap2 and update the location to the executable in the
NCAP2_EXE field of the constants_pdef.py file and trying rerunning the
MET+
code.  Please let us know how it goes.

Thanks,
Julie

On Mon, Feb 27, 2017 at 3:10 PM, Xinxia Song via RT
<met_help at ucar.edu>
wrote:

>
> <URL: https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=79605 >
>
> Hi Julie,
>
>
> The result is :
>
> -bash: /usr/local/nco/bin/ncap2: No such file or directory
>
> I think we don't have it installed.
>
>
> Thanks,
>
> Xinxia
>
> ________________________________
> From: Julie Prestopnik via RT <met_help at ucar.edu>
> Sent: Monday, February 27, 2017 5:08:48 PM
> To: Xinxia_Song at outlook.com
> Subject: Re: [rt.rap.ucar.edu #79605] ImportError: No module named
> constants_pdef
>
> Hi Xinxia. I believe that error code refers to "Command not found".
Can
> you please run the following and send me the output?
>
> /usr/local/nco/bin/ncap2 --version
>
> Thanks!
>
> Julie
>
>
> On Mon, Feb 27, 2017 at 2:55 PM, Xinxia Song via RT
<met_help at ucar.edu>
> wrote:
>
> >
> > <URL: https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=79605 >
> >
> > Hi Julie,
> >
> >
> > The error is:
> >
> > Traceback (most recent call last):
> >
> >   File "series_by_lead.py", line 945, in <module>
> >
> >     analysis_by_lead_time()
> >
> >   File "series_by_lead.py", line 326, in analysis_by_lead_time
> >
> >     vmin, vmax = get_netcdf_min_max(nc_var_list, cur_stat, p,
logger)
> >
> >   File "series_by_lead.py", line 605, in get_netcdf_min_max
> >
> >     shell=True)
> >
> >   File "/home/xinxia/anaconda2/lib/python2.7/subprocess.py", line
219,
> in
> > check_output
> >
> >     raise CalledProcessError(retcode, cmd, output=output)
> >
> > subprocess.CalledProcessError: Command '/usr/local/nco/bin/ncap2
-v -s
> > "min=min(series_cnt_TOTAL)" /D2/xinxia/METplus/MET/out/
> > series_analysis_lead/series_F042/series_F042_HGT_P500.nc
> >
/D2/xinxia/METplus/MET/out/series_analysis_lead/series_F042/min.nc'
> > returned non-zero exit status 127
> >
> >
> > Thanks,
> >
> >
> > Xinxia
> >
> > ________________________________
> > From: Julie Prestopnik via RT <met_help at ucar.edu>
> > Sent: Tuesday, February 28, 2017 9:18:55 AM
> > To: Xinxia_Song at outlook.com
> > Subject: Re: [rt.rap.ucar.edu #79605] ImportError: No module named
> > constants_pdef
> >
> > Thank you, Xinxia.
> >
> > Unfortunately, the "DEBUG" log level did not provide much
information for
> > this task:
> >
> > 2017-02-26 21:30:28,041 : INFO | [master_met_plus.py:main] |
Running:
> > series_by_lead.py
> > 2017-02-26 21:30:28,212 : ERROR | [master_met_plus.py:main] |
Problem
> > executing: series_by_lead.py
> >
> > Could you please try running series_by_lead.py in the ush
directory?
> > Please let me know what the output is from that run - it may still
be
> > contained in your log file.
> >
> > Thanks!
> >
> > Julie
> >
> >
> > On Mon, Feb 27, 2017 at 11:17 AM, Xinxia Song via RT
<met_help at ucar.edu>
> > wrote:
> >
> > >
> > > <URL: https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=79605 >
> > >
> > > Hi Julie,
> > >
> > >
> > > I uploaded the constants_pdef.py and
master_met_plus.20170226.log.
> > >
> > >
> > > Thanks,
> > >
> > >
> > > Xinxia
> > >
> > > ________________________________
> > > From: Julie Prestopnik via RT <met_help at ucar.edu>
> > > Sent: Tuesday, February 28, 2017 5:46:37 AM
> > > To: Xinxia_Song at outlook.com
> > > Subject: Re: [rt.rap.ucar.edu #79605] ImportError: No module
named
> > > constants_pdef
> > >
> > > Hi Xinxia.  Can you please upload the configuration file that
you used
> > and
> > > the log file from that run to our ftp server so that we can take
a
> look?
> > >
> > > Thanks!
> > >
> > > Julie
> > >
> > > On Sun, Feb 26, 2017 at 2:35 PM, Xinxia Song via RT
<met_help at ucar.edu
> >
> > > wrote:
> > >
> > > >
> > > > <URL: https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=79605
>
> > > >
> > > > Hi Julie,
> > > >
> > > >
> > > > I ran the mater_met_plus.py and in the end in the log file it
gave me
> > an
> > > > error:
> > > >
> > > > 2017-02-26 21:30:28,212 : ERROR | [master_met_plus.py:main] |
Problem
> > > > executing: series_by_lead.py
> > > >
> > > >
> > > > Thanks,
> > > >
> > > > Xinxia
> > > >
> > > > ________________________________
> > > > From: Julie Prestopnik via RT <met_help at ucar.edu>
> > > > Sent: Saturday, February 25, 2017 6:49:56 AM
> > > > To: Xinxia_Song at outlook.com
> > > > Subject: Re: [rt.rap.ucar.edu #79605] ImportError: No module
named
> > > > constants_pdef
> > > >
> > > > You could also run "tail -f </path/to/logfile/logfile_name>"
> replacing
> > > > </path/to/logfile/logfile_name> with the logfile path and name
> > > information
> > > > to see how the run is coming along.  I hope that helps!
> > > >
> > > > Julie
> > > >
> > > > On Fri, Feb 24, 2017 at 9:42 AM, Julie Prestopnik
<jpresto at ucar.edu>
> > > > wrote:
> > > >
> > > > > Hi Xinxia.  Running the entire three months of data could
certainly
> > > take
> > > > a
> > > > > long time.  I am hoping to get an estimate on how long it
took to
> run
> > > the
> > > > > three month data set here, but have not been able to obtain
that
> > number
> > > > > yet.   It sounds the code was running successfully for you.
If
> > you're
> > > > > eager to take a lot at some output, I would suggest running
a
> smaller
> > > > > subset of the data, or perhaps you could set up the whole
three
> month
> > > to
> > > > > run over the weekend.  I would suggest letting the code run
to
> > > completion
> > > > > for either a smaller subset or for the entire subset and
then
> > checking
> > > > the
> > > > > log file for errors.  I hope that helps.  Please let me know
if you
> > > have
> > > > > any questions or encounter any issues.
> > > > >
> > > > > Thanks,
> > > > > Julie
> > > > >
> > > > >
> > > > > On Thu, Feb 23, 2017 at 4:28 PM, Xinxia Song via RT <
> > met_help at ucar.edu
> > > >
> > > > > wrote:
> > > > >
> > > > >>
> > > > >> <URL:
https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=79605 >
> > > > >>
> > > > >> Hi Julie,
> > > > >>
> > > > >>
> > > > >> The version is set to be 2.7+. When I ran
master_met_plus.py, it
> > seems
> > > > it
> > > > >> will run forever. So I killed it, and got the following:
> > > > >>
> > > > >> [xinxia at chaos ush]$ python master_met_plus.py
> > > > >>
> > > > >> ^CTraceback (most recent call last):
> > > > >>
> > > > >>   File "/D2/xinxia/METplus/METplus/ush/extract_tiles.py",
line
> 157,
> > > in
> > > > >> <module>
> > > > >>
> > > > >>     main()
> > > > >>
> > > > >>   File "/D2/xinxia/METplus/METplus/ush/extract_tiles.py",
line
> 100,
> > > in
> > > > >> main
> > > > >>
> > > > >>     filtered_out_dir)
> > > > >>
> > > > >>   File "/D2/xinxia/METplus/METplus/ush/run_tc_stat.py",
line 69,
> in
> > > > >> tc_stat
> > > > >>
> > > > >>     tc_stat_out = subprocess.check_output(tc_cmd,
> > > > >> stderr=subprocess.STDOUT, shell=True )
> > > > >>
> > > > >>   File
"/home/xinxia/anaconda2/lib/python2.7/subprocess.py", line
> > > 213,
> > > > >> in check_output
> > > > >>
> > > > >>     output, unused_err = process.communicate()
> > > > >>
> > > > >>   File
"/home/xinxia/anaconda2/lib/python2.7/subprocess.py", line
> > > 471,
> > > > >> in communicate
> > > > >>
> > > > >>     stdout = _eintr_retry_call(self.stdout.read)
> > > > >>
> > > > >>   File
"/home/xinxia/anaconda2/lib/python2.7/subprocess.py", line
> > > 121,
> > > > >> in _eintr_retry_call
> > > > >>
> > > > >>     return func(*args)
> > > > >>
> > > > >> KeyboardInterrupt
> > > > >>
> > > > >>
> > > > >> Thanks,
> > > > >>
> > > > >>
> > > > >> Xinxia
> > > > >>
> > > > >> ________________________________
> > > > >> From: Julie Prestopnik via RT <met_help at ucar.edu>
> > > > >> Sent: Friday, February 24, 2017 12:02:21 PM
> > > > >> To: Xinxia_Song at outlook.com
> > > > >> Subject: Re: [rt.rap.ucar.edu #79605] ImportError: No
module
> named
> > > > >> constants_pdef
> > > > >>
> > > > >> Hi Xinxia.  I suspect that even though you installed Python
2.7
> that
> > > > >> Python
> > > > >> 2.6.6 is still being used.
> > > > >>
> > > > >> Please try running:
> > > > >>
> > > > >> python --version
> > > > >>
> > > > >> on the command line.
> > > > >>
> > > > >> If you see "Python 2..6.6", please add the path for Python
2.7 to
> > the
> > > > >> front
> > > > >> of your path in your ~/.bashrc file.  Then, source your
~/.bashrc
> > file
> > > > and
> > > > >> try rerunning
> > > > >>
> > > > >> python --version
> > > > >>
> > > > >> on the command line.  Hopefully, then you will see the new
> version.
> > > > Then,
> > > > >> please try rerunning master_met_plus.py.
> > > > >>
> > > > >> I hope this helps!  Thanks!
> > > > >>
> > > > >> Julie
> > > > >>
> > > > >> On Thu, Feb 23, 2017 at 1:51 PM, Xinxia Song via RT <
> > > met_help at ucar.edu>
> > > > >> wrote:
> > > > >>
> > > > >> >
> > > > >> > <URL:
https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=79605 >
> > > > >> >
> > > > >> > Hi Julie,
> > > > >> >
> > > > >> >
> > > > >> > I installed myself the 2.7 python, it still got the error
when
> > > > running:
> > > > >> >
> > > > >> > Traceback (most recent call last):
> > > > >> >
> > > > >> >   File
"/D2/xinxia/METplus/METplus/ush/series_by_lead.py", line
> > > 945,
> > > > in
> > > > >> > <module>
> > > > >> >
> > > > >> >     analysis_by_lead_time()
> > > > >> >
> > > > >> >   File
"/D2/xinxia/METplus/METplus/ush/series_by_lead.py", line
> > > 107,
> > > > in
> > > > >> > analysis_by_lead_time
> > > > >> >
> > > > >> >     util.apply_series_filters(tile_dir, init_times,
> > > > >> > series_lead_filtered_out_dir, p, logger)
> > > > >> >
> > > > >> >   File "/D2/xinxia/METplus/METplus/ush/met_util.py", line
1005,
> > in
> > > > >> > apply_series_filters
> > > > >> >
> > > > >> >     tcs.tc_stat(p, logger, tc_cmd, series_output_dir)
> > > > >> >
> > > > >> >   File "/D2/xinxia/METplus/METplus/ush/run_tc_stat.py",
line
> 69,
> > in
> > > > >> > tc_stat
> > > > >> >
> > > > >> >     tc_stat_out = subprocess.check_output(tc_cmd,
> > > > >> > stderr=subprocess.STDOUT, shell=True )
> > > > >> >
> > > > >> > AttributeError: 'module' object has no attribute
'check_output'
> > > > >> >
> > > > >> >
> > > > >> > Thanks,
> > > > >> >
> > > > >> >
> > > > >> > Xinxia
> > > > >> >
> > > > >> > ________________________________
> > > > >> > From: Julie Prestopnik via RT <met_help at ucar.edu>
> > > > >> > Sent: Friday, February 24, 2017 9:37:53 AM
> > > > >> > To: Xinxia_Song at outlook.com
> > > > >> > Subject: Re: [rt.rap.ucar.edu #79605] ImportError: No
module
> > named
> > > > >> > constants_pdef
> > > > >> >
> > > > >> > Can you please tell me which version of Python you are
using?
> > > > >> check_output
> > > > >> > for subprocess was introduced in Python 2.7.    Do you
have
> access
> > > to
> > > > >> > Python version 2.7 or higher?
> > > > >> >
> > > > >> > Thanks,
> > > > >> > Julie
> > > > >> >
> > > > >> > On Thu, Feb 23, 2017 at 12:11 PM, Xinxia Song via RT <
> > > > met_help at ucar.edu
> > > > >> >
> > > > >> > wrote:
> > > > >> >
> > > > >> > >
> > > > >> > > <URL:
https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=79605
> >
> > > > >> > >
> > > > >> > > Hi Julie,
> > > > >> > >
> > > > >> > >
> > > > >> > > I added it to the $PATH and ran the
master_met_python.py:
> > > > >> > >
> > > > >> > > [xinxia at chaos ush]$ python master_met_plus.py
> > > > >> > >
> > > > >> > > Traceback (most recent call last):
> > > > >> > >
> > > > >> > >   File
"/D2/xinxia/METplus/METplus/ush/extract_tiles.py",
> line
> > > 157,
> > > > >> in
> > > > >> > > <module>
> > > > >> > >
> > > > >> > >     main()
> > > > >> > >
> > > > >> > >   File
"/D2/xinxia/METplus/METplus/ush/extract_tiles.py",
> line
> > > 100,
> > > > >> in
> > > > >> > > main
> > > > >> > >
> > > > >> > >     filtered_out_dir)
> > > > >> > >
> > > > >> > >   File "/D2/xinxia/METplus/METplus/ush/run_tc_stat.py",
line
> > 69,
> > > in
> > > > >> > > tc_stat
> > > > >> > >
> > > > >> > >     tc_stat_out = subprocess.check_output(tc_cmd,
> > > > >> > > stderr=subprocess.STDOUT, shell=True )
> > > > >> > >
> > > > >> > > AttributeError: 'module' object has no attribute
> 'check_output'
> > > > >> > >
> > > > >> > >
> > > > >> > > Thanks,
> > > > >> > >
> > > > >> > >
> > > > >> > > Xinxia
> > > > >> > >
> > > > >> > > ________________________________
> > > > >> > > From: Julie Prestopnik via RT <met_help at ucar.edu>
> > > > >> > > Sent: Friday, February 24, 2017 9:07:40 AM
> > > > >> > > To: Xinxia_Song at outlook.com
> > > > >> > > Subject: Re: [rt.rap.ucar.edu #79605] ImportError: No
module
> > > named
> > > > >> > > constants_pdef
> > > > >> > >
> > > > >> > > Unfortunately, your environment does not know where to
find
> > > > >> > > run_tc_pairs.py.  Please try adding the directory with
> > > > run_tc_pairs.py
> > > > >> > > (/D2/xinxia/METplus/METplus/ush) to your path in your
> ~/.bashrc
> > > > file,
> > > > >> > then
> > > > >> > > run "source ~/.bashrc", then trying rerunning.  Please
let me
> > know
> > > > how
> > > > >> > that
> > > > >> > > goes.
> > > > >> > >
> > > > >> > > Thanks!
> > > > >> > >
> > > > >> > > Julie
> > > > >> > >
> > > > >> > > On Thu, Feb 23, 2017 at 11:55 AM, Xinxia Song via RT <
> > > > >> met_help at ucar.edu>
> > > > >> > > wrote:
> > > > >> > >
> > > > >> > > >
> > > > >> > > > <URL: https://rt.rap.ucar.edu/rt/
> Ticket/Display.html?id=79605
> > >
> > > > >> > > >
> > > > >> > > > Hi Julie,
> > > > >> > > >
> > > > >> > > >
> > > > >> > > > I'm running met in a machine that's owned by our
> department, I
> > > > don't
> > > > >> > have
> > > > >> > > > sudo right, so when I type which run_tc_pairs.py, it
says
> > > couldn't
> > > > >> find
> > > > >> > > it.
> > > > >> > > >
> > > > >> > > > no run_tc_pairs.py in (/opt/ncl/bin:/opt/intel-soft/
> > > > >> > > > bin:/opt/ncl/bin:/opt/ncl/bin:/opt/intel-
soft/bin:/opt/ncl/
> > > > >> > > >
bin:/home/xinxia/anaconda/bin:/home/xinxia/anaconda/bin:/
> > > > >> > > > opt/ncl/bin:/opt/intel-
soft/bin:/opt/ncl/bin:/usr/lib64/
> > > > >> > > > qt-
3.3/bin:/usr/local/bin:/bin:/usr/bin:/usr/local/sbin:/
> > > > >> > > > usr/sbin:/sbin:/sbin:/usr/sbin:/cm/local/apps/
> > > > >> > > environment-modules/3.2.10/
> > > > >> > > > bin:/home/xinxia/bin:/opt/ncl-621/bin)
> > > > >> > > >
> > > > >> > > >
> > > > >> > > > But I could find it manually in that directory.
> > > > >> > > >
> > > > >> > > >
> > > > >> > > > Thanks,
> > > > >> > > >
> > > > >> > > >
> > > > >> > > > Xinxia
> > > > >> > > >
> > > > >> > > > ________________________________
> > > > >> > > > From: Julie Prestopnik via RT <met_help at ucar.edu>
> > > > >> > > > Sent: Friday, February 24, 2017 8:52:16 AM
> > > > >> > > > To: Xinxia_Song at outlook.com
> > > > >> > > > Subject: Re: [rt.rap.ucar.edu #79605] ImportError: No
> module
> > > > named
> > > > >> > > > constants_pdef
> > > > >> > > >
> > > > >> > > > Hi Xinxia.
> > > > >> > > >
> > > > >> > > > It looks like you got a successful run of tc_stat -
that's
> > great
> > > > >> news!
> > > > >> > > >
> > > > >> > > > I'm not sure what you mean by "Because I don't have
the
> > right, I
> > > > >> can't
> > > > >> > > find
> > > > >> > > > run_tc_pairs.py, but I know it's under
> > > > >> > > >
> > > > >> > > > /D2/xinxia/METplus/METplus/ush".
> > > > >> > > >
> > > > >> > > > Can you please explain?  What happened when you ran
"which
> > > > >> > > > run_tc_pairs.py"?
> > > > >> > > >
> > > > >> > > > Thanks,
> > > > >> > > > Julie
> > > > >> > > >
> > > > >> > > >
> > > > >> > > >
> > > > >> > > >
> > > > >> > > >
> > > > >> > > >
> > > > >> > > > On Thu, Feb 23, 2017 at 11:44 AM, Xinxia Song via RT
<
> > > > >> > met_help at ucar.edu>
> > > > >> > > > wrote:
> > > > >> > > >
> > > > >> > > > >
> > > > >> > > > > <URL: https://rt.rap.ucar.edu/rt/
> > Ticket/Display.html?id=79605
> > > >
> > > > >> > > > >
> > > > >> > > > > Hi Julie,
> > > > >> > > > >
> > > > >> > > > >
> > > > >> > > > > I removed the space.
> > > > >> > > > >
> > > > >> > > > > [xinxia at chaos parm]$ /D2/xinxia/METplus/MET/met-5.2
> > > /bin/tc_stat
> > > > >> -job
> > > > >> > > > > filter -lookin /D2/xinxia/METplus/MET/input/
> tc_pairs/201412
> > > > >> > -init_inc
> > > > >> > > > > 20141201_00 -match_points true -dump_row
> > > > >> /D2/xinxia/METplus/MET/out/
> > > > >> > > > > extract_tiles/20141201_00/filter_20141201_00.tcst
-basin
> > ML
> > > > >> > > > > -out_init_mask /D2/xinxia/METplus/MET/met-5.
> > > > >> > > 2/share/met/poly/CONUS.poly
> > > > >> > > > >
> > > > >> > > > > DEBUG 1: [Source 1] Lookin:
/D2/xinxia/METplus/MET/input/
> > > > >> > > tc_pairs/201412
> > > > >> > > > >
> > > > >> > > > > DEBUG 2:
> > > > >> > > > >
> > > > >> > > > > DEBUG 2: Processing Job 1: -job filter -basin ML
-init_inc
> > > > >> > > > 20141201_000000
> > > > >> > > > > -match_points true -out_init_mask
> > > /D2/xinxia/METplus/MET/met-5.
> > > > >> > > > 2/share/met/poly/CONUS.poly
> > > > >> > > > > -dump_row /D2/xinxia/METplus/MET/out/ext
> > > ract_tiles/20141201_00/
> > > > >> > > > > filter_20141201_00.tcst
> > > > >> > > > >
> > > > >> > > > > DEBUG 1: Creating output dump file:
> > > /D2/xinxia/METplus/MET/out/
> > > > >> > > > > extract_tiles/20141201_00/filter_20141201_00.tcst
> > > > >> > > > >
> > > > >> > > > > FILTER: -job filter -basin ML -init_inc
20141201_000000
> > > > >> -match_points
> > > > >> > > > true
> > > > >> > > > > -out_init_mask /D2/xinxia/METplus/MET/met-5.
> > > > >> > > 2/share/met/poly/CONUS.poly
> > > > >> > > > > -dump_row /D2/xinxia/METplus/MET/out/ext
> > > ract_tiles/20141201_00/
> > > > >> > > > > filter_20141201_00.tcst
> > > > >> > > > >
> > > > >> > > > >
> > > > >> > > > > DEBUG 2: Job 1 used 0 out of 27292 lines read.
> > > > >> > > > >
> > > > >> > > > >
> > > > >> > > > > Because I don't have the right, I can't find
> > run_tc_pairs.py,
> > > > but
> > > > >> I
> > > > >> > > know
> > > > >> > > > > it's under
> > > > >> > > > >
> > > > >> > > > > /D2/xinxia/METplus/METplus/ush
> > > > >> > > > >
> > > > >> > > > >
> > > > >> > > > > For Python,
> > > > >> > > > >
> > > > >> > > > > [xinxia at chaos ~]$ which python
> > > > >> > > > >
> > > > >> > > > > /usr/bin/python
> > > > >> > > > >
> > > > >> > > > >
> > > > >> > > > > Xinxia
> > > > >> > > > >
> > > > >> > > > > ________________________________
> > > > >> > > > > From: Julie Prestopnik via RT <met_help at ucar.edu>
> > > > >> > > > > Sent: Friday, February 24, 2017 8:30:01 AM
> > > > >> > > > > To: Xinxia_Song at outlook.com
> > > > >> > > > > Subject: Re: [rt.rap.ucar.edu #79605] ImportError:
No
> > module
> > > > >> named
> > > > >> > > > > constants_pdef
> > > > >> > > > >
> > > > >> > > > > Hi Xinxia.
> > > > >> > > > >
> > > > >> > > > > It looks like there is a space where there should
not be a
> > > space
> > > > >> > > (between
> > > > >> > > > >
/D2/xinxia/METplus/MET/out/extract_tiles/20141201_00/ and
> > > > >> > > > > filter_20141201_00.tcst after the -dump_row
option).
> > > > >> > > > >
> > > > >> > > > > Could you please try it again without the space?
> > > > >> > > > >
> > > > >> > > > >
/D2/xinxia/METplus/METplus/ush/run_tc_stat.py:tc_stat
> from
> > > > >> calling
> > > > >> > MET
> > > > >> > > > > TC-STAT with command:/D2/xinxia/METplus/MET
> > > /met-5.2/bin/tc_stat
> > > > >> -job
> > > > >> > > > > filter
> > > > >> > > > > -lookin
/D2/xinxia/METplus/MET/input/tc_pairs/201412
> > > -init_inc
> > > > >> > > > 20141201_00
> > > > >> > > > > -match_points true -dump_row
/D2/xinxia/METplus/MET/out/
> > > > >> > > > > extract_tiles/20141201_00/filter_20141201_00.tcst
-basin
> > ML
> > > > >> > > > > -out_init_mask
> > > > >> > > > > /D2/xinxia/METplus/MET/met-
5.2/share/met/poly/CONUS.poly
> > > > >> > > > >
> > > > >> > > > > Regarding the master_met_plus.py run, please try
running
> the
> > > > >> > following
> > > > >> > > > two
> > > > >> > > > > commands and send me the output:
> > > > >> > > > >
> > > > >> > > > > which run_tc_pairs.py
> > > > >> > > > >
> > > > >> > > > > which python
> > > > >> > > > >
> > > > >> > > > > Thanks!
> > > > >> > > > >
> > > > >> > > > > Julie
> > > > >> > > > >
> > > > >> > > > > On Thu, Feb 23, 2017 at 11:06 AM, Xinxia Song via
RT <
> > > > >> > > met_help at ucar.edu>
> > > > >> > > > > wrote:
> > > > >> > > > >
> > > > >> > > > > >
> > > > >> > > > > > <URL: https://rt.rap.ucar.edu/rt/Tic
> > > ket/Display.html?id=79605
> > > > >
> > > > >> > > > > >
> > > > >> > > > > > Hi Julie,
> > > > >> > > > > >
> > > > >> > > > > >
> > > > >> > > > > > After I ran the long one line command:
> > > > >> > > > > >
> > > > >> > > > > > [xinxia at chaos parm]$ /D2/xinxia/METplus/MET/met-
5.
> > > > 2/bin/tc_stat
> > > > >> > -job
> > > > >> > > > > > filter -lookin /D2/xinxia/METplus/MET/input/
> > tc_pairs/201412
> > > > >> > > -init_inc
> > > > >> > > > > > 20141201_00 -match_points true -dump_row
> > > > >> > /D2/xinxia/METplus/MET/out/
> > > > >> > > > > extract_tiles/20141201_00/
> > > > >> > > > > > filter_20141201_00.tcst  -basin ML -out_init_mask
> > > > >> > > > > > /D2/xinxia/METplus/MET/met-5.
> 2/share/met/poly/CONUS.poly
> > > > >> > > > > >
> > > > >> > > > > >
> > > > >> > > > > > DEBUG 1: [Source 1] Lookin:
> /D2/xinxia/METplus/MET/input/
> > > > >> > > > tc_pairs/201412
> > > > >> > > > > >
> > > > >> > > > > > ERROR  :
> > > > >> > > > > >
> > > > >> > > > > > ERROR  : TCStatJob *TCStatJobFactory::new_tc_
> > stat_job(const
> > > > >> char
> > > > >> > > > > > *jobstring) -> unsupported job command options
> > > > >> > > > "filter_20141201_00.tcst".
> > > > >> > > > > >
> > > > >> > > > > > ERROR  :
> > > > >> > > > > >
> > > > >> > > > > >
> > > > >> > > > > > And for the master_met_plus.py, I got the error:
> > > > >> > > > > >
> > > > >> > > > > > [xinxia at chaos ush]$ python master_met_plus.py
> > > > >> > > > > >
> > > > >> > > > > > sh: run_tc_pairs.py: command not found
> > > > >> > > > > >
> > > > >> > > > > >
> > > > >> > > > > > Thanks,
> > > > >> > > > > >
> > > > >> > > > > >
> > > > >> > > > > > Xinxia
> > > > >> > > > > >
> > > > >> > > > > > ________________________________
> > > > >> > > > > > From: Julie Prestopnik via RT <met_help at ucar.edu>
> > > > >> > > > > > Sent: Friday, February 24, 2017 7:42:21 AM
> > > > >> > > > > > To: Xinxia_Song at outlook.com
> > > > >> > > > > > Subject: Re: [rt.rap.ucar.edu #79605]
ImportError: No
> > > module
> > > > >> named
> > > > >> > > > > > constants_pdef
> > > > >> > > > > >
> > > > >> > > > > > My apologies, my response should have said, "By
default,
> > MET
> > > > >> > version
> > > > >> > > > 5.2
> > > > >> > > > > is
> > > > >> > > > > > compiled using dynamic linking."  It's true for
both,
> but
> > I
> > > > see
> > > > >> > > you're
> > > > >> > > > > > using 5.2 and I inadvertently referred to 5.1.
> > > > >> > > > > >
> > > > >> > > > > > On Thu, Feb 23, 2017 at 10:40 AM, Julie
Prestopnik <
> > > > >> > jpresto at ucar.edu
> > > > >> > > >
> > > > >> > > > > > wrote:
> > > > >> > > > > >
> > > > >> > > > > > > Hi Xinxia.  Regarding the error:
> > > > >> > > > > > >
> > > > >> > > > > > > /D2/xinxia/METplus/MET/met-5.2/bin/tc_stat:
error
> while
> > > > >> loading
> > > > >> > > > shared
> > > > >> > > > > > > libraries: libgsl.so.19: cannot open shared
object
> file:
> > > No
> > > > >> such
> > > > >> > > file
> > > > >> > > > > or
> > > > >> > > > > > > directory
> > > > >> > > > > > >
> > > > >> > > > > > > By default, MET version 5.1 is compiled using
dynamic
> > > > linking.
> > > > >> > > > Rather
> > > > >> > > > > > > than compiling the external library code in
with the
> MET
> > > > >> > > executables
> > > > >> > > > > > (which
> > > > >> > > > > > > is
> > > > >> > > > > > > called static linking), it looks for them at
runtime.
> > And
> > > > >> it's
> > > > >> > > > looking
> > > > >> > > > > > > for those "shared object" (.so) library files.
> > > > >> > > > > > >
> > > > >> > > > > > > This should be easy to fix. We just need to
tell it
> > where
> > > to
> > > > >> find
> > > > >> > > > them,
> > > > >> > > > > > > and we do that by setting (or adding to the
> > > > LD_LIBRARY_PATH).
> > > > >> > Look
> > > > >> > > > in
> > > > >> > > > > > your
> > > > >> > > > > > > ~/.bashrc file.  If LD_LIBRARY_PATH is already
defined
> > in
> > > > >> there,
> > > > >> > > add
> > > > >> > > > > the
> > > > >> > > > > > > path to the libgsl.so.19 to the end of it.  If
not,
> add
> > an
> > > > >> > > > > > > LD_LIBRARY_PATH entry in your ~/.bashrc file.
So, for
> > > > >> example,
> > > > >> > if
> > > > >> > > > the
> > > > >> > > > > > path
> > > > >> > > > > > > to your libgsl.so.19 file is
> > > /D2/xinxia/METplus/MET/externa
> > > > >> > > > > > l_libs/GSL/gsl-1.16/lib
> > > > >> > > > > > > you would add teh following to your ~/.bashrc
file:
> > > > >> > > > > > >
> > > > >> > > > > > >   export LD_LIBRARY_PATH=/D2/xinxia/
> > > > >> > METplus/MET/external_libs/GSL/
> > > > >> > > > > > > gsl-1.16/lib
> > > > >> > > > > > >
> > > > >> > > > > > > Then save the change and source that file:
> > > > >> > > > > > >
> > > > >> > > > > > >   source ~/.bashrc
> > > > >> > > > > > >
> > > > >> > > > > > > Then, please try rerunning the command manually
and
> let
> > me
> > > > >> know
> > > > >> > if
> > > > >> > > it
> > > > >> > > > > > > works.
> > > > >> > > > > > >
> > > > >> > > > > > > I believe that this was the cause of the
initial error
> > you
> > > > >> > received
> > > > >> > > > > from
> > > > >> > > > > > > MET+:
> > > > >> > > > > > >
> > > > >> > > > > > > ERROR| /D2/xinxia/METplus/METplus/
> > > > ush/run_tc_stat.py:tc_stat
> > > > >> > from
> > > > >> > > > > > calling
> > > > >> > > > > > > MET TC-STAT with command:/D2/xinxia/METplus/
> > > > >> > > MET/met-5.2/bin/tc_stat
> > > > >> > > > > -job
> > > > >> > > > > > > filter -lookin /D2/xinxia/METplus/MET/input/t
> > > c_pairs/201412
> > > > >> > > > -init_inc
> > > > >> > > > > > > 20141201_00 -match_points true -dump_row
> > > > >> > > > /D2/xinxia/METplus/MET/out/ext
> > > > >> > > > > > > ract_tiles/20141201_00/filter_20141201_00.tcst
> -basin
> > ML
> > > > >> > > > > -out_init_mask
> > > > >> > > > > > > /D2/xinxia/METplus/MET/met-5.
> > 2/share/met/poly/CONUS.poly
> > > > >> > > > > > >
> > > > >> > > > > > >
> > > > >> > > > > > > Thanks,
> > > > >> > > > > > > Julie
> > > > >> > > > > > >
> > > > >> > > > > > > On Thu, Feb 23, 2017 at 10:14 AM, Xinxia Song
via RT <
> > > > >> > > > > met_help at ucar.edu>
> > > > >> > > > > > > wrote:
> > > > >> > > > > > >
> > > > >> > > > > > >>
> > > > >> > > > > > >> <URL: https://rt.rap.ucar.edu/rt/Tic
> > > > >> ket/Display.html?id=79605 >
> > > > >> > > > > > >>
> > > > >> > > > > > >> Hi Julie,
> > > > >> > > > > > >>
> > > > >> > > > > > >>
> > > > >> > > > > > >> [xinxia at chaos ush]$
/D2/xinxia/METplus/MET/met-5.2
> > > > >> /bin/tc_stat
> > > > >> > > -job
> > > > >> > > > > > >> filter -lookin /D2/xinxia/METplus/MET/input/
> > > > tc_pairs/201412
> > > > >> > > > -init_inc
> > > > >> > > > > > >> 20141201_00 -match_points true -dump_row
> > > > >> > > > > /D2/xinxia/METplus/MET/out/ext
> > > > >> > > > > > ract_tiles/20141201_00/
> > > > >> > > > > > >> filter_20141201_00.tcst  -basin ML
-out_init_mask
> > > > >> > > > > > >> /D2/xinxia/METplus/MET/met-5.
> > 2/share/met/poly/CONUS.poly
> > > > >> > > > > > >>
> > > > >> > > > > > >> /D2/xinxia/METplus/MET/met-5.2/bin/tc_stat:
error
> > while
> > > > >> loading
> > > > >> > > > > shared
> > > > >> > > > > > >> libraries: libgsl.so.19: cannot open shared
object
> > file:
> > > No
> > > > >> such
> > > > >> > > > file
> > > > >> > > > > or
> > > > >> > > > > > >> directory
> > > > >> > > > > > >>
> > > > >> > > > > > >>
> > > > >> > > > > > >> And I uploaded the configuration file
> > (constants_pdef.py)
> > > > >> under
> > > > >> > > > > > >> xinxia_data directory.
> > > > >> > > > > > >>
> > > > >> > > > > > >>
> > > > >> > > > > > >> Thanks,
> > > > >> > > > > > >>
> > > > >> > > > > > >>
> > > > >> > > > > > >> Xinxia
> > > > >> > > > > > >>
> > > > >> > > > > > >> ________________________________
> > > > >> > > > > > >> From: Julie Prestopnik via RT
<met_help at ucar.edu>
> > > > >> > > > > > >> Sent: Friday, February 24, 2017 6:15:57 AM
> > > > >> > > > > > >> To: Xinxia_Song at outlook.com
> > > > >> > > > > > >> Subject: Re: [rt.rap.ucar.edu #79605]
ImportError:
> No
> > > > module
> > > > >> > > named
> > > > >> > > > > > >> constants_pdef
> > > > >> > > > > > >>
> > > > >> > > > > > >> Hi Xinxia.
> > > > >> > > > > > >>
> > > > >> > > > > > >> I can see that your command, which should have
been
> all
> > > on
> > > > >> one
> > > > >> > > line,
> > > > >> > > > > was
> > > > >> > > > > > >> broken up into several lines.  Please try
running the
> > > > command
> > > > >> > > again,
> > > > >> > > > > > >> making
> > > > >> > > > > > >> sure that the entire command is on one line:
> > > > >> > > > > > >>
> > > > >> > > > > > >> /D2/xinxia/METplus/MET/met-5.2/bin/tc_stat
-job
> filter
> > > > >> -lookin
> > > > >> > > > > > >> /D2/xinxia/METplus/MET/input/tc_pairs/201412
> -init_inc
> > > > >> > > 20141201_00
> > > > >> > > > > > >> -match_points true -dump_row
> > > > >> > > > > > >> /D2/xinxia/METplus/MET/out/
> extract_tiles/20141201_00/
> > > > >> > > > > > >> filter_20141201_00.tcst  -basin ML
-out_init_mask
> > > > >> > > > > > >> /D2/xinxia/METplus/MET/met-5.
> > 2/share/met/poly/CONUS.poly
> > > > >> > > > > > >>
> > > > >> > > > > > >> Then, please send the output from that
command.
> > > > >> > > > > > >>
> > > > >> > > > > > >> Regarding, your error:
> > > > >> > > > > > >>
> > > > >> > > > > > >> sh: run_tc_pairs.py: command not found
> > > > >> > > > > > >>
> > > > >> > > > > > >> It's strange that would only have occurred
after
> having
> > > > >> changed
> > > > >> > > the
> > > > >> > > > > > >> LOG_LEVEL.  Could you please send us your
> configuration
> > > > file?
> > > > >> > > > > > >>
> > > > >> > > > > > >> Thanks!
> > > > >> > > > > > >>
> > > > >> > > > > > >> Julie
> > > > >> > > > > > >>
> > > > >> > > > > > >> On Wed, Feb 22, 2017 at 2:54 PM, Xinxia Song
via RT <
> > > > >> > > > > met_help at ucar.edu>
> > > > >> > > > > > >> wrote:
> > > > >> > > > > > >>
> > > > >> > > > > > >> >
> > > > >> > > > > > >> > <URL: https://rt.rap.ucar.edu/rt/Tic
> > > > >> ket/Display.html?id=79605
> > > > >> > >
> > > > >> > > > > > >> >
> > > > >> > > > > > >> > Hi Julie,
> > > > >> > > > > > >> >
> > > > >> > > > > > >> >
> > > > >> > > > > > >> > [xinxia at chaos ush]$
/D2/xinxia/METplus/MET/met-5.
> > > > >> > 2/bin/tc_stat
> > > > >> > > > -job
> > > > >> > > > > > >> > filter -lookin
> > > > >> > > > > > >> >
> > > > >> > > > > > >> > /D2/xinxia/METplus/MET/met-5.2/bin/tc_stat:
error
> > > while
> > > > >> > loading
> > > > >> > > > > > shared
> > > > >> > > > > > >> > libraries: libgsl.so.19: cannot open shared
object
> > > file:
> > > > No
> > > > >> > such
> > > > >> > > > > file
> > > > >> > > > > > or
> > > > >> > > > > > >> > directory
> > > > >> > > > > > >> >
> > > > >> > > > > > >> >
> > > > >> > > > > > >> > [xinxia at chaos ush]$
/D2/xinxia/METplus/MET/input/
> > > > >> > > tc_pairs/201412
> > > > >> > > > > > >> > -init_inc 20141201_00 -match_points true
-dump_row
> > > > >> > > > > > >> >
> > > > >> > > > > > >> > -bash: /D2/xinxia/METplus/MET/input/
> tc_pairs/201412:
> > > is
> > > > a
> > > > >> > > > directory
> > > > >> > > > > > >> >
> > > > >> > > > > > >> >
> > > > >> > > > > > >> > [xinxia at chaos ush]$
/D2/xinxia/METplus/MET/out/ext
> > > > >> > > > > > >> ract_tiles/20141201_00/
> > > > >> > > > > > >> > filter_20141201_00.tcst  -basin ML
-out_init_mask
> > > > >> > > > > > >> > /D2/xinxia/METplus/MET/met-5.2
> > > /share/met/poly/CONUS.poly
> > > > >> > > > > > >> >
> > > > >> > > > > > >> > -bash: /D2/xinxia/METplus/MET/out/ext
> > > > >> ract_tiles/20141201_00/:
> > > > >> > > No
> > > > >> > > > > such
> > > > >> > > > > > >> > file or directory
> > > > >> > > > > > >> >
> > > > >> > > > > > >> >
> > > > >> > > > > > >> > After I change the LOG_LEVEL, I ran the
> > > > >> master_met_plus.py, it
> > > > >> > > > says:
> > > > >> > > > > > >> >
> > > > >> > > > > > >> > [xinxia at chaos ush]$ python
master_met_plus.py
> > > > >> > > > > > >> >
> > > > >> > > > > > >> > sh: run_tc_pairs.py: command not found
> > > > >> > > > > > >> >
> > > > >> > > > > > >> >
> > > > >> > > > > > >> >
> > > > >> > > > > > >> > Thanks,
> > > > >> > > > > > >> >
> > > > >> > > > > > >> >
> > > > >> > > > > > >> > Xinxia
> > > > >> > > > > > >> >
> > > > >> > > > > > >> >
> > > > >> > > > > > >> > ________________________________
> > > > >> > > > > > >> > From: Julie Prestopnik via RT
<met_help at ucar.edu>
> > > > >> > > > > > >> > Sent: Thursday, February 23, 2017 10:04:55
AM
> > > > >> > > > > > >> > To: Xinxia_Song at outlook.com
> > > > >> > > > > > >> > Subject: Re: [rt.rap.ucar.edu #79605]
ImportError:
> > No
> > > > >> module
> > > > >> > > > named
> > > > >> > > > > > >> > constants_pdef
> > > > >> > > > > > >> >
> > > > >> > > > > > >> > Thank you.  Unfortunately, the level of
detail in
> the
> > > log
> > > > >> file
> > > > >> > > > > wasn't
> > > > >> > > > > > >> what
> > > > >> > > > > > >> > I hoped for.  I'd like to have you try two
things.
> > > > >> > > > > > >> >
> > > > >> > > > > > >> > First, could you please send me your output
of your
> > > > manual
> > > > >> run
> > > > >> > > of
> > > > >> > > > > the
> > > > >> > > > > > >> > following?
> > > > >> > > > > > >> >
> > > > >> > > > > > >> > "/D2/xinxia/METplus/MET/met-5.2/bin/tc_stat
-job
> > > filter
> > > > >> > -lookin
> > > > >> > > > > > >> > /D2/xinxia/METplus/MET/input/tc_pairs/201412
> > -init_inc
> > > > >> > > > 20141201_00
> > > > >> > > > > > >> > -match_points true -dump_row
> > > /D2/xinxia/METplus/MET/out/
> > > > >> > > > > > >> > extract_tiles/20141201_00/
filter_20141201_00.tcst
> > > > -basin
> > > > >> ML
> > > > >> > > > > > >> > -out_init_mask
> > > > >> > > > > > >> > /D2/xinxia/METplus/MET/met-5.
> > > > 2/share/met/poly/CONUS.poly"
> > > > >> > > > > > >> >
> > > > >> > > > > > >> > Second, could you please change your log
level in
> > your
> > > > >> > > > configuration
> > > > >> > > > > > >> file
> > > > >> > > > > > >> > from
> > > > >> > > > > > >> >
> > > > >> > > > > > >> > LOG_LEVEL = "INFO"
> > > > >> > > > > > >> >
> > > > >> > > > > > >> > to
> > > > >> > > > > > >> >
> > > > >> > > > > > >> > LOG_LEVEL = "DEBUG"
> > > > >> > > > > > >> >
> > > > >> > > > > > >> > then rerun and upload your log file to our
ftp
> server
> > > > >> again?
> > > > >> > > > > > >> >
> > > > >> > > > > > >> > Thank you!
> > > > >> > > > > > >> >
> > > > >> > > > > > >> > Julie
> > > > >> > > > > > >> >
> > > > >> > > > > > >> >
> > > > >> > > > > > >> > On Wed, Feb 22, 2017 at 12:39 PM, Xinxia
Song via
> RT
> > <
> > > > >> > > > > > met_help at ucar.edu
> > > > >> > > > > > >> >
> > > > >> > > > > > >> > wrote:
> > > > >> > > > > > >> >
> > > > >> > > > > > >> > >
> > > > >> > > > > > >> > > <URL: https://rt.rap.ucar.edu/rt/
> > > > >> > Ticket/Display.html?id=79605
> > > > >> > > >
> > > > >> > > > > > >> > >
> > > > >> > > > > > >> > > Hi Julie,
> > > > >> > > > > > >> > >
> > > > >> > > > > > >> > >
> > > > >> > > > > > >> > > I uploaded the log file under xinxia_data
> > directory.
> > > > >> > > > > > >> > >
> > > > >> > > > > > >> > >
> > > > >> > > > > > >> > > Thanks,
> > > > >> > > > > > >> > >
> > > > >> > > > > > >> > >
> > > > >> > > > > > >> > > Xinxia
> > > > >> > > > > > >> > >
> > > > >> > > > > > >> > >
> > > > >> > > > > > >> > > ________________________________
> > > > >> > > > > > >> > > From: Julie Prestopnik via RT
<met_help at ucar.edu
> >
> > > > >> > > > > > >> > > Sent: Thursday, February 23, 2017 9:11:32
AM
> > > > >> > > > > > >> > > To: Xinxia_Song at outlook.com
> > > > >> > > > > > >> > > Subject: Re: [rt.rap.ucar.edu #79605]
> ImportError:
> > > No
> > > > >> > module
> > > > >> > > > > named
> > > > >> > > > > > >> > > constants_pdef
> > > > >> > > > > > >> > >
> > > > >> > > > > > >> > > Hi Xinxia.
> > > > >> > > > > > >> > >
> > > > >> > > > > > >> > > I think it would be helpful if I could
take a
> look
> > at
> > > > the
> > > > >> > log
> > > > >> > > > > file.
> > > > >> > > > > > >> > Could
> > > > >> > > > > > >> > > you please upload your file to our
anonymous ftp
> > site
> > > > as
> > > > >> > > follows
> > > > >> > > > > so
> > > > >> > > > > > >> that
> > > > >> > > > > > >> > I
> > > > >> > > > > > >> > > can take a look?
> > > > >> > > > > > >> > >
> > > > >> > > > > > >> > >    http://www.dtcenter.org/met/
> > > > >> > users/support/met_help.php#ftp
> > > > >> > > > > > >> > >
> > > > >> > > > > > >> > > Also, could you please try running the
following
> > > > manually
> > > > >> > and
> > > > >> > > > send
> > > > >> > > > > > the
> > > > >> > > > > > >> > > output to me?
> > > > >> > > > > > >> > >
> > > > >> > > > > > >> > > "/D2/xinxia/METplus/MET/met-
5.2/bin/tc_stat -job
> > > > filter
> > > > >> > > -lookin
> > > > >> > > > > > >> > >
/D2/xinxia/METplus/MET/input/tc_pairs/201412
> > > -init_inc
> > > > >> > > > > 20141201_00
> > > > >> > > > > > >> > > -match_points true -dump_row
> > > > /D2/xinxia/METplus/MET/out/
> > > > >> > > > > > >> > > extract_tiles/20141201_00/
> filter_20141201_00.tcst
> > > > >> -basin
> > > > >> > ML
> > > > >> > > > > > >> > > -out_init_mask
> > > > >> > > > > > >> > > /D2/xinxia/METplus/MET/met-5.2
> > > > >> /share/met/poly/CONUS.poly"
> > > > >> > > > > > >> > >
> > > > >> > > > > > >> > > Thank you!
> > > > >> > > > > > >> > >
> > > > >> > > > > > >> > > Julie
> > > > >> > > > > > >> > >
> > > > >> > > > > > >> > >
> > > > >> > > > > > >> > >
> > > > >> > > > > > >> > > On Wed, Feb 22, 2017 at 12:06 PM, Xinxia
Song via
> > RT
> > > <
> > > > >> > > > > > >> met_help at ucar.edu>
> > > > >> > > > > > >> > > wrote:
> > > > >> > > > > > >> > >
> > > > >> > > > > > >> > > >
> > > > >> > > > > > >> > > > <URL: https://rt.rap.ucar.edu/rt/
> > > > >> > > Ticket/Display.html?id=79605
> > > > >> > > > >
> > > > >> > > > > > >> > > >
> > > > >> > > > > > >> > > > Hi Julie,
> > > > >> > > > > > >> > > >
> > > > >> > > > > > >> > > >
> > > > >> > > > > > >> > > > Now I can run the program, but when I
look at
> the
> > > log
> > > > >> file
> > > > >> > > in
> > > > >> > > > > the
> > > > >> > > > > > >> > output,
> > > > >> > > > > > >> > > > it shows error below:
> > > > >> > > > > > >> > > >
> > > > >> > > > > > >> > > >
> > > > >> > > > > > >> > > > ERROR| /D2/xinxia/METplus/METplus/
> > > > >> > > ush/run_tc_stat.py:tc_stat
> > > > >> > > > > from
> > > > >> > > > > > >> > > calling
> > > > >> > > > > > >> > > > MET TC-STAT with
command:/D2/xinxia/METplus/MET
> > > > >> > > > > > /met-5.2/bin/tc_stat
> > > > >> > > > > > >> > -job
> > > > >> > > > > > >> > > > filter -lookin
/D2/xinxia/METplus/MET/input/
> > > > >> > tc_pairs/201412
> > > > >> > > > > > >> -init_inc
> > > > >> > > > > > >> > > > 20141201_00 -match_points true -dump_row
> > > > >> > > > > > /D2/xinxia/METplus/MET/out/
> > > > >> > > > > > >> > > > extract_tiles/20141201_00/
> > filter_20141201_00.tcst
> > > > >> -basin
> > > > >> > > ML
> > > > >> > > > > > >> > > > -out_init_mask
/D2/xinxia/METplus/MET/met-5.
> > > > >> > > > > > >> > 2/share/met/poly/CONUS.poly
> > > > >> > > > > > >> > > >
> > > > >> > > > > > >> > > >
> > > > >> > > > > > >> > > > How should I fix it?
> > > > >> > > > > > >> > > >
> > > > >> > > > > > >> > > >
> > > > >> > > > > > >> > > > Thanks,
> > > > >> > > > > > >> > > >
> > > > >> > > > > > >> > > >
> > > > >> > > > > > >> > > > Xinxia
> > > > >> > > > > > >> > > >
> > > > >> > > > > > >> > > > ________________________________
> > > > >> > > > > > >> > > > From: Julie Prestopnik via RT <
> met_help at ucar.edu
> > >
> > > > >> > > > > > >> > > > Sent: Thursday, February 23, 2017
7:30:06 AM
> > > > >> > > > > > >> > > > To: Xinxia_Song at outlook.com
> > > > >> > > > > > >> > > > Subject: Re: [rt.rap.ucar.edu #79605]
> > ImportError:
> > > > No
> > > > >> > > module
> > > > >> > > > > > named
> > > > >> > > > > > >> > > > constants_pdef
> > > > >> > > > > > >> > > >
> > > > >> > > > > > >> > > > Hi Xinxia.
> > > > >> > > > > > >> > > >
> > > > >> > > > > > >> > > > I believe that python doesn't know how
to find
> > the
> > > > >> module
> > > > >> > > > > because
> > > > >> > > > > > >> the
> > > > >> > > > > > >> > ush
> > > > >> > > > > > >> > > > directory is not in your PYTHONPATH.
Both the
> > parm
> > > > and
> > > > >> > ush
> > > > >> > > > > > >> directory
> > > > >> > > > > > >> > > need
> > > > >> > > > > > >> > > > to be specified in your PYTHONPATH.
Please add
> > the
> > > > ush
> > > > >> > > > > directory
> > > > >> > > > > > to
> > > > >> > > > > > >> > your
> > > > >> > > > > > >> > > > PYTHONPATH, source ~/.bashrc, and let us
know
> how
> > > it
> > > > >> goes.
> > > > >> > > > > > >> > > >
> > > > >> > > > > > >> > > > Thanks,
> > > > >> > > > > > >> > > > Julie
> > > > >> > > > > > >> > > >
> > > > >> > > > > > >> > > > On Wed, Feb 22, 2017 at 10:24 AM, Xinxia
Song
> via
> > > RT
> > > > <
> > > > >> > > > > > >> > met_help at ucar.edu>
> > > > >> > > > > > >> > > > wrote:
> > > > >> > > > > > >> > > >
> > > > >> > > > > > >> > > > >
> > > > >> > > > > > >> > > > > <URL: https://rt.rap.ucar.edu/rt/
> > > > >> > > > Ticket/Display.html?id=79605
> > > > >> > > > > >
> > > > >> > > > > > >> > > > >
> > > > >> > > > > > >> > > > > Hi Julie,
> > > > >> > > > > > >> > > > >
> > > > >> > > > > > >> > > > >
> > > > >> > > > > > >> > > > > Since I don't have setenv, I added
these 3
> > > sentence
> > > > >> into
> > > > >> > > my
> > > > >> > > > > > >> .bashrc
> > > > >> > > > > > >> > > file:
> > > > >> > > > > > >> > > > >
> > > > >> > > > > > >> > > > >
> > > > >> > > > > > >> > > > > export PYTHONPATH="/D2/xinxia/
> > > > METplus/METplus/parm"
> > > > >> > > > > > >> > > > >
> > > > >> > > > > > >> > > > >
> > > > >> > > > > > >> > > > > export USHROOT=/D2/xinxia/METplus/
> METplus/ush
> > > > >> > > > > > >> > > > >
> > > > >> > > > > > >> > > > > export PATH=$USHROOT:$PATH
> > > > >> > > > > > >> > > > >
> > > > >> > > > > > >> > > > >
> > > > >> > > > > > >> > > > > I sourced the ~/.bashrc, and checked
that the
> > > > >> variables
> > > > >> > > are
> > > > >> > > > > set,
> > > > >> > > > > > >> but
> > > > >> > > > > > >> > > the
> > > > >> > > > > > >> > > > > program still can't find the module.
> > > > >> > > > > > >> > > > >
> > > > >> > > > > > >> > > > >
> > > > >> > > > > > >> > > > > Thanks,
> > > > >> > > > > > >> > > > >
> > > > >> > > > > > >> > > > > Xinxia
> > > > >> > > > > > >> > > > >
> > > > >> > > > > > >> > > > > ________________________________
> > > > >> > > > > > >> > > > > From: Julie Prestopnik via RT <
> > met_help at ucar.edu
> > > >
> > > > >> > > > > > >> > > > > Sent: Thursday, February 23, 2017
6:24:21 AM
> > > > >> > > > > > >> > > > > To: Xinxia_Song at outlook.com
> > > > >> > > > > > >> > > > > Subject: Re: [rt.rap.ucar.edu #79605]
> > > ImportError:
> > > > >> No
> > > > >> > > > module
> > > > >> > > > > > >> named
> > > > >> > > > > > >> > > > > constants_pdef
> > > > >> > > > > > >> > > > >
> > > > >> > > > > > >> > > > > Hi Xinxia.
> > > > >> > > > > > >> > > > >
> > > > >> > > > > > >> > > > > Could you please check to make sure
that the
> > ush
> > > > >> > directory
> > > > >> > > > > with
> > > > >> > > > > > >> > > > > constants_pdef.py is in your
PYTHONPATH in
> your
> > > > >> .cshrc
> > > > >> > > file
> > > > >> > > > > (or
> > > > >> > > > > > >> > .bashrc
> > > > >> > > > > > >> > > > or
> > > > >> > > > > > >> > > > > similar file)?  The parm directory
should
> also
> > be
> > > > in
> > > > >> > your
> > > > >> > > > > > >> PYTHONPATH.
> > > > >> > > > > > >> > > > >
> > > > >> > > > > > >> > > > > For example,
> > > > >> > > > > > >> > > > >
> > > > >> > > > > > >> > > > > setenv PYTHONPATH
> /d1/jpresto/sbu/METplus/ush:/
> > > > >> > > > > > >> > > > d1/jpresto/sbu/METplus/parm
> > > > >> > > > > > >> > > > >
> > > > >> > > > > > >> > > > > Please also check make sure that the
path to
> > the
> > > > ush
> > > > >> > > > directory
> > > > >> > > > > > is
> > > > >> > > > > > >> > also
> > > > >> > > > > > >> > > > > specified your your path environment
> variable.
> > > For
> > > > >> > > example,
> > > > >> > > > > > >> > > > >
> > > > >> > > > > > >> > > > > set path = (/usr/local/bin \
> > > > >> > > > > > >> > > > >
> /usr/local/python/bin/python \
> > > > >> > > > > > >> > > > >
/d1/jpresto/sbu/METplus/ush
> )
> > > > >> > > > > > >> > > > >
> > > > >> > > > > > >> > > > > If they are not there, please add them
and
> then
> > > > >> source
> > > > >> > the
> > > > >> > > > > file
> > > > >> > > > > > >> (e.g.
> > > > >> > > > > > >> > > run
> > > > >> > > > > > >> > > > > "source ~/.cshrc").
> > > > >> > > > > > >> > > > >
> > > > >> > > > > > >> > > > > Thank you!  Please let us know how it
goes.
> > > > >> > > > > > >> > > > >
> > > > >> > > > > > >> > > > > Julie
> > > > >> > > > > > >> > > > >
> > > > >> > > > > > >> > > > >
> > > > >> > > > > > >> > > > >
> > > > >> > > > > > >> > > > >
> > > > >> > > > > > >> > > > > On Tue, Feb 21, 2017 at 4:49 PM,
Xinxia Song
> > via
> > > > RT <
> > > > >> > > > > > >> > met_help at ucar.edu
> > > > >> > > > > > >> > > >
> > > > >> > > > > > >> > > > > wrote:
> > > > >> > > > > > >> > > > >
> > > > >> > > > > > >> > > > > >
> > > > >> > > > > > >> > > > > > Tue Feb 21 16:49:28 2017: Request
79605 was
> > > acted
> > > > >> > upon.
> > > > >> > > > > > >> > > > > > Transaction: Ticket created by
> > > > >> > Xinxia_Song at outlook.com
> > > > >> > > > > > >> > > > > >        Queue: met_help
> > > > >> > > > > > >> > > > > >      Subject: ImportError: No module
named
> > > > >> > > constants_pdef
> > > > >> > > > > > >> > > > > >        Owner: Nobody
> > > > >> > > > > > >> > > > > >   Requestors:
Xinxia_Song at outlook.com
> > > > >> > > > > > >> > > > > >       Status: new
> > > > >> > > > > > >> > > > > >  Ticket <URL:
https://rt.rap.ucar.edu/rt/
> > > > >> > > > > > >> > > Ticket/Display.html?id=79605
> > > > >> > > > > > >> > > > >
> > > > >> > > > > > >> > > > > >
> > > > >> > > > > > >> > > > > >
> > > > >> > > > > > >> > > > > > Hi,
> > > > >> > > > > > >> > > > > >
> > > > >> > > > > > >> > > > > >
> > > > >> > > > > > >> > > > > > When I ran the mater_met_plus.py, it
says:
> > > > >> > > > > > >> > > > > >
> > > > >> > > > > > >> > > > > >
> > > > >> > > > > > >> > > > > > ImportError: No module named
constants_pdef
> > > > >> > > > > > >> > > > > >
> > > > >> > > > > > >> > > > > >
> > > > >> > > > > > >> > > > > > Seems it doesn't recognize
constants_pdef
> as
> > > its
> > > > >> > module.
> > > > >> > > > > > >> > > > > >
> > > > >> > > > > > >> > > > > >
> > > > >> > > > > > >> > > > > > Thanks,
> > > > >> > > > > > >> > > > > >
> > > > >> > > > > > >> > > > > > Xinxia
> > > > >> > > > > > >> > > > > >
> > > > >> > > > > > >> > > > > >
> > > > >> > > > > > >> > > > >
> > > > >> > > > > > >> > > > >
> > > > >> > > > > > >> > > > >
> > > > >> > > > > > >> > > >
> > > > >> > > > > > >> > > >
> > > > >> > > > > > >> > > >
> > > > >> > > > > > >> > >
> > > > >> > > > > > >> > >
> > > > >> > > > > > >> > >
> > > > >> > > > > > >> >
> > > > >> > > > > > >> >
> > > > >> > > > > > >> >
> > > > >> > > > > > >>
> > > > >> > > > > > >>
> > > > >> > > > > > >>
> > > > >> > > > > > >
> > > > >> > > > > >
> > > > >> > > > > >
> > > > >> > > > > >
> > > > >> > > > >
> > > > >> > > > >
> > > > >> > > > >
> > > > >> > > >
> > > > >> > > >
> > > > >> > > >
> > > > >> > >
> > > > >> > >
> > > > >> > >
> > > > >> >
> > > > >> >
> > > > >> >
> > > > >>
> > > > >>
> > > > >>
> > > > >
> > > >
> > > >
> > > >
> > >
> > >
> > >
> >
> >
> >
>
>
>


------------------------------------------------
Subject: ImportError: No module named constants_pdef
From: Julie Prestopnik
Time: Tue Feb 28 08:49:29 2017

I think perhaps your environment is using Python 2.6 again.

Please try running:

python --version

on the command line.

If you see "Python 2..6.6", please add the path for Python 2.7 to the
front
of your path in your ~/.bashrc file.  Then, source your ~/.bashrc file
and
try rerunning

python --version

on the command line.  Hopefully, then you will see the new version.
Then,
please try rerunning master_met_plus.py.

I hope this helps!  Thanks!

Julie

On Mon, Feb 27, 2017 at 8:14 PM, Xinxia Song via RT
<met_help at ucar.edu>
wrote:

>
> <URL: https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=79605 >
>
> Hi Julie,
>
>
> after I update the NCAP2 path in constants_pdef.py and ran the
> master_met_plus.py, I got the error:
>
> 2017-02-28 02:49:40,659 : ERROR | [master_met_plus.py:main] |
Problem
> executing: series_by_lead.py
>
> and message:
>
> Traceback (most recent call last):
>
>   File "/D2/xinxia/METplus/METplus/ush/series_by_lead.py", line 945,
in
> <module>
>
>     analysis_by_lead_time()
>
>   File "/D2/xinxia/METplus/METplus/ush/series_by_lead.py", line 107,
in
> analysis_by_lead_time
>
>     util.apply_series_filters(tile_dir, init_times,
> series_lead_filtered_out_dir, p, logger)
>
>   File "/D2/xinxia/METplus/METplus/ush/met_util.py", line 1005, in
> apply_series_filters
>
>     tcs.tc_stat(p, logger, tc_cmd, series_output_dir)
>
>   File "/D2/xinxia/METplus/METplus/ush/run_tc_stat.py", line 69, in
> tc_stat
>
>     tc_stat_out = subprocess.check_output(tc_cmd,
> stderr=subprocess.STDOUT, shell=True )
>
> AttributeError: 'module' object has no attribute 'check_output'
>
>
> Thanks,
>
>
> Xinxia
>
> ________________________________
> From: Julie Prestopnik via RT <met_help at ucar.edu>
> Sent: Monday, February 27, 2017 5:15:59 PM
> To: Xinxia_Song at outlook.com
> Subject: Re: [rt.rap.ucar.edu #79605] ImportError: No module named
> constants_pdef
>
> Please install ncap2 and update the location to the executable in
the
> NCAP2_EXE field of the constants_pdef.py file and trying rerunning
the MET+
> code.  Please let us know how it goes.
>
> Thanks,
> Julie
>
> On Mon, Feb 27, 2017 at 3:10 PM, Xinxia Song via RT
<met_help at ucar.edu>
> wrote:
>
> >
> > <URL: https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=79605 >
> >
> > Hi Julie,
> >
> >
> > The result is :
> >
> > -bash: /usr/local/nco/bin/ncap2: No such file or directory
> >
> > I think we don't have it installed.
> >
> >
> > Thanks,
> >
> > Xinxia
> >
> > ________________________________
> > From: Julie Prestopnik via RT <met_help at ucar.edu>
> > Sent: Monday, February 27, 2017 5:08:48 PM
> > To: Xinxia_Song at outlook.com
> > Subject: Re: [rt.rap.ucar.edu #79605] ImportError: No module named
> > constants_pdef
> >
> > Hi Xinxia. I believe that error code refers to "Command not
found".  Can
> > you please run the following and send me the output?
> >
> > /usr/local/nco/bin/ncap2 --version
> >
> > Thanks!
> >
> > Julie
> >
> >
> > On Mon, Feb 27, 2017 at 2:55 PM, Xinxia Song via RT
<met_help at ucar.edu>
> > wrote:
> >
> > >
> > > <URL: https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=79605 >
> > >
> > > Hi Julie,
> > >
> > >
> > > The error is:
> > >
> > > Traceback (most recent call last):
> > >
> > >   File "series_by_lead.py", line 945, in <module>
> > >
> > >     analysis_by_lead_time()
> > >
> > >   File "series_by_lead.py", line 326, in analysis_by_lead_time
> > >
> > >     vmin, vmax = get_netcdf_min_max(nc_var_list, cur_stat, p,
logger)
> > >
> > >   File "series_by_lead.py", line 605, in get_netcdf_min_max
> > >
> > >     shell=True)
> > >
> > >   File "/home/xinxia/anaconda2/lib/python2.7/subprocess.py",
line 219,
> > in
> > > check_output
> > >
> > >     raise CalledProcessError(retcode, cmd, output=output)
> > >
> > > subprocess.CalledProcessError: Command '/usr/local/nco/bin/ncap2
-v -s
> > > "min=min(series_cnt_TOTAL)" /D2/xinxia/METplus/MET/out/
> > > series_analysis_lead/series_F042/series_F042_HGT_P500.nc
> > >
/D2/xinxia/METplus/MET/out/series_analysis_lead/series_F042/min.nc'
> > > returned non-zero exit status 127
> > >
> > >
> > > Thanks,
> > >
> > >
> > > Xinxia
> > >
> > > ________________________________
> > > From: Julie Prestopnik via RT <met_help at ucar.edu>
> > > Sent: Tuesday, February 28, 2017 9:18:55 AM
> > > To: Xinxia_Song at outlook.com
> > > Subject: Re: [rt.rap.ucar.edu #79605] ImportError: No module
named
> > > constants_pdef
> > >
> > > Thank you, Xinxia.
> > >
> > > Unfortunately, the "DEBUG" log level did not provide much
information
> for
> > > this task:
> > >
> > > 2017-02-26 21:30:28,041 : INFO | [master_met_plus.py:main] |
Running:
> > > series_by_lead.py
> > > 2017-02-26 21:30:28,212 : ERROR | [master_met_plus.py:main] |
Problem
> > > executing: series_by_lead.py
> > >
> > > Could you please try running series_by_lead.py in the ush
directory?
> > > Please let me know what the output is from that run - it may
still be
> > > contained in your log file.
> > >
> > > Thanks!
> > >
> > > Julie
> > >
> > >
> > > On Mon, Feb 27, 2017 at 11:17 AM, Xinxia Song via RT <
> met_help at ucar.edu>
> > > wrote:
> > >
> > > >
> > > > <URL: https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=79605
>
> > > >
> > > > Hi Julie,
> > > >
> > > >
> > > > I uploaded the constants_pdef.py and
master_met_plus.20170226.log.
> > > >
> > > >
> > > > Thanks,
> > > >
> > > >
> > > > Xinxia
> > > >
> > > > ________________________________
> > > > From: Julie Prestopnik via RT <met_help at ucar.edu>
> > > > Sent: Tuesday, February 28, 2017 5:46:37 AM
> > > > To: Xinxia_Song at outlook.com
> > > > Subject: Re: [rt.rap.ucar.edu #79605] ImportError: No module
named
> > > > constants_pdef
> > > >
> > > > Hi Xinxia.  Can you please upload the configuration file that
you
> used
> > > and
> > > > the log file from that run to our ftp server so that we can
take a
> > look?
> > > >
> > > > Thanks!
> > > >
> > > > Julie
> > > >
> > > > On Sun, Feb 26, 2017 at 2:35 PM, Xinxia Song via RT <
> met_help at ucar.edu
> > >
> > > > wrote:
> > > >
> > > > >
> > > > > <URL:
https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=79605 >
> > > > >
> > > > > Hi Julie,
> > > > >
> > > > >
> > > > > I ran the mater_met_plus.py and in the end in the log file
it gave
> me
> > > an
> > > > > error:
> > > > >
> > > > > 2017-02-26 21:30:28,212 : ERROR | [master_met_plus.py:main]
|
> Problem
> > > > > executing: series_by_lead.py
> > > > >
> > > > >
> > > > > Thanks,
> > > > >
> > > > > Xinxia
> > > > >
> > > > > ________________________________
> > > > > From: Julie Prestopnik via RT <met_help at ucar.edu>
> > > > > Sent: Saturday, February 25, 2017 6:49:56 AM
> > > > > To: Xinxia_Song at outlook.com
> > > > > Subject: Re: [rt.rap.ucar.edu #79605] ImportError: No module
named
> > > > > constants_pdef
> > > > >
> > > > > You could also run "tail -f </path/to/logfile/logfile_name>"
> > replacing
> > > > > </path/to/logfile/logfile_name> with the logfile path and
name
> > > > information
> > > > > to see how the run is coming along.  I hope that helps!
> > > > >
> > > > > Julie
> > > > >
> > > > > On Fri, Feb 24, 2017 at 9:42 AM, Julie Prestopnik <
> jpresto at ucar.edu>
> > > > > wrote:
> > > > >
> > > > > > Hi Xinxia.  Running the entire three months of data could
> certainly
> > > > take
> > > > > a
> > > > > > long time.  I am hoping to get an estimate on how long it
took to
> > run
> > > > the
> > > > > > three month data set here, but have not been able to
obtain that
> > > number
> > > > > > yet.   It sounds the code was running successfully for
you.  If
> > > you're
> > > > > > eager to take a lot at some output, I would suggest
running a
> > smaller
> > > > > > subset of the data, or perhaps you could set up the whole
three
> > month
> > > > to
> > > > > > run over the weekend.  I would suggest letting the code
run to
> > > > completion
> > > > > > for either a smaller subset or for the entire subset and
then
> > > checking
> > > > > the
> > > > > > log file for errors.  I hope that helps.  Please let me
know if
> you
> > > > have
> > > > > > any questions or encounter any issues.
> > > > > >
> > > > > > Thanks,
> > > > > > Julie
> > > > > >
> > > > > >
> > > > > > On Thu, Feb 23, 2017 at 4:28 PM, Xinxia Song via RT <
> > > met_help at ucar.edu
> > > > >
> > > > > > wrote:
> > > > > >
> > > > > >>
> > > > > >> <URL:
https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=79605 >
> > > > > >>
> > > > > >> Hi Julie,
> > > > > >>
> > > > > >>
> > > > > >> The version is set to be 2.7+. When I ran
master_met_plus.py, it
> > > seems
> > > > > it
> > > > > >> will run forever. So I killed it, and got the following:
> > > > > >>
> > > > > >> [xinxia at chaos ush]$ python master_met_plus.py
> > > > > >>
> > > > > >> ^CTraceback (most recent call last):
> > > > > >>
> > > > > >>   File "/D2/xinxia/METplus/METplus/ush/extract_tiles.py",
line
> > 157,
> > > > in
> > > > > >> <module>
> > > > > >>
> > > > > >>     main()
> > > > > >>
> > > > > >>   File "/D2/xinxia/METplus/METplus/ush/extract_tiles.py",
line
> > 100,
> > > > in
> > > > > >> main
> > > > > >>
> > > > > >>     filtered_out_dir)
> > > > > >>
> > > > > >>   File "/D2/xinxia/METplus/METplus/ush/run_tc_stat.py",
line
> 69,
> > in
> > > > > >> tc_stat
> > > > > >>
> > > > > >>     tc_stat_out = subprocess.check_output(tc_cmd,
> > > > > >> stderr=subprocess.STDOUT, shell=True )
> > > > > >>
> > > > > >>   File
"/home/xinxia/anaconda2/lib/python2.7/subprocess.py",
> line
> > > > 213,
> > > > > >> in check_output
> > > > > >>
> > > > > >>     output, unused_err = process.communicate()
> > > > > >>
> > > > > >>   File
"/home/xinxia/anaconda2/lib/python2.7/subprocess.py",
> line
> > > > 471,
> > > > > >> in communicate
> > > > > >>
> > > > > >>     stdout = _eintr_retry_call(self.stdout.read)
> > > > > >>
> > > > > >>   File
"/home/xinxia/anaconda2/lib/python2.7/subprocess.py",
> line
> > > > 121,
> > > > > >> in _eintr_retry_call
> > > > > >>
> > > > > >>     return func(*args)
> > > > > >>
> > > > > >> KeyboardInterrupt
> > > > > >>
> > > > > >>
> > > > > >> Thanks,
> > > > > >>
> > > > > >>
> > > > > >> Xinxia
> > > > > >>
> > > > > >> ________________________________
> > > > > >> From: Julie Prestopnik via RT <met_help at ucar.edu>
> > > > > >> Sent: Friday, February 24, 2017 12:02:21 PM
> > > > > >> To: Xinxia_Song at outlook.com
> > > > > >> Subject: Re: [rt.rap.ucar.edu #79605] ImportError: No
module
> > named
> > > > > >> constants_pdef
> > > > > >>
> > > > > >> Hi Xinxia.  I suspect that even though you installed
Python 2.7
> > that
> > > > > >> Python
> > > > > >> 2.6.6 is still being used.
> > > > > >>
> > > > > >> Please try running:
> > > > > >>
> > > > > >> python --version
> > > > > >>
> > > > > >> on the command line.
> > > > > >>
> > > > > >> If you see "Python 2..6.6", please add the path for
Python 2.7
> to
> > > the
> > > > > >> front
> > > > > >> of your path in your ~/.bashrc file.  Then, source your
> ~/.bashrc
> > > file
> > > > > and
> > > > > >> try rerunning
> > > > > >>
> > > > > >> python --version
> > > > > >>
> > > > > >> on the command line.  Hopefully, then you will see the
new
> > version.
> > > > > Then,
> > > > > >> please try rerunning master_met_plus.py.
> > > > > >>
> > > > > >> I hope this helps!  Thanks!
> > > > > >>
> > > > > >> Julie
> > > > > >>
> > > > > >> On Thu, Feb 23, 2017 at 1:51 PM, Xinxia Song via RT <
> > > > met_help at ucar.edu>
> > > > > >> wrote:
> > > > > >>
> > > > > >> >
> > > > > >> > <URL:
https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=79605
> >
> > > > > >> >
> > > > > >> > Hi Julie,
> > > > > >> >
> > > > > >> >
> > > > > >> > I installed myself the 2.7 python, it still got the
error when
> > > > > running:
> > > > > >> >
> > > > > >> > Traceback (most recent call last):
> > > > > >> >
> > > > > >> >   File
"/D2/xinxia/METplus/METplus/ush/series_by_lead.py",
> line
> > > > 945,
> > > > > in
> > > > > >> > <module>
> > > > > >> >
> > > > > >> >     analysis_by_lead_time()
> > > > > >> >
> > > > > >> >   File
"/D2/xinxia/METplus/METplus/ush/series_by_lead.py",
> line
> > > > 107,
> > > > > in
> > > > > >> > analysis_by_lead_time
> > > > > >> >
> > > > > >> >     util.apply_series_filters(tile_dir, init_times,
> > > > > >> > series_lead_filtered_out_dir, p, logger)
> > > > > >> >
> > > > > >> >   File "/D2/xinxia/METplus/METplus/ush/met_util.py",
line
> 1005,
> > > in
> > > > > >> > apply_series_filters
> > > > > >> >
> > > > > >> >     tcs.tc_stat(p, logger, tc_cmd, series_output_dir)
> > > > > >> >
> > > > > >> >   File "/D2/xinxia/METplus/METplus/ush/run_tc_stat.py",
line
> > 69,
> > > in
> > > > > >> > tc_stat
> > > > > >> >
> > > > > >> >     tc_stat_out = subprocess.check_output(tc_cmd,
> > > > > >> > stderr=subprocess.STDOUT, shell=True )
> > > > > >> >
> > > > > >> > AttributeError: 'module' object has no attribute
> 'check_output'
> > > > > >> >
> > > > > >> >
> > > > > >> > Thanks,
> > > > > >> >
> > > > > >> >
> > > > > >> > Xinxia
> > > > > >> >
> > > > > >> > ________________________________
> > > > > >> > From: Julie Prestopnik via RT <met_help at ucar.edu>
> > > > > >> > Sent: Friday, February 24, 2017 9:37:53 AM
> > > > > >> > To: Xinxia_Song at outlook.com
> > > > > >> > Subject: Re: [rt.rap.ucar.edu #79605] ImportError: No
module
> > > named
> > > > > >> > constants_pdef
> > > > > >> >
> > > > > >> > Can you please tell me which version of Python you are
using?
> > > > > >> check_output
> > > > > >> > for subprocess was introduced in Python 2.7.    Do you
have
> > access
> > > > to
> > > > > >> > Python version 2.7 or higher?
> > > > > >> >
> > > > > >> > Thanks,
> > > > > >> > Julie
> > > > > >> >
> > > > > >> > On Thu, Feb 23, 2017 at 12:11 PM, Xinxia Song via RT <
> > > > > met_help at ucar.edu
> > > > > >> >
> > > > > >> > wrote:
> > > > > >> >
> > > > > >> > >
> > > > > >> > > <URL: https://rt.rap.ucar.edu/rt/
> Ticket/Display.html?id=79605
> > >
> > > > > >> > >
> > > > > >> > > Hi Julie,
> > > > > >> > >
> > > > > >> > >
> > > > > >> > > I added it to the $PATH and ran the
master_met_python.py:
> > > > > >> > >
> > > > > >> > > [xinxia at chaos ush]$ python master_met_plus.py
> > > > > >> > >
> > > > > >> > > Traceback (most recent call last):
> > > > > >> > >
> > > > > >> > >   File
"/D2/xinxia/METplus/METplus/ush/extract_tiles.py",
> > line
> > > > 157,
> > > > > >> in
> > > > > >> > > <module>
> > > > > >> > >
> > > > > >> > >     main()
> > > > > >> > >
> > > > > >> > >   File
"/D2/xinxia/METplus/METplus/ush/extract_tiles.py",
> > line
> > > > 100,
> > > > > >> in
> > > > > >> > > main
> > > > > >> > >
> > > > > >> > >     filtered_out_dir)
> > > > > >> > >
> > > > > >> > >   File
"/D2/xinxia/METplus/METplus/ush/run_tc_stat.py",
> line
> > > 69,
> > > > in
> > > > > >> > > tc_stat
> > > > > >> > >
> > > > > >> > >     tc_stat_out = subprocess.check_output(tc_cmd,
> > > > > >> > > stderr=subprocess.STDOUT, shell=True )
> > > > > >> > >
> > > > > >> > > AttributeError: 'module' object has no attribute
> > 'check_output'
> > > > > >> > >
> > > > > >> > >
> > > > > >> > > Thanks,
> > > > > >> > >
> > > > > >> > >
> > > > > >> > > Xinxia
> > > > > >> > >
> > > > > >> > > ________________________________
> > > > > >> > > From: Julie Prestopnik via RT <met_help at ucar.edu>
> > > > > >> > > Sent: Friday, February 24, 2017 9:07:40 AM
> > > > > >> > > To: Xinxia_Song at outlook.com
> > > > > >> > > Subject: Re: [rt.rap.ucar.edu #79605] ImportError: No
> module
> > > > named
> > > > > >> > > constants_pdef
> > > > > >> > >
> > > > > >> > > Unfortunately, your environment does not know where
to find
> > > > > >> > > run_tc_pairs.py.  Please try adding the directory
with
> > > > > run_tc_pairs.py
> > > > > >> > > (/D2/xinxia/METplus/METplus/ush) to your path in your
> > ~/.bashrc
> > > > > file,
> > > > > >> > then
> > > > > >> > > run "source ~/.bashrc", then trying rerunning.
Please let
> me
> > > know
> > > > > how
> > > > > >> > that
> > > > > >> > > goes.
> > > > > >> > >
> > > > > >> > > Thanks!
> > > > > >> > >
> > > > > >> > > Julie
> > > > > >> > >
> > > > > >> > > On Thu, Feb 23, 2017 at 11:55 AM, Xinxia Song via RT
<
> > > > > >> met_help at ucar.edu>
> > > > > >> > > wrote:
> > > > > >> > >
> > > > > >> > > >
> > > > > >> > > > <URL: https://rt.rap.ucar.edu/rt/
> > Ticket/Display.html?id=79605
> > > >
> > > > > >> > > >
> > > > > >> > > > Hi Julie,
> > > > > >> > > >
> > > > > >> > > >
> > > > > >> > > > I'm running met in a machine that's owned by our
> > department, I
> > > > > don't
> > > > > >> > have
> > > > > >> > > > sudo right, so when I type which run_tc_pairs.py,
it says
> > > > couldn't
> > > > > >> find
> > > > > >> > > it.
> > > > > >> > > >
> > > > > >> > > > no run_tc_pairs.py in (/opt/ncl/bin:/opt/intel-
soft/
> > > > > >> > > > bin:/opt/ncl/bin:/opt/ncl/bin:
> /opt/intel-soft/bin:/opt/ncl/
> > > > > >> > > >
bin:/home/xinxia/anaconda/bin:/home/xinxia/anaconda/bin:/
> > > > > >> > > > opt/ncl/bin:/opt/intel-
soft/bin:/opt/ncl/bin:/usr/lib64/
> > > > > >> > > > qt-
3.3/bin:/usr/local/bin:/bin:/usr/bin:/usr/local/sbin:/
> > > > > >> > > > usr/sbin:/sbin:/sbin:/usr/sbin:/cm/local/apps/
> > > > > >> > > environment-modules/3.2.10/
> > > > > >> > > > bin:/home/xinxia/bin:/opt/ncl-621/bin)
> > > > > >> > > >
> > > > > >> > > >
> > > > > >> > > > But I could find it manually in that directory.
> > > > > >> > > >
> > > > > >> > > >
> > > > > >> > > > Thanks,
> > > > > >> > > >
> > > > > >> > > >
> > > > > >> > > > Xinxia
> > > > > >> > > >
> > > > > >> > > > ________________________________
> > > > > >> > > > From: Julie Prestopnik via RT <met_help at ucar.edu>
> > > > > >> > > > Sent: Friday, February 24, 2017 8:52:16 AM
> > > > > >> > > > To: Xinxia_Song at outlook.com
> > > > > >> > > > Subject: Re: [rt.rap.ucar.edu #79605] ImportError:
No
> > module
> > > > > named
> > > > > >> > > > constants_pdef
> > > > > >> > > >
> > > > > >> > > > Hi Xinxia.
> > > > > >> > > >
> > > > > >> > > > It looks like you got a successful run of tc_stat -
that's
> > > great
> > > > > >> news!
> > > > > >> > > >
> > > > > >> > > > I'm not sure what you mean by "Because I don't have
the
> > > right, I
> > > > > >> can't
> > > > > >> > > find
> > > > > >> > > > run_tc_pairs.py, but I know it's under
> > > > > >> > > >
> > > > > >> > > > /D2/xinxia/METplus/METplus/ush".
> > > > > >> > > >
> > > > > >> > > > Can you please explain?  What happened when you ran
"which
> > > > > >> > > > run_tc_pairs.py"?
> > > > > >> > > >
> > > > > >> > > > Thanks,
> > > > > >> > > > Julie
> > > > > >> > > >
> > > > > >> > > >
> > > > > >> > > >
> > > > > >> > > >
> > > > > >> > > >
> > > > > >> > > >
> > > > > >> > > > On Thu, Feb 23, 2017 at 11:44 AM, Xinxia Song via
RT <
> > > > > >> > met_help at ucar.edu>
> > > > > >> > > > wrote:
> > > > > >> > > >
> > > > > >> > > > >
> > > > > >> > > > > <URL: https://rt.rap.ucar.edu/rt/
> > > Ticket/Display.html?id=79605
> > > > >
> > > > > >> > > > >
> > > > > >> > > > > Hi Julie,
> > > > > >> > > > >
> > > > > >> > > > >
> > > > > >> > > > > I removed the space.
> > > > > >> > > > >
> > > > > >> > > > > [xinxia at chaos parm]$ /D2/xinxia/METplus/MET/met-
5.2
> > > > /bin/tc_stat
> > > > > >> -job
> > > > > >> > > > > filter -lookin /D2/xinxia/METplus/MET/input/
> > tc_pairs/201412
> > > > > >> > -init_inc
> > > > > >> > > > > 20141201_00 -match_points true -dump_row
> > > > > >> /D2/xinxia/METplus/MET/out/
> > > > > >> > > > > extract_tiles/20141201_00/filter_20141201_00.tcst
> -basin
> > > ML
> > > > > >> > > > > -out_init_mask /D2/xinxia/METplus/MET/met-5.
> > > > > >> > > 2/share/met/poly/CONUS.poly
> > > > > >> > > > >
> > > > > >> > > > > DEBUG 1: [Source 1] Lookin:
> /D2/xinxia/METplus/MET/input/
> > > > > >> > > tc_pairs/201412
> > > > > >> > > > >
> > > > > >> > > > > DEBUG 2:
> > > > > >> > > > >
> > > > > >> > > > > DEBUG 2: Processing Job 1: -job filter -basin ML
> -init_inc
> > > > > >> > > > 20141201_000000
> > > > > >> > > > > -match_points true -out_init_mask
> > > > /D2/xinxia/METplus/MET/met-5.
> > > > > >> > > > 2/share/met/poly/CONUS.poly
> > > > > >> > > > > -dump_row /D2/xinxia/METplus/MET/out/ext
> > > > ract_tiles/20141201_00/
> > > > > >> > > > > filter_20141201_00.tcst
> > > > > >> > > > >
> > > > > >> > > > > DEBUG 1: Creating output dump file:
> > > > /D2/xinxia/METplus/MET/out/
> > > > > >> > > > > extract_tiles/20141201_00/filter_20141201_00.tcst
> > > > > >> > > > >
> > > > > >> > > > > FILTER: -job filter -basin ML -init_inc
20141201_000000
> > > > > >> -match_points
> > > > > >> > > > true
> > > > > >> > > > > -out_init_mask /D2/xinxia/METplus/MET/met-5.
> > > > > >> > > 2/share/met/poly/CONUS.poly
> > > > > >> > > > > -dump_row /D2/xinxia/METplus/MET/out/ext
> > > > ract_tiles/20141201_00/
> > > > > >> > > > > filter_20141201_00.tcst
> > > > > >> > > > >
> > > > > >> > > > >
> > > > > >> > > > > DEBUG 2: Job 1 used 0 out of 27292 lines read.
> > > > > >> > > > >
> > > > > >> > > > >
> > > > > >> > > > > Because I don't have the right, I can't find
> > > run_tc_pairs.py,
> > > > > but
> > > > > >> I
> > > > > >> > > know
> > > > > >> > > > > it's under
> > > > > >> > > > >
> > > > > >> > > > > /D2/xinxia/METplus/METplus/ush
> > > > > >> > > > >
> > > > > >> > > > >
> > > > > >> > > > > For Python,
> > > > > >> > > > >
> > > > > >> > > > > [xinxia at chaos ~]$ which python
> > > > > >> > > > >
> > > > > >> > > > > /usr/bin/python
> > > > > >> > > > >
> > > > > >> > > > >
> > > > > >> > > > > Xinxia
> > > > > >> > > > >
> > > > > >> > > > > ________________________________
> > > > > >> > > > > From: Julie Prestopnik via RT <met_help at ucar.edu>
> > > > > >> > > > > Sent: Friday, February 24, 2017 8:30:01 AM
> > > > > >> > > > > To: Xinxia_Song at outlook.com
> > > > > >> > > > > Subject: Re: [rt.rap.ucar.edu #79605]
ImportError: No
> > > module
> > > > > >> named
> > > > > >> > > > > constants_pdef
> > > > > >> > > > >
> > > > > >> > > > > Hi Xinxia.
> > > > > >> > > > >
> > > > > >> > > > > It looks like there is a space where there should
not
> be a
> > > > space
> > > > > >> > > (between
> > > > > >> > > > >
/D2/xinxia/METplus/MET/out/extract_tiles/20141201_00/
> and
> > > > > >> > > > > filter_20141201_00.tcst after the -dump_row
option).
> > > > > >> > > > >
> > > > > >> > > > > Could you please try it again without the space?
> > > > > >> > > > >
> > > > > >> > > > >
/D2/xinxia/METplus/METplus/ush/run_tc_stat.py:tc_stat
> > from
> > > > > >> calling
> > > > > >> > MET
> > > > > >> > > > > TC-STAT with command:/D2/xinxia/METplus/MET
> > > > /met-5.2/bin/tc_stat
> > > > > >> -job
> > > > > >> > > > > filter
> > > > > >> > > > > -lookin
/D2/xinxia/METplus/MET/input/tc_pairs/201412
> > > > -init_inc
> > > > > >> > > > 20141201_00
> > > > > >> > > > > -match_points true -dump_row
/D2/xinxia/METplus/MET/out/
> > > > > >> > > > > extract_tiles/20141201_00/filter_20141201_00.tcst
> -basin
> > > ML
> > > > > >> > > > > -out_init_mask
> > > > > >> > > > > /D2/xinxia/METplus/MET/met-5.
> 2/share/met/poly/CONUS.poly
> > > > > >> > > > >
> > > > > >> > > > > Regarding the master_met_plus.py run, please try
running
> > the
> > > > > >> > following
> > > > > >> > > > two
> > > > > >> > > > > commands and send me the output:
> > > > > >> > > > >
> > > > > >> > > > > which run_tc_pairs.py
> > > > > >> > > > >
> > > > > >> > > > > which python
> > > > > >> > > > >
> > > > > >> > > > > Thanks!
> > > > > >> > > > >
> > > > > >> > > > > Julie
> > > > > >> > > > >
> > > > > >> > > > > On Thu, Feb 23, 2017 at 11:06 AM, Xinxia Song via
RT <
> > > > > >> > > met_help at ucar.edu>
> > > > > >> > > > > wrote:
> > > > > >> > > > >
> > > > > >> > > > > >
> > > > > >> > > > > > <URL: https://rt.rap.ucar.edu/rt/Tic
> > > > ket/Display.html?id=79605
> > > > > >
> > > > > >> > > > > >
> > > > > >> > > > > > Hi Julie,
> > > > > >> > > > > >
> > > > > >> > > > > >
> > > > > >> > > > > > After I ran the long one line command:
> > > > > >> > > > > >
> > > > > >> > > > > > [xinxia at chaos parm]$
/D2/xinxia/METplus/MET/met-5.
> > > > > 2/bin/tc_stat
> > > > > >> > -job
> > > > > >> > > > > > filter -lookin /D2/xinxia/METplus/MET/input/
> > > tc_pairs/201412
> > > > > >> > > -init_inc
> > > > > >> > > > > > 20141201_00 -match_points true -dump_row
> > > > > >> > /D2/xinxia/METplus/MET/out/
> > > > > >> > > > > extract_tiles/20141201_00/
> > > > > >> > > > > > filter_20141201_00.tcst  -basin ML
-out_init_mask
> > > > > >> > > > > > /D2/xinxia/METplus/MET/met-5.
> > 2/share/met/poly/CONUS.poly
> > > > > >> > > > > >
> > > > > >> > > > > >
> > > > > >> > > > > > DEBUG 1: [Source 1] Lookin:
> > /D2/xinxia/METplus/MET/input/
> > > > > >> > > > tc_pairs/201412
> > > > > >> > > > > >
> > > > > >> > > > > > ERROR  :
> > > > > >> > > > > >
> > > > > >> > > > > > ERROR  : TCStatJob *TCStatJobFactory::new_tc_
> > > stat_job(const
> > > > > >> char
> > > > > >> > > > > > *jobstring) -> unsupported job command options
> > > > > >> > > > "filter_20141201_00.tcst".
> > > > > >> > > > > >
> > > > > >> > > > > > ERROR  :
> > > > > >> > > > > >
> > > > > >> > > > > >
> > > > > >> > > > > > And for the master_met_plus.py, I got the
error:
> > > > > >> > > > > >
> > > > > >> > > > > > [xinxia at chaos ush]$ python master_met_plus.py
> > > > > >> > > > > >
> > > > > >> > > > > > sh: run_tc_pairs.py: command not found
> > > > > >> > > > > >
> > > > > >> > > > > >
> > > > > >> > > > > > Thanks,
> > > > > >> > > > > >
> > > > > >> > > > > >
> > > > > >> > > > > > Xinxia
> > > > > >> > > > > >
> > > > > >> > > > > > ________________________________
> > > > > >> > > > > > From: Julie Prestopnik via RT
<met_help at ucar.edu>
> > > > > >> > > > > > Sent: Friday, February 24, 2017 7:42:21 AM
> > > > > >> > > > > > To: Xinxia_Song at outlook.com
> > > > > >> > > > > > Subject: Re: [rt.rap.ucar.edu #79605]
ImportError: No
> > > > module
> > > > > >> named
> > > > > >> > > > > > constants_pdef
> > > > > >> > > > > >
> > > > > >> > > > > > My apologies, my response should have said, "By
> default,
> > > MET
> > > > > >> > version
> > > > > >> > > > 5.2
> > > > > >> > > > > is
> > > > > >> > > > > > compiled using dynamic linking."  It's true for
both,
> > but
> > > I
> > > > > see
> > > > > >> > > you're
> > > > > >> > > > > > using 5.2 and I inadvertently referred to 5.1.
> > > > > >> > > > > >
> > > > > >> > > > > > On Thu, Feb 23, 2017 at 10:40 AM, Julie
Prestopnik <
> > > > > >> > jpresto at ucar.edu
> > > > > >> > > >
> > > > > >> > > > > > wrote:
> > > > > >> > > > > >
> > > > > >> > > > > > > Hi Xinxia.  Regarding the error:
> > > > > >> > > > > > >
> > > > > >> > > > > > > /D2/xinxia/METplus/MET/met-5.2/bin/tc_stat:
error
> > while
> > > > > >> loading
> > > > > >> > > > shared
> > > > > >> > > > > > > libraries: libgsl.so.19: cannot open shared
object
> > file:
> > > > No
> > > > > >> such
> > > > > >> > > file
> > > > > >> > > > > or
> > > > > >> > > > > > > directory
> > > > > >> > > > > > >
> > > > > >> > > > > > > By default, MET version 5.1 is compiled using
> dynamic
> > > > > linking.
> > > > > >> > > > Rather
> > > > > >> > > > > > > than compiling the external library code in
with the
> > MET
> > > > > >> > > executables
> > > > > >> > > > > > (which
> > > > > >> > > > > > > is
> > > > > >> > > > > > > called static linking), it looks for them at
> runtime.
> > > And
> > > > > >> it's
> > > > > >> > > > looking
> > > > > >> > > > > > > for those "shared object" (.so) library
files.
> > > > > >> > > > > > >
> > > > > >> > > > > > > This should be easy to fix. We just need to
tell it
> > > where
> > > > to
> > > > > >> find
> > > > > >> > > > them,
> > > > > >> > > > > > > and we do that by setting (or adding to the
> > > > > LD_LIBRARY_PATH).
> > > > > >> > Look
> > > > > >> > > > in
> > > > > >> > > > > > your
> > > > > >> > > > > > > ~/.bashrc file.  If LD_LIBRARY_PATH is
already
> defined
> > > in
> > > > > >> there,
> > > > > >> > > add
> > > > > >> > > > > the
> > > > > >> > > > > > > path to the libgsl.so.19 to the end of it.
If not,
> > add
> > > an
> > > > > >> > > > > > > LD_LIBRARY_PATH entry in your ~/.bashrc file.
So,
> for
> > > > > >> example,
> > > > > >> > if
> > > > > >> > > > the
> > > > > >> > > > > > path
> > > > > >> > > > > > > to your libgsl.so.19 file is
> > > > /D2/xinxia/METplus/MET/externa
> > > > > >> > > > > > l_libs/GSL/gsl-1.16/lib
> > > > > >> > > > > > > you would add teh following to your ~/.bashrc
file:
> > > > > >> > > > > > >
> > > > > >> > > > > > >   export LD_LIBRARY_PATH=/D2/xinxia/
> > > > > >> > METplus/MET/external_libs/GSL/
> > > > > >> > > > > > > gsl-1.16/lib
> > > > > >> > > > > > >
> > > > > >> > > > > > > Then save the change and source that file:
> > > > > >> > > > > > >
> > > > > >> > > > > > >   source ~/.bashrc
> > > > > >> > > > > > >
> > > > > >> > > > > > > Then, please try rerunning the command
manually and
> > let
> > > me
> > > > > >> know
> > > > > >> > if
> > > > > >> > > it
> > > > > >> > > > > > > works.
> > > > > >> > > > > > >
> > > > > >> > > > > > > I believe that this was the cause of the
initial
> error
> > > you
> > > > > >> > received
> > > > > >> > > > > from
> > > > > >> > > > > > > MET+:
> > > > > >> > > > > > >
> > > > > >> > > > > > > ERROR| /D2/xinxia/METplus/METplus/
> > > > > ush/run_tc_stat.py:tc_stat
> > > > > >> > from
> > > > > >> > > > > > calling
> > > > > >> > > > > > > MET TC-STAT with command:/D2/xinxia/METplus/
> > > > > >> > > MET/met-5.2/bin/tc_stat
> > > > > >> > > > > -job
> > > > > >> > > > > > > filter -lookin /D2/xinxia/METplus/MET/input/t
> > > > c_pairs/201412
> > > > > >> > > > -init_inc
> > > > > >> > > > > > > 20141201_00 -match_points true -dump_row
> > > > > >> > > > /D2/xinxia/METplus/MET/out/ext
> > > > > >> > > > > > >
ract_tiles/20141201_00/filter_20141201_00.tcst
> > -basin
> > > ML
> > > > > >> > > > > -out_init_mask
> > > > > >> > > > > > > /D2/xinxia/METplus/MET/met-5.
> > > 2/share/met/poly/CONUS.poly
> > > > > >> > > > > > >
> > > > > >> > > > > > >
> > > > > >> > > > > > > Thanks,
> > > > > >> > > > > > > Julie
> > > > > >> > > > > > >
> > > > > >> > > > > > > On Thu, Feb 23, 2017 at 10:14 AM, Xinxia Song
via
> RT <
> > > > > >> > > > > met_help at ucar.edu>
> > > > > >> > > > > > > wrote:
> > > > > >> > > > > > >
> > > > > >> > > > > > >>
> > > > > >> > > > > > >> <URL: https://rt.rap.ucar.edu/rt/Tic
> > > > > >> ket/Display.html?id=79605 >
> > > > > >> > > > > > >>
> > > > > >> > > > > > >> Hi Julie,
> > > > > >> > > > > > >>
> > > > > >> > > > > > >>
> > > > > >> > > > > > >> [xinxia at chaos ush]$
/D2/xinxia/METplus/MET/met-5.2
> > > > > >> /bin/tc_stat
> > > > > >> > > -job
> > > > > >> > > > > > >> filter -lookin /D2/xinxia/METplus/MET/input/
> > > > > tc_pairs/201412
> > > > > >> > > > -init_inc
> > > > > >> > > > > > >> 20141201_00 -match_points true -dump_row
> > > > > >> > > > > /D2/xinxia/METplus/MET/out/ext
> > > > > >> > > > > > ract_tiles/20141201_00/
> > > > > >> > > > > > >> filter_20141201_00.tcst  -basin ML
-out_init_mask
> > > > > >> > > > > > >> /D2/xinxia/METplus/MET/met-5.
> > > 2/share/met/poly/CONUS.poly
> > > > > >> > > > > > >>
> > > > > >> > > > > > >> /D2/xinxia/METplus/MET/met-5.2/bin/tc_stat:
error
> > > while
> > > > > >> loading
> > > > > >> > > > > shared
> > > > > >> > > > > > >> libraries: libgsl.so.19: cannot open shared
object
> > > file:
> > > > No
> > > > > >> such
> > > > > >> > > > file
> > > > > >> > > > > or
> > > > > >> > > > > > >> directory
> > > > > >> > > > > > >>
> > > > > >> > > > > > >>
> > > > > >> > > > > > >> And I uploaded the configuration file
> > > (constants_pdef.py)
> > > > > >> under
> > > > > >> > > > > > >> xinxia_data directory.
> > > > > >> > > > > > >>
> > > > > >> > > > > > >>
> > > > > >> > > > > > >> Thanks,
> > > > > >> > > > > > >>
> > > > > >> > > > > > >>
> > > > > >> > > > > > >> Xinxia
> > > > > >> > > > > > >>
> > > > > >> > > > > > >> ________________________________
> > > > > >> > > > > > >> From: Julie Prestopnik via RT
<met_help at ucar.edu>
> > > > > >> > > > > > >> Sent: Friday, February 24, 2017 6:15:57 AM
> > > > > >> > > > > > >> To: Xinxia_Song at outlook.com
> > > > > >> > > > > > >> Subject: Re: [rt.rap.ucar.edu #79605]
ImportError:
> > No
> > > > > module
> > > > > >> > > named
> > > > > >> > > > > > >> constants_pdef
> > > > > >> > > > > > >>
> > > > > >> > > > > > >> Hi Xinxia.
> > > > > >> > > > > > >>
> > > > > >> > > > > > >> I can see that your command, which should
have been
> > all
> > > > on
> > > > > >> one
> > > > > >> > > line,
> > > > > >> > > > > was
> > > > > >> > > > > > >> broken up into several lines.  Please try
running
> the
> > > > > command
> > > > > >> > > again,
> > > > > >> > > > > > >> making
> > > > > >> > > > > > >> sure that the entire command is on one line:
> > > > > >> > > > > > >>
> > > > > >> > > > > > >> /D2/xinxia/METplus/MET/met-5.2/bin/tc_stat
-job
> > filter
> > > > > >> -lookin
> > > > > >> > > > > > >> /D2/xinxia/METplus/MET/input/tc_pairs/201412
> > -init_inc
> > > > > >> > > 20141201_00
> > > > > >> > > > > > >> -match_points true -dump_row
> > > > > >> > > > > > >> /D2/xinxia/METplus/MET/out/
> > extract_tiles/20141201_00/
> > > > > >> > > > > > >> filter_20141201_00.tcst  -basin ML
-out_init_mask
> > > > > >> > > > > > >> /D2/xinxia/METplus/MET/met-5.
> > > 2/share/met/poly/CONUS.poly
> > > > > >> > > > > > >>
> > > > > >> > > > > > >> Then, please send the output from that
command.
> > > > > >> > > > > > >>
> > > > > >> > > > > > >> Regarding, your error:
> > > > > >> > > > > > >>
> > > > > >> > > > > > >> sh: run_tc_pairs.py: command not found
> > > > > >> > > > > > >>
> > > > > >> > > > > > >> It's strange that would only have occurred
after
> > having
> > > > > >> changed
> > > > > >> > > the
> > > > > >> > > > > > >> LOG_LEVEL.  Could you please send us your
> > configuration
> > > > > file?
> > > > > >> > > > > > >>
> > > > > >> > > > > > >> Thanks!
> > > > > >> > > > > > >>
> > > > > >> > > > > > >> Julie
> > > > > >> > > > > > >>
> > > > > >> > > > > > >> On Wed, Feb 22, 2017 at 2:54 PM, Xinxia Song
via
> RT <
> > > > > >> > > > > met_help at ucar.edu>
> > > > > >> > > > > > >> wrote:
> > > > > >> > > > > > >>
> > > > > >> > > > > > >> >
> > > > > >> > > > > > >> > <URL: https://rt.rap.ucar.edu/rt/Tic
> > > > > >> ket/Display.html?id=79605
> > > > > >> > >
> > > > > >> > > > > > >> >
> > > > > >> > > > > > >> > Hi Julie,
> > > > > >> > > > > > >> >
> > > > > >> > > > > > >> >
> > > > > >> > > > > > >> > [xinxia at chaos ush]$
> /D2/xinxia/METplus/MET/met-5.
> > > > > >> > 2/bin/tc_stat
> > > > > >> > > > -job
> > > > > >> > > > > > >> > filter -lookin
> > > > > >> > > > > > >> >
> > > > > >> > > > > > >> > /D2/xinxia/METplus/MET/met-
5.2/bin/tc_stat:
> error
> > > > while
> > > > > >> > loading
> > > > > >> > > > > > shared
> > > > > >> > > > > > >> > libraries: libgsl.so.19: cannot open
shared
> object
> > > > file:
> > > > > No
> > > > > >> > such
> > > > > >> > > > > file
> > > > > >> > > > > > or
> > > > > >> > > > > > >> > directory
> > > > > >> > > > > > >> >
> > > > > >> > > > > > >> >
> > > > > >> > > > > > >> > [xinxia at chaos ush]$
> /D2/xinxia/METplus/MET/input/
> > > > > >> > > tc_pairs/201412
> > > > > >> > > > > > >> > -init_inc 20141201_00 -match_points true
> -dump_row
> > > > > >> > > > > > >> >
> > > > > >> > > > > > >> > -bash: /D2/xinxia/METplus/MET/input/
> > tc_pairs/201412:
> > > > is
> > > > > a
> > > > > >> > > > directory
> > > > > >> > > > > > >> >
> > > > > >> > > > > > >> >
> > > > > >> > > > > > >> > [xinxia at chaos ush]$
> /D2/xinxia/METplus/MET/out/ext
> > > > > >> > > > > > >> ract_tiles/20141201_00/
> > > > > >> > > > > > >> > filter_20141201_00.tcst  -basin ML
-out_init_mask
> > > > > >> > > > > > >> > /D2/xinxia/METplus/MET/met-5.2
> > > > /share/met/poly/CONUS.poly
> > > > > >> > > > > > >> >
> > > > > >> > > > > > >> > -bash: /D2/xinxia/METplus/MET/out/ext
> > > > > >> ract_tiles/20141201_00/:
> > > > > >> > > No
> > > > > >> > > > > such
> > > > > >> > > > > > >> > file or directory
> > > > > >> > > > > > >> >
> > > > > >> > > > > > >> >
> > > > > >> > > > > > >> > After I change the LOG_LEVEL, I ran the
> > > > > >> master_met_plus.py, it
> > > > > >> > > > says:
> > > > > >> > > > > > >> >
> > > > > >> > > > > > >> > [xinxia at chaos ush]$ python
master_met_plus.py
> > > > > >> > > > > > >> >
> > > > > >> > > > > > >> > sh: run_tc_pairs.py: command not found
> > > > > >> > > > > > >> >
> > > > > >> > > > > > >> >
> > > > > >> > > > > > >> >
> > > > > >> > > > > > >> > Thanks,
> > > > > >> > > > > > >> >
> > > > > >> > > > > > >> >
> > > > > >> > > > > > >> > Xinxia
> > > > > >> > > > > > >> >
> > > > > >> > > > > > >> >
> > > > > >> > > > > > >> > ________________________________
> > > > > >> > > > > > >> > From: Julie Prestopnik via RT
<met_help at ucar.edu
> >
> > > > > >> > > > > > >> > Sent: Thursday, February 23, 2017 10:04:55
AM
> > > > > >> > > > > > >> > To: Xinxia_Song at outlook.com
> > > > > >> > > > > > >> > Subject: Re: [rt.rap.ucar.edu #79605]
> ImportError:
> > > No
> > > > > >> module
> > > > > >> > > > named
> > > > > >> > > > > > >> > constants_pdef
> > > > > >> > > > > > >> >
> > > > > >> > > > > > >> > Thank you.  Unfortunately, the level of
detail in
> > the
> > > > log
> > > > > >> file
> > > > > >> > > > > wasn't
> > > > > >> > > > > > >> what
> > > > > >> > > > > > >> > I hoped for.  I'd like to have you try two
> things.
> > > > > >> > > > > > >> >
> > > > > >> > > > > > >> > First, could you please send me your
output of
> your
> > > > > manual
> > > > > >> run
> > > > > >> > > of
> > > > > >> > > > > the
> > > > > >> > > > > > >> > following?
> > > > > >> > > > > > >> >
> > > > > >> > > > > > >> > "/D2/xinxia/METplus/MET/met-
5.2/bin/tc_stat -job
> > > > filter
> > > > > >> > -lookin
> > > > > >> > > > > > >> >
/D2/xinxia/METplus/MET/input/tc_pairs/201412
> > > -init_inc
> > > > > >> > > > 20141201_00
> > > > > >> > > > > > >> > -match_points true -dump_row
> > > > /D2/xinxia/METplus/MET/out/
> > > > > >> > > > > > >> > extract_tiles/20141201_00/
> filter_20141201_00.tcst
> > > > > -basin
> > > > > >> ML
> > > > > >> > > > > > >> > -out_init_mask
> > > > > >> > > > > > >> > /D2/xinxia/METplus/MET/met-5.
> > > > > 2/share/met/poly/CONUS.poly"
> > > > > >> > > > > > >> >
> > > > > >> > > > > > >> > Second, could you please change your log
level in
> > > your
> > > > > >> > > > configuration
> > > > > >> > > > > > >> file
> > > > > >> > > > > > >> > from
> > > > > >> > > > > > >> >
> > > > > >> > > > > > >> > LOG_LEVEL = "INFO"
> > > > > >> > > > > > >> >
> > > > > >> > > > > > >> > to
> > > > > >> > > > > > >> >
> > > > > >> > > > > > >> > LOG_LEVEL = "DEBUG"
> > > > > >> > > > > > >> >
> > > > > >> > > > > > >> > then rerun and upload your log file to our
ftp
> > server
> > > > > >> again?
> > > > > >> > > > > > >> >
> > > > > >> > > > > > >> > Thank you!
> > > > > >> > > > > > >> >
> > > > > >> > > > > > >> > Julie
> > > > > >> > > > > > >> >
> > > > > >> > > > > > >> >
> > > > > >> > > > > > >> > On Wed, Feb 22, 2017 at 12:39 PM, Xinxia
Song via
> > RT
> > > <
> > > > > >> > > > > > met_help at ucar.edu
> > > > > >> > > > > > >> >
> > > > > >> > > > > > >> > wrote:
> > > > > >> > > > > > >> >
> > > > > >> > > > > > >> > >
> > > > > >> > > > > > >> > > <URL: https://rt.rap.ucar.edu/rt/
> > > > > >> > Ticket/Display.html?id=79605
> > > > > >> > > >
> > > > > >> > > > > > >> > >
> > > > > >> > > > > > >> > > Hi Julie,
> > > > > >> > > > > > >> > >
> > > > > >> > > > > > >> > >
> > > > > >> > > > > > >> > > I uploaded the log file under
xinxia_data
> > > directory.
> > > > > >> > > > > > >> > >
> > > > > >> > > > > > >> > >
> > > > > >> > > > > > >> > > Thanks,
> > > > > >> > > > > > >> > >
> > > > > >> > > > > > >> > >
> > > > > >> > > > > > >> > > Xinxia
> > > > > >> > > > > > >> > >
> > > > > >> > > > > > >> > >
> > > > > >> > > > > > >> > > ________________________________
> > > > > >> > > > > > >> > > From: Julie Prestopnik via RT <
> met_help at ucar.edu
> > >
> > > > > >> > > > > > >> > > Sent: Thursday, February 23, 2017
9:11:32 AM
> > > > > >> > > > > > >> > > To: Xinxia_Song at outlook.com
> > > > > >> > > > > > >> > > Subject: Re: [rt.rap.ucar.edu #79605]
> > ImportError:
> > > > No
> > > > > >> > module
> > > > > >> > > > > named
> > > > > >> > > > > > >> > > constants_pdef
> > > > > >> > > > > > >> > >
> > > > > >> > > > > > >> > > Hi Xinxia.
> > > > > >> > > > > > >> > >
> > > > > >> > > > > > >> > > I think it would be helpful if I could
take a
> > look
> > > at
> > > > > the
> > > > > >> > log
> > > > > >> > > > > file.
> > > > > >> > > > > > >> > Could
> > > > > >> > > > > > >> > > you please upload your file to our
anonymous
> ftp
> > > site
> > > > > as
> > > > > >> > > follows
> > > > > >> > > > > so
> > > > > >> > > > > > >> that
> > > > > >> > > > > > >> > I
> > > > > >> > > > > > >> > > can take a look?
> > > > > >> > > > > > >> > >
> > > > > >> > > > > > >> > >    http://www.dtcenter.org/met/
> > > > > >> > users/support/met_help.php#ftp
> > > > > >> > > > > > >> > >
> > > > > >> > > > > > >> > > Also, could you please try running the
> following
> > > > > manually
> > > > > >> > and
> > > > > >> > > > send
> > > > > >> > > > > > the
> > > > > >> > > > > > >> > > output to me?
> > > > > >> > > > > > >> > >
> > > > > >> > > > > > >> > > "/D2/xinxia/METplus/MET/met-
5.2/bin/tc_stat
> -job
> > > > > filter
> > > > > >> > > -lookin
> > > > > >> > > > > > >> > >
/D2/xinxia/METplus/MET/input/tc_pairs/201412
> > > > -init_inc
> > > > > >> > > > > 20141201_00
> > > > > >> > > > > > >> > > -match_points true -dump_row
> > > > > /D2/xinxia/METplus/MET/out/
> > > > > >> > > > > > >> > > extract_tiles/20141201_00/
> > filter_20141201_00.tcst
> > > > > >> -basin
> > > > > >> > ML
> > > > > >> > > > > > >> > > -out_init_mask
> > > > > >> > > > > > >> > > /D2/xinxia/METplus/MET/met-5.2
> > > > > >> /share/met/poly/CONUS.poly"
> > > > > >> > > > > > >> > >
> > > > > >> > > > > > >> > > Thank you!
> > > > > >> > > > > > >> > >
> > > > > >> > > > > > >> > > Julie
> > > > > >> > > > > > >> > >
> > > > > >> > > > > > >> > >
> > > > > >> > > > > > >> > >
> > > > > >> > > > > > >> > > On Wed, Feb 22, 2017 at 12:06 PM, Xinxia
Song
> via
> > > RT
> > > > <
> > > > > >> > > > > > >> met_help at ucar.edu>
> > > > > >> > > > > > >> > > wrote:
> > > > > >> > > > > > >> > >
> > > > > >> > > > > > >> > > >
> > > > > >> > > > > > >> > > > <URL: https://rt.rap.ucar.edu/rt/
> > > > > >> > > Ticket/Display.html?id=79605
> > > > > >> > > > >
> > > > > >> > > > > > >> > > >
> > > > > >> > > > > > >> > > > Hi Julie,
> > > > > >> > > > > > >> > > >
> > > > > >> > > > > > >> > > >
> > > > > >> > > > > > >> > > > Now I can run the program, but when I
look at
> > the
> > > > log
> > > > > >> file
> > > > > >> > > in
> > > > > >> > > > > the
> > > > > >> > > > > > >> > output,
> > > > > >> > > > > > >> > > > it shows error below:
> > > > > >> > > > > > >> > > >
> > > > > >> > > > > > >> > > >
> > > > > >> > > > > > >> > > > ERROR| /D2/xinxia/METplus/METplus/
> > > > > >> > > ush/run_tc_stat.py:tc_stat
> > > > > >> > > > > from
> > > > > >> > > > > > >> > > calling
> > > > > >> > > > > > >> > > > MET TC-STAT with
> command:/D2/xinxia/METplus/MET
> > > > > >> > > > > > /met-5.2/bin/tc_stat
> > > > > >> > > > > > >> > -job
> > > > > >> > > > > > >> > > > filter -lookin
/D2/xinxia/METplus/MET/input/
> > > > > >> > tc_pairs/201412
> > > > > >> > > > > > >> -init_inc
> > > > > >> > > > > > >> > > > 20141201_00 -match_points true
-dump_row
> > > > > >> > > > > > /D2/xinxia/METplus/MET/out/
> > > > > >> > > > > > >> > > > extract_tiles/20141201_00/
> > > filter_20141201_00.tcst
> > > > > >> -basin
> > > > > >> > > ML
> > > > > >> > > > > > >> > > > -out_init_mask
/D2/xinxia/METplus/MET/met-5.
> > > > > >> > > > > > >> > 2/share/met/poly/CONUS.poly
> > > > > >> > > > > > >> > > >
> > > > > >> > > > > > >> > > >
> > > > > >> > > > > > >> > > > How should I fix it?
> > > > > >> > > > > > >> > > >
> > > > > >> > > > > > >> > > >
> > > > > >> > > > > > >> > > > Thanks,
> > > > > >> > > > > > >> > > >
> > > > > >> > > > > > >> > > >
> > > > > >> > > > > > >> > > > Xinxia
> > > > > >> > > > > > >> > > >
> > > > > >> > > > > > >> > > > ________________________________
> > > > > >> > > > > > >> > > > From: Julie Prestopnik via RT <
> > met_help at ucar.edu
> > > >
> > > > > >> > > > > > >> > > > Sent: Thursday, February 23, 2017
7:30:06 AM
> > > > > >> > > > > > >> > > > To: Xinxia_Song at outlook.com
> > > > > >> > > > > > >> > > > Subject: Re: [rt.rap.ucar.edu #79605]
> > > ImportError:
> > > > > No
> > > > > >> > > module
> > > > > >> > > > > > named
> > > > > >> > > > > > >> > > > constants_pdef
> > > > > >> > > > > > >> > > >
> > > > > >> > > > > > >> > > > Hi Xinxia.
> > > > > >> > > > > > >> > > >
> > > > > >> > > > > > >> > > > I believe that python doesn't know how
to
> find
> > > the
> > > > > >> module
> > > > > >> > > > > because
> > > > > >> > > > > > >> the
> > > > > >> > > > > > >> > ush
> > > > > >> > > > > > >> > > > directory is not in your PYTHONPATH.
Both
> the
> > > parm
> > > > > and
> > > > > >> > ush
> > > > > >> > > > > > >> directory
> > > > > >> > > > > > >> > > need
> > > > > >> > > > > > >> > > > to be specified in your PYTHONPATH.
Please
> add
> > > the
> > > > > ush
> > > > > >> > > > > directory
> > > > > >> > > > > > to
> > > > > >> > > > > > >> > your
> > > > > >> > > > > > >> > > > PYTHONPATH, source ~/.bashrc, and let
us know
> > how
> > > > it
> > > > > >> goes.
> > > > > >> > > > > > >> > > >
> > > > > >> > > > > > >> > > > Thanks,
> > > > > >> > > > > > >> > > > Julie
> > > > > >> > > > > > >> > > >
> > > > > >> > > > > > >> > > > On Wed, Feb 22, 2017 at 10:24 AM,
Xinxia Song
> > via
> > > > RT
> > > > > <
> > > > > >> > > > > > >> > met_help at ucar.edu>
> > > > > >> > > > > > >> > > > wrote:
> > > > > >> > > > > > >> > > >
> > > > > >> > > > > > >> > > > >
> > > > > >> > > > > > >> > > > > <URL: https://rt.rap.ucar.edu/rt/
> > > > > >> > > > Ticket/Display.html?id=79605
> > > > > >> > > > > >
> > > > > >> > > > > > >> > > > >
> > > > > >> > > > > > >> > > > > Hi Julie,
> > > > > >> > > > > > >> > > > >
> > > > > >> > > > > > >> > > > >
> > > > > >> > > > > > >> > > > > Since I don't have setenv, I added
these 3
> > > > sentence
> > > > > >> into
> > > > > >> > > my
> > > > > >> > > > > > >> .bashrc
> > > > > >> > > > > > >> > > file:
> > > > > >> > > > > > >> > > > >
> > > > > >> > > > > > >> > > > >
> > > > > >> > > > > > >> > > > > export PYTHONPATH="/D2/xinxia/
> > > > > METplus/METplus/parm"
> > > > > >> > > > > > >> > > > >
> > > > > >> > > > > > >> > > > >
> > > > > >> > > > > > >> > > > > export USHROOT=/D2/xinxia/METplus/
> > METplus/ush
> > > > > >> > > > > > >> > > > >
> > > > > >> > > > > > >> > > > > export PATH=$USHROOT:$PATH
> > > > > >> > > > > > >> > > > >
> > > > > >> > > > > > >> > > > >
> > > > > >> > > > > > >> > > > > I sourced the ~/.bashrc, and checked
that
> the
> > > > > >> variables
> > > > > >> > > are
> > > > > >> > > > > set,
> > > > > >> > > > > > >> but
> > > > > >> > > > > > >> > > the
> > > > > >> > > > > > >> > > > > program still can't find the module.
> > > > > >> > > > > > >> > > > >
> > > > > >> > > > > > >> > > > >
> > > > > >> > > > > > >> > > > > Thanks,
> > > > > >> > > > > > >> > > > >
> > > > > >> > > > > > >> > > > > Xinxia
> > > > > >> > > > > > >> > > > >
> > > > > >> > > > > > >> > > > > ________________________________
> > > > > >> > > > > > >> > > > > From: Julie Prestopnik via RT <
> > > met_help at ucar.edu
> > > > >
> > > > > >> > > > > > >> > > > > Sent: Thursday, February 23, 2017
6:24:21
> AM
> > > > > >> > > > > > >> > > > > To: Xinxia_Song at outlook.com
> > > > > >> > > > > > >> > > > > Subject: Re: [rt.rap.ucar.edu
#79605]
> > > > ImportError:
> > > > > >> No
> > > > > >> > > > module
> > > > > >> > > > > > >> named
> > > > > >> > > > > > >> > > > > constants_pdef
> > > > > >> > > > > > >> > > > >
> > > > > >> > > > > > >> > > > > Hi Xinxia.
> > > > > >> > > > > > >> > > > >
> > > > > >> > > > > > >> > > > > Could you please check to make sure
that
> the
> > > ush
> > > > > >> > directory
> > > > > >> > > > > with
> > > > > >> > > > > > >> > > > > constants_pdef.py is in your
PYTHONPATH in
> > your
> > > > > >> .cshrc
> > > > > >> > > file
> > > > > >> > > > > (or
> > > > > >> > > > > > >> > .bashrc
> > > > > >> > > > > > >> > > > or
> > > > > >> > > > > > >> > > > > similar file)?  The parm directory
should
> > also
> > > be
> > > > > in
> > > > > >> > your
> > > > > >> > > > > > >> PYTHONPATH.
> > > > > >> > > > > > >> > > > >
> > > > > >> > > > > > >> > > > > For example,
> > > > > >> > > > > > >> > > > >
> > > > > >> > > > > > >> > > > > setenv PYTHONPATH
> > /d1/jpresto/sbu/METplus/ush:/
> > > > > >> > > > > > >> > > > d1/jpresto/sbu/METplus/parm
> > > > > >> > > > > > >> > > > >
> > > > > >> > > > > > >> > > > > Please also check make sure that the
path
> to
> > > the
> > > > > ush
> > > > > >> > > > directory
> > > > > >> > > > > > is
> > > > > >> > > > > > >> > also
> > > > > >> > > > > > >> > > > > specified your your path environment
> > variable.
> > > > For
> > > > > >> > > example,
> > > > > >> > > > > > >> > > > >
> > > > > >> > > > > > >> > > > > set path = (/usr/local/bin \
> > > > > >> > > > > > >> > > > >
> > /usr/local/python/bin/python \
> > > > > >> > > > > > >> > > > >
> /d1/jpresto/sbu/METplus/ush
> > )
> > > > > >> > > > > > >> > > > >
> > > > > >> > > > > > >> > > > > If they are not there, please add
them and
> > then
> > > > > >> source
> > > > > >> > the
> > > > > >> > > > > file
> > > > > >> > > > > > >> (e.g.
> > > > > >> > > > > > >> > > run
> > > > > >> > > > > > >> > > > > "source ~/.cshrc").
> > > > > >> > > > > > >> > > > >
> > > > > >> > > > > > >> > > > > Thank you!  Please let us know how
it goes.
> > > > > >> > > > > > >> > > > >
> > > > > >> > > > > > >> > > > > Julie
> > > > > >> > > > > > >> > > > >
> > > > > >> > > > > > >> > > > >
> > > > > >> > > > > > >> > > > >
> > > > > >> > > > > > >> > > > >
> > > > > >> > > > > > >> > > > > On Tue, Feb 21, 2017 at 4:49 PM,
Xinxia
> Song
> > > via
> > > > > RT <
> > > > > >> > > > > > >> > met_help at ucar.edu
> > > > > >> > > > > > >> > > >
> > > > > >> > > > > > >> > > > > wrote:
> > > > > >> > > > > > >> > > > >
> > > > > >> > > > > > >> > > > > >
> > > > > >> > > > > > >> > > > > > Tue Feb 21 16:49:28 2017: Request
79605
> was
> > > > acted
> > > > > >> > upon.
> > > > > >> > > > > > >> > > > > > Transaction: Ticket created by
> > > > > >> > Xinxia_Song at outlook.com
> > > > > >> > > > > > >> > > > > >        Queue: met_help
> > > > > >> > > > > > >> > > > > >      Subject: ImportError: No
module
> named
> > > > > >> > > constants_pdef
> > > > > >> > > > > > >> > > > > >        Owner: Nobody
> > > > > >> > > > > > >> > > > > >   Requestors:
Xinxia_Song at outlook.com
> > > > > >> > > > > > >> > > > > >       Status: new
> > > > > >> > > > > > >> > > > > >  Ticket <URL:
> https://rt.rap.ucar.edu/rt/
> > > > > >> > > > > > >> > > Ticket/Display.html?id=79605
> > > > > >> > > > > > >> > > > >
> > > > > >> > > > > > >> > > > > >
> > > > > >> > > > > > >> > > > > >
> > > > > >> > > > > > >> > > > > > Hi,
> > > > > >> > > > > > >> > > > > >
> > > > > >> > > > > > >> > > > > >
> > > > > >> > > > > > >> > > > > > When I ran the mater_met_plus.py,
it
> says:
> > > > > >> > > > > > >> > > > > >
> > > > > >> > > > > > >> > > > > >
> > > > > >> > > > > > >> > > > > > ImportError: No module named
> constants_pdef
> > > > > >> > > > > > >> > > > > >
> > > > > >> > > > > > >> > > > > >
> > > > > >> > > > > > >> > > > > > Seems it doesn't recognize
constants_pdef
> > as
> > > > its
> > > > > >> > module.
> > > > > >> > > > > > >> > > > > >
> > > > > >> > > > > > >> > > > > >
> > > > > >> > > > > > >> > > > > > Thanks,
> > > > > >> > > > > > >> > > > > >
> > > > > >> > > > > > >> > > > > > Xinxia
> > > > > >> > > > > > >> > > > > >
> > > > > >> > > > > > >> > > > > >
> > > > > >> > > > > > >> > > > >
> > > > > >> > > > > > >> > > > >
> > > > > >> > > > > > >> > > > >
> > > > > >> > > > > > >> > > >
> > > > > >> > > > > > >> > > >
> > > > > >> > > > > > >> > > >
> > > > > >> > > > > > >> > >
> > > > > >> > > > > > >> > >
> > > > > >> > > > > > >> > >
> > > > > >> > > > > > >> >
> > > > > >> > > > > > >> >
> > > > > >> > > > > > >> >
> > > > > >> > > > > > >>
> > > > > >> > > > > > >>
> > > > > >> > > > > > >>
> > > > > >> > > > > > >
> > > > > >> > > > > >
> > > > > >> > > > > >
> > > > > >> > > > > >
> > > > > >> > > > >
> > > > > >> > > > >
> > > > > >> > > > >
> > > > > >> > > >
> > > > > >> > > >
> > > > > >> > > >
> > > > > >> > >
> > > > > >> > >
> > > > > >> > >
> > > > > >> >
> > > > > >> >
> > > > > >> >
> > > > > >>
> > > > > >>
> > > > > >>
> > > > > >
> > > > >
> > > > >
> > > > >
> > > >
> > > >
> > > >
> > >
> > >
> > >
> >
> >
> >
>
>
>

------------------------------------------------
Subject: ImportError: No module named constants_pdef
From: Xinxia Song
Time: Tue Feb 28 11:11:58 2017

Hi Julie,


I checked it's 2.7.13. It seems the error doesn't coming from it.


Thanks,


Xinxia


________________________________
From: Julie Prestopnik via RT <met_help at ucar.edu>
Sent: Tuesday, February 28, 2017 10:49:29 AM
To: Xinxia_Song at outlook.com
Subject: Re: [rt.rap.ucar.edu #79605] ImportError: No module named
constants_pdef

I think perhaps your environment is using Python 2.6 again.

Please try running:

python --version

on the command line.

If you see "Python 2..6.6", please add the path for Python 2.7 to the
front
of your path in your ~/.bashrc file.  Then, source your ~/.bashrc file
and
try rerunning

python --version

on the command line.  Hopefully, then you will see the new version.
Then,
please try rerunning master_met_plus.py.

I hope this helps!  Thanks!

Julie

On Mon, Feb 27, 2017 at 8:14 PM, Xinxia Song via RT
<met_help at ucar.edu>
wrote:

>
> <URL: https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=79605 >
>
> Hi Julie,
>
>
> after I update the NCAP2 path in constants_pdef.py and ran the
> master_met_plus.py, I got the error:
>
> 2017-02-28 02:49:40,659 : ERROR | [master_met_plus.py:main] |
Problem
> executing: series_by_lead.py
>
> and message:
>
> Traceback (most recent call last):
>
>   File "/D2/xinxia/METplus/METplus/ush/series_by_lead.py", line 945,
in
> <module>
>
>     analysis_by_lead_time()
>
>   File "/D2/xinxia/METplus/METplus/ush/series_by_lead.py", line 107,
in
> analysis_by_lead_time
>
>     util.apply_series_filters(tile_dir, init_times,
> series_lead_filtered_out_dir, p, logger)
>
>   File "/D2/xinxia/METplus/METplus/ush/met_util.py", line 1005, in
> apply_series_filters
>
>     tcs.tc_stat(p, logger, tc_cmd, series_output_dir)
>
>   File "/D2/xinxia/METplus/METplus/ush/run_tc_stat.py", line 69, in
> tc_stat
>
>     tc_stat_out = subprocess.check_output(tc_cmd,
> stderr=subprocess.STDOUT, shell=True )
>
> AttributeError: 'module' object has no attribute 'check_output'
>
>
> Thanks,
>
>
> Xinxia
>
> ________________________________
> From: Julie Prestopnik via RT <met_help at ucar.edu>
> Sent: Monday, February 27, 2017 5:15:59 PM
> To: Xinxia_Song at outlook.com
> Subject: Re: [rt.rap.ucar.edu #79605] ImportError: No module named
> constants_pdef
>
> Please install ncap2 and update the location to the executable in
the
> NCAP2_EXE field of the constants_pdef.py file and trying rerunning
the MET+
> code.  Please let us know how it goes.
>
> Thanks,
> Julie
>
> On Mon, Feb 27, 2017 at 3:10 PM, Xinxia Song via RT
<met_help at ucar.edu>
> wrote:
>
> >
> > <URL: https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=79605 >
> >
> > Hi Julie,
> >
> >
> > The result is :
> >
> > -bash: /usr/local/nco/bin/ncap2: No such file or directory
> >
> > I think we don't have it installed.
> >
> >
> > Thanks,
> >
> > Xinxia
> >
> > ________________________________
> > From: Julie Prestopnik via RT <met_help at ucar.edu>
> > Sent: Monday, February 27, 2017 5:08:48 PM
> > To: Xinxia_Song at outlook.com
> > Subject: Re: [rt.rap.ucar.edu #79605] ImportError: No module named
> > constants_pdef
> >
> > Hi Xinxia. I believe that error code refers to "Command not
found".  Can
> > you please run the following and send me the output?
> >
> > /usr/local/nco/bin/ncap2 --version
> >
> > Thanks!
> >
> > Julie
> >
> >
> > On Mon, Feb 27, 2017 at 2:55 PM, Xinxia Song via RT
<met_help at ucar.edu>
> > wrote:
> >
> > >
> > > <URL: https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=79605 >
> > >
> > > Hi Julie,
> > >
> > >
> > > The error is:
> > >
> > > Traceback (most recent call last):
> > >
> > >   File "series_by_lead.py", line 945, in <module>
> > >
> > >     analysis_by_lead_time()
> > >
> > >   File "series_by_lead.py", line 326, in analysis_by_lead_time
> > >
> > >     vmin, vmax = get_netcdf_min_max(nc_var_list, cur_stat, p,
logger)
> > >
> > >   File "series_by_lead.py", line 605, in get_netcdf_min_max
> > >
> > >     shell=True)
> > >
> > >   File "/home/xinxia/anaconda2/lib/python2.7/subprocess.py",
line 219,
> > in
> > > check_output
> > >
> > >     raise CalledProcessError(retcode, cmd, output=output)
> > >
> > > subprocess.CalledProcessError: Command '/usr/local/nco/bin/ncap2
-v -s
> > > "min=min(series_cnt_TOTAL)" /D2/xinxia/METplus/MET/out/
> > > series_analysis_lead/series_F042/series_F042_HGT_P500.nc
> > >
/D2/xinxia/METplus/MET/out/series_analysis_lead/series_F042/min.nc'
> > > returned non-zero exit status 127
> > >
> > >
> > > Thanks,
> > >
> > >
> > > Xinxia
> > >
> > > ________________________________
> > > From: Julie Prestopnik via RT <met_help at ucar.edu>
> > > Sent: Tuesday, February 28, 2017 9:18:55 AM
> > > To: Xinxia_Song at outlook.com
> > > Subject: Re: [rt.rap.ucar.edu #79605] ImportError: No module
named
> > > constants_pdef
> > >
> > > Thank you, Xinxia.
> > >
> > > Unfortunately, the "DEBUG" log level did not provide much
information
> for
> > > this task:
> > >
> > > 2017-02-26 21:30:28,041 : INFO | [master_met_plus.py:main] |
Running:
> > > series_by_lead.py
> > > 2017-02-26 21:30:28,212 : ERROR | [master_met_plus.py:main] |
Problem
> > > executing: series_by_lead.py
> > >
> > > Could you please try running series_by_lead.py in the ush
directory?
> > > Please let me know what the output is from that run - it may
still be
> > > contained in your log file.
> > >
> > > Thanks!
> > >
> > > Julie
> > >
> > >
> > > On Mon, Feb 27, 2017 at 11:17 AM, Xinxia Song via RT <
> met_help at ucar.edu>
> > > wrote:
> > >
> > > >
> > > > <URL: https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=79605
>
> > > >
> > > > Hi Julie,
> > > >
> > > >
> > > > I uploaded the constants_pdef.py and
master_met_plus.20170226.log.
> > > >
> > > >
> > > > Thanks,
> > > >
> > > >
> > > > Xinxia
> > > >
> > > > ________________________________
> > > > From: Julie Prestopnik via RT <met_help at ucar.edu>
> > > > Sent: Tuesday, February 28, 2017 5:46:37 AM
> > > > To: Xinxia_Song at outlook.com
> > > > Subject: Re: [rt.rap.ucar.edu #79605] ImportError: No module
named
> > > > constants_pdef
> > > >
> > > > Hi Xinxia.  Can you please upload the configuration file that
you
> used
> > > and
> > > > the log file from that run to our ftp server so that we can
take a
> > look?
> > > >
> > > > Thanks!
> > > >
> > > > Julie
> > > >
> > > > On Sun, Feb 26, 2017 at 2:35 PM, Xinxia Song via RT <
> met_help at ucar.edu
> > >
> > > > wrote:
> > > >
> > > > >
> > > > > <URL:
https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=79605 >
> > > > >
> > > > > Hi Julie,
> > > > >
> > > > >
> > > > > I ran the mater_met_plus.py and in the end in the log file
it gave
> me
> > > an
> > > > > error:
> > > > >
> > > > > 2017-02-26 21:30:28,212 : ERROR | [master_met_plus.py:main]
|
> Problem
> > > > > executing: series_by_lead.py
> > > > >
> > > > >
> > > > > Thanks,
> > > > >
> > > > > Xinxia
> > > > >
> > > > > ________________________________
> > > > > From: Julie Prestopnik via RT <met_help at ucar.edu>
> > > > > Sent: Saturday, February 25, 2017 6:49:56 AM
> > > > > To: Xinxia_Song at outlook.com
> > > > > Subject: Re: [rt.rap.ucar.edu #79605] ImportError: No module
named
> > > > > constants_pdef
> > > > >
> > > > > You could also run "tail -f </path/to/logfile/logfile_name>"
> > replacing
> > > > > </path/to/logfile/logfile_name> with the logfile path and
name
> > > > information
> > > > > to see how the run is coming along.  I hope that helps!
> > > > >
> > > > > Julie
> > > > >
> > > > > On Fri, Feb 24, 2017 at 9:42 AM, Julie Prestopnik <
> jpresto at ucar.edu>
> > > > > wrote:
> > > > >
> > > > > > Hi Xinxia.  Running the entire three months of data could
> certainly
> > > > take
> > > > > a
> > > > > > long time.  I am hoping to get an estimate on how long it
took to
> > run
> > > > the
> > > > > > three month data set here, but have not been able to
obtain that
> > > number
> > > > > > yet.   It sounds the code was running successfully for
you.  If
> > > you're
> > > > > > eager to take a lot at some output, I would suggest
running a
> > smaller
> > > > > > subset of the data, or perhaps you could set up the whole
three
> > month
> > > > to
> > > > > > run over the weekend.  I would suggest letting the code
run to
> > > > completion
> > > > > > for either a smaller subset or for the entire subset and
then
> > > checking
> > > > > the
> > > > > > log file for errors.  I hope that helps.  Please let me
know if
> you
> > > > have
> > > > > > any questions or encounter any issues.
> > > > > >
> > > > > > Thanks,
> > > > > > Julie
> > > > > >
> > > > > >
> > > > > > On Thu, Feb 23, 2017 at 4:28 PM, Xinxia Song via RT <
> > > met_help at ucar.edu
> > > > >
> > > > > > wrote:
> > > > > >
> > > > > >>
> > > > > >> <URL:
https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=79605 >
> > > > > >>
> > > > > >> Hi Julie,
> > > > > >>
> > > > > >>
> > > > > >> The version is set to be 2.7+. When I ran
master_met_plus.py, it
> > > seems
> > > > > it
> > > > > >> will run forever. So I killed it, and got the following:
> > > > > >>
> > > > > >> [xinxia at chaos ush]$ python master_met_plus.py
> > > > > >>
> > > > > >> ^CTraceback (most recent call last):
> > > > > >>
> > > > > >>   File "/D2/xinxia/METplus/METplus/ush/extract_tiles.py",
line
> > 157,
> > > > in
> > > > > >> <module>
> > > > > >>
> > > > > >>     main()
> > > > > >>
> > > > > >>   File "/D2/xinxia/METplus/METplus/ush/extract_tiles.py",
line
> > 100,
> > > > in
> > > > > >> main
> > > > > >>
> > > > > >>     filtered_out_dir)
> > > > > >>
> > > > > >>   File "/D2/xinxia/METplus/METplus/ush/run_tc_stat.py",
line
> 69,
> > in
> > > > > >> tc_stat
> > > > > >>
> > > > > >>     tc_stat_out = subprocess.check_output(tc_cmd,
> > > > > >> stderr=subprocess.STDOUT, shell=True )
> > > > > >>
> > > > > >>   File
"/home/xinxia/anaconda2/lib/python2.7/subprocess.py",
> line
> > > > 213,
> > > > > >> in check_output
> > > > > >>
> > > > > >>     output, unused_err = process.communicate()
> > > > > >>
> > > > > >>   File
"/home/xinxia/anaconda2/lib/python2.7/subprocess.py",
> line
> > > > 471,
> > > > > >> in communicate
> > > > > >>
> > > > > >>     stdout = _eintr_retry_call(self.stdout.read)
> > > > > >>
> > > > > >>   File
"/home/xinxia/anaconda2/lib/python2.7/subprocess.py",
> line
> > > > 121,
> > > > > >> in _eintr_retry_call
> > > > > >>
> > > > > >>     return func(*args)
> > > > > >>
> > > > > >> KeyboardInterrupt
> > > > > >>
> > > > > >>
> > > > > >> Thanks,
> > > > > >>
> > > > > >>
> > > > > >> Xinxia
> > > > > >>
> > > > > >> ________________________________
> > > > > >> From: Julie Prestopnik via RT <met_help at ucar.edu>
> > > > > >> Sent: Friday, February 24, 2017 12:02:21 PM
> > > > > >> To: Xinxia_Song at outlook.com
> > > > > >> Subject: Re: [rt.rap.ucar.edu #79605] ImportError: No
module
> > named
> > > > > >> constants_pdef
> > > > > >>
> > > > > >> Hi Xinxia.  I suspect that even though you installed
Python 2.7
> > that
> > > > > >> Python
> > > > > >> 2.6.6 is still being used.
> > > > > >>
> > > > > >> Please try running:
> > > > > >>
> > > > > >> python --version
> > > > > >>
> > > > > >> on the command line.
> > > > > >>
> > > > > >> If you see "Python 2..6.6", please add the path for
Python 2.7
> to
> > > the
> > > > > >> front
> > > > > >> of your path in your ~/.bashrc file.  Then, source your
> ~/.bashrc
> > > file
> > > > > and
> > > > > >> try rerunning
> > > > > >>
> > > > > >> python --version
> > > > > >>
> > > > > >> on the command line.  Hopefully, then you will see the
new
> > version.
> > > > > Then,
> > > > > >> please try rerunning master_met_plus.py.
> > > > > >>
> > > > > >> I hope this helps!  Thanks!
> > > > > >>
> > > > > >> Julie
> > > > > >>
> > > > > >> On Thu, Feb 23, 2017 at 1:51 PM, Xinxia Song via RT <
> > > > met_help at ucar.edu>
> > > > > >> wrote:
> > > > > >>
> > > > > >> >
> > > > > >> > <URL:
https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=79605
> >
> > > > > >> >
> > > > > >> > Hi Julie,
> > > > > >> >
> > > > > >> >
> > > > > >> > I installed myself the 2.7 python, it still got the
error when
> > > > > running:
> > > > > >> >
> > > > > >> > Traceback (most recent call last):
> > > > > >> >
> > > > > >> >   File
"/D2/xinxia/METplus/METplus/ush/series_by_lead.py",
> line
> > > > 945,
> > > > > in
> > > > > >> > <module>
> > > > > >> >
> > > > > >> >     analysis_by_lead_time()
> > > > > >> >
> > > > > >> >   File
"/D2/xinxia/METplus/METplus/ush/series_by_lead.py",
> line
> > > > 107,
> > > > > in
> > > > > >> > analysis_by_lead_time
> > > > > >> >
> > > > > >> >     util.apply_series_filters(tile_dir, init_times,
> > > > > >> > series_lead_filtered_out_dir, p, logger)
> > > > > >> >
> > > > > >> >   File "/D2/xinxia/METplus/METplus/ush/met_util.py",
line
> 1005,
> > > in
> > > > > >> > apply_series_filters
> > > > > >> >
> > > > > >> >     tcs.tc_stat(p, logger, tc_cmd, series_output_dir)
> > > > > >> >
> > > > > >> >   File "/D2/xinxia/METplus/METplus/ush/run_tc_stat.py",
line
> > 69,
> > > in
> > > > > >> > tc_stat
> > > > > >> >
> > > > > >> >     tc_stat_out = subprocess.check_output(tc_cmd,
> > > > > >> > stderr=subprocess.STDOUT, shell=True )
> > > > > >> >
> > > > > >> > AttributeError: 'module' object has no attribute
> 'check_output'
> > > > > >> >
> > > > > >> >
> > > > > >> > Thanks,
> > > > > >> >
> > > > > >> >
> > > > > >> > Xinxia
> > > > > >> >
> > > > > >> > ________________________________
> > > > > >> > From: Julie Prestopnik via RT <met_help at ucar.edu>
> > > > > >> > Sent: Friday, February 24, 2017 9:37:53 AM
> > > > > >> > To: Xinxia_Song at outlook.com
> > > > > >> > Subject: Re: [rt.rap.ucar.edu #79605] ImportError: No
module
> > > named
> > > > > >> > constants_pdef
> > > > > >> >
> > > > > >> > Can you please tell me which version of Python you are
using?
> > > > > >> check_output
> > > > > >> > for subprocess was introduced in Python 2.7.    Do you
have
> > access
> > > > to
> > > > > >> > Python version 2.7 or higher?
> > > > > >> >
> > > > > >> > Thanks,
> > > > > >> > Julie
> > > > > >> >
> > > > > >> > On Thu, Feb 23, 2017 at 12:11 PM, Xinxia Song via RT <
> > > > > met_help at ucar.edu
> > > > > >> >
> > > > > >> > wrote:
> > > > > >> >
> > > > > >> > >
> > > > > >> > > <URL: https://rt.rap.ucar.edu/rt/
> Ticket/Display.html?id=79605
> > >
> > > > > >> > >
> > > > > >> > > Hi Julie,
> > > > > >> > >
> > > > > >> > >
> > > > > >> > > I added it to the $PATH and ran the
master_met_python.py:
> > > > > >> > >
> > > > > >> > > [xinxia at chaos ush]$ python master_met_plus.py
> > > > > >> > >
> > > > > >> > > Traceback (most recent call last):
> > > > > >> > >
> > > > > >> > >   File
"/D2/xinxia/METplus/METplus/ush/extract_tiles.py",
> > line
> > > > 157,
> > > > > >> in
> > > > > >> > > <module>
> > > > > >> > >
> > > > > >> > >     main()
> > > > > >> > >
> > > > > >> > >   File
"/D2/xinxia/METplus/METplus/ush/extract_tiles.py",
> > line
> > > > 100,
> > > > > >> in
> > > > > >> > > main
> > > > > >> > >
> > > > > >> > >     filtered_out_dir)
> > > > > >> > >
> > > > > >> > >   File
"/D2/xinxia/METplus/METplus/ush/run_tc_stat.py",
> line
> > > 69,
> > > > in
> > > > > >> > > tc_stat
> > > > > >> > >
> > > > > >> > >     tc_stat_out = subprocess.check_output(tc_cmd,
> > > > > >> > > stderr=subprocess.STDOUT, shell=True )
> > > > > >> > >
> > > > > >> > > AttributeError: 'module' object has no attribute
> > 'check_output'
> > > > > >> > >
> > > > > >> > >
> > > > > >> > > Thanks,
> > > > > >> > >
> > > > > >> > >
> > > > > >> > > Xinxia
> > > > > >> > >
> > > > > >> > > ________________________________
> > > > > >> > > From: Julie Prestopnik via RT <met_help at ucar.edu>
> > > > > >> > > Sent: Friday, February 24, 2017 9:07:40 AM
> > > > > >> > > To: Xinxia_Song at outlook.com
> > > > > >> > > Subject: Re: [rt.rap.ucar.edu #79605] ImportError: No
> module
> > > > named
> > > > > >> > > constants_pdef
> > > > > >> > >
> > > > > >> > > Unfortunately, your environment does not know where
to find
> > > > > >> > > run_tc_pairs.py.  Please try adding the directory
with
> > > > > run_tc_pairs.py
> > > > > >> > > (/D2/xinxia/METplus/METplus/ush) to your path in your
> > ~/.bashrc
> > > > > file,
> > > > > >> > then
> > > > > >> > > run "source ~/.bashrc", then trying rerunning.
Please let
> me
> > > know
> > > > > how
> > > > > >> > that
> > > > > >> > > goes.
> > > > > >> > >
> > > > > >> > > Thanks!
> > > > > >> > >
> > > > > >> > > Julie
> > > > > >> > >
> > > > > >> > > On Thu, Feb 23, 2017 at 11:55 AM, Xinxia Song via RT
<
> > > > > >> met_help at ucar.edu>
> > > > > >> > > wrote:
> > > > > >> > >
> > > > > >> > > >
> > > > > >> > > > <URL: https://rt.rap.ucar.edu/rt/
> > Ticket/Display.html?id=79605
> > > >
> > > > > >> > > >
> > > > > >> > > > Hi Julie,
> > > > > >> > > >
> > > > > >> > > >
> > > > > >> > > > I'm running met in a machine that's owned by our
> > department, I
> > > > > don't
> > > > > >> > have
> > > > > >> > > > sudo right, so when I type which run_tc_pairs.py,
it says
> > > > couldn't
> > > > > >> find
> > > > > >> > > it.
> > > > > >> > > >
> > > > > >> > > > no run_tc_pairs.py in (/opt/ncl/bin:/opt/intel-
soft/
> > > > > >> > > > bin:/opt/ncl/bin:/opt/ncl/bin:
> /opt/intel-soft/bin:/opt/ncl/
> > > > > >> > > >
bin:/home/xinxia/anaconda/bin:/home/xinxia/anaconda/bin:/
> > > > > >> > > > opt/ncl/bin:/opt/intel-
soft/bin:/opt/ncl/bin:/usr/lib64/
> > > > > >> > > > qt-
3.3/bin:/usr/local/bin:/bin:/usr/bin:/usr/local/sbin:/
> > > > > >> > > > usr/sbin:/sbin:/sbin:/usr/sbin:/cm/local/apps/
> > > > > >> > > environment-modules/3.2.10/
> > > > > >> > > > bin:/home/xinxia/bin:/opt/ncl-621/bin)
> > > > > >> > > >
> > > > > >> > > >
> > > > > >> > > > But I could find it manually in that directory.
> > > > > >> > > >
> > > > > >> > > >
> > > > > >> > > > Thanks,
> > > > > >> > > >
> > > > > >> > > >
> > > > > >> > > > Xinxia
> > > > > >> > > >
> > > > > >> > > > ________________________________
> > > > > >> > > > From: Julie Prestopnik via RT <met_help at ucar.edu>
> > > > > >> > > > Sent: Friday, February 24, 2017 8:52:16 AM
> > > > > >> > > > To: Xinxia_Song at outlook.com
> > > > > >> > > > Subject: Re: [rt.rap.ucar.edu #79605] ImportError:
No
> > module
> > > > > named
> > > > > >> > > > constants_pdef
> > > > > >> > > >
> > > > > >> > > > Hi Xinxia.
> > > > > >> > > >
> > > > > >> > > > It looks like you got a successful run of tc_stat -
that's
> > > great
> > > > > >> news!
> > > > > >> > > >
> > > > > >> > > > I'm not sure what you mean by "Because I don't have
the
> > > right, I
> > > > > >> can't
> > > > > >> > > find
> > > > > >> > > > run_tc_pairs.py, but I know it's under
> > > > > >> > > >
> > > > > >> > > > /D2/xinxia/METplus/METplus/ush".
> > > > > >> > > >
> > > > > >> > > > Can you please explain?  What happened when you ran
"which
> > > > > >> > > > run_tc_pairs.py"?
> > > > > >> > > >
> > > > > >> > > > Thanks,
> > > > > >> > > > Julie
> > > > > >> > > >
> > > > > >> > > >
> > > > > >> > > >
> > > > > >> > > >
> > > > > >> > > >
> > > > > >> > > >
> > > > > >> > > > On Thu, Feb 23, 2017 at 11:44 AM, Xinxia Song via
RT <
> > > > > >> > met_help at ucar.edu>
> > > > > >> > > > wrote:
> > > > > >> > > >
> > > > > >> > > > >
> > > > > >> > > > > <URL: https://rt.rap.ucar.edu/rt/
> > > Ticket/Display.html?id=79605
> > > > >
> > > > > >> > > > >
> > > > > >> > > > > Hi Julie,
> > > > > >> > > > >
> > > > > >> > > > >
> > > > > >> > > > > I removed the space.
> > > > > >> > > > >
> > > > > >> > > > > [xinxia at chaos parm]$ /D2/xinxia/METplus/MET/met-
5.2
> > > > /bin/tc_stat
> > > > > >> -job
> > > > > >> > > > > filter -lookin /D2/xinxia/METplus/MET/input/
> > tc_pairs/201412
> > > > > >> > -init_inc
> > > > > >> > > > > 20141201_00 -match_points true -dump_row
> > > > > >> /D2/xinxia/METplus/MET/out/
> > > > > >> > > > > extract_tiles/20141201_00/filter_20141201_00.tcst
> -basin
> > > ML
> > > > > >> > > > > -out_init_mask /D2/xinxia/METplus/MET/met-5.
> > > > > >> > > 2/share/met/poly/CONUS.poly
> > > > > >> > > > >
> > > > > >> > > > > DEBUG 1: [Source 1] Lookin:
> /D2/xinxia/METplus/MET/input/
> > > > > >> > > tc_pairs/201412
> > > > > >> > > > >
> > > > > >> > > > > DEBUG 2:
> > > > > >> > > > >
> > > > > >> > > > > DEBUG 2: Processing Job 1: -job filter -basin ML
> -init_inc
> > > > > >> > > > 20141201_000000
> > > > > >> > > > > -match_points true -out_init_mask
> > > > /D2/xinxia/METplus/MET/met-5.
> > > > > >> > > > 2/share/met/poly/CONUS.poly
> > > > > >> > > > > -dump_row /D2/xinxia/METplus/MET/out/ext
> > > > ract_tiles/20141201_00/
> > > > > >> > > > > filter_20141201_00.tcst
> > > > > >> > > > >
> > > > > >> > > > > DEBUG 1: Creating output dump file:
> > > > /D2/xinxia/METplus/MET/out/
> > > > > >> > > > > extract_tiles/20141201_00/filter_20141201_00.tcst
> > > > > >> > > > >
> > > > > >> > > > > FILTER: -job filter -basin ML -init_inc
20141201_000000
> > > > > >> -match_points
> > > > > >> > > > true
> > > > > >> > > > > -out_init_mask /D2/xinxia/METplus/MET/met-5.
> > > > > >> > > 2/share/met/poly/CONUS.poly
> > > > > >> > > > > -dump_row /D2/xinxia/METplus/MET/out/ext
> > > > ract_tiles/20141201_00/
> > > > > >> > > > > filter_20141201_00.tcst
> > > > > >> > > > >
> > > > > >> > > > >
> > > > > >> > > > > DEBUG 2: Job 1 used 0 out of 27292 lines read.
> > > > > >> > > > >
> > > > > >> > > > >
> > > > > >> > > > > Because I don't have the right, I can't find
> > > run_tc_pairs.py,
> > > > > but
> > > > > >> I
> > > > > >> > > know
> > > > > >> > > > > it's under
> > > > > >> > > > >
> > > > > >> > > > > /D2/xinxia/METplus/METplus/ush
> > > > > >> > > > >
> > > > > >> > > > >
> > > > > >> > > > > For Python,
> > > > > >> > > > >
> > > > > >> > > > > [xinxia at chaos ~]$ which python
> > > > > >> > > > >
> > > > > >> > > > > /usr/bin/python
> > > > > >> > > > >
> > > > > >> > > > >
> > > > > >> > > > > Xinxia
> > > > > >> > > > >
> > > > > >> > > > > ________________________________
> > > > > >> > > > > From: Julie Prestopnik via RT <met_help at ucar.edu>
> > > > > >> > > > > Sent: Friday, February 24, 2017 8:30:01 AM
> > > > > >> > > > > To: Xinxia_Song at outlook.com
> > > > > >> > > > > Subject: Re: [rt.rap.ucar.edu #79605]
ImportError: No
> > > module
> > > > > >> named
> > > > > >> > > > > constants_pdef
> > > > > >> > > > >
> > > > > >> > > > > Hi Xinxia.
> > > > > >> > > > >
> > > > > >> > > > > It looks like there is a space where there should
not
> be a
> > > > space
> > > > > >> > > (between
> > > > > >> > > > >
/D2/xinxia/METplus/MET/out/extract_tiles/20141201_00/
> and
> > > > > >> > > > > filter_20141201_00.tcst after the -dump_row
option).
> > > > > >> > > > >
> > > > > >> > > > > Could you please try it again without the space?
> > > > > >> > > > >
> > > > > >> > > > >
/D2/xinxia/METplus/METplus/ush/run_tc_stat.py:tc_stat
> > from
> > > > > >> calling
> > > > > >> > MET
> > > > > >> > > > > TC-STAT with command:/D2/xinxia/METplus/MET
> > > > /met-5.2/bin/tc_stat
> > > > > >> -job
> > > > > >> > > > > filter
> > > > > >> > > > > -lookin
/D2/xinxia/METplus/MET/input/tc_pairs/201412
> > > > -init_inc
> > > > > >> > > > 20141201_00
> > > > > >> > > > > -match_points true -dump_row
/D2/xinxia/METplus/MET/out/
> > > > > >> > > > > extract_tiles/20141201_00/filter_20141201_00.tcst
> -basin
> > > ML
> > > > > >> > > > > -out_init_mask
> > > > > >> > > > > /D2/xinxia/METplus/MET/met-5.
> 2/share/met/poly/CONUS.poly
> > > > > >> > > > >
> > > > > >> > > > > Regarding the master_met_plus.py run, please try
running
> > the
> > > > > >> > following
> > > > > >> > > > two
> > > > > >> > > > > commands and send me the output:
> > > > > >> > > > >
> > > > > >> > > > > which run_tc_pairs.py
> > > > > >> > > > >
> > > > > >> > > > > which python
> > > > > >> > > > >
> > > > > >> > > > > Thanks!
> > > > > >> > > > >
> > > > > >> > > > > Julie
> > > > > >> > > > >
> > > > > >> > > > > On Thu, Feb 23, 2017 at 11:06 AM, Xinxia Song via
RT <
> > > > > >> > > met_help at ucar.edu>
> > > > > >> > > > > wrote:
> > > > > >> > > > >
> > > > > >> > > > > >
> > > > > >> > > > > > <URL: https://rt.rap.ucar.edu/rt/Tic
> > > > ket/Display.html?id=79605
> > > > > >
> > > > > >> > > > > >
> > > > > >> > > > > > Hi Julie,
> > > > > >> > > > > >
> > > > > >> > > > > >
> > > > > >> > > > > > After I ran the long one line command:
> > > > > >> > > > > >
> > > > > >> > > > > > [xinxia at chaos parm]$
/D2/xinxia/METplus/MET/met-5.
> > > > > 2/bin/tc_stat
> > > > > >> > -job
> > > > > >> > > > > > filter -lookin /D2/xinxia/METplus/MET/input/
> > > tc_pairs/201412
> > > > > >> > > -init_inc
> > > > > >> > > > > > 20141201_00 -match_points true -dump_row
> > > > > >> > /D2/xinxia/METplus/MET/out/
> > > > > >> > > > > extract_tiles/20141201_00/
> > > > > >> > > > > > filter_20141201_00.tcst  -basin ML
-out_init_mask
> > > > > >> > > > > > /D2/xinxia/METplus/MET/met-5.
> > 2/share/met/poly/CONUS.poly
> > > > > >> > > > > >
> > > > > >> > > > > >
> > > > > >> > > > > > DEBUG 1: [Source 1] Lookin:
> > /D2/xinxia/METplus/MET/input/
> > > > > >> > > > tc_pairs/201412
> > > > > >> > > > > >
> > > > > >> > > > > > ERROR  :
> > > > > >> > > > > >
> > > > > >> > > > > > ERROR  : TCStatJob *TCStatJobFactory::new_tc_
> > > stat_job(const
> > > > > >> char
> > > > > >> > > > > > *jobstring) -> unsupported job command options
> > > > > >> > > > "filter_20141201_00.tcst".
> > > > > >> > > > > >
> > > > > >> > > > > > ERROR  :
> > > > > >> > > > > >
> > > > > >> > > > > >
> > > > > >> > > > > > And for the master_met_plus.py, I got the
error:
> > > > > >> > > > > >
> > > > > >> > > > > > [xinxia at chaos ush]$ python master_met_plus.py
> > > > > >> > > > > >
> > > > > >> > > > > > sh: run_tc_pairs.py: command not found
> > > > > >> > > > > >
> > > > > >> > > > > >
> > > > > >> > > > > > Thanks,
> > > > > >> > > > > >
> > > > > >> > > > > >
> > > > > >> > > > > > Xinxia
> > > > > >> > > > > >
> > > > > >> > > > > > ________________________________
> > > > > >> > > > > > From: Julie Prestopnik via RT
<met_help at ucar.edu>
> > > > > >> > > > > > Sent: Friday, February 24, 2017 7:42:21 AM
> > > > > >> > > > > > To: Xinxia_Song at outlook.com
> > > > > >> > > > > > Subject: Re: [rt.rap.ucar.edu #79605]
ImportError: No
> > > > module
> > > > > >> named
> > > > > >> > > > > > constants_pdef
> > > > > >> > > > > >
> > > > > >> > > > > > My apologies, my response should have said, "By
> default,
> > > MET
> > > > > >> > version
> > > > > >> > > > 5.2
> > > > > >> > > > > is
> > > > > >> > > > > > compiled using dynamic linking."  It's true for
both,
> > but
> > > I
> > > > > see
> > > > > >> > > you're
> > > > > >> > > > > > using 5.2 and I inadvertently referred to 5.1.
> > > > > >> > > > > >
> > > > > >> > > > > > On Thu, Feb 23, 2017 at 10:40 AM, Julie
Prestopnik <
> > > > > >> > jpresto at ucar.edu
> > > > > >> > > >
> > > > > >> > > > > > wrote:
> > > > > >> > > > > >
> > > > > >> > > > > > > Hi Xinxia.  Regarding the error:
> > > > > >> > > > > > >
> > > > > >> > > > > > > /D2/xinxia/METplus/MET/met-5.2/bin/tc_stat:
error
> > while
> > > > > >> loading
> > > > > >> > > > shared
> > > > > >> > > > > > > libraries: libgsl.so.19: cannot open shared
object
> > file:
> > > > No
> > > > > >> such
> > > > > >> > > file
> > > > > >> > > > > or
> > > > > >> > > > > > > directory
> > > > > >> > > > > > >
> > > > > >> > > > > > > By default, MET version 5.1 is compiled using
> dynamic
> > > > > linking.
> > > > > >> > > > Rather
> > > > > >> > > > > > > than compiling the external library code in
with the
> > MET
> > > > > >> > > executables
> > > > > >> > > > > > (which
> > > > > >> > > > > > > is
> > > > > >> > > > > > > called static linking), it looks for them at
> runtime.
> > > And
> > > > > >> it's
> > > > > >> > > > looking
> > > > > >> > > > > > > for those "shared object" (.so) library
files.
> > > > > >> > > > > > >
> > > > > >> > > > > > > This should be easy to fix. We just need to
tell it
> > > where
> > > > to
> > > > > >> find
> > > > > >> > > > them,
> > > > > >> > > > > > > and we do that by setting (or adding to the
> > > > > LD_LIBRARY_PATH).
> > > > > >> > Look
> > > > > >> > > > in
> > > > > >> > > > > > your
> > > > > >> > > > > > > ~/.bashrc file.  If LD_LIBRARY_PATH is
already
> defined
> > > in
> > > > > >> there,
> > > > > >> > > add
> > > > > >> > > > > the
> > > > > >> > > > > > > path to the libgsl.so.19 to the end of it.
If not,
> > add
> > > an
> > > > > >> > > > > > > LD_LIBRARY_PATH entry in your ~/.bashrc file.
So,
> for
> > > > > >> example,
> > > > > >> > if
> > > > > >> > > > the
> > > > > >> > > > > > path
> > > > > >> > > > > > > to your libgsl.so.19 file is
> > > > /D2/xinxia/METplus/MET/externa
> > > > > >> > > > > > l_libs/GSL/gsl-1.16/lib
> > > > > >> > > > > > > you would add teh following to your ~/.bashrc
file:
> > > > > >> > > > > > >
> > > > > >> > > > > > >   export LD_LIBRARY_PATH=/D2/xinxia/
> > > > > >> > METplus/MET/external_libs/GSL/
> > > > > >> > > > > > > gsl-1.16/lib
> > > > > >> > > > > > >
> > > > > >> > > > > > > Then save the change and source that file:
> > > > > >> > > > > > >
> > > > > >> > > > > > >   source ~/.bashrc
> > > > > >> > > > > > >
> > > > > >> > > > > > > Then, please try rerunning the command
manually and
> > let
> > > me
> > > > > >> know
> > > > > >> > if
> > > > > >> > > it
> > > > > >> > > > > > > works.
> > > > > >> > > > > > >
> > > > > >> > > > > > > I believe that this was the cause of the
initial
> error
> > > you
> > > > > >> > received
> > > > > >> > > > > from
> > > > > >> > > > > > > MET+:
> > > > > >> > > > > > >
> > > > > >> > > > > > > ERROR| /D2/xinxia/METplus/METplus/
> > > > > ush/run_tc_stat.py:tc_stat
> > > > > >> > from
> > > > > >> > > > > > calling
> > > > > >> > > > > > > MET TC-STAT with command:/D2/xinxia/METplus/
> > > > > >> > > MET/met-5.2/bin/tc_stat
> > > > > >> > > > > -job
> > > > > >> > > > > > > filter -lookin /D2/xinxia/METplus/MET/input/t
> > > > c_pairs/201412
> > > > > >> > > > -init_inc
> > > > > >> > > > > > > 20141201_00 -match_points true -dump_row
> > > > > >> > > > /D2/xinxia/METplus/MET/out/ext
> > > > > >> > > > > > >
ract_tiles/20141201_00/filter_20141201_00.tcst
> > -basin
> > > ML
> > > > > >> > > > > -out_init_mask
> > > > > >> > > > > > > /D2/xinxia/METplus/MET/met-5.
> > > 2/share/met/poly/CONUS.poly
> > > > > >> > > > > > >
> > > > > >> > > > > > >
> > > > > >> > > > > > > Thanks,
> > > > > >> > > > > > > Julie
> > > > > >> > > > > > >
> > > > > >> > > > > > > On Thu, Feb 23, 2017 at 10:14 AM, Xinxia Song
via
> RT <
> > > > > >> > > > > met_help at ucar.edu>
> > > > > >> > > > > > > wrote:
> > > > > >> > > > > > >
> > > > > >> > > > > > >>
> > > > > >> > > > > > >> <URL: https://rt.rap.ucar.edu/rt/Tic
> > > > > >> ket/Display.html?id=79605 >
> > > > > >> > > > > > >>
> > > > > >> > > > > > >> Hi Julie,
> > > > > >> > > > > > >>
> > > > > >> > > > > > >>
> > > > > >> > > > > > >> [xinxia at chaos ush]$
/D2/xinxia/METplus/MET/met-5.2
> > > > > >> /bin/tc_stat
> > > > > >> > > -job
> > > > > >> > > > > > >> filter -lookin /D2/xinxia/METplus/MET/input/
> > > > > tc_pairs/201412
> > > > > >> > > > -init_inc
> > > > > >> > > > > > >> 20141201_00 -match_points true -dump_row
> > > > > >> > > > > /D2/xinxia/METplus/MET/out/ext
> > > > > >> > > > > > ract_tiles/20141201_00/
> > > > > >> > > > > > >> filter_20141201_00.tcst  -basin ML
-out_init_mask
> > > > > >> > > > > > >> /D2/xinxia/METplus/MET/met-5.
> > > 2/share/met/poly/CONUS.poly
> > > > > >> > > > > > >>
> > > > > >> > > > > > >> /D2/xinxia/METplus/MET/met-5.2/bin/tc_stat:
error
> > > while
> > > > > >> loading
> > > > > >> > > > > shared
> > > > > >> > > > > > >> libraries: libgsl.so.19: cannot open shared
object
> > > file:
> > > > No
> > > > > >> such
> > > > > >> > > > file
> > > > > >> > > > > or
> > > > > >> > > > > > >> directory
> > > > > >> > > > > > >>
> > > > > >> > > > > > >>
> > > > > >> > > > > > >> And I uploaded the configuration file
> > > (constants_pdef.py)
> > > > > >> under
> > > > > >> > > > > > >> xinxia_data directory.
> > > > > >> > > > > > >>
> > > > > >> > > > > > >>
> > > > > >> > > > > > >> Thanks,
> > > > > >> > > > > > >>
> > > > > >> > > > > > >>
> > > > > >> > > > > > >> Xinxia
> > > > > >> > > > > > >>
> > > > > >> > > > > > >> ________________________________
> > > > > >> > > > > > >> From: Julie Prestopnik via RT
<met_help at ucar.edu>
> > > > > >> > > > > > >> Sent: Friday, February 24, 2017 6:15:57 AM
> > > > > >> > > > > > >> To: Xinxia_Song at outlook.com
> > > > > >> > > > > > >> Subject: Re: [rt.rap.ucar.edu #79605]
ImportError:
> > No
> > > > > module
> > > > > >> > > named
> > > > > >> > > > > > >> constants_pdef
> > > > > >> > > > > > >>
> > > > > >> > > > > > >> Hi Xinxia.
> > > > > >> > > > > > >>
> > > > > >> > > > > > >> I can see that your command, which should
have been
> > all
> > > > on
> > > > > >> one
> > > > > >> > > line,
> > > > > >> > > > > was
> > > > > >> > > > > > >> broken up into several lines.  Please try
running
> the
> > > > > command
> > > > > >> > > again,
> > > > > >> > > > > > >> making
> > > > > >> > > > > > >> sure that the entire command is on one line:
> > > > > >> > > > > > >>
> > > > > >> > > > > > >> /D2/xinxia/METplus/MET/met-5.2/bin/tc_stat
-job
> > filter
> > > > > >> -lookin
> > > > > >> > > > > > >> /D2/xinxia/METplus/MET/input/tc_pairs/201412
> > -init_inc
> > > > > >> > > 20141201_00
> > > > > >> > > > > > >> -match_points true -dump_row
> > > > > >> > > > > > >> /D2/xinxia/METplus/MET/out/
> > extract_tiles/20141201_00/
> > > > > >> > > > > > >> filter_20141201_00.tcst  -basin ML
-out_init_mask
> > > > > >> > > > > > >> /D2/xinxia/METplus/MET/met-5.
> > > 2/share/met/poly/CONUS.poly
> > > > > >> > > > > > >>
> > > > > >> > > > > > >> Then, please send the output from that
command.
> > > > > >> > > > > > >>
> > > > > >> > > > > > >> Regarding, your error:
> > > > > >> > > > > > >>
> > > > > >> > > > > > >> sh: run_tc_pairs.py: command not found
> > > > > >> > > > > > >>
> > > > > >> > > > > > >> It's strange that would only have occurred
after
> > having
> > > > > >> changed
> > > > > >> > > the
> > > > > >> > > > > > >> LOG_LEVEL.  Could you please send us your
> > configuration
> > > > > file?
> > > > > >> > > > > > >>
> > > > > >> > > > > > >> Thanks!
> > > > > >> > > > > > >>
> > > > > >> > > > > > >> Julie
> > > > > >> > > > > > >>
> > > > > >> > > > > > >> On Wed, Feb 22, 2017 at 2:54 PM, Xinxia Song
via
> RT <
> > > > > >> > > > > met_help at ucar.edu>
> > > > > >> > > > > > >> wrote:
> > > > > >> > > > > > >>
> > > > > >> > > > > > >> >
> > > > > >> > > > > > >> > <URL: https://rt.rap.ucar.edu/rt/Tic
> > > > > >> ket/Display.html?id=79605
> > > > > >> > >
> > > > > >> > > > > > >> >
> > > > > >> > > > > > >> > Hi Julie,
> > > > > >> > > > > > >> >
> > > > > >> > > > > > >> >
> > > > > >> > > > > > >> > [xinxia at chaos ush]$
> /D2/xinxia/METplus/MET/met-5.
> > > > > >> > 2/bin/tc_stat
> > > > > >> > > > -job
> > > > > >> > > > > > >> > filter -lookin
> > > > > >> > > > > > >> >
> > > > > >> > > > > > >> > /D2/xinxia/METplus/MET/met-
5.2/bin/tc_stat:
> error
> > > > while
> > > > > >> > loading
> > > > > >> > > > > > shared
> > > > > >> > > > > > >> > libraries: libgsl.so.19: cannot open
shared
> object
> > > > file:
> > > > > No
> > > > > >> > such
> > > > > >> > > > > file
> > > > > >> > > > > > or
> > > > > >> > > > > > >> > directory
> > > > > >> > > > > > >> >
> > > > > >> > > > > > >> >
> > > > > >> > > > > > >> > [xinxia at chaos ush]$
> /D2/xinxia/METplus/MET/input/
> > > > > >> > > tc_pairs/201412
> > > > > >> > > > > > >> > -init_inc 20141201_00 -match_points true
> -dump_row
> > > > > >> > > > > > >> >
> > > > > >> > > > > > >> > -bash: /D2/xinxia/METplus/MET/input/
> > tc_pairs/201412:
> > > > is
> > > > > a
> > > > > >> > > > directory
> > > > > >> > > > > > >> >
> > > > > >> > > > > > >> >
> > > > > >> > > > > > >> > [xinxia at chaos ush]$
> /D2/xinxia/METplus/MET/out/ext
> > > > > >> > > > > > >> ract_tiles/20141201_00/
> > > > > >> > > > > > >> > filter_20141201_00.tcst  -basin ML
-out_init_mask
> > > > > >> > > > > > >> > /D2/xinxia/METplus/MET/met-5.2
> > > > /share/met/poly/CONUS.poly
> > > > > >> > > > > > >> >
> > > > > >> > > > > > >> > -bash: /D2/xinxia/METplus/MET/out/ext
> > > > > >> ract_tiles/20141201_00/:
> > > > > >> > > No
> > > > > >> > > > > such
> > > > > >> > > > > > >> > file or directory
> > > > > >> > > > > > >> >
> > > > > >> > > > > > >> >
> > > > > >> > > > > > >> > After I change the LOG_LEVEL, I ran the
> > > > > >> master_met_plus.py, it
> > > > > >> > > > says:
> > > > > >> > > > > > >> >
> > > > > >> > > > > > >> > [xinxia at chaos ush]$ python
master_met_plus.py
> > > > > >> > > > > > >> >
> > > > > >> > > > > > >> > sh: run_tc_pairs.py: command not found
> > > > > >> > > > > > >> >
> > > > > >> > > > > > >> >
> > > > > >> > > > > > >> >
> > > > > >> > > > > > >> > Thanks,
> > > > > >> > > > > > >> >
> > > > > >> > > > > > >> >
> > > > > >> > > > > > >> > Xinxia
> > > > > >> > > > > > >> >
> > > > > >> > > > > > >> >
> > > > > >> > > > > > >> > ________________________________
> > > > > >> > > > > > >> > From: Julie Prestopnik via RT
<met_help at ucar.edu
> >
> > > > > >> > > > > > >> > Sent: Thursday, February 23, 2017 10:04:55
AM
> > > > > >> > > > > > >> > To: Xinxia_Song at outlook.com
> > > > > >> > > > > > >> > Subject: Re: [rt.rap.ucar.edu #79605]
> ImportError:
> > > No
> > > > > >> module
> > > > > >> > > > named
> > > > > >> > > > > > >> > constants_pdef
> > > > > >> > > > > > >> >
> > > > > >> > > > > > >> > Thank you.  Unfortunately, the level of
detail in
> > the
> > > > log
> > > > > >> file
> > > > > >> > > > > wasn't
> > > > > >> > > > > > >> what
> > > > > >> > > > > > >> > I hoped for.  I'd like to have you try two
> things.
> > > > > >> > > > > > >> >
> > > > > >> > > > > > >> > First, could you please send me your
output of
> your
> > > > > manual
> > > > > >> run
> > > > > >> > > of
> > > > > >> > > > > the
> > > > > >> > > > > > >> > following?
> > > > > >> > > > > > >> >
> > > > > >> > > > > > >> > "/D2/xinxia/METplus/MET/met-
5.2/bin/tc_stat -job
> > > > filter
> > > > > >> > -lookin
> > > > > >> > > > > > >> >
/D2/xinxia/METplus/MET/input/tc_pairs/201412
> > > -init_inc
> > > > > >> > > > 20141201_00
> > > > > >> > > > > > >> > -match_points true -dump_row
> > > > /D2/xinxia/METplus/MET/out/
> > > > > >> > > > > > >> > extract_tiles/20141201_00/
> filter_20141201_00.tcst
> > > > > -basin
> > > > > >> ML
> > > > > >> > > > > > >> > -out_init_mask
> > > > > >> > > > > > >> > /D2/xinxia/METplus/MET/met-5.
> > > > > 2/share/met/poly/CONUS.poly"
> > > > > >> > > > > > >> >
> > > > > >> > > > > > >> > Second, could you please change your log
level in
> > > your
> > > > > >> > > > configuration
> > > > > >> > > > > > >> file
> > > > > >> > > > > > >> > from
> > > > > >> > > > > > >> >
> > > > > >> > > > > > >> > LOG_LEVEL = "INFO"
> > > > > >> > > > > > >> >
> > > > > >> > > > > > >> > to
> > > > > >> > > > > > >> >
> > > > > >> > > > > > >> > LOG_LEVEL = "DEBUG"
> > > > > >> > > > > > >> >
> > > > > >> > > > > > >> > then rerun and upload your log file to our
ftp
> > server
> > > > > >> again?
> > > > > >> > > > > > >> >
> > > > > >> > > > > > >> > Thank you!
> > > > > >> > > > > > >> >
> > > > > >> > > > > > >> > Julie
> > > > > >> > > > > > >> >
> > > > > >> > > > > > >> >
> > > > > >> > > > > > >> > On Wed, Feb 22, 2017 at 12:39 PM, Xinxia
Song via
> > RT
> > > <
> > > > > >> > > > > > met_help at ucar.edu
> > > > > >> > > > > > >> >
> > > > > >> > > > > > >> > wrote:
> > > > > >> > > > > > >> >
> > > > > >> > > > > > >> > >
> > > > > >> > > > > > >> > > <URL: https://rt.rap.ucar.edu/rt/
> > > > > >> > Ticket/Display.html?id=79605
> > > > > >> > > >
> > > > > >> > > > > > >> > >
> > > > > >> > > > > > >> > > Hi Julie,
> > > > > >> > > > > > >> > >
> > > > > >> > > > > > >> > >
> > > > > >> > > > > > >> > > I uploaded the log file under
xinxia_data
> > > directory.
> > > > > >> > > > > > >> > >
> > > > > >> > > > > > >> > >
> > > > > >> > > > > > >> > > Thanks,
> > > > > >> > > > > > >> > >
> > > > > >> > > > > > >> > >
> > > > > >> > > > > > >> > > Xinxia
> > > > > >> > > > > > >> > >
> > > > > >> > > > > > >> > >
> > > > > >> > > > > > >> > > ________________________________
> > > > > >> > > > > > >> > > From: Julie Prestopnik via RT <
> met_help at ucar.edu
> > >
> > > > > >> > > > > > >> > > Sent: Thursday, February 23, 2017
9:11:32 AM
> > > > > >> > > > > > >> > > To: Xinxia_Song at outlook.com
> > > > > >> > > > > > >> > > Subject: Re: [rt.rap.ucar.edu #79605]
> > ImportError:
> > > > No
> > > > > >> > module
> > > > > >> > > > > named
> > > > > >> > > > > > >> > > constants_pdef
> > > > > >> > > > > > >> > >
> > > > > >> > > > > > >> > > Hi Xinxia.
> > > > > >> > > > > > >> > >
> > > > > >> > > > > > >> > > I think it would be helpful if I could
take a
> > look
> > > at
> > > > > the
> > > > > >> > log
> > > > > >> > > > > file.
> > > > > >> > > > > > >> > Could
> > > > > >> > > > > > >> > > you please upload your file to our
anonymous
> ftp
> > > site
> > > > > as
> > > > > >> > > follows
> > > > > >> > > > > so
> > > > > >> > > > > > >> that
> > > > > >> > > > > > >> > I
> > > > > >> > > > > > >> > > can take a look?
> > > > > >> > > > > > >> > >
> > > > > >> > > > > > >> > >    http://www.dtcenter.org/met/
> > > > > >> > users/support/met_help.php#ftp
> > > > > >> > > > > > >> > >
> > > > > >> > > > > > >> > > Also, could you please try running the
> following
> > > > > manually
> > > > > >> > and
> > > > > >> > > > send
> > > > > >> > > > > > the
> > > > > >> > > > > > >> > > output to me?
> > > > > >> > > > > > >> > >
> > > > > >> > > > > > >> > > "/D2/xinxia/METplus/MET/met-
5.2/bin/tc_stat
> -job
> > > > > filter
> > > > > >> > > -lookin
> > > > > >> > > > > > >> > >
/D2/xinxia/METplus/MET/input/tc_pairs/201412
> > > > -init_inc
> > > > > >> > > > > 20141201_00
> > > > > >> > > > > > >> > > -match_points true -dump_row
> > > > > /D2/xinxia/METplus/MET/out/
> > > > > >> > > > > > >> > > extract_tiles/20141201_00/
> > filter_20141201_00.tcst
> > > > > >> -basin
> > > > > >> > ML
> > > > > >> > > > > > >> > > -out_init_mask
> > > > > >> > > > > > >> > > /D2/xinxia/METplus/MET/met-5.2
> > > > > >> /share/met/poly/CONUS.poly"
> > > > > >> > > > > > >> > >
> > > > > >> > > > > > >> > > Thank you!
> > > > > >> > > > > > >> > >
> > > > > >> > > > > > >> > > Julie
> > > > > >> > > > > > >> > >
> > > > > >> > > > > > >> > >
> > > > > >> > > > > > >> > >
> > > > > >> > > > > > >> > > On Wed, Feb 22, 2017 at 12:06 PM, Xinxia
Song
> via
> > > RT
> > > > <
> > > > > >> > > > > > >> met_help at ucar.edu>
> > > > > >> > > > > > >> > > wrote:
> > > > > >> > > > > > >> > >
> > > > > >> > > > > > >> > > >
> > > > > >> > > > > > >> > > > <URL: https://rt.rap.ucar.edu/rt/
> > > > > >> > > Ticket/Display.html?id=79605
> > > > > >> > > > >
> > > > > >> > > > > > >> > > >
> > > > > >> > > > > > >> > > > Hi Julie,
> > > > > >> > > > > > >> > > >
> > > > > >> > > > > > >> > > >
> > > > > >> > > > > > >> > > > Now I can run the program, but when I
look at
> > the
> > > > log
> > > > > >> file
> > > > > >> > > in
> > > > > >> > > > > the
> > > > > >> > > > > > >> > output,
> > > > > >> > > > > > >> > > > it shows error below:
> > > > > >> > > > > > >> > > >
> > > > > >> > > > > > >> > > >
> > > > > >> > > > > > >> > > > ERROR| /D2/xinxia/METplus/METplus/
> > > > > >> > > ush/run_tc_stat.py:tc_stat
> > > > > >> > > > > from
> > > > > >> > > > > > >> > > calling
> > > > > >> > > > > > >> > > > MET TC-STAT with
> command:/D2/xinxia/METplus/MET
> > > > > >> > > > > > /met-5.2/bin/tc_stat
> > > > > >> > > > > > >> > -job
> > > > > >> > > > > > >> > > > filter -lookin
/D2/xinxia/METplus/MET/input/
> > > > > >> > tc_pairs/201412
> > > > > >> > > > > > >> -init_inc
> > > > > >> > > > > > >> > > > 20141201_00 -match_points true
-dump_row
> > > > > >> > > > > > /D2/xinxia/METplus/MET/out/
> > > > > >> > > > > > >> > > > extract_tiles/20141201_00/
> > > filter_20141201_00.tcst
> > > > > >> -basin
> > > > > >> > > ML
> > > > > >> > > > > > >> > > > -out_init_mask
/D2/xinxia/METplus/MET/met-5.
> > > > > >> > > > > > >> > 2/share/met/poly/CONUS.poly
> > > > > >> > > > > > >> > > >
> > > > > >> > > > > > >> > > >
> > > > > >> > > > > > >> > > > How should I fix it?
> > > > > >> > > > > > >> > > >
> > > > > >> > > > > > >> > > >
> > > > > >> > > > > > >> > > > Thanks,
> > > > > >> > > > > > >> > > >
> > > > > >> > > > > > >> > > >
> > > > > >> > > > > > >> > > > Xinxia
> > > > > >> > > > > > >> > > >
> > > > > >> > > > > > >> > > > ________________________________
> > > > > >> > > > > > >> > > > From: Julie Prestopnik via RT <
> > met_help at ucar.edu
> > > >
> > > > > >> > > > > > >> > > > Sent: Thursday, February 23, 2017
7:30:06 AM
> > > > > >> > > > > > >> > > > To: Xinxia_Song at outlook.com
> > > > > >> > > > > > >> > > > Subject: Re: [rt.rap.ucar.edu #79605]
> > > ImportError:
> > > > > No
> > > > > >> > > module
> > > > > >> > > > > > named
> > > > > >> > > > > > >> > > > constants_pdef
> > > > > >> > > > > > >> > > >
> > > > > >> > > > > > >> > > > Hi Xinxia.
> > > > > >> > > > > > >> > > >
> > > > > >> > > > > > >> > > > I believe that python doesn't know how
to
> find
> > > the
> > > > > >> module
> > > > > >> > > > > because
> > > > > >> > > > > > >> the
> > > > > >> > > > > > >> > ush
> > > > > >> > > > > > >> > > > directory is not in your PYTHONPATH.
Both
> the
> > > parm
> > > > > and
> > > > > >> > ush
> > > > > >> > > > > > >> directory
> > > > > >> > > > > > >> > > need
> > > > > >> > > > > > >> > > > to be specified in your PYTHONPATH.
Please
> add
> > > the
> > > > > ush
> > > > > >> > > > > directory
> > > > > >> > > > > > to
> > > > > >> > > > > > >> > your
> > > > > >> > > > > > >> > > > PYTHONPATH, source ~/.bashrc, and let
us know
> > how
> > > > it
> > > > > >> goes.
> > > > > >> > > > > > >> > > >
> > > > > >> > > > > > >> > > > Thanks,
> > > > > >> > > > > > >> > > > Julie
> > > > > >> > > > > > >> > > >
> > > > > >> > > > > > >> > > > On Wed, Feb 22, 2017 at 10:24 AM,
Xinxia Song
> > via
> > > > RT
> > > > > <
> > > > > >> > > > > > >> > met_help at ucar.edu>
> > > > > >> > > > > > >> > > > wrote:
> > > > > >> > > > > > >> > > >
> > > > > >> > > > > > >> > > > >
> > > > > >> > > > > > >> > > > > <URL: https://rt.rap.ucar.edu/rt/
> > > > > >> > > > Ticket/Display.html?id=79605
> > > > > >> > > > > >
> > > > > >> > > > > > >> > > > >
> > > > > >> > > > > > >> > > > > Hi Julie,
> > > > > >> > > > > > >> > > > >
> > > > > >> > > > > > >> > > > >
> > > > > >> > > > > > >> > > > > Since I don't have setenv, I added
these 3
> > > > sentence
> > > > > >> into
> > > > > >> > > my
> > > > > >> > > > > > >> .bashrc
> > > > > >> > > > > > >> > > file:
> > > > > >> > > > > > >> > > > >
> > > > > >> > > > > > >> > > > >
> > > > > >> > > > > > >> > > > > export PYTHONPATH="/D2/xinxia/
> > > > > METplus/METplus/parm"
> > > > > >> > > > > > >> > > > >
> > > > > >> > > > > > >> > > > >
> > > > > >> > > > > > >> > > > > export USHROOT=/D2/xinxia/METplus/
> > METplus/ush
> > > > > >> > > > > > >> > > > >
> > > > > >> > > > > > >> > > > > export PATH=$USHROOT:$PATH
> > > > > >> > > > > > >> > > > >
> > > > > >> > > > > > >> > > > >
> > > > > >> > > > > > >> > > > > I sourced the ~/.bashrc, and checked
that
> the
> > > > > >> variables
> > > > > >> > > are
> > > > > >> > > > > set,
> > > > > >> > > > > > >> but
> > > > > >> > > > > > >> > > the
> > > > > >> > > > > > >> > > > > program still can't find the module.
> > > > > >> > > > > > >> > > > >
> > > > > >> > > > > > >> > > > >
> > > > > >> > > > > > >> > > > > Thanks,
> > > > > >> > > > > > >> > > > >
> > > > > >> > > > > > >> > > > > Xinxia
> > > > > >> > > > > > >> > > > >
> > > > > >> > > > > > >> > > > > ________________________________
> > > > > >> > > > > > >> > > > > From: Julie Prestopnik via RT <
> > > met_help at ucar.edu
> > > > >
> > > > > >> > > > > > >> > > > > Sent: Thursday, February 23, 2017
6:24:21
> AM
> > > > > >> > > > > > >> > > > > To: Xinxia_Song at outlook.com
> > > > > >> > > > > > >> > > > > Subject: Re: [rt.rap.ucar.edu
#79605]
> > > > ImportError:
> > > > > >> No
> > > > > >> > > > module
> > > > > >> > > > > > >> named
> > > > > >> > > > > > >> > > > > constants_pdef
> > > > > >> > > > > > >> > > > >
> > > > > >> > > > > > >> > > > > Hi Xinxia.
> > > > > >> > > > > > >> > > > >
> > > > > >> > > > > > >> > > > > Could you please check to make sure
that
> the
> > > ush
> > > > > >> > directory
> > > > > >> > > > > with
> > > > > >> > > > > > >> > > > > constants_pdef.py is in your
PYTHONPATH in
> > your
> > > > > >> .cshrc
> > > > > >> > > file
> > > > > >> > > > > (or
> > > > > >> > > > > > >> > .bashrc
> > > > > >> > > > > > >> > > > or
> > > > > >> > > > > > >> > > > > similar file)?  The parm directory
should
> > also
> > > be
> > > > > in
> > > > > >> > your
> > > > > >> > > > > > >> PYTHONPATH.
> > > > > >> > > > > > >> > > > >
> > > > > >> > > > > > >> > > > > For example,
> > > > > >> > > > > > >> > > > >
> > > > > >> > > > > > >> > > > > setenv PYTHONPATH
> > /d1/jpresto/sbu/METplus/ush:/
> > > > > >> > > > > > >> > > > d1/jpresto/sbu/METplus/parm
> > > > > >> > > > > > >> > > > >
> > > > > >> > > > > > >> > > > > Please also check make sure that the
path
> to
> > > the
> > > > > ush
> > > > > >> > > > directory
> > > > > >> > > > > > is
> > > > > >> > > > > > >> > also
> > > > > >> > > > > > >> > > > > specified your your path environment
> > variable.
> > > > For
> > > > > >> > > example,
> > > > > >> > > > > > >> > > > >
> > > > > >> > > > > > >> > > > > set path = (/usr/local/bin \
> > > > > >> > > > > > >> > > > >
> > /usr/local/python/bin/python \
> > > > > >> > > > > > >> > > > >
> /d1/jpresto/sbu/METplus/ush
> > )
> > > > > >> > > > > > >> > > > >
> > > > > >> > > > > > >> > > > > If they are not there, please add
them and
> > then
> > > > > >> source
> > > > > >> > the
> > > > > >> > > > > file
> > > > > >> > > > > > >> (e.g.
> > > > > >> > > > > > >> > > run
> > > > > >> > > > > > >> > > > > "source ~/.cshrc").
> > > > > >> > > > > > >> > > > >
> > > > > >> > > > > > >> > > > > Thank you!  Please let us know how
it goes.
> > > > > >> > > > > > >> > > > >
> > > > > >> > > > > > >> > > > > Julie
> > > > > >> > > > > > >> > > > >
> > > > > >> > > > > > >> > > > >
> > > > > >> > > > > > >> > > > >
> > > > > >> > > > > > >> > > > >
> > > > > >> > > > > > >> > > > > On Tue, Feb 21, 2017 at 4:49 PM,
Xinxia
> Song
> > > via
> > > > > RT <
> > > > > >> > > > > > >> > met_help at ucar.edu
> > > > > >> > > > > > >> > > >
> > > > > >> > > > > > >> > > > > wrote:
> > > > > >> > > > > > >> > > > >
> > > > > >> > > > > > >> > > > > >
> > > > > >> > > > > > >> > > > > > Tue Feb 21 16:49:28 2017: Request
79605
> was
> > > > acted
> > > > > >> > upon.
> > > > > >> > > > > > >> > > > > > Transaction: Ticket created by
> > > > > >> > Xinxia_Song at outlook.com
> > > > > >> > > > > > >> > > > > >        Queue: met_help
> > > > > >> > > > > > >> > > > > >      Subject: ImportError: No
module
> named
> > > > > >> > > constants_pdef
> > > > > >> > > > > > >> > > > > >        Owner: Nobody
> > > > > >> > > > > > >> > > > > >   Requestors:
Xinxia_Song at outlook.com
> > > > > >> > > > > > >> > > > > >       Status: new
> > > > > >> > > > > > >> > > > > >  Ticket <URL:
> https://rt.rap.ucar.edu/rt/
> > > > > >> > > > > > >> > > Ticket/Display.html?id=79605
> > > > > >> > > > > > >> > > > >
> > > > > >> > > > > > >> > > > > >
> > > > > >> > > > > > >> > > > > >
> > > > > >> > > > > > >> > > > > > Hi,
> > > > > >> > > > > > >> > > > > >
> > > > > >> > > > > > >> > > > > >
> > > > > >> > > > > > >> > > > > > When I ran the mater_met_plus.py,
it
> says:
> > > > > >> > > > > > >> > > > > >
> > > > > >> > > > > > >> > > > > >
> > > > > >> > > > > > >> > > > > > ImportError: No module named
> constants_pdef
> > > > > >> > > > > > >> > > > > >
> > > > > >> > > > > > >> > > > > >
> > > > > >> > > > > > >> > > > > > Seems it doesn't recognize
constants_pdef
> > as
> > > > its
> > > > > >> > module.
> > > > > >> > > > > > >> > > > > >
> > > > > >> > > > > > >> > > > > >
> > > > > >> > > > > > >> > > > > > Thanks,
> > > > > >> > > > > > >> > > > > >
> > > > > >> > > > > > >> > > > > > Xinxia
> > > > > >> > > > > > >> > > > > >
> > > > > >> > > > > > >> > > > > >
> > > > > >> > > > > > >> > > > >
> > > > > >> > > > > > >> > > > >
> > > > > >> > > > > > >> > > > >
> > > > > >> > > > > > >> > > >
> > > > > >> > > > > > >> > > >
> > > > > >> > > > > > >> > > >
> > > > > >> > > > > > >> > >
> > > > > >> > > > > > >> > >
> > > > > >> > > > > > >> > >
> > > > > >> > > > > > >> >
> > > > > >> > > > > > >> >
> > > > > >> > > > > > >> >
> > > > > >> > > > > > >>
> > > > > >> > > > > > >>
> > > > > >> > > > > > >>
> > > > > >> > > > > > >
> > > > > >> > > > > >
> > > > > >> > > > > >
> > > > > >> > > > > >
> > > > > >> > > > >
> > > > > >> > > > >
> > > > > >> > > > >
> > > > > >> > > >
> > > > > >> > > >
> > > > > >> > > >
> > > > > >> > >
> > > > > >> > >
> > > > > >> > >
> > > > > >> >
> > > > > >> >
> > > > > >> >
> > > > > >>
> > > > > >>
> > > > > >>
> > > > > >
> > > > >
> > > > >
> > > > >
> > > >
> > > >
> > > >
> > >
> > >
> > >
> >
> >
> >
>
>
>


------------------------------------------------
Subject: ImportError: No module named constants_pdef
From: Julie Prestopnik
Time: Tue Feb 28 12:11:18 2017

Hi Xinxia.  Did you run series_by_lead.py on its own or via
master_met_plus.py?

Thanks,
Julie

On Tue, Feb 28, 2017 at 11:11 AM, Xinxia Song via RT
<met_help at ucar.edu>
wrote:

>
> <URL: https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=79605 >
>
> Hi Julie,
>
>
> I checked it's 2.7.13. It seems the error doesn't coming from it.
>
>
> Thanks,
>
>
> Xinxia
>
>
> ________________________________
> From: Julie Prestopnik via RT <met_help at ucar.edu>
> Sent: Tuesday, February 28, 2017 10:49:29 AM
> To: Xinxia_Song at outlook.com
> Subject: Re: [rt.rap.ucar.edu #79605] ImportError: No module named
> constants_pdef
>
> I think perhaps your environment is using Python 2.6 again.
>
> Please try running:
>
> python --version
>
> on the command line.
>
> If you see "Python 2..6.6", please add the path for Python 2.7 to
the front
> of your path in your ~/.bashrc file.  Then, source your ~/.bashrc
file and
> try rerunning
>
> python --version
>
> on the command line.  Hopefully, then you will see the new version.
Then,
> please try rerunning master_met_plus.py.
>
> I hope this helps!  Thanks!
>
> Julie
>
> On Mon, Feb 27, 2017 at 8:14 PM, Xinxia Song via RT
<met_help at ucar.edu>
> wrote:
>
> >
> > <URL: https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=79605 >
> >
> > Hi Julie,
> >
> >
> > after I update the NCAP2 path in constants_pdef.py and ran the
> > master_met_plus.py, I got the error:
> >
> > 2017-02-28 02:49:40,659 : ERROR | [master_met_plus.py:main] |
Problem
> > executing: series_by_lead.py
> >
> > and message:
> >
> > Traceback (most recent call last):
> >
> >   File "/D2/xinxia/METplus/METplus/ush/series_by_lead.py", line
945, in
> > <module>
> >
> >     analysis_by_lead_time()
> >
> >   File "/D2/xinxia/METplus/METplus/ush/series_by_lead.py", line
107, in
> > analysis_by_lead_time
> >
> >     util.apply_series_filters(tile_dir, init_times,
> > series_lead_filtered_out_dir, p, logger)
> >
> >   File "/D2/xinxia/METplus/METplus/ush/met_util.py", line 1005, in
> > apply_series_filters
> >
> >     tcs.tc_stat(p, logger, tc_cmd, series_output_dir)
> >
> >   File "/D2/xinxia/METplus/METplus/ush/run_tc_stat.py", line 69,
in
> > tc_stat
> >
> >     tc_stat_out = subprocess.check_output(tc_cmd,
> > stderr=subprocess.STDOUT, shell=True )
> >
> > AttributeError: 'module' object has no attribute 'check_output'
> >
> >
> > Thanks,
> >
> >
> > Xinxia
> >
> > ________________________________
> > From: Julie Prestopnik via RT <met_help at ucar.edu>
> > Sent: Monday, February 27, 2017 5:15:59 PM
> > To: Xinxia_Song at outlook.com
> > Subject: Re: [rt.rap.ucar.edu #79605] ImportError: No module named
> > constants_pdef
> >
> > Please install ncap2 and update the location to the executable in
the
> > NCAP2_EXE field of the constants_pdef.py file and trying rerunning
the
> MET+
> > code.  Please let us know how it goes.
> >
> > Thanks,
> > Julie
> >
> > On Mon, Feb 27, 2017 at 3:10 PM, Xinxia Song via RT
<met_help at ucar.edu>
> > wrote:
> >
> > >
> > > <URL: https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=79605 >
> > >
> > > Hi Julie,
> > >
> > >
> > > The result is :
> > >
> > > -bash: /usr/local/nco/bin/ncap2: No such file or directory
> > >
> > > I think we don't have it installed.
> > >
> > >
> > > Thanks,
> > >
> > > Xinxia
> > >
> > > ________________________________
> > > From: Julie Prestopnik via RT <met_help at ucar.edu>
> > > Sent: Monday, February 27, 2017 5:08:48 PM
> > > To: Xinxia_Song at outlook.com
> > > Subject: Re: [rt.rap.ucar.edu #79605] ImportError: No module
named
> > > constants_pdef
> > >
> > > Hi Xinxia. I believe that error code refers to "Command not
found".
> Can
> > > you please run the following and send me the output?
> > >
> > > /usr/local/nco/bin/ncap2 --version
> > >
> > > Thanks!
> > >
> > > Julie
> > >
> > >
> > > On Mon, Feb 27, 2017 at 2:55 PM, Xinxia Song via RT
<met_help at ucar.edu
> >
> > > wrote:
> > >
> > > >
> > > > <URL: https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=79605
>
> > > >
> > > > Hi Julie,
> > > >
> > > >
> > > > The error is:
> > > >
> > > > Traceback (most recent call last):
> > > >
> > > >   File "series_by_lead.py", line 945, in <module>
> > > >
> > > >     analysis_by_lead_time()
> > > >
> > > >   File "series_by_lead.py", line 326, in analysis_by_lead_time
> > > >
> > > >     vmin, vmax = get_netcdf_min_max(nc_var_list, cur_stat, p,
> logger)
> > > >
> > > >   File "series_by_lead.py", line 605, in get_netcdf_min_max
> > > >
> > > >     shell=True)
> > > >
> > > >   File "/home/xinxia/anaconda2/lib/python2.7/subprocess.py",
line
> 219,
> > > in
> > > > check_output
> > > >
> > > >     raise CalledProcessError(retcode, cmd, output=output)
> > > >
> > > > subprocess.CalledProcessError: Command
'/usr/local/nco/bin/ncap2 -v
> -s
> > > > "min=min(series_cnt_TOTAL)" /D2/xinxia/METplus/MET/out/
> > > > series_analysis_lead/series_F042/series_F042_HGT_P500.nc
> > > >
/D2/xinxia/METplus/MET/out/series_analysis_lead/series_F042/min.nc'
> > > > returned non-zero exit status 127
> > > >
> > > >
> > > > Thanks,
> > > >
> > > >
> > > > Xinxia
> > > >
> > > > ________________________________
> > > > From: Julie Prestopnik via RT <met_help at ucar.edu>
> > > > Sent: Tuesday, February 28, 2017 9:18:55 AM
> > > > To: Xinxia_Song at outlook.com
> > > > Subject: Re: [rt.rap.ucar.edu #79605] ImportError: No module
named
> > > > constants_pdef
> > > >
> > > > Thank you, Xinxia.
> > > >
> > > > Unfortunately, the "DEBUG" log level did not provide much
information
> > for
> > > > this task:
> > > >
> > > > 2017-02-26 21:30:28,041 : INFO | [master_met_plus.py:main] |
Running:
> > > > series_by_lead.py
> > > > 2017-02-26 21:30:28,212 : ERROR | [master_met_plus.py:main] |
Problem
> > > > executing: series_by_lead.py
> > > >
> > > > Could you please try running series_by_lead.py in the ush
directory?
> > > > Please let me know what the output is from that run - it may
still be
> > > > contained in your log file.
> > > >
> > > > Thanks!
> > > >
> > > > Julie
> > > >
> > > >
> > > > On Mon, Feb 27, 2017 at 11:17 AM, Xinxia Song via RT <
> > met_help at ucar.edu>
> > > > wrote:
> > > >
> > > > >
> > > > > <URL:
https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=79605 >
> > > > >
> > > > > Hi Julie,
> > > > >
> > > > >
> > > > > I uploaded the constants_pdef.py and
master_met_plus.20170226.log.
> > > > >
> > > > >
> > > > > Thanks,
> > > > >
> > > > >
> > > > > Xinxia
> > > > >
> > > > > ________________________________
> > > > > From: Julie Prestopnik via RT <met_help at ucar.edu>
> > > > > Sent: Tuesday, February 28, 2017 5:46:37 AM
> > > > > To: Xinxia_Song at outlook.com
> > > > > Subject: Re: [rt.rap.ucar.edu #79605] ImportError: No module
named
> > > > > constants_pdef
> > > > >
> > > > > Hi Xinxia.  Can you please upload the configuration file
that you
> > used
> > > > and
> > > > > the log file from that run to our ftp server so that we can
take a
> > > look?
> > > > >
> > > > > Thanks!
> > > > >
> > > > > Julie
> > > > >
> > > > > On Sun, Feb 26, 2017 at 2:35 PM, Xinxia Song via RT <
> > met_help at ucar.edu
> > > >
> > > > > wrote:
> > > > >
> > > > > >
> > > > > > <URL:
https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=79605 >
> > > > > >
> > > > > > Hi Julie,
> > > > > >
> > > > > >
> > > > > > I ran the mater_met_plus.py and in the end in the log file
it
> gave
> > me
> > > > an
> > > > > > error:
> > > > > >
> > > > > > 2017-02-26 21:30:28,212 : ERROR |
[master_met_plus.py:main] |
> > Problem
> > > > > > executing: series_by_lead.py
> > > > > >
> > > > > >
> > > > > > Thanks,
> > > > > >
> > > > > > Xinxia
> > > > > >
> > > > > > ________________________________
> > > > > > From: Julie Prestopnik via RT <met_help at ucar.edu>
> > > > > > Sent: Saturday, February 25, 2017 6:49:56 AM
> > > > > > To: Xinxia_Song at outlook.com
> > > > > > Subject: Re: [rt.rap.ucar.edu #79605] ImportError: No
module
> named
> > > > > > constants_pdef
> > > > > >
> > > > > > You could also run "tail -f
</path/to/logfile/logfile_name>"
> > > replacing
> > > > > > </path/to/logfile/logfile_name> with the logfile path and
name
> > > > > information
> > > > > > to see how the run is coming along.  I hope that helps!
> > > > > >
> > > > > > Julie
> > > > > >
> > > > > > On Fri, Feb 24, 2017 at 9:42 AM, Julie Prestopnik <
> > jpresto at ucar.edu>
> > > > > > wrote:
> > > > > >
> > > > > > > Hi Xinxia.  Running the entire three months of data
could
> > certainly
> > > > > take
> > > > > > a
> > > > > > > long time.  I am hoping to get an estimate on how long
it took
> to
> > > run
> > > > > the
> > > > > > > three month data set here, but have not been able to
obtain
> that
> > > > number
> > > > > > > yet.   It sounds the code was running successfully for
you.  If
> > > > you're
> > > > > > > eager to take a lot at some output, I would suggest
running a
> > > smaller
> > > > > > > subset of the data, or perhaps you could set up the
whole three
> > > month
> > > > > to
> > > > > > > run over the weekend.  I would suggest letting the code
run to
> > > > > completion
> > > > > > > for either a smaller subset or for the entire subset and
then
> > > > checking
> > > > > > the
> > > > > > > log file for errors.  I hope that helps.  Please let me
know if
> > you
> > > > > have
> > > > > > > any questions or encounter any issues.
> > > > > > >
> > > > > > > Thanks,
> > > > > > > Julie
> > > > > > >
> > > > > > >
> > > > > > > On Thu, Feb 23, 2017 at 4:28 PM, Xinxia Song via RT <
> > > > met_help at ucar.edu
> > > > > >
> > > > > > > wrote:
> > > > > > >
> > > > > > >>
> > > > > > >> <URL:
https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=79605
> >
> > > > > > >>
> > > > > > >> Hi Julie,
> > > > > > >>
> > > > > > >>
> > > > > > >> The version is set to be 2.7+. When I ran
master_met_plus.py,
> it
> > > > seems
> > > > > > it
> > > > > > >> will run forever. So I killed it, and got the
following:
> > > > > > >>
> > > > > > >> [xinxia at chaos ush]$ python master_met_plus.py
> > > > > > >>
> > > > > > >> ^CTraceback (most recent call last):
> > > > > > >>
> > > > > > >>   File
"/D2/xinxia/METplus/METplus/ush/extract_tiles.py",
> line
> > > 157,
> > > > > in
> > > > > > >> <module>
> > > > > > >>
> > > > > > >>     main()
> > > > > > >>
> > > > > > >>   File
"/D2/xinxia/METplus/METplus/ush/extract_tiles.py",
> line
> > > 100,
> > > > > in
> > > > > > >> main
> > > > > > >>
> > > > > > >>     filtered_out_dir)
> > > > > > >>
> > > > > > >>   File "/D2/xinxia/METplus/METplus/ush/run_tc_stat.py",
line
> > 69,
> > > in
> > > > > > >> tc_stat
> > > > > > >>
> > > > > > >>     tc_stat_out = subprocess.check_output(tc_cmd,
> > > > > > >> stderr=subprocess.STDOUT, shell=True )
> > > > > > >>
> > > > > > >>   File
"/home/xinxia/anaconda2/lib/python2.7/subprocess.py",
> > line
> > > > > 213,
> > > > > > >> in check_output
> > > > > > >>
> > > > > > >>     output, unused_err = process.communicate()
> > > > > > >>
> > > > > > >>   File
"/home/xinxia/anaconda2/lib/python2.7/subprocess.py",
> > line
> > > > > 471,
> > > > > > >> in communicate
> > > > > > >>
> > > > > > >>     stdout = _eintr_retry_call(self.stdout.read)
> > > > > > >>
> > > > > > >>   File
"/home/xinxia/anaconda2/lib/python2.7/subprocess.py",
> > line
> > > > > 121,
> > > > > > >> in _eintr_retry_call
> > > > > > >>
> > > > > > >>     return func(*args)
> > > > > > >>
> > > > > > >> KeyboardInterrupt
> > > > > > >>
> > > > > > >>
> > > > > > >> Thanks,
> > > > > > >>
> > > > > > >>
> > > > > > >> Xinxia
> > > > > > >>
> > > > > > >> ________________________________
> > > > > > >> From: Julie Prestopnik via RT <met_help at ucar.edu>
> > > > > > >> Sent: Friday, February 24, 2017 12:02:21 PM
> > > > > > >> To: Xinxia_Song at outlook.com
> > > > > > >> Subject: Re: [rt.rap.ucar.edu #79605] ImportError: No
module
> > > named
> > > > > > >> constants_pdef
> > > > > > >>
> > > > > > >> Hi Xinxia.  I suspect that even though you installed
Python
> 2.7
> > > that
> > > > > > >> Python
> > > > > > >> 2.6.6 is still being used.
> > > > > > >>
> > > > > > >> Please try running:
> > > > > > >>
> > > > > > >> python --version
> > > > > > >>
> > > > > > >> on the command line.
> > > > > > >>
> > > > > > >> If you see "Python 2..6.6", please add the path for
Python 2.7
> > to
> > > > the
> > > > > > >> front
> > > > > > >> of your path in your ~/.bashrc file.  Then, source your
> > ~/.bashrc
> > > > file
> > > > > > and
> > > > > > >> try rerunning
> > > > > > >>
> > > > > > >> python --version
> > > > > > >>
> > > > > > >> on the command line.  Hopefully, then you will see the
new
> > > version.
> > > > > > Then,
> > > > > > >> please try rerunning master_met_plus.py.
> > > > > > >>
> > > > > > >> I hope this helps!  Thanks!
> > > > > > >>
> > > > > > >> Julie
> > > > > > >>
> > > > > > >> On Thu, Feb 23, 2017 at 1:51 PM, Xinxia Song via RT <
> > > > > met_help at ucar.edu>
> > > > > > >> wrote:
> > > > > > >>
> > > > > > >> >
> > > > > > >> > <URL: https://rt.rap.ucar.edu/rt/Tic
> ket/Display.html?id=79605
> > >
> > > > > > >> >
> > > > > > >> > Hi Julie,
> > > > > > >> >
> > > > > > >> >
> > > > > > >> > I installed myself the 2.7 python, it still got the
error
> when
> > > > > > running:
> > > > > > >> >
> > > > > > >> > Traceback (most recent call last):
> > > > > > >> >
> > > > > > >> >   File
"/D2/xinxia/METplus/METplus/ush/series_by_lead.py",
> > line
> > > > > 945,
> > > > > > in
> > > > > > >> > <module>
> > > > > > >> >
> > > > > > >> >     analysis_by_lead_time()
> > > > > > >> >
> > > > > > >> >   File
"/D2/xinxia/METplus/METplus/ush/series_by_lead.py",
> > line
> > > > > 107,
> > > > > > in
> > > > > > >> > analysis_by_lead_time
> > > > > > >> >
> > > > > > >> >     util.apply_series_filters(tile_dir, init_times,
> > > > > > >> > series_lead_filtered_out_dir, p, logger)
> > > > > > >> >
> > > > > > >> >   File "/D2/xinxia/METplus/METplus/ush/met_util.py",
line
> > 1005,
> > > > in
> > > > > > >> > apply_series_filters
> > > > > > >> >
> > > > > > >> >     tcs.tc_stat(p, logger, tc_cmd, series_output_dir)
> > > > > > >> >
> > > > > > >> >   File
"/D2/xinxia/METplus/METplus/ush/run_tc_stat.py",
> line
> > > 69,
> > > > in
> > > > > > >> > tc_stat
> > > > > > >> >
> > > > > > >> >     tc_stat_out = subprocess.check_output(tc_cmd,
> > > > > > >> > stderr=subprocess.STDOUT, shell=True )
> > > > > > >> >
> > > > > > >> > AttributeError: 'module' object has no attribute
> > 'check_output'
> > > > > > >> >
> > > > > > >> >
> > > > > > >> > Thanks,
> > > > > > >> >
> > > > > > >> >
> > > > > > >> > Xinxia
> > > > > > >> >
> > > > > > >> > ________________________________
> > > > > > >> > From: Julie Prestopnik via RT <met_help at ucar.edu>
> > > > > > >> > Sent: Friday, February 24, 2017 9:37:53 AM
> > > > > > >> > To: Xinxia_Song at outlook.com
> > > > > > >> > Subject: Re: [rt.rap.ucar.edu #79605] ImportError: No
> module
> > > > named
> > > > > > >> > constants_pdef
> > > > > > >> >
> > > > > > >> > Can you please tell me which version of Python you
are
> using?
> > > > > > >> check_output
> > > > > > >> > for subprocess was introduced in Python 2.7.    Do
you have
> > > access
> > > > > to
> > > > > > >> > Python version 2.7 or higher?
> > > > > > >> >
> > > > > > >> > Thanks,
> > > > > > >> > Julie
> > > > > > >> >
> > > > > > >> > On Thu, Feb 23, 2017 at 12:11 PM, Xinxia Song via RT
<
> > > > > > met_help at ucar.edu
> > > > > > >> >
> > > > > > >> > wrote:
> > > > > > >> >
> > > > > > >> > >
> > > > > > >> > > <URL: https://rt.rap.ucar.edu/rt/
> > Ticket/Display.html?id=79605
> > > >
> > > > > > >> > >
> > > > > > >> > > Hi Julie,
> > > > > > >> > >
> > > > > > >> > >
> > > > > > >> > > I added it to the $PATH and ran the
master_met_python.py:
> > > > > > >> > >
> > > > > > >> > > [xinxia at chaos ush]$ python master_met_plus.py
> > > > > > >> > >
> > > > > > >> > > Traceback (most recent call last):
> > > > > > >> > >
> > > > > > >> > >   File
"/D2/xinxia/METplus/METplus/ush/extract_tiles.py",
> > > line
> > > > > 157,
> > > > > > >> in
> > > > > > >> > > <module>
> > > > > > >> > >
> > > > > > >> > >     main()
> > > > > > >> > >
> > > > > > >> > >   File
"/D2/xinxia/METplus/METplus/ush/extract_tiles.py",
> > > line
> > > > > 100,
> > > > > > >> in
> > > > > > >> > > main
> > > > > > >> > >
> > > > > > >> > >     filtered_out_dir)
> > > > > > >> > >
> > > > > > >> > >   File
"/D2/xinxia/METplus/METplus/ush/run_tc_stat.py",
> > line
> > > > 69,
> > > > > in
> > > > > > >> > > tc_stat
> > > > > > >> > >
> > > > > > >> > >     tc_stat_out = subprocess.check_output(tc_cmd,
> > > > > > >> > > stderr=subprocess.STDOUT, shell=True )
> > > > > > >> > >
> > > > > > >> > > AttributeError: 'module' object has no attribute
> > > 'check_output'
> > > > > > >> > >
> > > > > > >> > >
> > > > > > >> > > Thanks,
> > > > > > >> > >
> > > > > > >> > >
> > > > > > >> > > Xinxia
> > > > > > >> > >
> > > > > > >> > > ________________________________
> > > > > > >> > > From: Julie Prestopnik via RT <met_help at ucar.edu>
> > > > > > >> > > Sent: Friday, February 24, 2017 9:07:40 AM
> > > > > > >> > > To: Xinxia_Song at outlook.com
> > > > > > >> > > Subject: Re: [rt.rap.ucar.edu #79605] ImportError:
No
> > module
> > > > > named
> > > > > > >> > > constants_pdef
> > > > > > >> > >
> > > > > > >> > > Unfortunately, your environment does not know where
to
> find
> > > > > > >> > > run_tc_pairs.py.  Please try adding the directory
with
> > > > > > run_tc_pairs.py
> > > > > > >> > > (/D2/xinxia/METplus/METplus/ush) to your path in
your
> > > ~/.bashrc
> > > > > > file,
> > > > > > >> > then
> > > > > > >> > > run "source ~/.bashrc", then trying rerunning.
Please let
> > me
> > > > know
> > > > > > how
> > > > > > >> > that
> > > > > > >> > > goes.
> > > > > > >> > >
> > > > > > >> > > Thanks!
> > > > > > >> > >
> > > > > > >> > > Julie
> > > > > > >> > >
> > > > > > >> > > On Thu, Feb 23, 2017 at 11:55 AM, Xinxia Song via
RT <
> > > > > > >> met_help at ucar.edu>
> > > > > > >> > > wrote:
> > > > > > >> > >
> > > > > > >> > > >
> > > > > > >> > > > <URL: https://rt.rap.ucar.edu/rt/
> > > Ticket/Display.html?id=79605
> > > > >
> > > > > > >> > > >
> > > > > > >> > > > Hi Julie,
> > > > > > >> > > >
> > > > > > >> > > >
> > > > > > >> > > > I'm running met in a machine that's owned by our
> > > department, I
> > > > > > don't
> > > > > > >> > have
> > > > > > >> > > > sudo right, so when I type which run_tc_pairs.py,
it
> says
> > > > > couldn't
> > > > > > >> find
> > > > > > >> > > it.
> > > > > > >> > > >
> > > > > > >> > > > no run_tc_pairs.py in (/opt/ncl/bin:/opt/intel-
soft/
> > > > > > >> > > > bin:/opt/ncl/bin:/opt/ncl/bin:
> > /opt/intel-soft/bin:/opt/ncl/
> > > > > > >> > > > bin:/home/xinxia/anaconda/bin:
> /home/xinxia/anaconda/bin:/
> > > > > > >> > > > opt/ncl/bin:/opt/intel-soft/bi
> n:/opt/ncl/bin:/usr/lib64/
> > > > > > >> > > > qt-3.3/bin:/usr/local/bin:/bin
> :/usr/bin:/usr/local/sbin:/
> > > > > > >> > > > usr/sbin:/sbin:/sbin:/usr/sbin:/cm/local/apps/
> > > > > > >> > > environment-modules/3.2.10/
> > > > > > >> > > > bin:/home/xinxia/bin:/opt/ncl-621/bin)
> > > > > > >> > > >
> > > > > > >> > > >
> > > > > > >> > > > But I could find it manually in that directory.
> > > > > > >> > > >
> > > > > > >> > > >
> > > > > > >> > > > Thanks,
> > > > > > >> > > >
> > > > > > >> > > >
> > > > > > >> > > > Xinxia
> > > > > > >> > > >
> > > > > > >> > > > ________________________________
> > > > > > >> > > > From: Julie Prestopnik via RT <met_help at ucar.edu>
> > > > > > >> > > > Sent: Friday, February 24, 2017 8:52:16 AM
> > > > > > >> > > > To: Xinxia_Song at outlook.com
> > > > > > >> > > > Subject: Re: [rt.rap.ucar.edu #79605]
ImportError: No
> > > module
> > > > > > named
> > > > > > >> > > > constants_pdef
> > > > > > >> > > >
> > > > > > >> > > > Hi Xinxia.
> > > > > > >> > > >
> > > > > > >> > > > It looks like you got a successful run of tc_stat
-
> that's
> > > > great
> > > > > > >> news!
> > > > > > >> > > >
> > > > > > >> > > > I'm not sure what you mean by "Because I don't
have the
> > > > right, I
> > > > > > >> can't
> > > > > > >> > > find
> > > > > > >> > > > run_tc_pairs.py, but I know it's under
> > > > > > >> > > >
> > > > > > >> > > > /D2/xinxia/METplus/METplus/ush".
> > > > > > >> > > >
> > > > > > >> > > > Can you please explain?  What happened when you
ran
> "which
> > > > > > >> > > > run_tc_pairs.py"?
> > > > > > >> > > >
> > > > > > >> > > > Thanks,
> > > > > > >> > > > Julie
> > > > > > >> > > >
> > > > > > >> > > >
> > > > > > >> > > >
> > > > > > >> > > >
> > > > > > >> > > >
> > > > > > >> > > >
> > > > > > >> > > > On Thu, Feb 23, 2017 at 11:44 AM, Xinxia Song via
RT <
> > > > > > >> > met_help at ucar.edu>
> > > > > > >> > > > wrote:
> > > > > > >> > > >
> > > > > > >> > > > >
> > > > > > >> > > > > <URL: https://rt.rap.ucar.edu/rt/
> > > > Ticket/Display.html?id=79605
> > > > > >
> > > > > > >> > > > >
> > > > > > >> > > > > Hi Julie,
> > > > > > >> > > > >
> > > > > > >> > > > >
> > > > > > >> > > > > I removed the space.
> > > > > > >> > > > >
> > > > > > >> > > > > [xinxia at chaos parm]$
/D2/xinxia/METplus/MET/met-5.2
> > > > > /bin/tc_stat
> > > > > > >> -job
> > > > > > >> > > > > filter -lookin /D2/xinxia/METplus/MET/input/
> > > tc_pairs/201412
> > > > > > >> > -init_inc
> > > > > > >> > > > > 20141201_00 -match_points true -dump_row
> > > > > > >> /D2/xinxia/METplus/MET/out/
> > > > > > >> > > > >
extract_tiles/20141201_00/filter_20141201_00.tcst
> > -basin
> > > > ML
> > > > > > >> > > > > -out_init_mask /D2/xinxia/METplus/MET/met-5.
> > > > > > >> > > 2/share/met/poly/CONUS.poly
> > > > > > >> > > > >
> > > > > > >> > > > > DEBUG 1: [Source 1] Lookin:
> > /D2/xinxia/METplus/MET/input/
> > > > > > >> > > tc_pairs/201412
> > > > > > >> > > > >
> > > > > > >> > > > > DEBUG 2:
> > > > > > >> > > > >
> > > > > > >> > > > > DEBUG 2: Processing Job 1: -job filter -basin
ML
> > -init_inc
> > > > > > >> > > > 20141201_000000
> > > > > > >> > > > > -match_points true -out_init_mask
> > > > > /D2/xinxia/METplus/MET/met-5.
> > > > > > >> > > > 2/share/met/poly/CONUS.poly
> > > > > > >> > > > > -dump_row /D2/xinxia/METplus/MET/out/ext
> > > > > ract_tiles/20141201_00/
> > > > > > >> > > > > filter_20141201_00.tcst
> > > > > > >> > > > >
> > > > > > >> > > > > DEBUG 1: Creating output dump file:
> > > > > /D2/xinxia/METplus/MET/out/
> > > > > > >> > > > >
extract_tiles/20141201_00/filter_20141201_00.tcst
> > > > > > >> > > > >
> > > > > > >> > > > > FILTER: -job filter -basin ML -init_inc
> 20141201_000000
> > > > > > >> -match_points
> > > > > > >> > > > true
> > > > > > >> > > > > -out_init_mask /D2/xinxia/METplus/MET/met-5.
> > > > > > >> > > 2/share/met/poly/CONUS.poly
> > > > > > >> > > > > -dump_row /D2/xinxia/METplus/MET/out/ext
> > > > > ract_tiles/20141201_00/
> > > > > > >> > > > > filter_20141201_00.tcst
> > > > > > >> > > > >
> > > > > > >> > > > >
> > > > > > >> > > > > DEBUG 2: Job 1 used 0 out of 27292 lines read.
> > > > > > >> > > > >
> > > > > > >> > > > >
> > > > > > >> > > > > Because I don't have the right, I can't find
> > > > run_tc_pairs.py,
> > > > > > but
> > > > > > >> I
> > > > > > >> > > know
> > > > > > >> > > > > it's under
> > > > > > >> > > > >
> > > > > > >> > > > > /D2/xinxia/METplus/METplus/ush
> > > > > > >> > > > >
> > > > > > >> > > > >
> > > > > > >> > > > > For Python,
> > > > > > >> > > > >
> > > > > > >> > > > > [xinxia at chaos ~]$ which python
> > > > > > >> > > > >
> > > > > > >> > > > > /usr/bin/python
> > > > > > >> > > > >
> > > > > > >> > > > >
> > > > > > >> > > > > Xinxia
> > > > > > >> > > > >
> > > > > > >> > > > > ________________________________
> > > > > > >> > > > > From: Julie Prestopnik via RT
<met_help at ucar.edu>
> > > > > > >> > > > > Sent: Friday, February 24, 2017 8:30:01 AM
> > > > > > >> > > > > To: Xinxia_Song at outlook.com
> > > > > > >> > > > > Subject: Re: [rt.rap.ucar.edu #79605]
ImportError: No
> > > > module
> > > > > > >> named
> > > > > > >> > > > > constants_pdef
> > > > > > >> > > > >
> > > > > > >> > > > > Hi Xinxia.
> > > > > > >> > > > >
> > > > > > >> > > > > It looks like there is a space where there
should not
> > be a
> > > > > space
> > > > > > >> > > (between
> > > > > > >> > > > >
/D2/xinxia/METplus/MET/out/extract_tiles/20141201_00/
> > and
> > > > > > >> > > > > filter_20141201_00.tcst after the -dump_row
option).
> > > > > > >> > > > >
> > > > > > >> > > > > Could you please try it again without the
space?
> > > > > > >> > > > >
> > > > > > >> > > > >
/D2/xinxia/METplus/METplus/ush/run_tc_stat.py:tc_stat
> > > from
> > > > > > >> calling
> > > > > > >> > MET
> > > > > > >> > > > > TC-STAT with command:/D2/xinxia/METplus/MET
> > > > > /met-5.2/bin/tc_stat
> > > > > > >> -job
> > > > > > >> > > > > filter
> > > > > > >> > > > > -lookin
/D2/xinxia/METplus/MET/input/tc_pairs/201412
> > > > > -init_inc
> > > > > > >> > > > 20141201_00
> > > > > > >> > > > > -match_points true -dump_row
> /D2/xinxia/METplus/MET/out/
> > > > > > >> > > > >
extract_tiles/20141201_00/filter_20141201_00.tcst
> > -basin
> > > > ML
> > > > > > >> > > > > -out_init_mask
> > > > > > >> > > > > /D2/xinxia/METplus/MET/met-5.
> > 2/share/met/poly/CONUS.poly
> > > > > > >> > > > >
> > > > > > >> > > > > Regarding the master_met_plus.py run, please
try
> running
> > > the
> > > > > > >> > following
> > > > > > >> > > > two
> > > > > > >> > > > > commands and send me the output:
> > > > > > >> > > > >
> > > > > > >> > > > > which run_tc_pairs.py
> > > > > > >> > > > >
> > > > > > >> > > > > which python
> > > > > > >> > > > >
> > > > > > >> > > > > Thanks!
> > > > > > >> > > > >
> > > > > > >> > > > > Julie
> > > > > > >> > > > >
> > > > > > >> > > > > On Thu, Feb 23, 2017 at 11:06 AM, Xinxia Song
via RT <
> > > > > > >> > > met_help at ucar.edu>
> > > > > > >> > > > > wrote:
> > > > > > >> > > > >
> > > > > > >> > > > > >
> > > > > > >> > > > > > <URL: https://rt.rap.ucar.edu/rt/Tic
> > > > > ket/Display.html?id=79605
> > > > > > >
> > > > > > >> > > > > >
> > > > > > >> > > > > > Hi Julie,
> > > > > > >> > > > > >
> > > > > > >> > > > > >
> > > > > > >> > > > > > After I ran the long one line command:
> > > > > > >> > > > > >
> > > > > > >> > > > > > [xinxia at chaos parm]$
/D2/xinxia/METplus/MET/met-5.
> > > > > > 2/bin/tc_stat
> > > > > > >> > -job
> > > > > > >> > > > > > filter -lookin /D2/xinxia/METplus/MET/input/
> > > > tc_pairs/201412
> > > > > > >> > > -init_inc
> > > > > > >> > > > > > 20141201_00 -match_points true -dump_row
> > > > > > >> > /D2/xinxia/METplus/MET/out/
> > > > > > >> > > > > extract_tiles/20141201_00/
> > > > > > >> > > > > > filter_20141201_00.tcst  -basin ML
-out_init_mask
> > > > > > >> > > > > > /D2/xinxia/METplus/MET/met-5.
> > > 2/share/met/poly/CONUS.poly
> > > > > > >> > > > > >
> > > > > > >> > > > > >
> > > > > > >> > > > > > DEBUG 1: [Source 1] Lookin:
> > > /D2/xinxia/METplus/MET/input/
> > > > > > >> > > > tc_pairs/201412
> > > > > > >> > > > > >
> > > > > > >> > > > > > ERROR  :
> > > > > > >> > > > > >
> > > > > > >> > > > > > ERROR  : TCStatJob *TCStatJobFactory::new_tc_
> > > > stat_job(const
> > > > > > >> char
> > > > > > >> > > > > > *jobstring) -> unsupported job command
options
> > > > > > >> > > > "filter_20141201_00.tcst".
> > > > > > >> > > > > >
> > > > > > >> > > > > > ERROR  :
> > > > > > >> > > > > >
> > > > > > >> > > > > >
> > > > > > >> > > > > > And for the master_met_plus.py, I got the
error:
> > > > > > >> > > > > >
> > > > > > >> > > > > > [xinxia at chaos ush]$ python master_met_plus.py
> > > > > > >> > > > > >
> > > > > > >> > > > > > sh: run_tc_pairs.py: command not found
> > > > > > >> > > > > >
> > > > > > >> > > > > >
> > > > > > >> > > > > > Thanks,
> > > > > > >> > > > > >
> > > > > > >> > > > > >
> > > > > > >> > > > > > Xinxia
> > > > > > >> > > > > >
> > > > > > >> > > > > > ________________________________
> > > > > > >> > > > > > From: Julie Prestopnik via RT
<met_help at ucar.edu>
> > > > > > >> > > > > > Sent: Friday, February 24, 2017 7:42:21 AM
> > > > > > >> > > > > > To: Xinxia_Song at outlook.com
> > > > > > >> > > > > > Subject: Re: [rt.rap.ucar.edu #79605]
ImportError:
> No
> > > > > module
> > > > > > >> named
> > > > > > >> > > > > > constants_pdef
> > > > > > >> > > > > >
> > > > > > >> > > > > > My apologies, my response should have said,
"By
> > default,
> > > > MET
> > > > > > >> > version
> > > > > > >> > > > 5.2
> > > > > > >> > > > > is
> > > > > > >> > > > > > compiled using dynamic linking."  It's true
for
> both,
> > > but
> > > > I
> > > > > > see
> > > > > > >> > > you're
> > > > > > >> > > > > > using 5.2 and I inadvertently referred to
5.1.
> > > > > > >> > > > > >
> > > > > > >> > > > > > On Thu, Feb 23, 2017 at 10:40 AM, Julie
Prestopnik <
> > > > > > >> > jpresto at ucar.edu
> > > > > > >> > > >
> > > > > > >> > > > > > wrote:
> > > > > > >> > > > > >
> > > > > > >> > > > > > > Hi Xinxia.  Regarding the error:
> > > > > > >> > > > > > >
> > > > > > >> > > > > > > /D2/xinxia/METplus/MET/met-5.2/bin/tc_stat:
error
> > > while
> > > > > > >> loading
> > > > > > >> > > > shared
> > > > > > >> > > > > > > libraries: libgsl.so.19: cannot open shared
object
> > > file:
> > > > > No
> > > > > > >> such
> > > > > > >> > > file
> > > > > > >> > > > > or
> > > > > > >> > > > > > > directory
> > > > > > >> > > > > > >
> > > > > > >> > > > > > > By default, MET version 5.1 is compiled
using
> > dynamic
> > > > > > linking.
> > > > > > >> > > > Rather
> > > > > > >> > > > > > > than compiling the external library code in
with
> the
> > > MET
> > > > > > >> > > executables
> > > > > > >> > > > > > (which
> > > > > > >> > > > > > > is
> > > > > > >> > > > > > > called static linking), it looks for them
at
> > runtime.
> > > > And
> > > > > > >> it's
> > > > > > >> > > > looking
> > > > > > >> > > > > > > for those "shared object" (.so) library
files.
> > > > > > >> > > > > > >
> > > > > > >> > > > > > > This should be easy to fix. We just need to
tell
> it
> > > > where
> > > > > to
> > > > > > >> find
> > > > > > >> > > > them,
> > > > > > >> > > > > > > and we do that by setting (or adding to the
> > > > > > LD_LIBRARY_PATH).
> > > > > > >> > Look
> > > > > > >> > > > in
> > > > > > >> > > > > > your
> > > > > > >> > > > > > > ~/.bashrc file.  If LD_LIBRARY_PATH is
already
> > defined
> > > > in
> > > > > > >> there,
> > > > > > >> > > add
> > > > > > >> > > > > the
> > > > > > >> > > > > > > path to the libgsl.so.19 to the end of it.
If
> not,
> > > add
> > > > an
> > > > > > >> > > > > > > LD_LIBRARY_PATH entry in your ~/.bashrc
file.  So,
> > for
> > > > > > >> example,
> > > > > > >> > if
> > > > > > >> > > > the
> > > > > > >> > > > > > path
> > > > > > >> > > > > > > to your libgsl.so.19 file is
> > > > > /D2/xinxia/METplus/MET/externa
> > > > > > >> > > > > > l_libs/GSL/gsl-1.16/lib
> > > > > > >> > > > > > > you would add teh following to your
~/.bashrc
> file:
> > > > > > >> > > > > > >
> > > > > > >> > > > > > >   export LD_LIBRARY_PATH=/D2/xinxia/
> > > > > > >> > METplus/MET/external_libs/GSL/
> > > > > > >> > > > > > > gsl-1.16/lib
> > > > > > >> > > > > > >
> > > > > > >> > > > > > > Then save the change and source that file:
> > > > > > >> > > > > > >
> > > > > > >> > > > > > >   source ~/.bashrc
> > > > > > >> > > > > > >
> > > > > > >> > > > > > > Then, please try rerunning the command
manually
> and
> > > let
> > > > me
> > > > > > >> know
> > > > > > >> > if
> > > > > > >> > > it
> > > > > > >> > > > > > > works.
> > > > > > >> > > > > > >
> > > > > > >> > > > > > > I believe that this was the cause of the
initial
> > error
> > > > you
> > > > > > >> > received
> > > > > > >> > > > > from
> > > > > > >> > > > > > > MET+:
> > > > > > >> > > > > > >
> > > > > > >> > > > > > > ERROR| /D2/xinxia/METplus/METplus/
> > > > > > ush/run_tc_stat.py:tc_stat
> > > > > > >> > from
> > > > > > >> > > > > > calling
> > > > > > >> > > > > > > MET TC-STAT with
command:/D2/xinxia/METplus/
> > > > > > >> > > MET/met-5.2/bin/tc_stat
> > > > > > >> > > > > -job
> > > > > > >> > > > > > > filter -lookin
/D2/xinxia/METplus/MET/input/t
> > > > > c_pairs/201412
> > > > > > >> > > > -init_inc
> > > > > > >> > > > > > > 20141201_00 -match_points true -dump_row
> > > > > > >> > > > /D2/xinxia/METplus/MET/out/ext
> > > > > > >> > > > > > >
ract_tiles/20141201_00/filter_20141201_00.tcst
> > > -basin
> > > > ML
> > > > > > >> > > > > -out_init_mask
> > > > > > >> > > > > > > /D2/xinxia/METplus/MET/met-5.
> > > > 2/share/met/poly/CONUS.poly
> > > > > > >> > > > > > >
> > > > > > >> > > > > > >
> > > > > > >> > > > > > > Thanks,
> > > > > > >> > > > > > > Julie
> > > > > > >> > > > > > >
> > > > > > >> > > > > > > On Thu, Feb 23, 2017 at 10:14 AM, Xinxia
Song via
> > RT <
> > > > > > >> > > > > met_help at ucar.edu>
> > > > > > >> > > > > > > wrote:
> > > > > > >> > > > > > >
> > > > > > >> > > > > > >>
> > > > > > >> > > > > > >> <URL: https://rt.rap.ucar.edu/rt/Tic
> > > > > > >> ket/Display.html?id=79605 >
> > > > > > >> > > > > > >>
> > > > > > >> > > > > > >> Hi Julie,
> > > > > > >> > > > > > >>
> > > > > > >> > > > > > >>
> > > > > > >> > > > > > >> [xinxia at chaos ush]$
> /D2/xinxia/METplus/MET/met-5.2
> > > > > > >> /bin/tc_stat
> > > > > > >> > > -job
> > > > > > >> > > > > > >> filter -lookin
/D2/xinxia/METplus/MET/input/
> > > > > > tc_pairs/201412
> > > > > > >> > > > -init_inc
> > > > > > >> > > > > > >> 20141201_00 -match_points true -dump_row
> > > > > > >> > > > > /D2/xinxia/METplus/MET/out/ext
> > > > > > >> > > > > > ract_tiles/20141201_00/
> > > > > > >> > > > > > >> filter_20141201_00.tcst  -basin ML
-out_init_mask
> > > > > > >> > > > > > >> /D2/xinxia/METplus/MET/met-5.
> > > > 2/share/met/poly/CONUS.poly
> > > > > > >> > > > > > >>
> > > > > > >> > > > > > >> /D2/xinxia/METplus/MET/met-
5.2/bin/tc_stat:
> error
> > > > while
> > > > > > >> loading
> > > > > > >> > > > > shared
> > > > > > >> > > > > > >> libraries: libgsl.so.19: cannot open
shared
> object
> > > > file:
> > > > > No
> > > > > > >> such
> > > > > > >> > > > file
> > > > > > >> > > > > or
> > > > > > >> > > > > > >> directory
> > > > > > >> > > > > > >>
> > > > > > >> > > > > > >>
> > > > > > >> > > > > > >> And I uploaded the configuration file
> > > > (constants_pdef.py)
> > > > > > >> under
> > > > > > >> > > > > > >> xinxia_data directory.
> > > > > > >> > > > > > >>
> > > > > > >> > > > > > >>
> > > > > > >> > > > > > >> Thanks,
> > > > > > >> > > > > > >>
> > > > > > >> > > > > > >>
> > > > > > >> > > > > > >> Xinxia
> > > > > > >> > > > > > >>
> > > > > > >> > > > > > >> ________________________________
> > > > > > >> > > > > > >> From: Julie Prestopnik via RT
<met_help at ucar.edu
> >
> > > > > > >> > > > > > >> Sent: Friday, February 24, 2017 6:15:57 AM
> > > > > > >> > > > > > >> To: Xinxia_Song at outlook.com
> > > > > > >> > > > > > >> Subject: Re: [rt.rap.ucar.edu #79605]
> ImportError:
> > > No
> > > > > > module
> > > > > > >> > > named
> > > > > > >> > > > > > >> constants_pdef
> > > > > > >> > > > > > >>
> > > > > > >> > > > > > >> Hi Xinxia.
> > > > > > >> > > > > > >>
> > > > > > >> > > > > > >> I can see that your command, which should
have
> been
> > > all
> > > > > on
> > > > > > >> one
> > > > > > >> > > line,
> > > > > > >> > > > > was
> > > > > > >> > > > > > >> broken up into several lines.  Please try
running
> > the
> > > > > > command
> > > > > > >> > > again,
> > > > > > >> > > > > > >> making
> > > > > > >> > > > > > >> sure that the entire command is on one
line:
> > > > > > >> > > > > > >>
> > > > > > >> > > > > > >> /D2/xinxia/METplus/MET/met-5.2/bin/tc_stat
-job
> > > filter
> > > > > > >> -lookin
> > > > > > >> > > > > > >>
/D2/xinxia/METplus/MET/input/tc_pairs/201412
> > > -init_inc
> > > > > > >> > > 20141201_00
> > > > > > >> > > > > > >> -match_points true -dump_row
> > > > > > >> > > > > > >> /D2/xinxia/METplus/MET/out/
> > > extract_tiles/20141201_00/
> > > > > > >> > > > > > >> filter_20141201_00.tcst  -basin ML
-out_init_mask
> > > > > > >> > > > > > >> /D2/xinxia/METplus/MET/met-5.
> > > > 2/share/met/poly/CONUS.poly
> > > > > > >> > > > > > >>
> > > > > > >> > > > > > >> Then, please send the output from that
command.
> > > > > > >> > > > > > >>
> > > > > > >> > > > > > >> Regarding, your error:
> > > > > > >> > > > > > >>
> > > > > > >> > > > > > >> sh: run_tc_pairs.py: command not found
> > > > > > >> > > > > > >>
> > > > > > >> > > > > > >> It's strange that would only have occurred
after
> > > having
> > > > > > >> changed
> > > > > > >> > > the
> > > > > > >> > > > > > >> LOG_LEVEL.  Could you please send us your
> > > configuration
> > > > > > file?
> > > > > > >> > > > > > >>
> > > > > > >> > > > > > >> Thanks!
> > > > > > >> > > > > > >>
> > > > > > >> > > > > > >> Julie
> > > > > > >> > > > > > >>
> > > > > > >> > > > > > >> On Wed, Feb 22, 2017 at 2:54 PM, Xinxia
Song via
> > RT <
> > > > > > >> > > > > met_help at ucar.edu>
> > > > > > >> > > > > > >> wrote:
> > > > > > >> > > > > > >>
> > > > > > >> > > > > > >> >
> > > > > > >> > > > > > >> > <URL: https://rt.rap.ucar.edu/rt/Tic
> > > > > > >> ket/Display.html?id=79605
> > > > > > >> > >
> > > > > > >> > > > > > >> >
> > > > > > >> > > > > > >> > Hi Julie,
> > > > > > >> > > > > > >> >
> > > > > > >> > > > > > >> >
> > > > > > >> > > > > > >> > [xinxia at chaos ush]$
> > /D2/xinxia/METplus/MET/met-5.
> > > > > > >> > 2/bin/tc_stat
> > > > > > >> > > > -job
> > > > > > >> > > > > > >> > filter -lookin
> > > > > > >> > > > > > >> >
> > > > > > >> > > > > > >> > /D2/xinxia/METplus/MET/met-
5.2/bin/tc_stat:
> > error
> > > > > while
> > > > > > >> > loading
> > > > > > >> > > > > > shared
> > > > > > >> > > > > > >> > libraries: libgsl.so.19: cannot open
shared
> > object
> > > > > file:
> > > > > > No
> > > > > > >> > such
> > > > > > >> > > > > file
> > > > > > >> > > > > > or
> > > > > > >> > > > > > >> > directory
> > > > > > >> > > > > > >> >
> > > > > > >> > > > > > >> >
> > > > > > >> > > > > > >> > [xinxia at chaos ush]$
> > /D2/xinxia/METplus/MET/input/
> > > > > > >> > > tc_pairs/201412
> > > > > > >> > > > > > >> > -init_inc 20141201_00 -match_points true
> > -dump_row
> > > > > > >> > > > > > >> >
> > > > > > >> > > > > > >> > -bash: /D2/xinxia/METplus/MET/input/
> > > tc_pairs/201412:
> > > > > is
> > > > > > a
> > > > > > >> > > > directory
> > > > > > >> > > > > > >> >
> > > > > > >> > > > > > >> >
> > > > > > >> > > > > > >> > [xinxia at chaos ush]$
> > /D2/xinxia/METplus/MET/out/ext
> > > > > > >> > > > > > >> ract_tiles/20141201_00/
> > > > > > >> > > > > > >> > filter_20141201_00.tcst  -basin ML
> -out_init_mask
> > > > > > >> > > > > > >> > /D2/xinxia/METplus/MET/met-5.2
> > > > > /share/met/poly/CONUS.poly
> > > > > > >> > > > > > >> >
> > > > > > >> > > > > > >> > -bash: /D2/xinxia/METplus/MET/out/ext
> > > > > > >> ract_tiles/20141201_00/:
> > > > > > >> > > No
> > > > > > >> > > > > such
> > > > > > >> > > > > > >> > file or directory
> > > > > > >> > > > > > >> >
> > > > > > >> > > > > > >> >
> > > > > > >> > > > > > >> > After I change the LOG_LEVEL, I ran the
> > > > > > >> master_met_plus.py, it
> > > > > > >> > > > says:
> > > > > > >> > > > > > >> >
> > > > > > >> > > > > > >> > [xinxia at chaos ush]$ python
master_met_plus.py
> > > > > > >> > > > > > >> >
> > > > > > >> > > > > > >> > sh: run_tc_pairs.py: command not found
> > > > > > >> > > > > > >> >
> > > > > > >> > > > > > >> >
> > > > > > >> > > > > > >> >
> > > > > > >> > > > > > >> > Thanks,
> > > > > > >> > > > > > >> >
> > > > > > >> > > > > > >> >
> > > > > > >> > > > > > >> > Xinxia
> > > > > > >> > > > > > >> >
> > > > > > >> > > > > > >> >
> > > > > > >> > > > > > >> > ________________________________
> > > > > > >> > > > > > >> > From: Julie Prestopnik via RT <
> met_help at ucar.edu
> > >
> > > > > > >> > > > > > >> > Sent: Thursday, February 23, 2017
10:04:55 AM
> > > > > > >> > > > > > >> > To: Xinxia_Song at outlook.com
> > > > > > >> > > > > > >> > Subject: Re: [rt.rap.ucar.edu #79605]
> > ImportError:
> > > > No
> > > > > > >> module
> > > > > > >> > > > named
> > > > > > >> > > > > > >> > constants_pdef
> > > > > > >> > > > > > >> >
> > > > > > >> > > > > > >> > Thank you.  Unfortunately, the level of
detail
> in
> > > the
> > > > > log
> > > > > > >> file
> > > > > > >> > > > > wasn't
> > > > > > >> > > > > > >> what
> > > > > > >> > > > > > >> > I hoped for.  I'd like to have you try
two
> > things.
> > > > > > >> > > > > > >> >
> > > > > > >> > > > > > >> > First, could you please send me your
output of
> > your
> > > > > > manual
> > > > > > >> run
> > > > > > >> > > of
> > > > > > >> > > > > the
> > > > > > >> > > > > > >> > following?
> > > > > > >> > > > > > >> >
> > > > > > >> > > > > > >> > "/D2/xinxia/METplus/MET/met-
5.2/bin/tc_stat
> -job
> > > > > filter
> > > > > > >> > -lookin
> > > > > > >> > > > > > >> >
/D2/xinxia/METplus/MET/input/tc_pairs/201412
> > > > -init_inc
> > > > > > >> > > > 20141201_00
> > > > > > >> > > > > > >> > -match_points true -dump_row
> > > > > /D2/xinxia/METplus/MET/out/
> > > > > > >> > > > > > >> > extract_tiles/20141201_00/
> > filter_20141201_00.tcst
> > > > > > -basin
> > > > > > >> ML
> > > > > > >> > > > > > >> > -out_init_mask
> > > > > > >> > > > > > >> > /D2/xinxia/METplus/MET/met-5.
> > > > > > 2/share/met/poly/CONUS.poly"
> > > > > > >> > > > > > >> >
> > > > > > >> > > > > > >> > Second, could you please change your log
level
> in
> > > > your
> > > > > > >> > > > configuration
> > > > > > >> > > > > > >> file
> > > > > > >> > > > > > >> > from
> > > > > > >> > > > > > >> >
> > > > > > >> > > > > > >> > LOG_LEVEL = "INFO"
> > > > > > >> > > > > > >> >
> > > > > > >> > > > > > >> > to
> > > > > > >> > > > > > >> >
> > > > > > >> > > > > > >> > LOG_LEVEL = "DEBUG"
> > > > > > >> > > > > > >> >
> > > > > > >> > > > > > >> > then rerun and upload your log file to
our ftp
> > > server
> > > > > > >> again?
> > > > > > >> > > > > > >> >
> > > > > > >> > > > > > >> > Thank you!
> > > > > > >> > > > > > >> >
> > > > > > >> > > > > > >> > Julie
> > > > > > >> > > > > > >> >
> > > > > > >> > > > > > >> >
> > > > > > >> > > > > > >> > On Wed, Feb 22, 2017 at 12:39 PM, Xinxia
Song
> via
> > > RT
> > > > <
> > > > > > >> > > > > > met_help at ucar.edu
> > > > > > >> > > > > > >> >
> > > > > > >> > > > > > >> > wrote:
> > > > > > >> > > > > > >> >
> > > > > > >> > > > > > >> > >
> > > > > > >> > > > > > >> > > <URL: https://rt.rap.ucar.edu/rt/
> > > > > > >> > Ticket/Display.html?id=79605
> > > > > > >> > > >
> > > > > > >> > > > > > >> > >
> > > > > > >> > > > > > >> > > Hi Julie,
> > > > > > >> > > > > > >> > >
> > > > > > >> > > > > > >> > >
> > > > > > >> > > > > > >> > > I uploaded the log file under
xinxia_data
> > > > directory.
> > > > > > >> > > > > > >> > >
> > > > > > >> > > > > > >> > >
> > > > > > >> > > > > > >> > > Thanks,
> > > > > > >> > > > > > >> > >
> > > > > > >> > > > > > >> > >
> > > > > > >> > > > > > >> > > Xinxia
> > > > > > >> > > > > > >> > >
> > > > > > >> > > > > > >> > >
> > > > > > >> > > > > > >> > > ________________________________
> > > > > > >> > > > > > >> > > From: Julie Prestopnik via RT <
> > met_help at ucar.edu
> > > >
> > > > > > >> > > > > > >> > > Sent: Thursday, February 23, 2017
9:11:32 AM
> > > > > > >> > > > > > >> > > To: Xinxia_Song at outlook.com
> > > > > > >> > > > > > >> > > Subject: Re: [rt.rap.ucar.edu #79605]
> > > ImportError:
> > > > > No
> > > > > > >> > module
> > > > > > >> > > > > named
> > > > > > >> > > > > > >> > > constants_pdef
> > > > > > >> > > > > > >> > >
> > > > > > >> > > > > > >> > > Hi Xinxia.
> > > > > > >> > > > > > >> > >
> > > > > > >> > > > > > >> > > I think it would be helpful if I could
take a
> > > look
> > > > at
> > > > > > the
> > > > > > >> > log
> > > > > > >> > > > > file.
> > > > > > >> > > > > > >> > Could
> > > > > > >> > > > > > >> > > you please upload your file to our
anonymous
> > ftp
> > > > site
> > > > > > as
> > > > > > >> > > follows
> > > > > > >> > > > > so
> > > > > > >> > > > > > >> that
> > > > > > >> > > > > > >> > I
> > > > > > >> > > > > > >> > > can take a look?
> > > > > > >> > > > > > >> > >
> > > > > > >> > > > > > >> > >    http://www.dtcenter.org/met/
> > > > > > >> > users/support/met_help.php#ftp
> > > > > > >> > > > > > >> > >
> > > > > > >> > > > > > >> > > Also, could you please try running the
> > following
> > > > > > manually
> > > > > > >> > and
> > > > > > >> > > > send
> > > > > > >> > > > > > the
> > > > > > >> > > > > > >> > > output to me?
> > > > > > >> > > > > > >> > >
> > > > > > >> > > > > > >> > > "/D2/xinxia/METplus/MET/met-
5.2/bin/tc_stat
> > -job
> > > > > > filter
> > > > > > >> > > -lookin
> > > > > > >> > > > > > >> > >
/D2/xinxia/METplus/MET/input/tc_pairs/201412
> > > > > -init_inc
> > > > > > >> > > > > 20141201_00
> > > > > > >> > > > > > >> > > -match_points true -dump_row
> > > > > > /D2/xinxia/METplus/MET/out/
> > > > > > >> > > > > > >> > > extract_tiles/20141201_00/
> > > filter_20141201_00.tcst
> > > > > > >> -basin
> > > > > > >> > ML
> > > > > > >> > > > > > >> > > -out_init_mask
> > > > > > >> > > > > > >> > > /D2/xinxia/METplus/MET/met-5.2
> > > > > > >> /share/met/poly/CONUS.poly"
> > > > > > >> > > > > > >> > >
> > > > > > >> > > > > > >> > > Thank you!
> > > > > > >> > > > > > >> > >
> > > > > > >> > > > > > >> > > Julie
> > > > > > >> > > > > > >> > >
> > > > > > >> > > > > > >> > >
> > > > > > >> > > > > > >> > >
> > > > > > >> > > > > > >> > > On Wed, Feb 22, 2017 at 12:06 PM,
Xinxia Song
> > via
> > > > RT
> > > > > <
> > > > > > >> > > > > > >> met_help at ucar.edu>
> > > > > > >> > > > > > >> > > wrote:
> > > > > > >> > > > > > >> > >
> > > > > > >> > > > > > >> > > >
> > > > > > >> > > > > > >> > > > <URL: https://rt.rap.ucar.edu/rt/
> > > > > > >> > > Ticket/Display.html?id=79605
> > > > > > >> > > > >
> > > > > > >> > > > > > >> > > >
> > > > > > >> > > > > > >> > > > Hi Julie,
> > > > > > >> > > > > > >> > > >
> > > > > > >> > > > > > >> > > >
> > > > > > >> > > > > > >> > > > Now I can run the program, but when
I look
> at
> > > the
> > > > > log
> > > > > > >> file
> > > > > > >> > > in
> > > > > > >> > > > > the
> > > > > > >> > > > > > >> > output,
> > > > > > >> > > > > > >> > > > it shows error below:
> > > > > > >> > > > > > >> > > >
> > > > > > >> > > > > > >> > > >
> > > > > > >> > > > > > >> > > > ERROR| /D2/xinxia/METplus/METplus/
> > > > > > >> > > ush/run_tc_stat.py:tc_stat
> > > > > > >> > > > > from
> > > > > > >> > > > > > >> > > calling
> > > > > > >> > > > > > >> > > > MET TC-STAT with
> > command:/D2/xinxia/METplus/MET
> > > > > > >> > > > > > /met-5.2/bin/tc_stat
> > > > > > >> > > > > > >> > -job
> > > > > > >> > > > > > >> > > > filter -lookin
> /D2/xinxia/METplus/MET/input/
> > > > > > >> > tc_pairs/201412
> > > > > > >> > > > > > >> -init_inc
> > > > > > >> > > > > > >> > > > 20141201_00 -match_points true
-dump_row
> > > > > > >> > > > > > /D2/xinxia/METplus/MET/out/
> > > > > > >> > > > > > >> > > > extract_tiles/20141201_00/
> > > > filter_20141201_00.tcst
> > > > > > >> -basin
> > > > > > >> > > ML
> > > > > > >> > > > > > >> > > > -out_init_mask
> /D2/xinxia/METplus/MET/met-5.
> > > > > > >> > > > > > >> > 2/share/met/poly/CONUS.poly
> > > > > > >> > > > > > >> > > >
> > > > > > >> > > > > > >> > > >
> > > > > > >> > > > > > >> > > > How should I fix it?
> > > > > > >> > > > > > >> > > >
> > > > > > >> > > > > > >> > > >
> > > > > > >> > > > > > >> > > > Thanks,
> > > > > > >> > > > > > >> > > >
> > > > > > >> > > > > > >> > > >
> > > > > > >> > > > > > >> > > > Xinxia
> > > > > > >> > > > > > >> > > >
> > > > > > >> > > > > > >> > > > ________________________________
> > > > > > >> > > > > > >> > > > From: Julie Prestopnik via RT <
> > > met_help at ucar.edu
> > > > >
> > > > > > >> > > > > > >> > > > Sent: Thursday, February 23, 2017
7:30:06
> AM
> > > > > > >> > > > > > >> > > > To: Xinxia_Song at outlook.com
> > > > > > >> > > > > > >> > > > Subject: Re: [rt.rap.ucar.edu
#79605]
> > > > ImportError:
> > > > > > No
> > > > > > >> > > module
> > > > > > >> > > > > > named
> > > > > > >> > > > > > >> > > > constants_pdef
> > > > > > >> > > > > > >> > > >
> > > > > > >> > > > > > >> > > > Hi Xinxia.
> > > > > > >> > > > > > >> > > >
> > > > > > >> > > > > > >> > > > I believe that python doesn't know
how to
> > find
> > > > the
> > > > > > >> module
> > > > > > >> > > > > because
> > > > > > >> > > > > > >> the
> > > > > > >> > > > > > >> > ush
> > > > > > >> > > > > > >> > > > directory is not in your PYTHONPATH.
Both
> > the
> > > > parm
> > > > > > and
> > > > > > >> > ush
> > > > > > >> > > > > > >> directory
> > > > > > >> > > > > > >> > > need
> > > > > > >> > > > > > >> > > > to be specified in your PYTHONPATH.
Please
> > add
> > > > the
> > > > > > ush
> > > > > > >> > > > > directory
> > > > > > >> > > > > > to
> > > > > > >> > > > > > >> > your
> > > > > > >> > > > > > >> > > > PYTHONPATH, source ~/.bashrc, and
let us
> know
> > > how
> > > > > it
> > > > > > >> goes.
> > > > > > >> > > > > > >> > > >
> > > > > > >> > > > > > >> > > > Thanks,
> > > > > > >> > > > > > >> > > > Julie
> > > > > > >> > > > > > >> > > >
> > > > > > >> > > > > > >> > > > On Wed, Feb 22, 2017 at 10:24 AM,
Xinxia
> Song
> > > via
> > > > > RT
> > > > > > <
> > > > > > >> > > > > > >> > met_help at ucar.edu>
> > > > > > >> > > > > > >> > > > wrote:
> > > > > > >> > > > > > >> > > >
> > > > > > >> > > > > > >> > > > >
> > > > > > >> > > > > > >> > > > > <URL: https://rt.rap.ucar.edu/rt/
> > > > > > >> > > > Ticket/Display.html?id=79605
> > > > > > >> > > > > >
> > > > > > >> > > > > > >> > > > >
> > > > > > >> > > > > > >> > > > > Hi Julie,
> > > > > > >> > > > > > >> > > > >
> > > > > > >> > > > > > >> > > > >
> > > > > > >> > > > > > >> > > > > Since I don't have setenv, I added
these
> 3
> > > > > sentence
> > > > > > >> into
> > > > > > >> > > my
> > > > > > >> > > > > > >> .bashrc
> > > > > > >> > > > > > >> > > file:
> > > > > > >> > > > > > >> > > > >
> > > > > > >> > > > > > >> > > > >
> > > > > > >> > > > > > >> > > > > export PYTHONPATH="/D2/xinxia/
> > > > > > METplus/METplus/parm"
> > > > > > >> > > > > > >> > > > >
> > > > > > >> > > > > > >> > > > >
> > > > > > >> > > > > > >> > > > > export USHROOT=/D2/xinxia/METplus/
> > > METplus/ush
> > > > > > >> > > > > > >> > > > >
> > > > > > >> > > > > > >> > > > > export PATH=$USHROOT:$PATH
> > > > > > >> > > > > > >> > > > >
> > > > > > >> > > > > > >> > > > >
> > > > > > >> > > > > > >> > > > > I sourced the ~/.bashrc, and
checked that
> > the
> > > > > > >> variables
> > > > > > >> > > are
> > > > > > >> > > > > set,
> > > > > > >> > > > > > >> but
> > > > > > >> > > > > > >> > > the
> > > > > > >> > > > > > >> > > > > program still can't find the
module.
> > > > > > >> > > > > > >> > > > >
> > > > > > >> > > > > > >> > > > >
> > > > > > >> > > > > > >> > > > > Thanks,
> > > > > > >> > > > > > >> > > > >
> > > > > > >> > > > > > >> > > > > Xinxia
> > > > > > >> > > > > > >> > > > >
> > > > > > >> > > > > > >> > > > > ________________________________
> > > > > > >> > > > > > >> > > > > From: Julie Prestopnik via RT <
> > > > met_help at ucar.edu
> > > > > >
> > > > > > >> > > > > > >> > > > > Sent: Thursday, February 23, 2017
6:24:21
> > AM
> > > > > > >> > > > > > >> > > > > To: Xinxia_Song at outlook.com
> > > > > > >> > > > > > >> > > > > Subject: Re: [rt.rap.ucar.edu
#79605]
> > > > > ImportError:
> > > > > > >> No
> > > > > > >> > > > module
> > > > > > >> > > > > > >> named
> > > > > > >> > > > > > >> > > > > constants_pdef
> > > > > > >> > > > > > >> > > > >
> > > > > > >> > > > > > >> > > > > Hi Xinxia.
> > > > > > >> > > > > > >> > > > >
> > > > > > >> > > > > > >> > > > > Could you please check to make
sure that
> > the
> > > > ush
> > > > > > >> > directory
> > > > > > >> > > > > with
> > > > > > >> > > > > > >> > > > > constants_pdef.py is in your
PYTHONPATH
> in
> > > your
> > > > > > >> .cshrc
> > > > > > >> > > file
> > > > > > >> > > > > (or
> > > > > > >> > > > > > >> > .bashrc
> > > > > > >> > > > > > >> > > > or
> > > > > > >> > > > > > >> > > > > similar file)?  The parm directory
should
> > > also
> > > > be
> > > > > > in
> > > > > > >> > your
> > > > > > >> > > > > > >> PYTHONPATH.
> > > > > > >> > > > > > >> > > > >
> > > > > > >> > > > > > >> > > > > For example,
> > > > > > >> > > > > > >> > > > >
> > > > > > >> > > > > > >> > > > > setenv PYTHONPATH
> > > /d1/jpresto/sbu/METplus/ush:/
> > > > > > >> > > > > > >> > > > d1/jpresto/sbu/METplus/parm
> > > > > > >> > > > > > >> > > > >
> > > > > > >> > > > > > >> > > > > Please also check make sure that
the path
> > to
> > > > the
> > > > > > ush
> > > > > > >> > > > directory
> > > > > > >> > > > > > is
> > > > > > >> > > > > > >> > also
> > > > > > >> > > > > > >> > > > > specified your your path
environment
> > > variable.
> > > > > For
> > > > > > >> > > example,
> > > > > > >> > > > > > >> > > > >
> > > > > > >> > > > > > >> > > > > set path = (/usr/local/bin \
> > > > > > >> > > > > > >> > > > >
> > > /usr/local/python/bin/python \
> > > > > > >> > > > > > >> > > > >
> > /d1/jpresto/sbu/METplus/ush
> > > )
> > > > > > >> > > > > > >> > > > >
> > > > > > >> > > > > > >> > > > > If they are not there, please add
them
> and
> > > then
> > > > > > >> source
> > > > > > >> > the
> > > > > > >> > > > > file
> > > > > > >> > > > > > >> (e.g.
> > > > > > >> > > > > > >> > > run
> > > > > > >> > > > > > >> > > > > "source ~/.cshrc").
> > > > > > >> > > > > > >> > > > >
> > > > > > >> > > > > > >> > > > > Thank you!  Please let us know how
it
> goes.
> > > > > > >> > > > > > >> > > > >
> > > > > > >> > > > > > >> > > > > Julie
> > > > > > >> > > > > > >> > > > >
> > > > > > >> > > > > > >> > > > >
> > > > > > >> > > > > > >> > > > >
> > > > > > >> > > > > > >> > > > >
> > > > > > >> > > > > > >> > > > > On Tue, Feb 21, 2017 at 4:49 PM,
Xinxia
> > Song
> > > > via
> > > > > > RT <
> > > > > > >> > > > > > >> > met_help at ucar.edu
> > > > > > >> > > > > > >> > > >
> > > > > > >> > > > > > >> > > > > wrote:
> > > > > > >> > > > > > >> > > > >
> > > > > > >> > > > > > >> > > > > >
> > > > > > >> > > > > > >> > > > > > Tue Feb 21 16:49:28 2017:
Request 79605
> > was
> > > > > acted
> > > > > > >> > upon.
> > > > > > >> > > > > > >> > > > > > Transaction: Ticket created by
> > > > > > >> > Xinxia_Song at outlook.com
> > > > > > >> > > > > > >> > > > > >        Queue: met_help
> > > > > > >> > > > > > >> > > > > >      Subject: ImportError: No
module
> > named
> > > > > > >> > > constants_pdef
> > > > > > >> > > > > > >> > > > > >        Owner: Nobody
> > > > > > >> > > > > > >> > > > > >   Requestors:
Xinxia_Song at outlook.com
> > > > > > >> > > > > > >> > > > > >       Status: new
> > > > > > >> > > > > > >> > > > > >  Ticket <URL:
> > https://rt.rap.ucar.edu/rt/
> > > > > > >> > > > > > >> > > Ticket/Display.html?id=79605
> > > > > > >> > > > > > >> > > > >
> > > > > > >> > > > > > >> > > > > >
> > > > > > >> > > > > > >> > > > > >
> > > > > > >> > > > > > >> > > > > > Hi,
> > > > > > >> > > > > > >> > > > > >
> > > > > > >> > > > > > >> > > > > >
> > > > > > >> > > > > > >> > > > > > When I ran the
mater_met_plus.py, it
> > says:
> > > > > > >> > > > > > >> > > > > >
> > > > > > >> > > > > > >> > > > > >
> > > > > > >> > > > > > >> > > > > > ImportError: No module named
> > constants_pdef
> > > > > > >> > > > > > >> > > > > >
> > > > > > >> > > > > > >> > > > > >
> > > > > > >> > > > > > >> > > > > > Seems it doesn't recognize
> constants_pdef
> > > as
> > > > > its
> > > > > > >> > module.
> > > > > > >> > > > > > >> > > > > >
> > > > > > >> > > > > > >> > > > > >
> > > > > > >> > > > > > >> > > > > > Thanks,
> > > > > > >> > > > > > >> > > > > >
> > > > > > >> > > > > > >> > > > > > Xinxia
> > > > > > >> > > > > > >> > > > > >
> > > > > > >> > > > > > >> > > > > >
> > > > > > >> > > > > > >> > > > >
> > > > > > >> > > > > > >> > > > >
> > > > > > >> > > > > > >> > > > >
> > > > > > >> > > > > > >> > > >
> > > > > > >> > > > > > >> > > >
> > > > > > >> > > > > > >> > > >
> > > > > > >> > > > > > >> > >
> > > > > > >> > > > > > >> > >
> > > > > > >> > > > > > >> > >
> > > > > > >> > > > > > >> >
> > > > > > >> > > > > > >> >
> > > > > > >> > > > > > >> >
> > > > > > >> > > > > > >>
> > > > > > >> > > > > > >>
> > > > > > >> > > > > > >>
> > > > > > >> > > > > > >
> > > > > > >> > > > > >
> > > > > > >> > > > > >
> > > > > > >> > > > > >
> > > > > > >> > > > >
> > > > > > >> > > > >
> > > > > > >> > > > >
> > > > > > >> > > >
> > > > > > >> > > >
> > > > > > >> > > >
> > > > > > >> > >
> > > > > > >> > >
> > > > > > >> > >
> > > > > > >> >
> > > > > > >> >
> > > > > > >> >
> > > > > > >>
> > > > > > >>
> > > > > > >>
> > > > > > >
> > > > > >
> > > > > >
> > > > > >
> > > > >
> > > > >
> > > > >
> > > >
> > > >
> > > >
> > >
> > >
> > >
> >
> >
> >
>
>
>

------------------------------------------------
Subject: ImportError: No module named constants_pdef
From: Xinxia Song
Time: Tue Feb 28 12:18:56 2017

Hi Julie,


Before I was running master_met_plus.py and now I ran the
series_by_lead.py and got the following results:

[xinxia at chaos ush]$ python series_by_lead.py

Traceback (most recent call last):

  File "series_by_lead.py", line 945, in <module>

    analysis_by_lead_time()

  File "series_by_lead.py", line 326, in analysis_by_lead_time

    vmin, vmax = get_netcdf_min_max(nc_var_list, cur_stat, p, logger)

  File "series_by_lead.py", line 638, in get_netcdf_min_max

    shell=True)

  File "/home/xinxia/anaconda2/lib/python2.7/subprocess.py", line 219,
in check_output

    raise CalledProcessError(retcode, cmd, output=output)

subprocess.CalledProcessError: Command '/usr/local/bin/ncdump
/D2/xinxia/METplus/MET/out/series_analysis_lead/series_F042/min.nc >
/D2/xinxia/METplus/MET/out/series_analysis_lead/series_F042/min.txt'
returned non-zero exit status 127


Thanks,


Xinxia

________________________________
From: Julie Prestopnik via RT <met_help at ucar.edu>
Sent: Tuesday, February 28, 2017 2:11:19 PM
To: Xinxia_Song at outlook.com
Subject: Re: [rt.rap.ucar.edu #79605] ImportError: No module named
constants_pdef

Hi Xinxia.  Did you run series_by_lead.py on its own or via
master_met_plus.py?

Thanks,
Julie

On Tue, Feb 28, 2017 at 11:11 AM, Xinxia Song via RT
<met_help at ucar.edu>
wrote:

>
> <URL: https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=79605 >
>
> Hi Julie,
>
>
> I checked it's 2.7.13. It seems the error doesn't coming from it.
>
>
> Thanks,
>
>
> Xinxia
>
>
> ________________________________
> From: Julie Prestopnik via RT <met_help at ucar.edu>
> Sent: Tuesday, February 28, 2017 10:49:29 AM
> To: Xinxia_Song at outlook.com
> Subject: Re: [rt.rap.ucar.edu #79605] ImportError: No module named
> constants_pdef
>
> I think perhaps your environment is using Python 2.6 again.
>
> Please try running:
>
> python --version
>
> on the command line.
>
> If you see "Python 2..6.6", please add the path for Python 2.7 to
the front
> of your path in your ~/.bashrc file.  Then, source your ~/.bashrc
file and
> try rerunning
>
> python --version
>
> on the command line.  Hopefully, then you will see the new version.
Then,
> please try rerunning master_met_plus.py.
>
> I hope this helps!  Thanks!
>
> Julie
>
> On Mon, Feb 27, 2017 at 8:14 PM, Xinxia Song via RT
<met_help at ucar.edu>
> wrote:
>
> >
> > <URL: https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=79605 >
> >
> > Hi Julie,
> >
> >
> > after I update the NCAP2 path in constants_pdef.py and ran the
> > master_met_plus.py, I got the error:
> >
> > 2017-02-28 02:49:40,659 : ERROR | [master_met_plus.py:main] |
Problem
> > executing: series_by_lead.py
> >
> > and message:
> >
> > Traceback (most recent call last):
> >
> >   File "/D2/xinxia/METplus/METplus/ush/series_by_lead.py", line
945, in
> > <module>
> >
> >     analysis_by_lead_time()
> >
> >   File "/D2/xinxia/METplus/METplus/ush/series_by_lead.py", line
107, in
> > analysis_by_lead_time
> >
> >     util.apply_series_filters(tile_dir, init_times,
> > series_lead_filtered_out_dir, p, logger)
> >
> >   File "/D2/xinxia/METplus/METplus/ush/met_util.py", line 1005, in
> > apply_series_filters
> >
> >     tcs.tc_stat(p, logger, tc_cmd, series_output_dir)
> >
> >   File "/D2/xinxia/METplus/METplus/ush/run_tc_stat.py", line 69,
in
> > tc_stat
> >
> >     tc_stat_out = subprocess.check_output(tc_cmd,
> > stderr=subprocess.STDOUT, shell=True )
> >
> > AttributeError: 'module' object has no attribute 'check_output'
> >
> >
> > Thanks,
> >
> >
> > Xinxia
> >
> > ________________________________
> > From: Julie Prestopnik via RT <met_help at ucar.edu>
> > Sent: Monday, February 27, 2017 5:15:59 PM
> > To: Xinxia_Song at outlook.com
> > Subject: Re: [rt.rap.ucar.edu #79605] ImportError: No module named
> > constants_pdef
> >
> > Please install ncap2 and update the location to the executable in
the
> > NCAP2_EXE field of the constants_pdef.py file and trying rerunning
the
> MET+
> > code.  Please let us know how it goes.
> >
> > Thanks,
> > Julie
> >
> > On Mon, Feb 27, 2017 at 3:10 PM, Xinxia Song via RT
<met_help at ucar.edu>
> > wrote:
> >
> > >
> > > <URL: https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=79605 >
> > >
> > > Hi Julie,
> > >
> > >
> > > The result is :
> > >
> > > -bash: /usr/local/nco/bin/ncap2: No such file or directory
> > >
> > > I think we don't have it installed.
> > >
> > >
> > > Thanks,
> > >
> > > Xinxia
> > >
> > > ________________________________
> > > From: Julie Prestopnik via RT <met_help at ucar.edu>
> > > Sent: Monday, February 27, 2017 5:08:48 PM
> > > To: Xinxia_Song at outlook.com
> > > Subject: Re: [rt.rap.ucar.edu #79605] ImportError: No module
named
> > > constants_pdef
> > >
> > > Hi Xinxia. I believe that error code refers to "Command not
found".
> Can
> > > you please run the following and send me the output?
> > >
> > > /usr/local/nco/bin/ncap2 --version
> > >
> > > Thanks!
> > >
> > > Julie
> > >
> > >
> > > On Mon, Feb 27, 2017 at 2:55 PM, Xinxia Song via RT
<met_help at ucar.edu
> >
> > > wrote:
> > >
> > > >
> > > > <URL: https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=79605
>
> > > >
> > > > Hi Julie,
> > > >
> > > >
> > > > The error is:
> > > >
> > > > Traceback (most recent call last):
> > > >
> > > >   File "series_by_lead.py", line 945, in <module>
> > > >
> > > >     analysis_by_lead_time()
> > > >
> > > >   File "series_by_lead.py", line 326, in analysis_by_lead_time
> > > >
> > > >     vmin, vmax = get_netcdf_min_max(nc_var_list, cur_stat, p,
> logger)
> > > >
> > > >   File "series_by_lead.py", line 605, in get_netcdf_min_max
> > > >
> > > >     shell=True)
> > > >
> > > >   File "/home/xinxia/anaconda2/lib/python2.7/subprocess.py",
line
> 219,
> > > in
> > > > check_output
> > > >
> > > >     raise CalledProcessError(retcode, cmd, output=output)
> > > >
> > > > subprocess.CalledProcessError: Command
'/usr/local/nco/bin/ncap2 -v
> -s
> > > > "min=min(series_cnt_TOTAL)" /D2/xinxia/METplus/MET/out/
> > > > series_analysis_lead/series_F042/series_F042_HGT_P500.nc
> > > >
/D2/xinxia/METplus/MET/out/series_analysis_lead/series_F042/min.nc'
> > > > returned non-zero exit status 127
> > > >
> > > >
> > > > Thanks,
> > > >
> > > >
> > > > Xinxia
> > > >
> > > > ________________________________
> > > > From: Julie Prestopnik via RT <met_help at ucar.edu>
> > > > Sent: Tuesday, February 28, 2017 9:18:55 AM
> > > > To: Xinxia_Song at outlook.com
> > > > Subject: Re: [rt.rap.ucar.edu #79605] ImportError: No module
named
> > > > constants_pdef
> > > >
> > > > Thank you, Xinxia.
> > > >
> > > > Unfortunately, the "DEBUG" log level did not provide much
information
> > for
> > > > this task:
> > > >
> > > > 2017-02-26 21:30:28,041 : INFO | [master_met_plus.py:main] |
Running:
> > > > series_by_lead.py
> > > > 2017-02-26 21:30:28,212 : ERROR | [master_met_plus.py:main] |
Problem
> > > > executing: series_by_lead.py
> > > >
> > > > Could you please try running series_by_lead.py in the ush
directory?
> > > > Please let me know what the output is from that run - it may
still be
> > > > contained in your log file.
> > > >
> > > > Thanks!
> > > >
> > > > Julie
> > > >
> > > >
> > > > On Mon, Feb 27, 2017 at 11:17 AM, Xinxia Song via RT <
> > met_help at ucar.edu>
> > > > wrote:
> > > >
> > > > >
> > > > > <URL:
https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=79605 >
> > > > >
> > > > > Hi Julie,
> > > > >
> > > > >
> > > > > I uploaded the constants_pdef.py and
master_met_plus.20170226.log.
> > > > >
> > > > >
> > > > > Thanks,
> > > > >
> > > > >
> > > > > Xinxia
> > > > >
> > > > > ________________________________
> > > > > From: Julie Prestopnik via RT <met_help at ucar.edu>
> > > > > Sent: Tuesday, February 28, 2017 5:46:37 AM
> > > > > To: Xinxia_Song at outlook.com
> > > > > Subject: Re: [rt.rap.ucar.edu #79605] ImportError: No module
named
> > > > > constants_pdef
> > > > >
> > > > > Hi Xinxia.  Can you please upload the configuration file
that you
> > used
> > > > and
> > > > > the log file from that run to our ftp server so that we can
take a
> > > look?
> > > > >
> > > > > Thanks!
> > > > >
> > > > > Julie
> > > > >
> > > > > On Sun, Feb 26, 2017 at 2:35 PM, Xinxia Song via RT <
> > met_help at ucar.edu
> > > >
> > > > > wrote:
> > > > >
> > > > > >
> > > > > > <URL:
https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=79605 >
> > > > > >
> > > > > > Hi Julie,
> > > > > >
> > > > > >
> > > > > > I ran the mater_met_plus.py and in the end in the log file
it
> gave
> > me
> > > > an
> > > > > > error:
> > > > > >
> > > > > > 2017-02-26 21:30:28,212 : ERROR |
[master_met_plus.py:main] |
> > Problem
> > > > > > executing: series_by_lead.py
> > > > > >
> > > > > >
> > > > > > Thanks,
> > > > > >
> > > > > > Xinxia
> > > > > >
> > > > > > ________________________________
> > > > > > From: Julie Prestopnik via RT <met_help at ucar.edu>
> > > > > > Sent: Saturday, February 25, 2017 6:49:56 AM
> > > > > > To: Xinxia_Song at outlook.com
> > > > > > Subject: Re: [rt.rap.ucar.edu #79605] ImportError: No
module
> named
> > > > > > constants_pdef
> > > > > >
> > > > > > You could also run "tail -f
</path/to/logfile/logfile_name>"
> > > replacing
> > > > > > </path/to/logfile/logfile_name> with the logfile path and
name
> > > > > information
> > > > > > to see how the run is coming along.  I hope that helps!
> > > > > >
> > > > > > Julie
> > > > > >
> > > > > > On Fri, Feb 24, 2017 at 9:42 AM, Julie Prestopnik <
> > jpresto at ucar.edu>
> > > > > > wrote:
> > > > > >
> > > > > > > Hi Xinxia.  Running the entire three months of data
could
> > certainly
> > > > > take
> > > > > > a
> > > > > > > long time.  I am hoping to get an estimate on how long
it took
> to
> > > run
> > > > > the
> > > > > > > three month data set here, but have not been able to
obtain
> that
> > > > number
> > > > > > > yet.   It sounds the code was running successfully for
you.  If
> > > > you're
> > > > > > > eager to take a lot at some output, I would suggest
running a
> > > smaller
> > > > > > > subset of the data, or perhaps you could set up the
whole three
> > > month
> > > > > to
> > > > > > > run over the weekend.  I would suggest letting the code
run to
> > > > > completion
> > > > > > > for either a smaller subset or for the entire subset and
then
> > > > checking
> > > > > > the
> > > > > > > log file for errors.  I hope that helps.  Please let me
know if
> > you
> > > > > have
> > > > > > > any questions or encounter any issues.
> > > > > > >
> > > > > > > Thanks,
> > > > > > > Julie
> > > > > > >
> > > > > > >
> > > > > > > On Thu, Feb 23, 2017 at 4:28 PM, Xinxia Song via RT <
> > > > met_help at ucar.edu
> > > > > >
> > > > > > > wrote:
> > > > > > >
> > > > > > >>
> > > > > > >> <URL:
https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=79605
> >
> > > > > > >>
> > > > > > >> Hi Julie,
> > > > > > >>
> > > > > > >>
> > > > > > >> The version is set to be 2.7+. When I ran
master_met_plus.py,
> it
> > > > seems
> > > > > > it
> > > > > > >> will run forever. So I killed it, and got the
following:
> > > > > > >>
> > > > > > >> [xinxia at chaos ush]$ python master_met_plus.py
> > > > > > >>
> > > > > > >> ^CTraceback (most recent call last):
> > > > > > >>
> > > > > > >>   File
"/D2/xinxia/METplus/METplus/ush/extract_tiles.py",
> line
> > > 157,
> > > > > in
> > > > > > >> <module>
> > > > > > >>
> > > > > > >>     main()
> > > > > > >>
> > > > > > >>   File
"/D2/xinxia/METplus/METplus/ush/extract_tiles.py",
> line
> > > 100,
> > > > > in
> > > > > > >> main
> > > > > > >>
> > > > > > >>     filtered_out_dir)
> > > > > > >>
> > > > > > >>   File "/D2/xinxia/METplus/METplus/ush/run_tc_stat.py",
line
> > 69,
> > > in
> > > > > > >> tc_stat
> > > > > > >>
> > > > > > >>     tc_stat_out = subprocess.check_output(tc_cmd,
> > > > > > >> stderr=subprocess.STDOUT, shell=True )
> > > > > > >>
> > > > > > >>   File
"/home/xinxia/anaconda2/lib/python2.7/subprocess.py",
> > line
> > > > > 213,
> > > > > > >> in check_output
> > > > > > >>
> > > > > > >>     output, unused_err = process.communicate()
> > > > > > >>
> > > > > > >>   File
"/home/xinxia/anaconda2/lib/python2.7/subprocess.py",
> > line
> > > > > 471,
> > > > > > >> in communicate
> > > > > > >>
> > > > > > >>     stdout = _eintr_retry_call(self.stdout.read)
> > > > > > >>
> > > > > > >>   File
"/home/xinxia/anaconda2/lib/python2.7/subprocess.py",
> > line
> > > > > 121,
> > > > > > >> in _eintr_retry_call
> > > > > > >>
> > > > > > >>     return func(*args)
> > > > > > >>
> > > > > > >> KeyboardInterrupt
> > > > > > >>
> > > > > > >>
> > > > > > >> Thanks,
> > > > > > >>
> > > > > > >>
> > > > > > >> Xinxia
> > > > > > >>
> > > > > > >> ________________________________
> > > > > > >> From: Julie Prestopnik via RT <met_help at ucar.edu>
> > > > > > >> Sent: Friday, February 24, 2017 12:02:21 PM
> > > > > > >> To: Xinxia_Song at outlook.com
> > > > > > >> Subject: Re: [rt.rap.ucar.edu #79605] ImportError: No
module
> > > named
> > > > > > >> constants_pdef
> > > > > > >>
> > > > > > >> Hi Xinxia.  I suspect that even though you installed
Python
> 2.7
> > > that
> > > > > > >> Python
> > > > > > >> 2.6.6 is still being used.
> > > > > > >>
> > > > > > >> Please try running:
> > > > > > >>
> > > > > > >> python --version
> > > > > > >>
> > > > > > >> on the command line.
> > > > > > >>
> > > > > > >> If you see "Python 2..6.6", please add the path for
Python 2.7
> > to
> > > > the
> > > > > > >> front
> > > > > > >> of your path in your ~/.bashrc file.  Then, source your
> > ~/.bashrc
> > > > file
> > > > > > and
> > > > > > >> try rerunning
> > > > > > >>
> > > > > > >> python --version
> > > > > > >>
> > > > > > >> on the command line.  Hopefully, then you will see the
new
> > > version.
> > > > > > Then,
> > > > > > >> please try rerunning master_met_plus.py.
> > > > > > >>
> > > > > > >> I hope this helps!  Thanks!
> > > > > > >>
> > > > > > >> Julie
> > > > > > >>
> > > > > > >> On Thu, Feb 23, 2017 at 1:51 PM, Xinxia Song via RT <
> > > > > met_help at ucar.edu>
> > > > > > >> wrote:
> > > > > > >>
> > > > > > >> >
> > > > > > >> > <URL: https://rt.rap.ucar.edu/rt/Tic
> ket/Display.html?id=79605
> > >
> > > > > > >> >
> > > > > > >> > Hi Julie,
> > > > > > >> >
> > > > > > >> >
> > > > > > >> > I installed myself the 2.7 python, it still got the
error
> when
> > > > > > running:
> > > > > > >> >
> > > > > > >> > Traceback (most recent call last):
> > > > > > >> >
> > > > > > >> >   File
"/D2/xinxia/METplus/METplus/ush/series_by_lead.py",
> > line
> > > > > 945,
> > > > > > in
> > > > > > >> > <module>
> > > > > > >> >
> > > > > > >> >     analysis_by_lead_time()
> > > > > > >> >
> > > > > > >> >   File
"/D2/xinxia/METplus/METplus/ush/series_by_lead.py",
> > line
> > > > > 107,
> > > > > > in
> > > > > > >> > analysis_by_lead_time
> > > > > > >> >
> > > > > > >> >     util.apply_series_filters(tile_dir, init_times,
> > > > > > >> > series_lead_filtered_out_dir, p, logger)
> > > > > > >> >
> > > > > > >> >   File "/D2/xinxia/METplus/METplus/ush/met_util.py",
line
> > 1005,
> > > > in
> > > > > > >> > apply_series_filters
> > > > > > >> >
> > > > > > >> >     tcs.tc_stat(p, logger, tc_cmd, series_output_dir)
> > > > > > >> >
> > > > > > >> >   File
"/D2/xinxia/METplus/METplus/ush/run_tc_stat.py",
> line
> > > 69,
> > > > in
> > > > > > >> > tc_stat
> > > > > > >> >
> > > > > > >> >     tc_stat_out = subprocess.check_output(tc_cmd,
> > > > > > >> > stderr=subprocess.STDOUT, shell=True )
> > > > > > >> >
> > > > > > >> > AttributeError: 'module' object has no attribute
> > 'check_output'
> > > > > > >> >
> > > > > > >> >
> > > > > > >> > Thanks,
> > > > > > >> >
> > > > > > >> >
> > > > > > >> > Xinxia
> > > > > > >> >
> > > > > > >> > ________________________________
> > > > > > >> > From: Julie Prestopnik via RT <met_help at ucar.edu>
> > > > > > >> > Sent: Friday, February 24, 2017 9:37:53 AM
> > > > > > >> > To: Xinxia_Song at outlook.com
> > > > > > >> > Subject: Re: [rt.rap.ucar.edu #79605] ImportError: No
> module
> > > > named
> > > > > > >> > constants_pdef
> > > > > > >> >
> > > > > > >> > Can you please tell me which version of Python you
are
> using?
> > > > > > >> check_output
> > > > > > >> > for subprocess was introduced in Python 2.7.    Do
you have
> > > access
> > > > > to
> > > > > > >> > Python version 2.7 or higher?
> > > > > > >> >
> > > > > > >> > Thanks,
> > > > > > >> > Julie
> > > > > > >> >
> > > > > > >> > On Thu, Feb 23, 2017 at 12:11 PM, Xinxia Song via RT
<
> > > > > > met_help at ucar.edu
> > > > > > >> >
> > > > > > >> > wrote:
> > > > > > >> >
> > > > > > >> > >
> > > > > > >> > > <URL: https://rt.rap.ucar.edu/rt/
> > Ticket/Display.html?id=79605
> > > >
> > > > > > >> > >
> > > > > > >> > > Hi Julie,
> > > > > > >> > >
> > > > > > >> > >
> > > > > > >> > > I added it to the $PATH and ran the
master_met_python.py:
> > > > > > >> > >
> > > > > > >> > > [xinxia at chaos ush]$ python master_met_plus.py
> > > > > > >> > >
> > > > > > >> > > Traceback (most recent call last):
> > > > > > >> > >
> > > > > > >> > >   File
"/D2/xinxia/METplus/METplus/ush/extract_tiles.py",
> > > line
> > > > > 157,
> > > > > > >> in
> > > > > > >> > > <module>
> > > > > > >> > >
> > > > > > >> > >     main()
> > > > > > >> > >
> > > > > > >> > >   File
"/D2/xinxia/METplus/METplus/ush/extract_tiles.py",
> > > line
> > > > > 100,
> > > > > > >> in
> > > > > > >> > > main
> > > > > > >> > >
> > > > > > >> > >     filtered_out_dir)
> > > > > > >> > >
> > > > > > >> > >   File
"/D2/xinxia/METplus/METplus/ush/run_tc_stat.py",
> > line
> > > > 69,
> > > > > in
> > > > > > >> > > tc_stat
> > > > > > >> > >
> > > > > > >> > >     tc_stat_out = subprocess.check_output(tc_cmd,
> > > > > > >> > > stderr=subprocess.STDOUT, shell=True )
> > > > > > >> > >
> > > > > > >> > > AttributeError: 'module' object has no attribute
> > > 'check_output'
> > > > > > >> > >
> > > > > > >> > >
> > > > > > >> > > Thanks,
> > > > > > >> > >
> > > > > > >> > >
> > > > > > >> > > Xinxia
> > > > > > >> > >
> > > > > > >> > > ________________________________
> > > > > > >> > > From: Julie Prestopnik via RT <met_help at ucar.edu>
> > > > > > >> > > Sent: Friday, February 24, 2017 9:07:40 AM
> > > > > > >> > > To: Xinxia_Song at outlook.com
> > > > > > >> > > Subject: Re: [rt.rap.ucar.edu #79605] ImportError:
No
> > module
> > > > > named
> > > > > > >> > > constants_pdef
> > > > > > >> > >
> > > > > > >> > > Unfortunately, your environment does not know where
to
> find
> > > > > > >> > > run_tc_pairs.py.  Please try adding the directory
with
> > > > > > run_tc_pairs.py
> > > > > > >> > > (/D2/xinxia/METplus/METplus/ush) to your path in
your
> > > ~/.bashrc
> > > > > > file,
> > > > > > >> > then
> > > > > > >> > > run "source ~/.bashrc", then trying rerunning.
Please let
> > me
> > > > know
> > > > > > how
> > > > > > >> > that
> > > > > > >> > > goes.
> > > > > > >> > >
> > > > > > >> > > Thanks!
> > > > > > >> > >
> > > > > > >> > > Julie
> > > > > > >> > >
> > > > > > >> > > On Thu, Feb 23, 2017 at 11:55 AM, Xinxia Song via
RT <
> > > > > > >> met_help at ucar.edu>
> > > > > > >> > > wrote:
> > > > > > >> > >
> > > > > > >> > > >
> > > > > > >> > > > <URL: https://rt.rap.ucar.edu/rt/
> > > Ticket/Display.html?id=79605
> > > > >
> > > > > > >> > > >
> > > > > > >> > > > Hi Julie,
> > > > > > >> > > >
> > > > > > >> > > >
> > > > > > >> > > > I'm running met in a machine that's owned by our
> > > department, I
> > > > > > don't
> > > > > > >> > have
> > > > > > >> > > > sudo right, so when I type which run_tc_pairs.py,
it
> says
> > > > > couldn't
> > > > > > >> find
> > > > > > >> > > it.
> > > > > > >> > > >
> > > > > > >> > > > no run_tc_pairs.py in (/opt/ncl/bin:/opt/intel-
soft/
> > > > > > >> > > > bin:/opt/ncl/bin:/opt/ncl/bin:
> > /opt/intel-soft/bin:/opt/ncl/
> > > > > > >> > > > bin:/home/xinxia/anaconda/bin:
> /home/xinxia/anaconda/bin:/
> > > > > > >> > > > opt/ncl/bin:/opt/intel-soft/bi
> n:/opt/ncl/bin:/usr/lib64/
> > > > > > >> > > > qt-3.3/bin:/usr/local/bin:/bin
> :/usr/bin:/usr/local/sbin:/
> > > > > > >> > > > usr/sbin:/sbin:/sbin:/usr/sbin:/cm/local/apps/
> > > > > > >> > > environment-modules/3.2.10/
> > > > > > >> > > > bin:/home/xinxia/bin:/opt/ncl-621/bin)
> > > > > > >> > > >
> > > > > > >> > > >
> > > > > > >> > > > But I could find it manually in that directory.
> > > > > > >> > > >
> > > > > > >> > > >
> > > > > > >> > > > Thanks,
> > > > > > >> > > >
> > > > > > >> > > >
> > > > > > >> > > > Xinxia
> > > > > > >> > > >
> > > > > > >> > > > ________________________________
> > > > > > >> > > > From: Julie Prestopnik via RT <met_help at ucar.edu>
> > > > > > >> > > > Sent: Friday, February 24, 2017 8:52:16 AM
> > > > > > >> > > > To: Xinxia_Song at outlook.com
> > > > > > >> > > > Subject: Re: [rt.rap.ucar.edu #79605]
ImportError: No
> > > module
> > > > > > named
> > > > > > >> > > > constants_pdef
> > > > > > >> > > >
> > > > > > >> > > > Hi Xinxia.
> > > > > > >> > > >
> > > > > > >> > > > It looks like you got a successful run of tc_stat
-
> that's
> > > > great
> > > > > > >> news!
> > > > > > >> > > >
> > > > > > >> > > > I'm not sure what you mean by "Because I don't
have the
> > > > right, I
> > > > > > >> can't
> > > > > > >> > > find
> > > > > > >> > > > run_tc_pairs.py, but I know it's under
> > > > > > >> > > >
> > > > > > >> > > > /D2/xinxia/METplus/METplus/ush".
> > > > > > >> > > >
> > > > > > >> > > > Can you please explain?  What happened when you
ran
> "which
> > > > > > >> > > > run_tc_pairs.py"?
> > > > > > >> > > >
> > > > > > >> > > > Thanks,
> > > > > > >> > > > Julie
> > > > > > >> > > >
> > > > > > >> > > >
> > > > > > >> > > >
> > > > > > >> > > >
> > > > > > >> > > >
> > > > > > >> > > >
> > > > > > >> > > > On Thu, Feb 23, 2017 at 11:44 AM, Xinxia Song via
RT <
> > > > > > >> > met_help at ucar.edu>
> > > > > > >> > > > wrote:
> > > > > > >> > > >
> > > > > > >> > > > >
> > > > > > >> > > > > <URL: https://rt.rap.ucar.edu/rt/
> > > > Ticket/Display.html?id=79605
> > > > > >
> > > > > > >> > > > >
> > > > > > >> > > > > Hi Julie,
> > > > > > >> > > > >
> > > > > > >> > > > >
> > > > > > >> > > > > I removed the space.
> > > > > > >> > > > >
> > > > > > >> > > > > [xinxia at chaos parm]$
/D2/xinxia/METplus/MET/met-5.2
> > > > > /bin/tc_stat
> > > > > > >> -job
> > > > > > >> > > > > filter -lookin /D2/xinxia/METplus/MET/input/
> > > tc_pairs/201412
> > > > > > >> > -init_inc
> > > > > > >> > > > > 20141201_00 -match_points true -dump_row
> > > > > > >> /D2/xinxia/METplus/MET/out/
> > > > > > >> > > > >
extract_tiles/20141201_00/filter_20141201_00.tcst
> > -basin
> > > > ML
> > > > > > >> > > > > -out_init_mask /D2/xinxia/METplus/MET/met-5.
> > > > > > >> > > 2/share/met/poly/CONUS.poly
> > > > > > >> > > > >
> > > > > > >> > > > > DEBUG 1: [Source 1] Lookin:
> > /D2/xinxia/METplus/MET/input/
> > > > > > >> > > tc_pairs/201412
> > > > > > >> > > > >
> > > > > > >> > > > > DEBUG 2:
> > > > > > >> > > > >
> > > > > > >> > > > > DEBUG 2: Processing Job 1: -job filter -basin
ML
> > -init_inc
> > > > > > >> > > > 20141201_000000
> > > > > > >> > > > > -match_points true -out_init_mask
> > > > > /D2/xinxia/METplus/MET/met-5.
> > > > > > >> > > > 2/share/met/poly/CONUS.poly
> > > > > > >> > > > > -dump_row /D2/xinxia/METplus/MET/out/ext
> > > > > ract_tiles/20141201_00/
> > > > > > >> > > > > filter_20141201_00.tcst
> > > > > > >> > > > >
> > > > > > >> > > > > DEBUG 1: Creating output dump file:
> > > > > /D2/xinxia/METplus/MET/out/
> > > > > > >> > > > >
extract_tiles/20141201_00/filter_20141201_00.tcst
> > > > > > >> > > > >
> > > > > > >> > > > > FILTER: -job filter -basin ML -init_inc
> 20141201_000000
> > > > > > >> -match_points
> > > > > > >> > > > true
> > > > > > >> > > > > -out_init_mask /D2/xinxia/METplus/MET/met-5.
> > > > > > >> > > 2/share/met/poly/CONUS.poly
> > > > > > >> > > > > -dump_row /D2/xinxia/METplus/MET/out/ext
> > > > > ract_tiles/20141201_00/
> > > > > > >> > > > > filter_20141201_00.tcst
> > > > > > >> > > > >
> > > > > > >> > > > >
> > > > > > >> > > > > DEBUG 2: Job 1 used 0 out of 27292 lines read.
> > > > > > >> > > > >
> > > > > > >> > > > >
> > > > > > >> > > > > Because I don't have the right, I can't find
> > > > run_tc_pairs.py,
> > > > > > but
> > > > > > >> I
> > > > > > >> > > know
> > > > > > >> > > > > it's under
> > > > > > >> > > > >
> > > > > > >> > > > > /D2/xinxia/METplus/METplus/ush
> > > > > > >> > > > >
> > > > > > >> > > > >
> > > > > > >> > > > > For Python,
> > > > > > >> > > > >
> > > > > > >> > > > > [xinxia at chaos ~]$ which python
> > > > > > >> > > > >
> > > > > > >> > > > > /usr/bin/python
> > > > > > >> > > > >
> > > > > > >> > > > >
> > > > > > >> > > > > Xinxia
> > > > > > >> > > > >
> > > > > > >> > > > > ________________________________
> > > > > > >> > > > > From: Julie Prestopnik via RT
<met_help at ucar.edu>
> > > > > > >> > > > > Sent: Friday, February 24, 2017 8:30:01 AM
> > > > > > >> > > > > To: Xinxia_Song at outlook.com
> > > > > > >> > > > > Subject: Re: [rt.rap.ucar.edu #79605]
ImportError: No
> > > > module
> > > > > > >> named
> > > > > > >> > > > > constants_pdef
> > > > > > >> > > > >
> > > > > > >> > > > > Hi Xinxia.
> > > > > > >> > > > >
> > > > > > >> > > > > It looks like there is a space where there
should not
> > be a
> > > > > space
> > > > > > >> > > (between
> > > > > > >> > > > >
/D2/xinxia/METplus/MET/out/extract_tiles/20141201_00/
> > and
> > > > > > >> > > > > filter_20141201_00.tcst after the -dump_row
option).
> > > > > > >> > > > >
> > > > > > >> > > > > Could you please try it again without the
space?
> > > > > > >> > > > >
> > > > > > >> > > > >
/D2/xinxia/METplus/METplus/ush/run_tc_stat.py:tc_stat
> > > from
> > > > > > >> calling
> > > > > > >> > MET
> > > > > > >> > > > > TC-STAT with command:/D2/xinxia/METplus/MET
> > > > > /met-5.2/bin/tc_stat
> > > > > > >> -job
> > > > > > >> > > > > filter
> > > > > > >> > > > > -lookin
/D2/xinxia/METplus/MET/input/tc_pairs/201412
> > > > > -init_inc
> > > > > > >> > > > 20141201_00
> > > > > > >> > > > > -match_points true -dump_row
> /D2/xinxia/METplus/MET/out/
> > > > > > >> > > > >
extract_tiles/20141201_00/filter_20141201_00.tcst
> > -basin
> > > > ML
> > > > > > >> > > > > -out_init_mask
> > > > > > >> > > > > /D2/xinxia/METplus/MET/met-5.
> > 2/share/met/poly/CONUS.poly
> > > > > > >> > > > >
> > > > > > >> > > > > Regarding the master_met_plus.py run, please
try
> running
> > > the
> > > > > > >> > following
> > > > > > >> > > > two
> > > > > > >> > > > > commands and send me the output:
> > > > > > >> > > > >
> > > > > > >> > > > > which run_tc_pairs.py
> > > > > > >> > > > >
> > > > > > >> > > > > which python
> > > > > > >> > > > >
> > > > > > >> > > > > Thanks!
> > > > > > >> > > > >
> > > > > > >> > > > > Julie
> > > > > > >> > > > >
> > > > > > >> > > > > On Thu, Feb 23, 2017 at 11:06 AM, Xinxia Song
via RT <
> > > > > > >> > > met_help at ucar.edu>
> > > > > > >> > > > > wrote:
> > > > > > >> > > > >
> > > > > > >> > > > > >
> > > > > > >> > > > > > <URL: https://rt.rap.ucar.edu/rt/Tic
> > > > > ket/Display.html?id=79605
> > > > > > >
> > > > > > >> > > > > >
> > > > > > >> > > > > > Hi Julie,
> > > > > > >> > > > > >
> > > > > > >> > > > > >
> > > > > > >> > > > > > After I ran the long one line command:
> > > > > > >> > > > > >
> > > > > > >> > > > > > [xinxia at chaos parm]$
/D2/xinxia/METplus/MET/met-5.
> > > > > > 2/bin/tc_stat
> > > > > > >> > -job
> > > > > > >> > > > > > filter -lookin /D2/xinxia/METplus/MET/input/
> > > > tc_pairs/201412
> > > > > > >> > > -init_inc
> > > > > > >> > > > > > 20141201_00 -match_points true -dump_row
> > > > > > >> > /D2/xinxia/METplus/MET/out/
> > > > > > >> > > > > extract_tiles/20141201_00/
> > > > > > >> > > > > > filter_20141201_00.tcst  -basin ML
-out_init_mask
> > > > > > >> > > > > > /D2/xinxia/METplus/MET/met-5.
> > > 2/share/met/poly/CONUS.poly
> > > > > > >> > > > > >
> > > > > > >> > > > > >
> > > > > > >> > > > > > DEBUG 1: [Source 1] Lookin:
> > > /D2/xinxia/METplus/MET/input/
> > > > > > >> > > > tc_pairs/201412
> > > > > > >> > > > > >
> > > > > > >> > > > > > ERROR  :
> > > > > > >> > > > > >
> > > > > > >> > > > > > ERROR  : TCStatJob *TCStatJobFactory::new_tc_
> > > > stat_job(const
> > > > > > >> char
> > > > > > >> > > > > > *jobstring) -> unsupported job command
options
> > > > > > >> > > > "filter_20141201_00.tcst".
> > > > > > >> > > > > >
> > > > > > >> > > > > > ERROR  :
> > > > > > >> > > > > >
> > > > > > >> > > > > >
> > > > > > >> > > > > > And for the master_met_plus.py, I got the
error:
> > > > > > >> > > > > >
> > > > > > >> > > > > > [xinxia at chaos ush]$ python master_met_plus.py
> > > > > > >> > > > > >
> > > > > > >> > > > > > sh: run_tc_pairs.py: command not found
> > > > > > >> > > > > >
> > > > > > >> > > > > >
> > > > > > >> > > > > > Thanks,
> > > > > > >> > > > > >
> > > > > > >> > > > > >
> > > > > > >> > > > > > Xinxia
> > > > > > >> > > > > >
> > > > > > >> > > > > > ________________________________
> > > > > > >> > > > > > From: Julie Prestopnik via RT
<met_help at ucar.edu>
> > > > > > >> > > > > > Sent: Friday, February 24, 2017 7:42:21 AM
> > > > > > >> > > > > > To: Xinxia_Song at outlook.com
> > > > > > >> > > > > > Subject: Re: [rt.rap.ucar.edu #79605]
ImportError:
> No
> > > > > module
> > > > > > >> named
> > > > > > >> > > > > > constants_pdef
> > > > > > >> > > > > >
> > > > > > >> > > > > > My apologies, my response should have said,
"By
> > default,
> > > > MET
> > > > > > >> > version
> > > > > > >> > > > 5.2
> > > > > > >> > > > > is
> > > > > > >> > > > > > compiled using dynamic linking."  It's true
for
> both,
> > > but
> > > > I
> > > > > > see
> > > > > > >> > > you're
> > > > > > >> > > > > > using 5.2 and I inadvertently referred to
5.1.
> > > > > > >> > > > > >
> > > > > > >> > > > > > On Thu, Feb 23, 2017 at 10:40 AM, Julie
Prestopnik <
> > > > > > >> > jpresto at ucar.edu
> > > > > > >> > > >
> > > > > > >> > > > > > wrote:
> > > > > > >> > > > > >
> > > > > > >> > > > > > > Hi Xinxia.  Regarding the error:
> > > > > > >> > > > > > >
> > > > > > >> > > > > > > /D2/xinxia/METplus/MET/met-5.2/bin/tc_stat:
error
> > > while
> > > > > > >> loading
> > > > > > >> > > > shared
> > > > > > >> > > > > > > libraries: libgsl.so.19: cannot open shared
object
> > > file:
> > > > > No
> > > > > > >> such
> > > > > > >> > > file
> > > > > > >> > > > > or
> > > > > > >> > > > > > > directory
> > > > > > >> > > > > > >
> > > > > > >> > > > > > > By default, MET version 5.1 is compiled
using
> > dynamic
> > > > > > linking.
> > > > > > >> > > > Rather
> > > > > > >> > > > > > > than compiling the external library code in
with
> the
> > > MET
> > > > > > >> > > executables
> > > > > > >> > > > > > (which
> > > > > > >> > > > > > > is
> > > > > > >> > > > > > > called static linking), it looks for them
at
> > runtime.
> > > > And
> > > > > > >> it's
> > > > > > >> > > > looking
> > > > > > >> > > > > > > for those "shared object" (.so) library
files.
> > > > > > >> > > > > > >
> > > > > > >> > > > > > > This should be easy to fix. We just need to
tell
> it
> > > > where
> > > > > to
> > > > > > >> find
> > > > > > >> > > > them,
> > > > > > >> > > > > > > and we do that by setting (or adding to the
> > > > > > LD_LIBRARY_PATH).
> > > > > > >> > Look
> > > > > > >> > > > in
> > > > > > >> > > > > > your
> > > > > > >> > > > > > > ~/.bashrc file.  If LD_LIBRARY_PATH is
already
> > defined
> > > > in
> > > > > > >> there,
> > > > > > >> > > add
> > > > > > >> > > > > the
> > > > > > >> > > > > > > path to the libgsl.so.19 to the end of it.
If
> not,
> > > add
> > > > an
> > > > > > >> > > > > > > LD_LIBRARY_PATH entry in your ~/.bashrc
file.  So,
> > for
> > > > > > >> example,
> > > > > > >> > if
> > > > > > >> > > > the
> > > > > > >> > > > > > path
> > > > > > >> > > > > > > to your libgsl.so.19 file is
> > > > > /D2/xinxia/METplus/MET/externa
> > > > > > >> > > > > > l_libs/GSL/gsl-1.16/lib
> > > > > > >> > > > > > > you would add teh following to your
~/.bashrc
> file:
> > > > > > >> > > > > > >
> > > > > > >> > > > > > >   export LD_LIBRARY_PATH=/D2/xinxia/
> > > > > > >> > METplus/MET/external_libs/GSL/
> > > > > > >> > > > > > > gsl-1.16/lib
> > > > > > >> > > > > > >
> > > > > > >> > > > > > > Then save the change and source that file:
> > > > > > >> > > > > > >
> > > > > > >> > > > > > >   source ~/.bashrc
> > > > > > >> > > > > > >
> > > > > > >> > > > > > > Then, please try rerunning the command
manually
> and
> > > let
> > > > me
> > > > > > >> know
> > > > > > >> > if
> > > > > > >> > > it
> > > > > > >> > > > > > > works.
> > > > > > >> > > > > > >
> > > > > > >> > > > > > > I believe that this was the cause of the
initial
> > error
> > > > you
> > > > > > >> > received
> > > > > > >> > > > > from
> > > > > > >> > > > > > > MET+:
> > > > > > >> > > > > > >
> > > > > > >> > > > > > > ERROR| /D2/xinxia/METplus/METplus/
> > > > > > ush/run_tc_stat.py:tc_stat
> > > > > > >> > from
> > > > > > >> > > > > > calling
> > > > > > >> > > > > > > MET TC-STAT with
command:/D2/xinxia/METplus/
> > > > > > >> > > MET/met-5.2/bin/tc_stat
> > > > > > >> > > > > -job
> > > > > > >> > > > > > > filter -lookin
/D2/xinxia/METplus/MET/input/t
> > > > > c_pairs/201412
> > > > > > >> > > > -init_inc
> > > > > > >> > > > > > > 20141201_00 -match_points true -dump_row
> > > > > > >> > > > /D2/xinxia/METplus/MET/out/ext
> > > > > > >> > > > > > >
ract_tiles/20141201_00/filter_20141201_00.tcst
> > > -basin
> > > > ML
> > > > > > >> > > > > -out_init_mask
> > > > > > >> > > > > > > /D2/xinxia/METplus/MET/met-5.
> > > > 2/share/met/poly/CONUS.poly
> > > > > > >> > > > > > >
> > > > > > >> > > > > > >
> > > > > > >> > > > > > > Thanks,
> > > > > > >> > > > > > > Julie
> > > > > > >> > > > > > >
> > > > > > >> > > > > > > On Thu, Feb 23, 2017 at 10:14 AM, Xinxia
Song via
> > RT <
> > > > > > >> > > > > met_help at ucar.edu>
> > > > > > >> > > > > > > wrote:
> > > > > > >> > > > > > >
> > > > > > >> > > > > > >>
> > > > > > >> > > > > > >> <URL: https://rt.rap.ucar.edu/rt/Tic
> > > > > > >> ket/Display.html?id=79605 >
> > > > > > >> > > > > > >>
> > > > > > >> > > > > > >> Hi Julie,
> > > > > > >> > > > > > >>
> > > > > > >> > > > > > >>
> > > > > > >> > > > > > >> [xinxia at chaos ush]$
> /D2/xinxia/METplus/MET/met-5.2
> > > > > > >> /bin/tc_stat
> > > > > > >> > > -job
> > > > > > >> > > > > > >> filter -lookin
/D2/xinxia/METplus/MET/input/
> > > > > > tc_pairs/201412
> > > > > > >> > > > -init_inc
> > > > > > >> > > > > > >> 20141201_00 -match_points true -dump_row
> > > > > > >> > > > > /D2/xinxia/METplus/MET/out/ext
> > > > > > >> > > > > > ract_tiles/20141201_00/
> > > > > > >> > > > > > >> filter_20141201_00.tcst  -basin ML
-out_init_mask
> > > > > > >> > > > > > >> /D2/xinxia/METplus/MET/met-5.
> > > > 2/share/met/poly/CONUS.poly
> > > > > > >> > > > > > >>
> > > > > > >> > > > > > >> /D2/xinxia/METplus/MET/met-
5.2/bin/tc_stat:
> error
> > > > while
> > > > > > >> loading
> > > > > > >> > > > > shared
> > > > > > >> > > > > > >> libraries: libgsl.so.19: cannot open
shared
> object
> > > > file:
> > > > > No
> > > > > > >> such
> > > > > > >> > > > file
> > > > > > >> > > > > or
> > > > > > >> > > > > > >> directory
> > > > > > >> > > > > > >>
> > > > > > >> > > > > > >>
> > > > > > >> > > > > > >> And I uploaded the configuration file
> > > > (constants_pdef.py)
> > > > > > >> under
> > > > > > >> > > > > > >> xinxia_data directory.
> > > > > > >> > > > > > >>
> > > > > > >> > > > > > >>
> > > > > > >> > > > > > >> Thanks,
> > > > > > >> > > > > > >>
> > > > > > >> > > > > > >>
> > > > > > >> > > > > > >> Xinxia
> > > > > > >> > > > > > >>
> > > > > > >> > > > > > >> ________________________________
> > > > > > >> > > > > > >> From: Julie Prestopnik via RT
<met_help at ucar.edu
> >
> > > > > > >> > > > > > >> Sent: Friday, February 24, 2017 6:15:57 AM
> > > > > > >> > > > > > >> To: Xinxia_Song at outlook.com
> > > > > > >> > > > > > >> Subject: Re: [rt.rap.ucar.edu #79605]
> ImportError:
> > > No
> > > > > > module
> > > > > > >> > > named
> > > > > > >> > > > > > >> constants_pdef
> > > > > > >> > > > > > >>
> > > > > > >> > > > > > >> Hi Xinxia.
> > > > > > >> > > > > > >>
> > > > > > >> > > > > > >> I can see that your command, which should
have
> been
> > > all
> > > > > on
> > > > > > >> one
> > > > > > >> > > line,
> > > > > > >> > > > > was
> > > > > > >> > > > > > >> broken up into several lines.  Please try
running
> > the
> > > > > > command
> > > > > > >> > > again,
> > > > > > >> > > > > > >> making
> > > > > > >> > > > > > >> sure that the entire command is on one
line:
> > > > > > >> > > > > > >>
> > > > > > >> > > > > > >> /D2/xinxia/METplus/MET/met-5.2/bin/tc_stat
-job
> > > filter
> > > > > > >> -lookin
> > > > > > >> > > > > > >>
/D2/xinxia/METplus/MET/input/tc_pairs/201412
> > > -init_inc
> > > > > > >> > > 20141201_00
> > > > > > >> > > > > > >> -match_points true -dump_row
> > > > > > >> > > > > > >> /D2/xinxia/METplus/MET/out/
> > > extract_tiles/20141201_00/
> > > > > > >> > > > > > >> filter_20141201_00.tcst  -basin ML
-out_init_mask
> > > > > > >> > > > > > >> /D2/xinxia/METplus/MET/met-5.
> > > > 2/share/met/poly/CONUS.poly
> > > > > > >> > > > > > >>
> > > > > > >> > > > > > >> Then, please send the output from that
command.
> > > > > > >> > > > > > >>
> > > > > > >> > > > > > >> Regarding, your error:
> > > > > > >> > > > > > >>
> > > > > > >> > > > > > >> sh: run_tc_pairs.py: command not found
> > > > > > >> > > > > > >>
> > > > > > >> > > > > > >> It's strange that would only have occurred
after
> > > having
> > > > > > >> changed
> > > > > > >> > > the
> > > > > > >> > > > > > >> LOG_LEVEL.  Could you please send us your
> > > configuration
> > > > > > file?
> > > > > > >> > > > > > >>
> > > > > > >> > > > > > >> Thanks!
> > > > > > >> > > > > > >>
> > > > > > >> > > > > > >> Julie
> > > > > > >> > > > > > >>
> > > > > > >> > > > > > >> On Wed, Feb 22, 2017 at 2:54 PM, Xinxia
Song via
> > RT <
> > > > > > >> > > > > met_help at ucar.edu>
> > > > > > >> > > > > > >> wrote:
> > > > > > >> > > > > > >>
> > > > > > >> > > > > > >> >
> > > > > > >> > > > > > >> > <URL: https://rt.rap.ucar.edu/rt/Tic
> > > > > > >> ket/Display.html?id=79605
> > > > > > >> > >
> > > > > > >> > > > > > >> >
> > > > > > >> > > > > > >> > Hi Julie,
> > > > > > >> > > > > > >> >
> > > > > > >> > > > > > >> >
> > > > > > >> > > > > > >> > [xinxia at chaos ush]$
> > /D2/xinxia/METplus/MET/met-5.
> > > > > > >> > 2/bin/tc_stat
> > > > > > >> > > > -job
> > > > > > >> > > > > > >> > filter -lookin
> > > > > > >> > > > > > >> >
> > > > > > >> > > > > > >> > /D2/xinxia/METplus/MET/met-
5.2/bin/tc_stat:
> > error
> > > > > while
> > > > > > >> > loading
> > > > > > >> > > > > > shared
> > > > > > >> > > > > > >> > libraries: libgsl.so.19: cannot open
shared
> > object
> > > > > file:
> > > > > > No
> > > > > > >> > such
> > > > > > >> > > > > file
> > > > > > >> > > > > > or
> > > > > > >> > > > > > >> > directory
> > > > > > >> > > > > > >> >
> > > > > > >> > > > > > >> >
> > > > > > >> > > > > > >> > [xinxia at chaos ush]$
> > /D2/xinxia/METplus/MET/input/
> > > > > > >> > > tc_pairs/201412
> > > > > > >> > > > > > >> > -init_inc 20141201_00 -match_points true
> > -dump_row
> > > > > > >> > > > > > >> >
> > > > > > >> > > > > > >> > -bash: /D2/xinxia/METplus/MET/input/
> > > tc_pairs/201412:
> > > > > is
> > > > > > a
> > > > > > >> > > > directory
> > > > > > >> > > > > > >> >
> > > > > > >> > > > > > >> >
> > > > > > >> > > > > > >> > [xinxia at chaos ush]$
> > /D2/xinxia/METplus/MET/out/ext
> > > > > > >> > > > > > >> ract_tiles/20141201_00/
> > > > > > >> > > > > > >> > filter_20141201_00.tcst  -basin ML
> -out_init_mask
> > > > > > >> > > > > > >> > /D2/xinxia/METplus/MET/met-5.2
> > > > > /share/met/poly/CONUS.poly
> > > > > > >> > > > > > >> >
> > > > > > >> > > > > > >> > -bash: /D2/xinxia/METplus/MET/out/ext
> > > > > > >> ract_tiles/20141201_00/:
> > > > > > >> > > No
> > > > > > >> > > > > such
> > > > > > >> > > > > > >> > file or directory
> > > > > > >> > > > > > >> >
> > > > > > >> > > > > > >> >
> > > > > > >> > > > > > >> > After I change the LOG_LEVEL, I ran the
> > > > > > >> master_met_plus.py, it
> > > > > > >> > > > says:
> > > > > > >> > > > > > >> >
> > > > > > >> > > > > > >> > [xinxia at chaos ush]$ python
master_met_plus.py
> > > > > > >> > > > > > >> >
> > > > > > >> > > > > > >> > sh: run_tc_pairs.py: command not found
> > > > > > >> > > > > > >> >
> > > > > > >> > > > > > >> >
> > > > > > >> > > > > > >> >
> > > > > > >> > > > > > >> > Thanks,
> > > > > > >> > > > > > >> >
> > > > > > >> > > > > > >> >
> > > > > > >> > > > > > >> > Xinxia
> > > > > > >> > > > > > >> >
> > > > > > >> > > > > > >> >
> > > > > > >> > > > > > >> > ________________________________
> > > > > > >> > > > > > >> > From: Julie Prestopnik via RT <
> met_help at ucar.edu
> > >
> > > > > > >> > > > > > >> > Sent: Thursday, February 23, 2017
10:04:55 AM
> > > > > > >> > > > > > >> > To: Xinxia_Song at outlook.com
> > > > > > >> > > > > > >> > Subject: Re: [rt.rap.ucar.edu #79605]
> > ImportError:
> > > > No
> > > > > > >> module
> > > > > > >> > > > named
> > > > > > >> > > > > > >> > constants_pdef
> > > > > > >> > > > > > >> >
> > > > > > >> > > > > > >> > Thank you.  Unfortunately, the level of
detail
> in
> > > the
> > > > > log
> > > > > > >> file
> > > > > > >> > > > > wasn't
> > > > > > >> > > > > > >> what
> > > > > > >> > > > > > >> > I hoped for.  I'd like to have you try
two
> > things.
> > > > > > >> > > > > > >> >
> > > > > > >> > > > > > >> > First, could you please send me your
output of
> > your
> > > > > > manual
> > > > > > >> run
> > > > > > >> > > of
> > > > > > >> > > > > the
> > > > > > >> > > > > > >> > following?
> > > > > > >> > > > > > >> >
> > > > > > >> > > > > > >> > "/D2/xinxia/METplus/MET/met-
5.2/bin/tc_stat
> -job
> > > > > filter
> > > > > > >> > -lookin
> > > > > > >> > > > > > >> >
/D2/xinxia/METplus/MET/input/tc_pairs/201412
> > > > -init_inc
> > > > > > >> > > > 20141201_00
> > > > > > >> > > > > > >> > -match_points true -dump_row
> > > > > /D2/xinxia/METplus/MET/out/
> > > > > > >> > > > > > >> > extract_tiles/20141201_00/
> > filter_20141201_00.tcst
> > > > > > -basin
> > > > > > >> ML
> > > > > > >> > > > > > >> > -out_init_mask
> > > > > > >> > > > > > >> > /D2/xinxia/METplus/MET/met-5.
> > > > > > 2/share/met/poly/CONUS.poly"
> > > > > > >> > > > > > >> >
> > > > > > >> > > > > > >> > Second, could you please change your log
level
> in
> > > > your
> > > > > > >> > > > configuration
> > > > > > >> > > > > > >> file
> > > > > > >> > > > > > >> > from
> > > > > > >> > > > > > >> >
> > > > > > >> > > > > > >> > LOG_LEVEL = "INFO"
> > > > > > >> > > > > > >> >
> > > > > > >> > > > > > >> > to
> > > > > > >> > > > > > >> >
> > > > > > >> > > > > > >> > LOG_LEVEL = "DEBUG"
> > > > > > >> > > > > > >> >
> > > > > > >> > > > > > >> > then rerun and upload your log file to
our ftp
> > > server
> > > > > > >> again?
> > > > > > >> > > > > > >> >
> > > > > > >> > > > > > >> > Thank you!
> > > > > > >> > > > > > >> >
> > > > > > >> > > > > > >> > Julie
> > > > > > >> > > > > > >> >
> > > > > > >> > > > > > >> >
> > > > > > >> > > > > > >> > On Wed, Feb 22, 2017 at 12:39 PM, Xinxia
Song
> via
> > > RT
> > > > <
> > > > > > >> > > > > > met_help at ucar.edu
> > > > > > >> > > > > > >> >
> > > > > > >> > > > > > >> > wrote:
> > > > > > >> > > > > > >> >
> > > > > > >> > > > > > >> > >
> > > > > > >> > > > > > >> > > <URL: https://rt.rap.ucar.edu/rt/
> > > > > > >> > Ticket/Display.html?id=79605
> > > > > > >> > > >
> > > > > > >> > > > > > >> > >
> > > > > > >> > > > > > >> > > Hi Julie,
> > > > > > >> > > > > > >> > >
> > > > > > >> > > > > > >> > >
> > > > > > >> > > > > > >> > > I uploaded the log file under
xinxia_data
> > > > directory.
> > > > > > >> > > > > > >> > >
> > > > > > >> > > > > > >> > >
> > > > > > >> > > > > > >> > > Thanks,
> > > > > > >> > > > > > >> > >
> > > > > > >> > > > > > >> > >
> > > > > > >> > > > > > >> > > Xinxia
> > > > > > >> > > > > > >> > >
> > > > > > >> > > > > > >> > >
> > > > > > >> > > > > > >> > > ________________________________
> > > > > > >> > > > > > >> > > From: Julie Prestopnik via RT <
> > met_help at ucar.edu
> > > >
> > > > > > >> > > > > > >> > > Sent: Thursday, February 23, 2017
9:11:32 AM
> > > > > > >> > > > > > >> > > To: Xinxia_Song at outlook.com
> > > > > > >> > > > > > >> > > Subject: Re: [rt.rap.ucar.edu #79605]
> > > ImportError:
> > > > > No
> > > > > > >> > module
> > > > > > >> > > > > named
> > > > > > >> > > > > > >> > > constants_pdef
> > > > > > >> > > > > > >> > >
> > > > > > >> > > > > > >> > > Hi Xinxia.
> > > > > > >> > > > > > >> > >
> > > > > > >> > > > > > >> > > I think it would be helpful if I could
take a
> > > look
> > > > at
> > > > > > the
> > > > > > >> > log
> > > > > > >> > > > > file.
> > > > > > >> > > > > > >> > Could
> > > > > > >> > > > > > >> > > you please upload your file to our
anonymous
> > ftp
> > > > site
> > > > > > as
> > > > > > >> > > follows
> > > > > > >> > > > > so
> > > > > > >> > > > > > >> that
> > > > > > >> > > > > > >> > I
> > > > > > >> > > > > > >> > > can take a look?
> > > > > > >> > > > > > >> > >
> > > > > > >> > > > > > >> > >    http://www.dtcenter.org/met/
> > > > > > >> > users/support/met_help.php#ftp
> > > > > > >> > > > > > >> > >
> > > > > > >> > > > > > >> > > Also, could you please try running the
> > following
> > > > > > manually
> > > > > > >> > and
> > > > > > >> > > > send
> > > > > > >> > > > > > the
> > > > > > >> > > > > > >> > > output to me?
> > > > > > >> > > > > > >> > >
> > > > > > >> > > > > > >> > > "/D2/xinxia/METplus/MET/met-
5.2/bin/tc_stat
> > -job
> > > > > > filter
> > > > > > >> > > -lookin
> > > > > > >> > > > > > >> > >
/D2/xinxia/METplus/MET/input/tc_pairs/201412
> > > > > -init_inc
> > > > > > >> > > > > 20141201_00
> > > > > > >> > > > > > >> > > -match_points true -dump_row
> > > > > > /D2/xinxia/METplus/MET/out/
> > > > > > >> > > > > > >> > > extract_tiles/20141201_00/
> > > filter_20141201_00.tcst
> > > > > > >> -basin
> > > > > > >> > ML
> > > > > > >> > > > > > >> > > -out_init_mask
> > > > > > >> > > > > > >> > > /D2/xinxia/METplus/MET/met-5.2
> > > > > > >> /share/met/poly/CONUS.poly"
> > > > > > >> > > > > > >> > >
> > > > > > >> > > > > > >> > > Thank you!
> > > > > > >> > > > > > >> > >
> > > > > > >> > > > > > >> > > Julie
> > > > > > >> > > > > > >> > >
> > > > > > >> > > > > > >> > >
> > > > > > >> > > > > > >> > >
> > > > > > >> > > > > > >> > > On Wed, Feb 22, 2017 at 12:06 PM,
Xinxia Song
> > via
> > > > RT
> > > > > <
> > > > > > >> > > > > > >> met_help at ucar.edu>
> > > > > > >> > > > > > >> > > wrote:
> > > > > > >> > > > > > >> > >
> > > > > > >> > > > > > >> > > >
> > > > > > >> > > > > > >> > > > <URL: https://rt.rap.ucar.edu/rt/
> > > > > > >> > > Ticket/Display.html?id=79605
> > > > > > >> > > > >
> > > > > > >> > > > > > >> > > >
> > > > > > >> > > > > > >> > > > Hi Julie,
> > > > > > >> > > > > > >> > > >
> > > > > > >> > > > > > >> > > >
> > > > > > >> > > > > > >> > > > Now I can run the program, but when
I look
> at
> > > the
> > > > > log
> > > > > > >> file
> > > > > > >> > > in
> > > > > > >> > > > > the
> > > > > > >> > > > > > >> > output,
> > > > > > >> > > > > > >> > > > it shows error below:
> > > > > > >> > > > > > >> > > >
> > > > > > >> > > > > > >> > > >
> > > > > > >> > > > > > >> > > > ERROR| /D2/xinxia/METplus/METplus/
> > > > > > >> > > ush/run_tc_stat.py:tc_stat
> > > > > > >> > > > > from
> > > > > > >> > > > > > >> > > calling
> > > > > > >> > > > > > >> > > > MET TC-STAT with
> > command:/D2/xinxia/METplus/MET
> > > > > > >> > > > > > /met-5.2/bin/tc_stat
> > > > > > >> > > > > > >> > -job
> > > > > > >> > > > > > >> > > > filter -lookin
> /D2/xinxia/METplus/MET/input/
> > > > > > >> > tc_pairs/201412
> > > > > > >> > > > > > >> -init_inc
> > > > > > >> > > > > > >> > > > 20141201_00 -match_points true
-dump_row
> > > > > > >> > > > > > /D2/xinxia/METplus/MET/out/
> > > > > > >> > > > > > >> > > > extract_tiles/20141201_00/
> > > > filter_20141201_00.tcst
> > > > > > >> -basin
> > > > > > >> > > ML
> > > > > > >> > > > > > >> > > > -out_init_mask
> /D2/xinxia/METplus/MET/met-5.
> > > > > > >> > > > > > >> > 2/share/met/poly/CONUS.poly
> > > > > > >> > > > > > >> > > >
> > > > > > >> > > > > > >> > > >
> > > > > > >> > > > > > >> > > > How should I fix it?
> > > > > > >> > > > > > >> > > >
> > > > > > >> > > > > > >> > > >
> > > > > > >> > > > > > >> > > > Thanks,
> > > > > > >> > > > > > >> > > >
> > > > > > >> > > > > > >> > > >
> > > > > > >> > > > > > >> > > > Xinxia
> > > > > > >> > > > > > >> > > >
> > > > > > >> > > > > > >> > > > ________________________________
> > > > > > >> > > > > > >> > > > From: Julie Prestopnik via RT <
> > > met_help at ucar.edu
> > > > >
> > > > > > >> > > > > > >> > > > Sent: Thursday, February 23, 2017
7:30:06
> AM
> > > > > > >> > > > > > >> > > > To: Xinxia_Song at outlook.com
> > > > > > >> > > > > > >> > > > Subject: Re: [rt.rap.ucar.edu
#79605]
> > > > ImportError:
> > > > > > No
> > > > > > >> > > module
> > > > > > >> > > > > > named
> > > > > > >> > > > > > >> > > > constants_pdef
> > > > > > >> > > > > > >> > > >
> > > > > > >> > > > > > >> > > > Hi Xinxia.
> > > > > > >> > > > > > >> > > >
> > > > > > >> > > > > > >> > > > I believe that python doesn't know
how to
> > find
> > > > the
> > > > > > >> module
> > > > > > >> > > > > because
> > > > > > >> > > > > > >> the
> > > > > > >> > > > > > >> > ush
> > > > > > >> > > > > > >> > > > directory is not in your PYTHONPATH.
Both
> > the
> > > > parm
> > > > > > and
> > > > > > >> > ush
> > > > > > >> > > > > > >> directory
> > > > > > >> > > > > > >> > > need
> > > > > > >> > > > > > >> > > > to be specified in your PYTHONPATH.
Please
> > add
> > > > the
> > > > > > ush
> > > > > > >> > > > > directory
> > > > > > >> > > > > > to
> > > > > > >> > > > > > >> > your
> > > > > > >> > > > > > >> > > > PYTHONPATH, source ~/.bashrc, and
let us
> know
> > > how
> > > > > it
> > > > > > >> goes.
> > > > > > >> > > > > > >> > > >
> > > > > > >> > > > > > >> > > > Thanks,
> > > > > > >> > > > > > >> > > > Julie
> > > > > > >> > > > > > >> > > >
> > > > > > >> > > > > > >> > > > On Wed, Feb 22, 2017 at 10:24 AM,
Xinxia
> Song
> > > via
> > > > > RT
> > > > > > <
> > > > > > >> > > > > > >> > met_help at ucar.edu>
> > > > > > >> > > > > > >> > > > wrote:
> > > > > > >> > > > > > >> > > >
> > > > > > >> > > > > > >> > > > >
> > > > > > >> > > > > > >> > > > > <URL: https://rt.rap.ucar.edu/rt/
> > > > > > >> > > > Ticket/Display.html?id=79605
> > > > > > >> > > > > >
> > > > > > >> > > > > > >> > > > >
> > > > > > >> > > > > > >> > > > > Hi Julie,
> > > > > > >> > > > > > >> > > > >
> > > > > > >> > > > > > >> > > > >
> > > > > > >> > > > > > >> > > > > Since I don't have setenv, I added
these
> 3
> > > > > sentence
> > > > > > >> into
> > > > > > >> > > my
> > > > > > >> > > > > > >> .bashrc
> > > > > > >> > > > > > >> > > file:
> > > > > > >> > > > > > >> > > > >
> > > > > > >> > > > > > >> > > > >
> > > > > > >> > > > > > >> > > > > export PYTHONPATH="/D2/xinxia/
> > > > > > METplus/METplus/parm"
> > > > > > >> > > > > > >> > > > >
> > > > > > >> > > > > > >> > > > >
> > > > > > >> > > > > > >> > > > > export USHROOT=/D2/xinxia/METplus/
> > > METplus/ush
> > > > > > >> > > > > > >> > > > >
> > > > > > >> > > > > > >> > > > > export PATH=$USHROOT:$PATH
> > > > > > >> > > > > > >> > > > >
> > > > > > >> > > > > > >> > > > >
> > > > > > >> > > > > > >> > > > > I sourced the ~/.bashrc, and
checked that
> > the
> > > > > > >> variables
> > > > > > >> > > are
> > > > > > >> > > > > set,
> > > > > > >> > > > > > >> but
> > > > > > >> > > > > > >> > > the
> > > > > > >> > > > > > >> > > > > program still can't find the
module.
> > > > > > >> > > > > > >> > > > >
> > > > > > >> > > > > > >> > > > >
> > > > > > >> > > > > > >> > > > > Thanks,
> > > > > > >> > > > > > >> > > > >
> > > > > > >> > > > > > >> > > > > Xinxia
> > > > > > >> > > > > > >> > > > >
> > > > > > >> > > > > > >> > > > > ________________________________
> > > > > > >> > > > > > >> > > > > From: Julie Prestopnik via RT <
> > > > met_help at ucar.edu
> > > > > >
> > > > > > >> > > > > > >> > > > > Sent: Thursday, February 23, 2017
6:24:21
> > AM
> > > > > > >> > > > > > >> > > > > To: Xinxia_Song at outlook.com
> > > > > > >> > > > > > >> > > > > Subject: Re: [rt.rap.ucar.edu
#79605]
> > > > > ImportError:
> > > > > > >> No
> > > > > > >> > > > module
> > > > > > >> > > > > > >> named
> > > > > > >> > > > > > >> > > > > constants_pdef
> > > > > > >> > > > > > >> > > > >
> > > > > > >> > > > > > >> > > > > Hi Xinxia.
> > > > > > >> > > > > > >> > > > >
> > > > > > >> > > > > > >> > > > > Could you please check to make
sure that
> > the
> > > > ush
> > > > > > >> > directory
> > > > > > >> > > > > with
> > > > > > >> > > > > > >> > > > > constants_pdef.py is in your
PYTHONPATH
> in
> > > your
> > > > > > >> .cshrc
> > > > > > >> > > file
> > > > > > >> > > > > (or
> > > > > > >> > > > > > >> > .bashrc
> > > > > > >> > > > > > >> > > > or
> > > > > > >> > > > > > >> > > > > similar file)?  The parm directory
should
> > > also
> > > > be
> > > > > > in
> > > > > > >> > your
> > > > > > >> > > > > > >> PYTHONPATH.
> > > > > > >> > > > > > >> > > > >
> > > > > > >> > > > > > >> > > > > For example,
> > > > > > >> > > > > > >> > > > >
> > > > > > >> > > > > > >> > > > > setenv PYTHONPATH
> > > /d1/jpresto/sbu/METplus/ush:/
> > > > > > >> > > > > > >> > > > d1/jpresto/sbu/METplus/parm
> > > > > > >> > > > > > >> > > > >
> > > > > > >> > > > > > >> > > > > Please also check make sure that
the path
> > to
> > > > the
> > > > > > ush
> > > > > > >> > > > directory
> > > > > > >> > > > > > is
> > > > > > >> > > > > > >> > also
> > > > > > >> > > > > > >> > > > > specified your your path
environment
> > > variable.
> > > > > For
> > > > > > >> > > example,
> > > > > > >> > > > > > >> > > > >
> > > > > > >> > > > > > >> > > > > set path = (/usr/local/bin \
> > > > > > >> > > > > > >> > > > >
> > > /usr/local/python/bin/python \
> > > > > > >> > > > > > >> > > > >
> > /d1/jpresto/sbu/METplus/ush
> > > )
> > > > > > >> > > > > > >> > > > >
> > > > > > >> > > > > > >> > > > > If they are not there, please add
them
> and
> > > then
> > > > > > >> source
> > > > > > >> > the
> > > > > > >> > > > > file
> > > > > > >> > > > > > >> (e.g.
> > > > > > >> > > > > > >> > > run
> > > > > > >> > > > > > >> > > > > "source ~/.cshrc").
> > > > > > >> > > > > > >> > > > >
> > > > > > >> > > > > > >> > > > > Thank you!  Please let us know how
it
> goes.
> > > > > > >> > > > > > >> > > > >
> > > > > > >> > > > > > >> > > > > Julie
> > > > > > >> > > > > > >> > > > >
> > > > > > >> > > > > > >> > > > >
> > > > > > >> > > > > > >> > > > >
> > > > > > >> > > > > > >> > > > >
> > > > > > >> > > > > > >> > > > > On Tue, Feb 21, 2017 at 4:49 PM,
Xinxia
> > Song
> > > > via
> > > > > > RT <
> > > > > > >> > > > > > >> > met_help at ucar.edu
> > > > > > >> > > > > > >> > > >
> > > > > > >> > > > > > >> > > > > wrote:
> > > > > > >> > > > > > >> > > > >
> > > > > > >> > > > > > >> > > > > >
> > > > > > >> > > > > > >> > > > > > Tue Feb 21 16:49:28 2017:
Request 79605
> > was
> > > > > acted
> > > > > > >> > upon.
> > > > > > >> > > > > > >> > > > > > Transaction: Ticket created by
> > > > > > >> > Xinxia_Song at outlook.com
> > > > > > >> > > > > > >> > > > > >        Queue: met_help
> > > > > > >> > > > > > >> > > > > >      Subject: ImportError: No
module
> > named
> > > > > > >> > > constants_pdef
> > > > > > >> > > > > > >> > > > > >        Owner: Nobody
> > > > > > >> > > > > > >> > > > > >   Requestors:
Xinxia_Song at outlook.com
> > > > > > >> > > > > > >> > > > > >       Status: new
> > > > > > >> > > > > > >> > > > > >  Ticket <URL:
> > https://rt.rap.ucar.edu/rt/
> > > > > > >> > > > > > >> > > Ticket/Display.html?id=79605
> > > > > > >> > > > > > >> > > > >
> > > > > > >> > > > > > >> > > > > >
> > > > > > >> > > > > > >> > > > > >
> > > > > > >> > > > > > >> > > > > > Hi,
> > > > > > >> > > > > > >> > > > > >
> > > > > > >> > > > > > >> > > > > >
> > > > > > >> > > > > > >> > > > > > When I ran the
mater_met_plus.py, it
> > says:
> > > > > > >> > > > > > >> > > > > >
> > > > > > >> > > > > > >> > > > > >
> > > > > > >> > > > > > >> > > > > > ImportError: No module named
> > constants_pdef
> > > > > > >> > > > > > >> > > > > >
> > > > > > >> > > > > > >> > > > > >
> > > > > > >> > > > > > >> > > > > > Seems it doesn't recognize
> constants_pdef
> > > as
> > > > > its
> > > > > > >> > module.
> > > > > > >> > > > > > >> > > > > >
> > > > > > >> > > > > > >> > > > > >
> > > > > > >> > > > > > >> > > > > > Thanks,
> > > > > > >> > > > > > >> > > > > >
> > > > > > >> > > > > > >> > > > > > Xinxia
> > > > > > >> > > > > > >> > > > > >
> > > > > > >> > > > > > >> > > > > >
> > > > > > >> > > > > > >> > > > >
> > > > > > >> > > > > > >> > > > >
> > > > > > >> > > > > > >> > > > >
> > > > > > >> > > > > > >> > > >
> > > > > > >> > > > > > >> > > >
> > > > > > >> > > > > > >> > > >
> > > > > > >> > > > > > >> > >
> > > > > > >> > > > > > >> > >
> > > > > > >> > > > > > >> > >
> > > > > > >> > > > > > >> >
> > > > > > >> > > > > > >> >
> > > > > > >> > > > > > >> >
> > > > > > >> > > > > > >>
> > > > > > >> > > > > > >>
> > > > > > >> > > > > > >>
> > > > > > >> > > > > > >
> > > > > > >> > > > > >
> > > > > > >> > > > > >
> > > > > > >> > > > > >
> > > > > > >> > > > >
> > > > > > >> > > > >
> > > > > > >> > > > >
> > > > > > >> > > >
> > > > > > >> > > >
> > > > > > >> > > >
> > > > > > >> > >
> > > > > > >> > >
> > > > > > >> > >
> > > > > > >> >
> > > > > > >> >
> > > > > > >> >
> > > > > > >>
> > > > > > >>
> > > > > > >>
> > > > > > >
> > > > > >
> > > > > >
> > > > > >
> > > > >
> > > > >
> > > > >
> > > >
> > > >
> > > >
> > >
> > >
> > >
> >
> >
> >
>
>
>


------------------------------------------------
Subject: ImportError: No module named constants_pdef
From: Julie Prestopnik
Time: Tue Feb 28 12:46:22 2017

Hi Xinxia.

You will also need to have the ncdump command installed, with the
location
to the executable listed in NCDUMP_EXE in constants_pdef.py.  Please
have
ncdump installed, update your constants_pdef.py file and rerun.

Thanks!

Julie

On Tue, Feb 28, 2017 at 12:18 PM, Xinxia Song via RT
<met_help at ucar.edu>
wrote:

>
> <URL: https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=79605 >
>
> Hi Julie,
>
>
> Before I was running master_met_plus.py and now I ran the
> series_by_lead.py and got the following results:
>
> [xinxia at chaos ush]$ python series_by_lead.py
>
> Traceback (most recent call last):
>
>   File "series_by_lead.py", line 945, in <module>
>
>     analysis_by_lead_time()
>
>   File "series_by_lead.py", line 326, in analysis_by_lead_time
>
>     vmin, vmax = get_netcdf_min_max(nc_var_list, cur_stat, p,
logger)
>
>   File "series_by_lead.py", line 638, in get_netcdf_min_max
>
>     shell=True)
>
>   File "/home/xinxia/anaconda2/lib/python2.7/subprocess.py", line
219, in
> check_output
>
>     raise CalledProcessError(retcode, cmd, output=output)
>
> subprocess.CalledProcessError: Command '/usr/local/bin/ncdump
> /D2/xinxia/METplus/MET/out/series_analysis_lead/series_F042/min.nc >
> /D2/xinxia/METplus/MET/out/series_analysis_lead/series_F042/min.txt'
> returned non-zero exit status 127
>
>
> Thanks,
>
>
> Xinxia
>
> ________________________________
> From: Julie Prestopnik via RT <met_help at ucar.edu>
> Sent: Tuesday, February 28, 2017 2:11:19 PM
> To: Xinxia_Song at outlook.com
> Subject: Re: [rt.rap.ucar.edu #79605] ImportError: No module named
> constants_pdef
>
> Hi Xinxia.  Did you run series_by_lead.py on its own or via
> master_met_plus.py?
>
> Thanks,
> Julie
>
> On Tue, Feb 28, 2017 at 11:11 AM, Xinxia Song via RT
<met_help at ucar.edu>
> wrote:
>
> >
> > <URL: https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=79605 >
> >
> > Hi Julie,
> >
> >
> > I checked it's 2.7.13. It seems the error doesn't coming from it.
> >
> >
> > Thanks,
> >
> >
> > Xinxia
> >
> >
> > ________________________________
> > From: Julie Prestopnik via RT <met_help at ucar.edu>
> > Sent: Tuesday, February 28, 2017 10:49:29 AM
> > To: Xinxia_Song at outlook.com
> > Subject: Re: [rt.rap.ucar.edu #79605] ImportError: No module named
> > constants_pdef
> >
> > I think perhaps your environment is using Python 2.6 again.
> >
> > Please try running:
> >
> > python --version
> >
> > on the command line.
> >
> > If you see "Python 2..6.6", please add the path for Python 2.7 to
the
> front
> > of your path in your ~/.bashrc file.  Then, source your ~/.bashrc
file
> and
> > try rerunning
> >
> > python --version
> >
> > on the command line.  Hopefully, then you will see the new
version.
> Then,
> > please try rerunning master_met_plus.py.
> >
> > I hope this helps!  Thanks!
> >
> > Julie
> >
> > On Mon, Feb 27, 2017 at 8:14 PM, Xinxia Song via RT
<met_help at ucar.edu>
> > wrote:
> >
> > >
> > > <URL: https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=79605 >
> > >
> > > Hi Julie,
> > >
> > >
> > > after I update the NCAP2 path in constants_pdef.py and ran the
> > > master_met_plus.py, I got the error:
> > >
> > > 2017-02-28 02:49:40,659 : ERROR | [master_met_plus.py:main] |
Problem
> > > executing: series_by_lead.py
> > >
> > > and message:
> > >
> > > Traceback (most recent call last):
> > >
> > >   File "/D2/xinxia/METplus/METplus/ush/series_by_lead.py", line
945,
> in
> > > <module>
> > >
> > >     analysis_by_lead_time()
> > >
> > >   File "/D2/xinxia/METplus/METplus/ush/series_by_lead.py", line
107,
> in
> > > analysis_by_lead_time
> > >
> > >     util.apply_series_filters(tile_dir, init_times,
> > > series_lead_filtered_out_dir, p, logger)
> > >
> > >   File "/D2/xinxia/METplus/METplus/ush/met_util.py", line 1005,
in
> > > apply_series_filters
> > >
> > >     tcs.tc_stat(p, logger, tc_cmd, series_output_dir)
> > >
> > >   File "/D2/xinxia/METplus/METplus/ush/run_tc_stat.py", line 69,
in
> > > tc_stat
> > >
> > >     tc_stat_out = subprocess.check_output(tc_cmd,
> > > stderr=subprocess.STDOUT, shell=True )
> > >
> > > AttributeError: 'module' object has no attribute 'check_output'
> > >
> > >
> > > Thanks,
> > >
> > >
> > > Xinxia
> > >
> > > ________________________________
> > > From: Julie Prestopnik via RT <met_help at ucar.edu>
> > > Sent: Monday, February 27, 2017 5:15:59 PM
> > > To: Xinxia_Song at outlook.com
> > > Subject: Re: [rt.rap.ucar.edu #79605] ImportError: No module
named
> > > constants_pdef
> > >
> > > Please install ncap2 and update the location to the executable
in the
> > > NCAP2_EXE field of the constants_pdef.py file and trying
rerunning the
> > MET+
> > > code.  Please let us know how it goes.
> > >
> > > Thanks,
> > > Julie
> > >
> > > On Mon, Feb 27, 2017 at 3:10 PM, Xinxia Song via RT
<met_help at ucar.edu
> >
> > > wrote:
> > >
> > > >
> > > > <URL: https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=79605
>
> > > >
> > > > Hi Julie,
> > > >
> > > >
> > > > The result is :
> > > >
> > > > -bash: /usr/local/nco/bin/ncap2: No such file or directory
> > > >
> > > > I think we don't have it installed.
> > > >
> > > >
> > > > Thanks,
> > > >
> > > > Xinxia
> > > >
> > > > ________________________________
> > > > From: Julie Prestopnik via RT <met_help at ucar.edu>
> > > > Sent: Monday, February 27, 2017 5:08:48 PM
> > > > To: Xinxia_Song at outlook.com
> > > > Subject: Re: [rt.rap.ucar.edu #79605] ImportError: No module
named
> > > > constants_pdef
> > > >
> > > > Hi Xinxia. I believe that error code refers to "Command not
found".
> > Can
> > > > you please run the following and send me the output?
> > > >
> > > > /usr/local/nco/bin/ncap2 --version
> > > >
> > > > Thanks!
> > > >
> > > > Julie
> > > >
> > > >
> > > > On Mon, Feb 27, 2017 at 2:55 PM, Xinxia Song via RT <
> met_help at ucar.edu
> > >
> > > > wrote:
> > > >
> > > > >
> > > > > <URL:
https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=79605 >
> > > > >
> > > > > Hi Julie,
> > > > >
> > > > >
> > > > > The error is:
> > > > >
> > > > > Traceback (most recent call last):
> > > > >
> > > > >   File "series_by_lead.py", line 945, in <module>
> > > > >
> > > > >     analysis_by_lead_time()
> > > > >
> > > > >   File "series_by_lead.py", line 326, in
analysis_by_lead_time
> > > > >
> > > > >     vmin, vmax = get_netcdf_min_max(nc_var_list, cur_stat,
p,
> > logger)
> > > > >
> > > > >   File "series_by_lead.py", line 605, in get_netcdf_min_max
> > > > >
> > > > >     shell=True)
> > > > >
> > > > >   File "/home/xinxia/anaconda2/lib/python2.7/subprocess.py",
line
> > 219,
> > > > in
> > > > > check_output
> > > > >
> > > > >     raise CalledProcessError(retcode, cmd, output=output)
> > > > >
> > > > > subprocess.CalledProcessError: Command
'/usr/local/nco/bin/ncap2 -v
> > -s
> > > > > "min=min(series_cnt_TOTAL)" /D2/xinxia/METplus/MET/out/
> > > > > series_analysis_lead/series_F042/series_F042_HGT_P500.nc
> > > > >
/D2/xinxia/METplus/MET/out/series_analysis_lead/series_F042/min.nc
> '
> > > > > returned non-zero exit status 127
> > > > >
> > > > >
> > > > > Thanks,
> > > > >
> > > > >
> > > > > Xinxia
> > > > >
> > > > > ________________________________
> > > > > From: Julie Prestopnik via RT <met_help at ucar.edu>
> > > > > Sent: Tuesday, February 28, 2017 9:18:55 AM
> > > > > To: Xinxia_Song at outlook.com
> > > > > Subject: Re: [rt.rap.ucar.edu #79605] ImportError: No module
named
> > > > > constants_pdef
> > > > >
> > > > > Thank you, Xinxia.
> > > > >
> > > > > Unfortunately, the "DEBUG" log level did not provide much
> information
> > > for
> > > > > this task:
> > > > >
> > > > > 2017-02-26 21:30:28,041 : INFO | [master_met_plus.py:main] |
> Running:
> > > > > series_by_lead.py
> > > > > 2017-02-26 21:30:28,212 : ERROR | [master_met_plus.py:main]
|
> Problem
> > > > > executing: series_by_lead.py
> > > > >
> > > > > Could you please try running series_by_lead.py in the ush
> directory?
> > > > > Please let me know what the output is from that run - it may
still
> be
> > > > > contained in your log file.
> > > > >
> > > > > Thanks!
> > > > >
> > > > > Julie
> > > > >
> > > > >
> > > > > On Mon, Feb 27, 2017 at 11:17 AM, Xinxia Song via RT <
> > > met_help at ucar.edu>
> > > > > wrote:
> > > > >
> > > > > >
> > > > > > <URL:
https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=79605 >
> > > > > >
> > > > > > Hi Julie,
> > > > > >
> > > > > >
> > > > > > I uploaded the constants_pdef.py and
> master_met_plus.20170226.log.
> > > > > >
> > > > > >
> > > > > > Thanks,
> > > > > >
> > > > > >
> > > > > > Xinxia
> > > > > >
> > > > > > ________________________________
> > > > > > From: Julie Prestopnik via RT <met_help at ucar.edu>
> > > > > > Sent: Tuesday, February 28, 2017 5:46:37 AM
> > > > > > To: Xinxia_Song at outlook.com
> > > > > > Subject: Re: [rt.rap.ucar.edu #79605] ImportError: No
module
> named
> > > > > > constants_pdef
> > > > > >
> > > > > > Hi Xinxia.  Can you please upload the configuration file
that you
> > > used
> > > > > and
> > > > > > the log file from that run to our ftp server so that we
can take
> a
> > > > look?
> > > > > >
> > > > > > Thanks!
> > > > > >
> > > > > > Julie
> > > > > >
> > > > > > On Sun, Feb 26, 2017 at 2:35 PM, Xinxia Song via RT <
> > > met_help at ucar.edu
> > > > >
> > > > > > wrote:
> > > > > >
> > > > > > >
> > > > > > > <URL:
https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=79605
> >
> > > > > > >
> > > > > > > Hi Julie,
> > > > > > >
> > > > > > >
> > > > > > > I ran the mater_met_plus.py and in the end in the log
file it
> > gave
> > > me
> > > > > an
> > > > > > > error:
> > > > > > >
> > > > > > > 2017-02-26 21:30:28,212 : ERROR |
[master_met_plus.py:main] |
> > > Problem
> > > > > > > executing: series_by_lead.py
> > > > > > >
> > > > > > >
> > > > > > > Thanks,
> > > > > > >
> > > > > > > Xinxia
> > > > > > >
> > > > > > > ________________________________
> > > > > > > From: Julie Prestopnik via RT <met_help at ucar.edu>
> > > > > > > Sent: Saturday, February 25, 2017 6:49:56 AM
> > > > > > > To: Xinxia_Song at outlook.com
> > > > > > > Subject: Re: [rt.rap.ucar.edu #79605] ImportError: No
module
> > named
> > > > > > > constants_pdef
> > > > > > >
> > > > > > > You could also run "tail -f
</path/to/logfile/logfile_name>"
> > > > replacing
> > > > > > > </path/to/logfile/logfile_name> with the logfile path
and name
> > > > > > information
> > > > > > > to see how the run is coming along.  I hope that helps!
> > > > > > >
> > > > > > > Julie
> > > > > > >
> > > > > > > On Fri, Feb 24, 2017 at 9:42 AM, Julie Prestopnik <
> > > jpresto at ucar.edu>
> > > > > > > wrote:
> > > > > > >
> > > > > > > > Hi Xinxia.  Running the entire three months of data
could
> > > certainly
> > > > > > take
> > > > > > > a
> > > > > > > > long time.  I am hoping to get an estimate on how long
it
> took
> > to
> > > > run
> > > > > > the
> > > > > > > > three month data set here, but have not been able to
obtain
> > that
> > > > > number
> > > > > > > > yet.   It sounds the code was running successfully for
you.
> If
> > > > > you're
> > > > > > > > eager to take a lot at some output, I would suggest
running a
> > > > smaller
> > > > > > > > subset of the data, or perhaps you could set up the
whole
> three
> > > > month
> > > > > > to
> > > > > > > > run over the weekend.  I would suggest letting the
code run
> to
> > > > > > completion
> > > > > > > > for either a smaller subset or for the entire subset
and then
> > > > > checking
> > > > > > > the
> > > > > > > > log file for errors.  I hope that helps.  Please let
me know
> if
> > > you
> > > > > > have
> > > > > > > > any questions or encounter any issues.
> > > > > > > >
> > > > > > > > Thanks,
> > > > > > > > Julie
> > > > > > > >
> > > > > > > >
> > > > > > > > On Thu, Feb 23, 2017 at 4:28 PM, Xinxia Song via RT <
> > > > > met_help at ucar.edu
> > > > > > >
> > > > > > > > wrote:
> > > > > > > >
> > > > > > > >>
> > > > > > > >> <URL: https://rt.rap.ucar.edu/rt/
> Ticket/Display.html?id=79605
> > >
> > > > > > > >>
> > > > > > > >> Hi Julie,
> > > > > > > >>
> > > > > > > >>
> > > > > > > >> The version is set to be 2.7+. When I ran
> master_met_plus.py,
> > it
> > > > > seems
> > > > > > > it
> > > > > > > >> will run forever. So I killed it, and got the
following:
> > > > > > > >>
> > > > > > > >> [xinxia at chaos ush]$ python master_met_plus.py
> > > > > > > >>
> > > > > > > >> ^CTraceback (most recent call last):
> > > > > > > >>
> > > > > > > >>   File
"/D2/xinxia/METplus/METplus/ush/extract_tiles.py",
> > line
> > > > 157,
> > > > > > in
> > > > > > > >> <module>
> > > > > > > >>
> > > > > > > >>     main()
> > > > > > > >>
> > > > > > > >>   File
"/D2/xinxia/METplus/METplus/ush/extract_tiles.py",
> > line
> > > > 100,
> > > > > > in
> > > > > > > >> main
> > > > > > > >>
> > > > > > > >>     filtered_out_dir)
> > > > > > > >>
> > > > > > > >>   File
"/D2/xinxia/METplus/METplus/ush/run_tc_stat.py",
> line
> > > 69,
> > > > in
> > > > > > > >> tc_stat
> > > > > > > >>
> > > > > > > >>     tc_stat_out = subprocess.check_output(tc_cmd,
> > > > > > > >> stderr=subprocess.STDOUT, shell=True )
> > > > > > > >>
> > > > > > > >>   File "/home/xinxia/anaconda2/lib/
> python2.7/subprocess.py",
> > > line
> > > > > > 213,
> > > > > > > >> in check_output
> > > > > > > >>
> > > > > > > >>     output, unused_err = process.communicate()
> > > > > > > >>
> > > > > > > >>   File "/home/xinxia/anaconda2/lib/
> python2.7/subprocess.py",
> > > line
> > > > > > 471,
> > > > > > > >> in communicate
> > > > > > > >>
> > > > > > > >>     stdout = _eintr_retry_call(self.stdout.read)
> > > > > > > >>
> > > > > > > >>   File "/home/xinxia/anaconda2/lib/
> python2.7/subprocess.py",
> > > line
> > > > > > 121,
> > > > > > > >> in _eintr_retry_call
> > > > > > > >>
> > > > > > > >>     return func(*args)
> > > > > > > >>
> > > > > > > >> KeyboardInterrupt
> > > > > > > >>
> > > > > > > >>
> > > > > > > >> Thanks,
> > > > > > > >>
> > > > > > > >>
> > > > > > > >> Xinxia
> > > > > > > >>
> > > > > > > >> ________________________________
> > > > > > > >> From: Julie Prestopnik via RT <met_help at ucar.edu>
> > > > > > > >> Sent: Friday, February 24, 2017 12:02:21 PM
> > > > > > > >> To: Xinxia_Song at outlook.com
> > > > > > > >> Subject: Re: [rt.rap.ucar.edu #79605] ImportError: No
> module
> > > > named
> > > > > > > >> constants_pdef
> > > > > > > >>
> > > > > > > >> Hi Xinxia.  I suspect that even though you installed
Python
> > 2.7
> > > > that
> > > > > > > >> Python
> > > > > > > >> 2.6.6 is still being used.
> > > > > > > >>
> > > > > > > >> Please try running:
> > > > > > > >>
> > > > > > > >> python --version
> > > > > > > >>
> > > > > > > >> on the command line.
> > > > > > > >>
> > > > > > > >> If you see "Python 2..6.6", please add the path for
Python
> 2.7
> > > to
> > > > > the
> > > > > > > >> front
> > > > > > > >> of your path in your ~/.bashrc file.  Then, source
your
> > > ~/.bashrc
> > > > > file
> > > > > > > and
> > > > > > > >> try rerunning
> > > > > > > >>
> > > > > > > >> python --version
> > > > > > > >>
> > > > > > > >> on the command line.  Hopefully, then you will see
the new
> > > > version.
> > > > > > > Then,
> > > > > > > >> please try rerunning master_met_plus.py.
> > > > > > > >>
> > > > > > > >> I hope this helps!  Thanks!
> > > > > > > >>
> > > > > > > >> Julie
> > > > > > > >>
> > > > > > > >> On Thu, Feb 23, 2017 at 1:51 PM, Xinxia Song via RT <
> > > > > > met_help at ucar.edu>
> > > > > > > >> wrote:
> > > > > > > >>
> > > > > > > >> >
> > > > > > > >> > <URL: https://rt.rap.ucar.edu/rt/Tic
> > ket/Display.html?id=79605
> > > >
> > > > > > > >> >
> > > > > > > >> > Hi Julie,
> > > > > > > >> >
> > > > > > > >> >
> > > > > > > >> > I installed myself the 2.7 python, it still got the
error
> > when
> > > > > > > running:
> > > > > > > >> >
> > > > > > > >> > Traceback (most recent call last):
> > > > > > > >> >
> > > > > > > >> >   File "/D2/xinxia/METplus/METplus/
> ush/series_by_lead.py",
> > > line
> > > > > > 945,
> > > > > > > in
> > > > > > > >> > <module>
> > > > > > > >> >
> > > > > > > >> >     analysis_by_lead_time()
> > > > > > > >> >
> > > > > > > >> >   File "/D2/xinxia/METplus/METplus/
> ush/series_by_lead.py",
> > > line
> > > > > > 107,
> > > > > > > in
> > > > > > > >> > analysis_by_lead_time
> > > > > > > >> >
> > > > > > > >> >     util.apply_series_filters(tile_dir, init_times,
> > > > > > > >> > series_lead_filtered_out_dir, p, logger)
> > > > > > > >> >
> > > > > > > >> >   File
"/D2/xinxia/METplus/METplus/ush/met_util.py", line
> > > 1005,
> > > > > in
> > > > > > > >> > apply_series_filters
> > > > > > > >> >
> > > > > > > >> >     tcs.tc_stat(p, logger, tc_cmd,
series_output_dir)
> > > > > > > >> >
> > > > > > > >> >   File
"/D2/xinxia/METplus/METplus/ush/run_tc_stat.py",
> > line
> > > > 69,
> > > > > in
> > > > > > > >> > tc_stat
> > > > > > > >> >
> > > > > > > >> >     tc_stat_out = subprocess.check_output(tc_cmd,
> > > > > > > >> > stderr=subprocess.STDOUT, shell=True )
> > > > > > > >> >
> > > > > > > >> > AttributeError: 'module' object has no attribute
> > > 'check_output'
> > > > > > > >> >
> > > > > > > >> >
> > > > > > > >> > Thanks,
> > > > > > > >> >
> > > > > > > >> >
> > > > > > > >> > Xinxia
> > > > > > > >> >
> > > > > > > >> > ________________________________
> > > > > > > >> > From: Julie Prestopnik via RT <met_help at ucar.edu>
> > > > > > > >> > Sent: Friday, February 24, 2017 9:37:53 AM
> > > > > > > >> > To: Xinxia_Song at outlook.com
> > > > > > > >> > Subject: Re: [rt.rap.ucar.edu #79605] ImportError:
No
> > module
> > > > > named
> > > > > > > >> > constants_pdef
> > > > > > > >> >
> > > > > > > >> > Can you please tell me which version of Python you
are
> > using?
> > > > > > > >> check_output
> > > > > > > >> > for subprocess was introduced in Python 2.7.    Do
you
> have
> > > > access
> > > > > > to
> > > > > > > >> > Python version 2.7 or higher?
> > > > > > > >> >
> > > > > > > >> > Thanks,
> > > > > > > >> > Julie
> > > > > > > >> >
> > > > > > > >> > On Thu, Feb 23, 2017 at 12:11 PM, Xinxia Song via
RT <
> > > > > > > met_help at ucar.edu
> > > > > > > >> >
> > > > > > > >> > wrote:
> > > > > > > >> >
> > > > > > > >> > >
> > > > > > > >> > > <URL: https://rt.rap.ucar.edu/rt/
> > > Ticket/Display.html?id=79605
> > > > >
> > > > > > > >> > >
> > > > > > > >> > > Hi Julie,
> > > > > > > >> > >
> > > > > > > >> > >
> > > > > > > >> > > I added it to the $PATH and ran the
> master_met_python.py:
> > > > > > > >> > >
> > > > > > > >> > > [xinxia at chaos ush]$ python master_met_plus.py
> > > > > > > >> > >
> > > > > > > >> > > Traceback (most recent call last):
> > > > > > > >> > >
> > > > > > > >> > >   File "/D2/xinxia/METplus/METplus/
> ush/extract_tiles.py",
> > > > line
> > > > > > 157,
> > > > > > > >> in
> > > > > > > >> > > <module>
> > > > > > > >> > >
> > > > > > > >> > >     main()
> > > > > > > >> > >
> > > > > > > >> > >   File "/D2/xinxia/METplus/METplus/
> ush/extract_tiles.py",
> > > > line
> > > > > > 100,
> > > > > > > >> in
> > > > > > > >> > > main
> > > > > > > >> > >
> > > > > > > >> > >     filtered_out_dir)
> > > > > > > >> > >
> > > > > > > >> > >   File
"/D2/xinxia/METplus/METplus/ush/run_tc_stat.py",
> > > line
> > > > > 69,
> > > > > > in
> > > > > > > >> > > tc_stat
> > > > > > > >> > >
> > > > > > > >> > >     tc_stat_out = subprocess.check_output(tc_cmd,
> > > > > > > >> > > stderr=subprocess.STDOUT, shell=True )
> > > > > > > >> > >
> > > > > > > >> > > AttributeError: 'module' object has no attribute
> > > > 'check_output'
> > > > > > > >> > >
> > > > > > > >> > >
> > > > > > > >> > > Thanks,
> > > > > > > >> > >
> > > > > > > >> > >
> > > > > > > >> > > Xinxia
> > > > > > > >> > >
> > > > > > > >> > > ________________________________
> > > > > > > >> > > From: Julie Prestopnik via RT <met_help at ucar.edu>
> > > > > > > >> > > Sent: Friday, February 24, 2017 9:07:40 AM
> > > > > > > >> > > To: Xinxia_Song at outlook.com
> > > > > > > >> > > Subject: Re: [rt.rap.ucar.edu #79605]
ImportError: No
> > > module
> > > > > > named
> > > > > > > >> > > constants_pdef
> > > > > > > >> > >
> > > > > > > >> > > Unfortunately, your environment does not know
where to
> > find
> > > > > > > >> > > run_tc_pairs.py.  Please try adding the directory
with
> > > > > > > run_tc_pairs.py
> > > > > > > >> > > (/D2/xinxia/METplus/METplus/ush) to your path in
your
> > > > ~/.bashrc
> > > > > > > file,
> > > > > > > >> > then
> > > > > > > >> > > run "source ~/.bashrc", then trying rerunning.
Please
> let
> > > me
> > > > > know
> > > > > > > how
> > > > > > > >> > that
> > > > > > > >> > > goes.
> > > > > > > >> > >
> > > > > > > >> > > Thanks!
> > > > > > > >> > >
> > > > > > > >> > > Julie
> > > > > > > >> > >
> > > > > > > >> > > On Thu, Feb 23, 2017 at 11:55 AM, Xinxia Song via
RT <
> > > > > > > >> met_help at ucar.edu>
> > > > > > > >> > > wrote:
> > > > > > > >> > >
> > > > > > > >> > > >
> > > > > > > >> > > > <URL: https://rt.rap.ucar.edu/rt/
> > > > Ticket/Display.html?id=79605
> > > > > >
> > > > > > > >> > > >
> > > > > > > >> > > > Hi Julie,
> > > > > > > >> > > >
> > > > > > > >> > > >
> > > > > > > >> > > > I'm running met in a machine that's owned by
our
> > > > department, I
> > > > > > > don't
> > > > > > > >> > have
> > > > > > > >> > > > sudo right, so when I type which
run_tc_pairs.py, it
> > says
> > > > > > couldn't
> > > > > > > >> find
> > > > > > > >> > > it.
> > > > > > > >> > > >
> > > > > > > >> > > > no run_tc_pairs.py in (/opt/ncl/bin:/opt/intel-
soft/
> > > > > > > >> > > > bin:/opt/ncl/bin:/opt/ncl/bin:
> > > /opt/intel-soft/bin:/opt/ncl/
> > > > > > > >> > > > bin:/home/xinxia/anaconda/bin:
> > /home/xinxia/anaconda/bin:/
> > > > > > > >> > > > opt/ncl/bin:/opt/intel-soft/bi
> > n:/opt/ncl/bin:/usr/lib64/
> > > > > > > >> > > > qt-3.3/bin:/usr/local/bin:/bin
> > :/usr/bin:/usr/local/sbin:/
> > > > > > > >> > > > usr/sbin:/sbin:/sbin:/usr/sbin:/cm/local/apps/
> > > > > > > >> > > environment-modules/3.2.10/
> > > > > > > >> > > > bin:/home/xinxia/bin:/opt/ncl-621/bin)
> > > > > > > >> > > >
> > > > > > > >> > > >
> > > > > > > >> > > > But I could find it manually in that directory.
> > > > > > > >> > > >
> > > > > > > >> > > >
> > > > > > > >> > > > Thanks,
> > > > > > > >> > > >
> > > > > > > >> > > >
> > > > > > > >> > > > Xinxia
> > > > > > > >> > > >
> > > > > > > >> > > > ________________________________
> > > > > > > >> > > > From: Julie Prestopnik via RT
<met_help at ucar.edu>
> > > > > > > >> > > > Sent: Friday, February 24, 2017 8:52:16 AM
> > > > > > > >> > > > To: Xinxia_Song at outlook.com
> > > > > > > >> > > > Subject: Re: [rt.rap.ucar.edu #79605]
ImportError: No
> > > > module
> > > > > > > named
> > > > > > > >> > > > constants_pdef
> > > > > > > >> > > >
> > > > > > > >> > > > Hi Xinxia.
> > > > > > > >> > > >
> > > > > > > >> > > > It looks like you got a successful run of
tc_stat -
> > that's
> > > > > great
> > > > > > > >> news!
> > > > > > > >> > > >
> > > > > > > >> > > > I'm not sure what you mean by "Because I don't
have
> the
> > > > > right, I
> > > > > > > >> can't
> > > > > > > >> > > find
> > > > > > > >> > > > run_tc_pairs.py, but I know it's under
> > > > > > > >> > > >
> > > > > > > >> > > > /D2/xinxia/METplus/METplus/ush".
> > > > > > > >> > > >
> > > > > > > >> > > > Can you please explain?  What happened when you
ran
> > "which
> > > > > > > >> > > > run_tc_pairs.py"?
> > > > > > > >> > > >
> > > > > > > >> > > > Thanks,
> > > > > > > >> > > > Julie
> > > > > > > >> > > >
> > > > > > > >> > > >
> > > > > > > >> > > >
> > > > > > > >> > > >
> > > > > > > >> > > >
> > > > > > > >> > > >
> > > > > > > >> > > > On Thu, Feb 23, 2017 at 11:44 AM, Xinxia Song
via RT <
> > > > > > > >> > met_help at ucar.edu>
> > > > > > > >> > > > wrote:
> > > > > > > >> > > >
> > > > > > > >> > > > >
> > > > > > > >> > > > > <URL: https://rt.rap.ucar.edu/rt/
> > > > > Ticket/Display.html?id=79605
> > > > > > >
> > > > > > > >> > > > >
> > > > > > > >> > > > > Hi Julie,
> > > > > > > >> > > > >
> > > > > > > >> > > > >
> > > > > > > >> > > > > I removed the space.
> > > > > > > >> > > > >
> > > > > > > >> > > > > [xinxia at chaos parm]$
/D2/xinxia/METplus/MET/met-5.2
> > > > > > /bin/tc_stat
> > > > > > > >> -job
> > > > > > > >> > > > > filter -lookin /D2/xinxia/METplus/MET/input/
> > > > tc_pairs/201412
> > > > > > > >> > -init_inc
> > > > > > > >> > > > > 20141201_00 -match_points true -dump_row
> > > > > > > >> /D2/xinxia/METplus/MET/out/
> > > > > > > >> > > > >
extract_tiles/20141201_00/filter_20141201_00.tcst
> > > -basin
> > > > > ML
> > > > > > > >> > > > > -out_init_mask /D2/xinxia/METplus/MET/met-5.
> > > > > > > >> > > 2/share/met/poly/CONUS.poly
> > > > > > > >> > > > >
> > > > > > > >> > > > > DEBUG 1: [Source 1] Lookin:
> > > /D2/xinxia/METplus/MET/input/
> > > > > > > >> > > tc_pairs/201412
> > > > > > > >> > > > >
> > > > > > > >> > > > > DEBUG 2:
> > > > > > > >> > > > >
> > > > > > > >> > > > > DEBUG 2: Processing Job 1: -job filter -basin
ML
> > > -init_inc
> > > > > > > >> > > > 20141201_000000
> > > > > > > >> > > > > -match_points true -out_init_mask
> > > > > > /D2/xinxia/METplus/MET/met-5.
> > > > > > > >> > > > 2/share/met/poly/CONUS.poly
> > > > > > > >> > > > > -dump_row /D2/xinxia/METplus/MET/out/ext
> > > > > > ract_tiles/20141201_00/
> > > > > > > >> > > > > filter_20141201_00.tcst
> > > > > > > >> > > > >
> > > > > > > >> > > > > DEBUG 1: Creating output dump file:
> > > > > > /D2/xinxia/METplus/MET/out/
> > > > > > > >> > > > >
extract_tiles/20141201_00/filter_20141201_00.tcst
> > > > > > > >> > > > >
> > > > > > > >> > > > > FILTER: -job filter -basin ML -init_inc
> > 20141201_000000
> > > > > > > >> -match_points
> > > > > > > >> > > > true
> > > > > > > >> > > > > -out_init_mask /D2/xinxia/METplus/MET/met-5.
> > > > > > > >> > > 2/share/met/poly/CONUS.poly
> > > > > > > >> > > > > -dump_row /D2/xinxia/METplus/MET/out/ext
> > > > > > ract_tiles/20141201_00/
> > > > > > > >> > > > > filter_20141201_00.tcst
> > > > > > > >> > > > >
> > > > > > > >> > > > >
> > > > > > > >> > > > > DEBUG 2: Job 1 used 0 out of 27292 lines
read.
> > > > > > > >> > > > >
> > > > > > > >> > > > >
> > > > > > > >> > > > > Because I don't have the right, I can't find
> > > > > run_tc_pairs.py,
> > > > > > > but
> > > > > > > >> I
> > > > > > > >> > > know
> > > > > > > >> > > > > it's under
> > > > > > > >> > > > >
> > > > > > > >> > > > > /D2/xinxia/METplus/METplus/ush
> > > > > > > >> > > > >
> > > > > > > >> > > > >
> > > > > > > >> > > > > For Python,
> > > > > > > >> > > > >
> > > > > > > >> > > > > [xinxia at chaos ~]$ which python
> > > > > > > >> > > > >
> > > > > > > >> > > > > /usr/bin/python
> > > > > > > >> > > > >
> > > > > > > >> > > > >
> > > > > > > >> > > > > Xinxia
> > > > > > > >> > > > >
> > > > > > > >> > > > > ________________________________
> > > > > > > >> > > > > From: Julie Prestopnik via RT
<met_help at ucar.edu>
> > > > > > > >> > > > > Sent: Friday, February 24, 2017 8:30:01 AM
> > > > > > > >> > > > > To: Xinxia_Song at outlook.com
> > > > > > > >> > > > > Subject: Re: [rt.rap.ucar.edu #79605]
ImportError:
> No
> > > > > module
> > > > > > > >> named
> > > > > > > >> > > > > constants_pdef
> > > > > > > >> > > > >
> > > > > > > >> > > > > Hi Xinxia.
> > > > > > > >> > > > >
> > > > > > > >> > > > > It looks like there is a space where there
should
> not
> > > be a
> > > > > > space
> > > > > > > >> > > (between
> > > > > > > >> > > > > /D2/xinxia/METplus/MET/out/
> extract_tiles/20141201_00/
> > > and
> > > > > > > >> > > > > filter_20141201_00.tcst after the -dump_row
option).
> > > > > > > >> > > > >
> > > > > > > >> > > > > Could you please try it again without the
space?
> > > > > > > >> > > > >
> > > > > > > >> > > > > /D2/xinxia/METplus/METplus/
> ush/run_tc_stat.py:tc_stat
> > > > from
> > > > > > > >> calling
> > > > > > > >> > MET
> > > > > > > >> > > > > TC-STAT with command:/D2/xinxia/METplus/MET
> > > > > > /met-5.2/bin/tc_stat
> > > > > > > >> -job
> > > > > > > >> > > > > filter
> > > > > > > >> > > > > -lookin /D2/xinxia/METplus/MET/input/
> tc_pairs/201412
> > > > > > -init_inc
> > > > > > > >> > > > 20141201_00
> > > > > > > >> > > > > -match_points true -dump_row
> > /D2/xinxia/METplus/MET/out/
> > > > > > > >> > > > >
extract_tiles/20141201_00/filter_20141201_00.tcst
> > > -basin
> > > > > ML
> > > > > > > >> > > > > -out_init_mask
> > > > > > > >> > > > > /D2/xinxia/METplus/MET/met-5.
> > > 2/share/met/poly/CONUS.poly
> > > > > > > >> > > > >
> > > > > > > >> > > > > Regarding the master_met_plus.py run, please
try
> > running
> > > > the
> > > > > > > >> > following
> > > > > > > >> > > > two
> > > > > > > >> > > > > commands and send me the output:
> > > > > > > >> > > > >
> > > > > > > >> > > > > which run_tc_pairs.py
> > > > > > > >> > > > >
> > > > > > > >> > > > > which python
> > > > > > > >> > > > >
> > > > > > > >> > > > > Thanks!
> > > > > > > >> > > > >
> > > > > > > >> > > > > Julie
> > > > > > > >> > > > >
> > > > > > > >> > > > > On Thu, Feb 23, 2017 at 11:06 AM, Xinxia Song
via
> RT <
> > > > > > > >> > > met_help at ucar.edu>
> > > > > > > >> > > > > wrote:
> > > > > > > >> > > > >
> > > > > > > >> > > > > >
> > > > > > > >> > > > > > <URL: https://rt.rap.ucar.edu/rt/Tic
> > > > > > ket/Display.html?id=79605
> > > > > > > >
> > > > > > > >> > > > > >
> > > > > > > >> > > > > > Hi Julie,
> > > > > > > >> > > > > >
> > > > > > > >> > > > > >
> > > > > > > >> > > > > > After I ran the long one line command:
> > > > > > > >> > > > > >
> > > > > > > >> > > > > > [xinxia at chaos parm]$
> /D2/xinxia/METplus/MET/met-5.
> > > > > > > 2/bin/tc_stat
> > > > > > > >> > -job
> > > > > > > >> > > > > > filter -lookin
/D2/xinxia/METplus/MET/input/
> > > > > tc_pairs/201412
> > > > > > > >> > > -init_inc
> > > > > > > >> > > > > > 20141201_00 -match_points true -dump_row
> > > > > > > >> > /D2/xinxia/METplus/MET/out/
> > > > > > > >> > > > > extract_tiles/20141201_00/
> > > > > > > >> > > > > > filter_20141201_00.tcst  -basin ML
-out_init_mask
> > > > > > > >> > > > > > /D2/xinxia/METplus/MET/met-5.
> > > > 2/share/met/poly/CONUS.poly
> > > > > > > >> > > > > >
> > > > > > > >> > > > > >
> > > > > > > >> > > > > > DEBUG 1: [Source 1] Lookin:
> > > > /D2/xinxia/METplus/MET/input/
> > > > > > > >> > > > tc_pairs/201412
> > > > > > > >> > > > > >
> > > > > > > >> > > > > > ERROR  :
> > > > > > > >> > > > > >
> > > > > > > >> > > > > > ERROR  : TCStatJob
*TCStatJobFactory::new_tc_
> > > > > stat_job(const
> > > > > > > >> char
> > > > > > > >> > > > > > *jobstring) -> unsupported job command
options
> > > > > > > >> > > > "filter_20141201_00.tcst".
> > > > > > > >> > > > > >
> > > > > > > >> > > > > > ERROR  :
> > > > > > > >> > > > > >
> > > > > > > >> > > > > >
> > > > > > > >> > > > > > And for the master_met_plus.py, I got the
error:
> > > > > > > >> > > > > >
> > > > > > > >> > > > > > [xinxia at chaos ush]$ python
master_met_plus.py
> > > > > > > >> > > > > >
> > > > > > > >> > > > > > sh: run_tc_pairs.py: command not found
> > > > > > > >> > > > > >
> > > > > > > >> > > > > >
> > > > > > > >> > > > > > Thanks,
> > > > > > > >> > > > > >
> > > > > > > >> > > > > >
> > > > > > > >> > > > > > Xinxia
> > > > > > > >> > > > > >
> > > > > > > >> > > > > > ________________________________
> > > > > > > >> > > > > > From: Julie Prestopnik via RT
<met_help at ucar.edu>
> > > > > > > >> > > > > > Sent: Friday, February 24, 2017 7:42:21 AM
> > > > > > > >> > > > > > To: Xinxia_Song at outlook.com
> > > > > > > >> > > > > > Subject: Re: [rt.rap.ucar.edu #79605]
> ImportError:
> > No
> > > > > > module
> > > > > > > >> named
> > > > > > > >> > > > > > constants_pdef
> > > > > > > >> > > > > >
> > > > > > > >> > > > > > My apologies, my response should have said,
"By
> > > default,
> > > > > MET
> > > > > > > >> > version
> > > > > > > >> > > > 5.2
> > > > > > > >> > > > > is
> > > > > > > >> > > > > > compiled using dynamic linking."  It's true
for
> > both,
> > > > but
> > > > > I
> > > > > > > see
> > > > > > > >> > > you're
> > > > > > > >> > > > > > using 5.2 and I inadvertently referred to
5.1.
> > > > > > > >> > > > > >
> > > > > > > >> > > > > > On Thu, Feb 23, 2017 at 10:40 AM, Julie
> Prestopnik <
> > > > > > > >> > jpresto at ucar.edu
> > > > > > > >> > > >
> > > > > > > >> > > > > > wrote:
> > > > > > > >> > > > > >
> > > > > > > >> > > > > > > Hi Xinxia.  Regarding the error:
> > > > > > > >> > > > > > >
> > > > > > > >> > > > > > > /D2/xinxia/METplus/MET/met-
5.2/bin/tc_stat:
> error
> > > > while
> > > > > > > >> loading
> > > > > > > >> > > > shared
> > > > > > > >> > > > > > > libraries: libgsl.so.19: cannot open
shared
> object
> > > > file:
> > > > > > No
> > > > > > > >> such
> > > > > > > >> > > file
> > > > > > > >> > > > > or
> > > > > > > >> > > > > > > directory
> > > > > > > >> > > > > > >
> > > > > > > >> > > > > > > By default, MET version 5.1 is compiled
using
> > > dynamic
> > > > > > > linking.
> > > > > > > >> > > > Rather
> > > > > > > >> > > > > > > than compiling the external library code
in with
> > the
> > > > MET
> > > > > > > >> > > executables
> > > > > > > >> > > > > > (which
> > > > > > > >> > > > > > > is
> > > > > > > >> > > > > > > called static linking), it looks for them
at
> > > runtime.
> > > > > And
> > > > > > > >> it's
> > > > > > > >> > > > looking
> > > > > > > >> > > > > > > for those "shared object" (.so) library
files.
> > > > > > > >> > > > > > >
> > > > > > > >> > > > > > > This should be easy to fix. We just need
to tell
> > it
> > > > > where
> > > > > > to
> > > > > > > >> find
> > > > > > > >> > > > them,
> > > > > > > >> > > > > > > and we do that by setting (or adding to
the
> > > > > > > LD_LIBRARY_PATH).
> > > > > > > >> > Look
> > > > > > > >> > > > in
> > > > > > > >> > > > > > your
> > > > > > > >> > > > > > > ~/.bashrc file.  If LD_LIBRARY_PATH is
already
> > > defined
> > > > > in
> > > > > > > >> there,
> > > > > > > >> > > add
> > > > > > > >> > > > > the
> > > > > > > >> > > > > > > path to the libgsl.so.19 to the end of
it.  If
> > not,
> > > > add
> > > > > an
> > > > > > > >> > > > > > > LD_LIBRARY_PATH entry in your ~/.bashrc
file.
> So,
> > > for
> > > > > > > >> example,
> > > > > > > >> > if
> > > > > > > >> > > > the
> > > > > > > >> > > > > > path
> > > > > > > >> > > > > > > to your libgsl.so.19 file is
> > > > > > /D2/xinxia/METplus/MET/externa
> > > > > > > >> > > > > > l_libs/GSL/gsl-1.16/lib
> > > > > > > >> > > > > > > you would add teh following to your
~/.bashrc
> > file:
> > > > > > > >> > > > > > >
> > > > > > > >> > > > > > >   export LD_LIBRARY_PATH=/D2/xinxia/
> > > > > > > >> > METplus/MET/external_libs/GSL/
> > > > > > > >> > > > > > > gsl-1.16/lib
> > > > > > > >> > > > > > >
> > > > > > > >> > > > > > > Then save the change and source that
file:
> > > > > > > >> > > > > > >
> > > > > > > >> > > > > > >   source ~/.bashrc
> > > > > > > >> > > > > > >
> > > > > > > >> > > > > > > Then, please try rerunning the command
manually
> > and
> > > > let
> > > > > me
> > > > > > > >> know
> > > > > > > >> > if
> > > > > > > >> > > it
> > > > > > > >> > > > > > > works.
> > > > > > > >> > > > > > >
> > > > > > > >> > > > > > > I believe that this was the cause of the
initial
> > > error
> > > > > you
> > > > > > > >> > received
> > > > > > > >> > > > > from
> > > > > > > >> > > > > > > MET+:
> > > > > > > >> > > > > > >
> > > > > > > >> > > > > > > ERROR| /D2/xinxia/METplus/METplus/
> > > > > > > ush/run_tc_stat.py:tc_stat
> > > > > > > >> > from
> > > > > > > >> > > > > > calling
> > > > > > > >> > > > > > > MET TC-STAT with
command:/D2/xinxia/METplus/
> > > > > > > >> > > MET/met-5.2/bin/tc_stat
> > > > > > > >> > > > > -job
> > > > > > > >> > > > > > > filter -lookin
/D2/xinxia/METplus/MET/input/t
> > > > > > c_pairs/201412
> > > > > > > >> > > > -init_inc
> > > > > > > >> > > > > > > 20141201_00 -match_points true -dump_row
> > > > > > > >> > > > /D2/xinxia/METplus/MET/out/ext
> > > > > > > >> > > > > > >
ract_tiles/20141201_00/filter_20141201_00.tcst
> > > > -basin
> > > > > ML
> > > > > > > >> > > > > -out_init_mask
> > > > > > > >> > > > > > > /D2/xinxia/METplus/MET/met-5.
> > > > > 2/share/met/poly/CONUS.poly
> > > > > > > >> > > > > > >
> > > > > > > >> > > > > > >
> > > > > > > >> > > > > > > Thanks,
> > > > > > > >> > > > > > > Julie
> > > > > > > >> > > > > > >
> > > > > > > >> > > > > > > On Thu, Feb 23, 2017 at 10:14 AM, Xinxia
Song
> via
> > > RT <
> > > > > > > >> > > > > met_help at ucar.edu>
> > > > > > > >> > > > > > > wrote:
> > > > > > > >> > > > > > >
> > > > > > > >> > > > > > >>
> > > > > > > >> > > > > > >> <URL: https://rt.rap.ucar.edu/rt/Tic
> > > > > > > >> ket/Display.html?id=79605 >
> > > > > > > >> > > > > > >>
> > > > > > > >> > > > > > >> Hi Julie,
> > > > > > > >> > > > > > >>
> > > > > > > >> > > > > > >>
> > > > > > > >> > > > > > >> [xinxia at chaos ush]$
> > /D2/xinxia/METplus/MET/met-5.2
> > > > > > > >> /bin/tc_stat
> > > > > > > >> > > -job
> > > > > > > >> > > > > > >> filter -lookin
/D2/xinxia/METplus/MET/input/
> > > > > > > tc_pairs/201412
> > > > > > > >> > > > -init_inc
> > > > > > > >> > > > > > >> 20141201_00 -match_points true -dump_row
> > > > > > > >> > > > > /D2/xinxia/METplus/MET/out/ext
> > > > > > > >> > > > > > ract_tiles/20141201_00/
> > > > > > > >> > > > > > >> filter_20141201_00.tcst  -basin ML
> -out_init_mask
> > > > > > > >> > > > > > >> /D2/xinxia/METplus/MET/met-5.
> > > > > 2/share/met/poly/CONUS.poly
> > > > > > > >> > > > > > >>
> > > > > > > >> > > > > > >> /D2/xinxia/METplus/MET/met-
5.2/bin/tc_stat:
> > error
> > > > > while
> > > > > > > >> loading
> > > > > > > >> > > > > shared
> > > > > > > >> > > > > > >> libraries: libgsl.so.19: cannot open
shared
> > object
> > > > > file:
> > > > > > No
> > > > > > > >> such
> > > > > > > >> > > > file
> > > > > > > >> > > > > or
> > > > > > > >> > > > > > >> directory
> > > > > > > >> > > > > > >>
> > > > > > > >> > > > > > >>
> > > > > > > >> > > > > > >> And I uploaded the configuration file
> > > > > (constants_pdef.py)
> > > > > > > >> under
> > > > > > > >> > > > > > >> xinxia_data directory.
> > > > > > > >> > > > > > >>
> > > > > > > >> > > > > > >>
> > > > > > > >> > > > > > >> Thanks,
> > > > > > > >> > > > > > >>
> > > > > > > >> > > > > > >>
> > > > > > > >> > > > > > >> Xinxia
> > > > > > > >> > > > > > >>
> > > > > > > >> > > > > > >> ________________________________
> > > > > > > >> > > > > > >> From: Julie Prestopnik via RT <
> met_help at ucar.edu
> > >
> > > > > > > >> > > > > > >> Sent: Friday, February 24, 2017 6:15:57
AM
> > > > > > > >> > > > > > >> To: Xinxia_Song at outlook.com
> > > > > > > >> > > > > > >> Subject: Re: [rt.rap.ucar.edu #79605]
> > ImportError:
> > > > No
> > > > > > > module
> > > > > > > >> > > named
> > > > > > > >> > > > > > >> constants_pdef
> > > > > > > >> > > > > > >>
> > > > > > > >> > > > > > >> Hi Xinxia.
> > > > > > > >> > > > > > >>
> > > > > > > >> > > > > > >> I can see that your command, which
should have
> > been
> > > > all
> > > > > > on
> > > > > > > >> one
> > > > > > > >> > > line,
> > > > > > > >> > > > > was
> > > > > > > >> > > > > > >> broken up into several lines.  Please
try
> running
> > > the
> > > > > > > command
> > > > > > > >> > > again,
> > > > > > > >> > > > > > >> making
> > > > > > > >> > > > > > >> sure that the entire command is on one
line:
> > > > > > > >> > > > > > >>
> > > > > > > >> > > > > > >> /D2/xinxia/METplus/MET/met-
5.2/bin/tc_stat
> -job
> > > > filter
> > > > > > > >> -lookin
> > > > > > > >> > > > > > >>
/D2/xinxia/METplus/MET/input/tc_pairs/201412
> > > > -init_inc
> > > > > > > >> > > 20141201_00
> > > > > > > >> > > > > > >> -match_points true -dump_row
> > > > > > > >> > > > > > >> /D2/xinxia/METplus/MET/out/
> > > > extract_tiles/20141201_00/
> > > > > > > >> > > > > > >> filter_20141201_00.tcst  -basin ML
> -out_init_mask
> > > > > > > >> > > > > > >> /D2/xinxia/METplus/MET/met-5.
> > > > > 2/share/met/poly/CONUS.poly
> > > > > > > >> > > > > > >>
> > > > > > > >> > > > > > >> Then, please send the output from that
command.
> > > > > > > >> > > > > > >>
> > > > > > > >> > > > > > >> Regarding, your error:
> > > > > > > >> > > > > > >>
> > > > > > > >> > > > > > >> sh: run_tc_pairs.py: command not found
> > > > > > > >> > > > > > >>
> > > > > > > >> > > > > > >> It's strange that would only have
occurred
> after
> > > > having
> > > > > > > >> changed
> > > > > > > >> > > the
> > > > > > > >> > > > > > >> LOG_LEVEL.  Could you please send us
your
> > > > configuration
> > > > > > > file?
> > > > > > > >> > > > > > >>
> > > > > > > >> > > > > > >> Thanks!
> > > > > > > >> > > > > > >>
> > > > > > > >> > > > > > >> Julie
> > > > > > > >> > > > > > >>
> > > > > > > >> > > > > > >> On Wed, Feb 22, 2017 at 2:54 PM, Xinxia
Song
> via
> > > RT <
> > > > > > > >> > > > > met_help at ucar.edu>
> > > > > > > >> > > > > > >> wrote:
> > > > > > > >> > > > > > >>
> > > > > > > >> > > > > > >> >
> > > > > > > >> > > > > > >> > <URL: https://rt.rap.ucar.edu/rt/Tic
> > > > > > > >> ket/Display.html?id=79605
> > > > > > > >> > >
> > > > > > > >> > > > > > >> >
> > > > > > > >> > > > > > >> > Hi Julie,
> > > > > > > >> > > > > > >> >
> > > > > > > >> > > > > > >> >
> > > > > > > >> > > > > > >> > [xinxia at chaos ush]$
> > > /D2/xinxia/METplus/MET/met-5.
> > > > > > > >> > 2/bin/tc_stat
> > > > > > > >> > > > -job
> > > > > > > >> > > > > > >> > filter -lookin
> > > > > > > >> > > > > > >> >
> > > > > > > >> > > > > > >> > /D2/xinxia/METplus/MET/met-
5.2/bin/tc_stat:
> > > error
> > > > > > while
> > > > > > > >> > loading
> > > > > > > >> > > > > > shared
> > > > > > > >> > > > > > >> > libraries: libgsl.so.19: cannot open
shared
> > > object
> > > > > > file:
> > > > > > > No
> > > > > > > >> > such
> > > > > > > >> > > > > file
> > > > > > > >> > > > > > or
> > > > > > > >> > > > > > >> > directory
> > > > > > > >> > > > > > >> >
> > > > > > > >> > > > > > >> >
> > > > > > > >> > > > > > >> > [xinxia at chaos ush]$
> > > /D2/xinxia/METplus/MET/input/
> > > > > > > >> > > tc_pairs/201412
> > > > > > > >> > > > > > >> > -init_inc 20141201_00 -match_points
true
> > > -dump_row
> > > > > > > >> > > > > > >> >
> > > > > > > >> > > > > > >> > -bash: /D2/xinxia/METplus/MET/input/
> > > > tc_pairs/201412:
> > > > > > is
> > > > > > > a
> > > > > > > >> > > > directory
> > > > > > > >> > > > > > >> >
> > > > > > > >> > > > > > >> >
> > > > > > > >> > > > > > >> > [xinxia at chaos ush]$
> > > /D2/xinxia/METplus/MET/out/ext
> > > > > > > >> > > > > > >> ract_tiles/20141201_00/
> > > > > > > >> > > > > > >> > filter_20141201_00.tcst  -basin ML
> > -out_init_mask
> > > > > > > >> > > > > > >> > /D2/xinxia/METplus/MET/met-5.2
> > > > > > /share/met/poly/CONUS.poly
> > > > > > > >> > > > > > >> >
> > > > > > > >> > > > > > >> > -bash: /D2/xinxia/METplus/MET/out/ext
> > > > > > > >> ract_tiles/20141201_00/:
> > > > > > > >> > > No
> > > > > > > >> > > > > such
> > > > > > > >> > > > > > >> > file or directory
> > > > > > > >> > > > > > >> >
> > > > > > > >> > > > > > >> >
> > > > > > > >> > > > > > >> > After I change the LOG_LEVEL, I ran
the
> > > > > > > >> master_met_plus.py, it
> > > > > > > >> > > > says:
> > > > > > > >> > > > > > >> >
> > > > > > > >> > > > > > >> > [xinxia at chaos ush]$ python
> master_met_plus.py
> > > > > > > >> > > > > > >> >
> > > > > > > >> > > > > > >> > sh: run_tc_pairs.py: command not found
> > > > > > > >> > > > > > >> >
> > > > > > > >> > > > > > >> >
> > > > > > > >> > > > > > >> >
> > > > > > > >> > > > > > >> > Thanks,
> > > > > > > >> > > > > > >> >
> > > > > > > >> > > > > > >> >
> > > > > > > >> > > > > > >> > Xinxia
> > > > > > > >> > > > > > >> >
> > > > > > > >> > > > > > >> >
> > > > > > > >> > > > > > >> > ________________________________
> > > > > > > >> > > > > > >> > From: Julie Prestopnik via RT <
> > met_help at ucar.edu
> > > >
> > > > > > > >> > > > > > >> > Sent: Thursday, February 23, 2017
10:04:55 AM
> > > > > > > >> > > > > > >> > To: Xinxia_Song at outlook.com
> > > > > > > >> > > > > > >> > Subject: Re: [rt.rap.ucar.edu #79605]
> > > ImportError:
> > > > > No
> > > > > > > >> module
> > > > > > > >> > > > named
> > > > > > > >> > > > > > >> > constants_pdef
> > > > > > > >> > > > > > >> >
> > > > > > > >> > > > > > >> > Thank you.  Unfortunately, the level
of
> detail
> > in
> > > > the
> > > > > > log
> > > > > > > >> file
> > > > > > > >> > > > > wasn't
> > > > > > > >> > > > > > >> what
> > > > > > > >> > > > > > >> > I hoped for.  I'd like to have you try
two
> > > things.
> > > > > > > >> > > > > > >> >
> > > > > > > >> > > > > > >> > First, could you please send me your
output
> of
> > > your
> > > > > > > manual
> > > > > > > >> run
> > > > > > > >> > > of
> > > > > > > >> > > > > the
> > > > > > > >> > > > > > >> > following?
> > > > > > > >> > > > > > >> >
> > > > > > > >> > > > > > >> > "/D2/xinxia/METplus/MET/met-
5.2/bin/tc_stat
> > -job
> > > > > > filter
> > > > > > > >> > -lookin
> > > > > > > >> > > > > > >> >
/D2/xinxia/METplus/MET/input/tc_pairs/201412
> > > > > -init_inc
> > > > > > > >> > > > 20141201_00
> > > > > > > >> > > > > > >> > -match_points true -dump_row
> > > > > > /D2/xinxia/METplus/MET/out/
> > > > > > > >> > > > > > >> > extract_tiles/20141201_00/
> > > filter_20141201_00.tcst
> > > > > > > -basin
> > > > > > > >> ML
> > > > > > > >> > > > > > >> > -out_init_mask
> > > > > > > >> > > > > > >> > /D2/xinxia/METplus/MET/met-5.
> > > > > > > 2/share/met/poly/CONUS.poly"
> > > > > > > >> > > > > > >> >
> > > > > > > >> > > > > > >> > Second, could you please change your
log
> level
> > in
> > > > > your
> > > > > > > >> > > > configuration
> > > > > > > >> > > > > > >> file
> > > > > > > >> > > > > > >> > from
> > > > > > > >> > > > > > >> >
> > > > > > > >> > > > > > >> > LOG_LEVEL = "INFO"
> > > > > > > >> > > > > > >> >
> > > > > > > >> > > > > > >> > to
> > > > > > > >> > > > > > >> >
> > > > > > > >> > > > > > >> > LOG_LEVEL = "DEBUG"
> > > > > > > >> > > > > > >> >
> > > > > > > >> > > > > > >> > then rerun and upload your log file to
our
> ftp
> > > > server
> > > > > > > >> again?
> > > > > > > >> > > > > > >> >
> > > > > > > >> > > > > > >> > Thank you!
> > > > > > > >> > > > > > >> >
> > > > > > > >> > > > > > >> > Julie
> > > > > > > >> > > > > > >> >
> > > > > > > >> > > > > > >> >
> > > > > > > >> > > > > > >> > On Wed, Feb 22, 2017 at 12:39 PM,
Xinxia Song
> > via
> > > > RT
> > > > > <
> > > > > > > >> > > > > > met_help at ucar.edu
> > > > > > > >> > > > > > >> >
> > > > > > > >> > > > > > >> > wrote:
> > > > > > > >> > > > > > >> >
> > > > > > > >> > > > > > >> > >
> > > > > > > >> > > > > > >> > > <URL: https://rt.rap.ucar.edu/rt/
> > > > > > > >> > Ticket/Display.html?id=79605
> > > > > > > >> > > >
> > > > > > > >> > > > > > >> > >
> > > > > > > >> > > > > > >> > > Hi Julie,
> > > > > > > >> > > > > > >> > >
> > > > > > > >> > > > > > >> > >
> > > > > > > >> > > > > > >> > > I uploaded the log file under
xinxia_data
> > > > > directory.
> > > > > > > >> > > > > > >> > >
> > > > > > > >> > > > > > >> > >
> > > > > > > >> > > > > > >> > > Thanks,
> > > > > > > >> > > > > > >> > >
> > > > > > > >> > > > > > >> > >
> > > > > > > >> > > > > > >> > > Xinxia
> > > > > > > >> > > > > > >> > >
> > > > > > > >> > > > > > >> > >
> > > > > > > >> > > > > > >> > > ________________________________
> > > > > > > >> > > > > > >> > > From: Julie Prestopnik via RT <
> > > met_help at ucar.edu
> > > > >
> > > > > > > >> > > > > > >> > > Sent: Thursday, February 23, 2017
9:11:32
> AM
> > > > > > > >> > > > > > >> > > To: Xinxia_Song at outlook.com
> > > > > > > >> > > > > > >> > > Subject: Re: [rt.rap.ucar.edu
#79605]
> > > > ImportError:
> > > > > > No
> > > > > > > >> > module
> > > > > > > >> > > > > named
> > > > > > > >> > > > > > >> > > constants_pdef
> > > > > > > >> > > > > > >> > >
> > > > > > > >> > > > > > >> > > Hi Xinxia.
> > > > > > > >> > > > > > >> > >
> > > > > > > >> > > > > > >> > > I think it would be helpful if I
could
> take a
> > > > look
> > > > > at
> > > > > > > the
> > > > > > > >> > log
> > > > > > > >> > > > > file.
> > > > > > > >> > > > > > >> > Could
> > > > > > > >> > > > > > >> > > you please upload your file to our
> anonymous
> > > ftp
> > > > > site
> > > > > > > as
> > > > > > > >> > > follows
> > > > > > > >> > > > > so
> > > > > > > >> > > > > > >> that
> > > > > > > >> > > > > > >> > I
> > > > > > > >> > > > > > >> > > can take a look?
> > > > > > > >> > > > > > >> > >
> > > > > > > >> > > > > > >> > >    http://www.dtcenter.org/met/
> > > > > > > >> > users/support/met_help.php#ftp
> > > > > > > >> > > > > > >> > >
> > > > > > > >> > > > > > >> > > Also, could you please try running
the
> > > following
> > > > > > > manually
> > > > > > > >> > and
> > > > > > > >> > > > send
> > > > > > > >> > > > > > the
> > > > > > > >> > > > > > >> > > output to me?
> > > > > > > >> > > > > > >> > >
> > > > > > > >> > > > > > >> > > "/D2/xinxia/METplus/MET/met-5.
> 2/bin/tc_stat
> > > -job
> > > > > > > filter
> > > > > > > >> > > -lookin
> > > > > > > >> > > > > > >> > > /D2/xinxia/METplus/MET/input/
> tc_pairs/201412
> > > > > > -init_inc
> > > > > > > >> > > > > 20141201_00
> > > > > > > >> > > > > > >> > > -match_points true -dump_row
> > > > > > > /D2/xinxia/METplus/MET/out/
> > > > > > > >> > > > > > >> > > extract_tiles/20141201_00/
> > > > filter_20141201_00.tcst
> > > > > > > >> -basin
> > > > > > > >> > ML
> > > > > > > >> > > > > > >> > > -out_init_mask
> > > > > > > >> > > > > > >> > > /D2/xinxia/METplus/MET/met-5.2
> > > > > > > >> /share/met/poly/CONUS.poly"
> > > > > > > >> > > > > > >> > >
> > > > > > > >> > > > > > >> > > Thank you!
> > > > > > > >> > > > > > >> > >
> > > > > > > >> > > > > > >> > > Julie
> > > > > > > >> > > > > > >> > >
> > > > > > > >> > > > > > >> > >
> > > > > > > >> > > > > > >> > >
> > > > > > > >> > > > > > >> > > On Wed, Feb 22, 2017 at 12:06 PM,
Xinxia
> Song
> > > via
> > > > > RT
> > > > > > <
> > > > > > > >> > > > > > >> met_help at ucar.edu>
> > > > > > > >> > > > > > >> > > wrote:
> > > > > > > >> > > > > > >> > >
> > > > > > > >> > > > > > >> > > >
> > > > > > > >> > > > > > >> > > > <URL: https://rt.rap.ucar.edu/rt/
> > > > > > > >> > > Ticket/Display.html?id=79605
> > > > > > > >> > > > >
> > > > > > > >> > > > > > >> > > >
> > > > > > > >> > > > > > >> > > > Hi Julie,
> > > > > > > >> > > > > > >> > > >
> > > > > > > >> > > > > > >> > > >
> > > > > > > >> > > > > > >> > > > Now I can run the program, but
when I
> look
> > at
> > > > the
> > > > > > log
> > > > > > > >> file
> > > > > > > >> > > in
> > > > > > > >> > > > > the
> > > > > > > >> > > > > > >> > output,
> > > > > > > >> > > > > > >> > > > it shows error below:
> > > > > > > >> > > > > > >> > > >
> > > > > > > >> > > > > > >> > > >
> > > > > > > >> > > > > > >> > > > ERROR| /D2/xinxia/METplus/METplus/
> > > > > > > >> > > ush/run_tc_stat.py:tc_stat
> > > > > > > >> > > > > from
> > > > > > > >> > > > > > >> > > calling
> > > > > > > >> > > > > > >> > > > MET TC-STAT with
> > > command:/D2/xinxia/METplus/MET
> > > > > > > >> > > > > > /met-5.2/bin/tc_stat
> > > > > > > >> > > > > > >> > -job
> > > > > > > >> > > > > > >> > > > filter -lookin
> > /D2/xinxia/METplus/MET/input/
> > > > > > > >> > tc_pairs/201412
> > > > > > > >> > > > > > >> -init_inc
> > > > > > > >> > > > > > >> > > > 20141201_00 -match_points true
-dump_row
> > > > > > > >> > > > > > /D2/xinxia/METplus/MET/out/
> > > > > > > >> > > > > > >> > > > extract_tiles/20141201_00/
> > > > > filter_20141201_00.tcst
> > > > > > > >> -basin
> > > > > > > >> > > ML
> > > > > > > >> > > > > > >> > > > -out_init_mask
> > /D2/xinxia/METplus/MET/met-5.
> > > > > > > >> > > > > > >> > 2/share/met/poly/CONUS.poly
> > > > > > > >> > > > > > >> > > >
> > > > > > > >> > > > > > >> > > >
> > > > > > > >> > > > > > >> > > > How should I fix it?
> > > > > > > >> > > > > > >> > > >
> > > > > > > >> > > > > > >> > > >
> > > > > > > >> > > > > > >> > > > Thanks,
> > > > > > > >> > > > > > >> > > >
> > > > > > > >> > > > > > >> > > >
> > > > > > > >> > > > > > >> > > > Xinxia
> > > > > > > >> > > > > > >> > > >
> > > > > > > >> > > > > > >> > > > ________________________________
> > > > > > > >> > > > > > >> > > > From: Julie Prestopnik via RT <
> > > > met_help at ucar.edu
> > > > > >
> > > > > > > >> > > > > > >> > > > Sent: Thursday, February 23, 2017
7:30:06
> > AM
> > > > > > > >> > > > > > >> > > > To: Xinxia_Song at outlook.com
> > > > > > > >> > > > > > >> > > > Subject: Re: [rt.rap.ucar.edu
#79605]
> > > > > ImportError:
> > > > > > > No
> > > > > > > >> > > module
> > > > > > > >> > > > > > named
> > > > > > > >> > > > > > >> > > > constants_pdef
> > > > > > > >> > > > > > >> > > >
> > > > > > > >> > > > > > >> > > > Hi Xinxia.
> > > > > > > >> > > > > > >> > > >
> > > > > > > >> > > > > > >> > > > I believe that python doesn't know
how to
> > > find
> > > > > the
> > > > > > > >> module
> > > > > > > >> > > > > because
> > > > > > > >> > > > > > >> the
> > > > > > > >> > > > > > >> > ush
> > > > > > > >> > > > > > >> > > > directory is not in your
PYTHONPATH.
> Both
> > > the
> > > > > parm
> > > > > > > and
> > > > > > > >> > ush
> > > > > > > >> > > > > > >> directory
> > > > > > > >> > > > > > >> > > need
> > > > > > > >> > > > > > >> > > > to be specified in your
PYTHONPATH.
> Please
> > > add
> > > > > the
> > > > > > > ush
> > > > > > > >> > > > > directory
> > > > > > > >> > > > > > to
> > > > > > > >> > > > > > >> > your
> > > > > > > >> > > > > > >> > > > PYTHONPATH, source ~/.bashrc, and
let us
> > know
> > > > how
> > > > > > it
> > > > > > > >> goes.
> > > > > > > >> > > > > > >> > > >
> > > > > > > >> > > > > > >> > > > Thanks,
> > > > > > > >> > > > > > >> > > > Julie
> > > > > > > >> > > > > > >> > > >
> > > > > > > >> > > > > > >> > > > On Wed, Feb 22, 2017 at 10:24 AM,
Xinxia
> > Song
> > > > via
> > > > > > RT
> > > > > > > <
> > > > > > > >> > > > > > >> > met_help at ucar.edu>
> > > > > > > >> > > > > > >> > > > wrote:
> > > > > > > >> > > > > > >> > > >
> > > > > > > >> > > > > > >> > > > >
> > > > > > > >> > > > > > >> > > > > <URL:
https://rt.rap.ucar.edu/rt/
> > > > > > > >> > > > Ticket/Display.html?id=79605
> > > > > > > >> > > > > >
> > > > > > > >> > > > > > >> > > > >
> > > > > > > >> > > > > > >> > > > > Hi Julie,
> > > > > > > >> > > > > > >> > > > >
> > > > > > > >> > > > > > >> > > > >
> > > > > > > >> > > > > > >> > > > > Since I don't have setenv, I
added
> these
> > 3
> > > > > > sentence
> > > > > > > >> into
> > > > > > > >> > > my
> > > > > > > >> > > > > > >> .bashrc
> > > > > > > >> > > > > > >> > > file:
> > > > > > > >> > > > > > >> > > > >
> > > > > > > >> > > > > > >> > > > >
> > > > > > > >> > > > > > >> > > > > export PYTHONPATH="/D2/xinxia/
> > > > > > > METplus/METplus/parm"
> > > > > > > >> > > > > > >> > > > >
> > > > > > > >> > > > > > >> > > > >
> > > > > > > >> > > > > > >> > > > > export
USHROOT=/D2/xinxia/METplus/
> > > > METplus/ush
> > > > > > > >> > > > > > >> > > > >
> > > > > > > >> > > > > > >> > > > > export PATH=$USHROOT:$PATH
> > > > > > > >> > > > > > >> > > > >
> > > > > > > >> > > > > > >> > > > >
> > > > > > > >> > > > > > >> > > > > I sourced the ~/.bashrc, and
checked
> that
> > > the
> > > > > > > >> variables
> > > > > > > >> > > are
> > > > > > > >> > > > > set,
> > > > > > > >> > > > > > >> but
> > > > > > > >> > > > > > >> > > the
> > > > > > > >> > > > > > >> > > > > program still can't find the
module.
> > > > > > > >> > > > > > >> > > > >
> > > > > > > >> > > > > > >> > > > >
> > > > > > > >> > > > > > >> > > > > Thanks,
> > > > > > > >> > > > > > >> > > > >
> > > > > > > >> > > > > > >> > > > > Xinxia
> > > > > > > >> > > > > > >> > > > >
> > > > > > > >> > > > > > >> > > > > ________________________________
> > > > > > > >> > > > > > >> > > > > From: Julie Prestopnik via RT <
> > > > > met_help at ucar.edu
> > > > > > >
> > > > > > > >> > > > > > >> > > > > Sent: Thursday, February 23,
2017
> 6:24:21
> > > AM
> > > > > > > >> > > > > > >> > > > > To: Xinxia_Song at outlook.com
> > > > > > > >> > > > > > >> > > > > Subject: Re: [rt.rap.ucar.edu
#79605]
> > > > > > ImportError:
> > > > > > > >> No
> > > > > > > >> > > > module
> > > > > > > >> > > > > > >> named
> > > > > > > >> > > > > > >> > > > > constants_pdef
> > > > > > > >> > > > > > >> > > > >
> > > > > > > >> > > > > > >> > > > > Hi Xinxia.
> > > > > > > >> > > > > > >> > > > >
> > > > > > > >> > > > > > >> > > > > Could you please check to make
sure
> that
> > > the
> > > > > ush
> > > > > > > >> > directory
> > > > > > > >> > > > > with
> > > > > > > >> > > > > > >> > > > > constants_pdef.py is in your
PYTHONPATH
> > in
> > > > your
> > > > > > > >> .cshrc
> > > > > > > >> > > file
> > > > > > > >> > > > > (or
> > > > > > > >> > > > > > >> > .bashrc
> > > > > > > >> > > > > > >> > > > or
> > > > > > > >> > > > > > >> > > > > similar file)?  The parm
directory
> should
> > > > also
> > > > > be
> > > > > > > in
> > > > > > > >> > your
> > > > > > > >> > > > > > >> PYTHONPATH.
> > > > > > > >> > > > > > >> > > > >
> > > > > > > >> > > > > > >> > > > > For example,
> > > > > > > >> > > > > > >> > > > >
> > > > > > > >> > > > > > >> > > > > setenv PYTHONPATH
> > > > /d1/jpresto/sbu/METplus/ush:/
> > > > > > > >> > > > > > >> > > > d1/jpresto/sbu/METplus/parm
> > > > > > > >> > > > > > >> > > > >
> > > > > > > >> > > > > > >> > > > > Please also check make sure that
the
> path
> > > to
> > > > > the
> > > > > > > ush
> > > > > > > >> > > > directory
> > > > > > > >> > > > > > is
> > > > > > > >> > > > > > >> > also
> > > > > > > >> > > > > > >> > > > > specified your your path
environment
> > > > variable.
> > > > > > For
> > > > > > > >> > > example,
> > > > > > > >> > > > > > >> > > > >
> > > > > > > >> > > > > > >> > > > > set path = (/usr/local/bin \
> > > > > > > >> > > > > > >> > > > >
> > > > /usr/local/python/bin/python \
> > > > > > > >> > > > > > >> > > > >
> > > /d1/jpresto/sbu/METplus/ush
> > > > )
> > > > > > > >> > > > > > >> > > > >
> > > > > > > >> > > > > > >> > > > > If they are not there, please
add them
> > and
> > > > then
> > > > > > > >> source
> > > > > > > >> > the
> > > > > > > >> > > > > file
> > > > > > > >> > > > > > >> (e.g.
> > > > > > > >> > > > > > >> > > run
> > > > > > > >> > > > > > >> > > > > "source ~/.cshrc").
> > > > > > > >> > > > > > >> > > > >
> > > > > > > >> > > > > > >> > > > > Thank you!  Please let us know
how it
> > goes.
> > > > > > > >> > > > > > >> > > > >
> > > > > > > >> > > > > > >> > > > > Julie
> > > > > > > >> > > > > > >> > > > >
> > > > > > > >> > > > > > >> > > > >
> > > > > > > >> > > > > > >> > > > >
> > > > > > > >> > > > > > >> > > > >
> > > > > > > >> > > > > > >> > > > > On Tue, Feb 21, 2017 at 4:49 PM,
Xinxia
> > > Song
> > > > > via
> > > > > > > RT <
> > > > > > > >> > > > > > >> > met_help at ucar.edu
> > > > > > > >> > > > > > >> > > >
> > > > > > > >> > > > > > >> > > > > wrote:
> > > > > > > >> > > > > > >> > > > >
> > > > > > > >> > > > > > >> > > > > >
> > > > > > > >> > > > > > >> > > > > > Tue Feb 21 16:49:28 2017:
Request
> 79605
> > > was
> > > > > > acted
> > > > > > > >> > upon.
> > > > > > > >> > > > > > >> > > > > > Transaction: Ticket created by
> > > > > > > >> > Xinxia_Song at outlook.com
> > > > > > > >> > > > > > >> > > > > >        Queue: met_help
> > > > > > > >> > > > > > >> > > > > >      Subject: ImportError: No
module
> > > named
> > > > > > > >> > > constants_pdef
> > > > > > > >> > > > > > >> > > > > >        Owner: Nobody
> > > > > > > >> > > > > > >> > > > > >   Requestors:
> Xinxia_Song at outlook.com
> > > > > > > >> > > > > > >> > > > > >       Status: new
> > > > > > > >> > > > > > >> > > > > >  Ticket <URL:
> > > https://rt.rap.ucar.edu/rt/
> > > > > > > >> > > > > > >> > > Ticket/Display.html?id=79605
> > > > > > > >> > > > > > >> > > > >
> > > > > > > >> > > > > > >> > > > > >
> > > > > > > >> > > > > > >> > > > > >
> > > > > > > >> > > > > > >> > > > > > Hi,
> > > > > > > >> > > > > > >> > > > > >
> > > > > > > >> > > > > > >> > > > > >
> > > > > > > >> > > > > > >> > > > > > When I ran the
mater_met_plus.py, it
> > > says:
> > > > > > > >> > > > > > >> > > > > >
> > > > > > > >> > > > > > >> > > > > >
> > > > > > > >> > > > > > >> > > > > > ImportError: No module named
> > > constants_pdef
> > > > > > > >> > > > > > >> > > > > >
> > > > > > > >> > > > > > >> > > > > >
> > > > > > > >> > > > > > >> > > > > > Seems it doesn't recognize
> > constants_pdef
> > > > as
> > > > > > its
> > > > > > > >> > module.
> > > > > > > >> > > > > > >> > > > > >
> > > > > > > >> > > > > > >> > > > > >
> > > > > > > >> > > > > > >> > > > > > Thanks,
> > > > > > > >> > > > > > >> > > > > >
> > > > > > > >> > > > > > >> > > > > > Xinxia
> > > > > > > >> > > > > > >> > > > > >
> > > > > > > >> > > > > > >> > > > > >
> > > > > > > >> > > > > > >> > > > >
> > > > > > > >> > > > > > >> > > > >
> > > > > > > >> > > > > > >> > > > >
> > > > > > > >> > > > > > >> > > >
> > > > > > > >> > > > > > >> > > >
> > > > > > > >> > > > > > >> > > >
> > > > > > > >> > > > > > >> > >
> > > > > > > >> > > > > > >> > >
> > > > > > > >> > > > > > >> > >
> > > > > > > >> > > > > > >> >
> > > > > > > >> > > > > > >> >
> > > > > > > >> > > > > > >> >
> > > > > > > >> > > > > > >>
> > > > > > > >> > > > > > >>
> > > > > > > >> > > > > > >>
> > > > > > > >> > > > > > >
> > > > > > > >> > > > > >
> > > > > > > >> > > > > >
> > > > > > > >> > > > > >
> > > > > > > >> > > > >
> > > > > > > >> > > > >
> > > > > > > >> > > > >
> > > > > > > >> > > >
> > > > > > > >> > > >
> > > > > > > >> > > >
> > > > > > > >> > >
> > > > > > > >> > >
> > > > > > > >> > >
> > > > > > > >> >
> > > > > > > >> >
> > > > > > > >> >
> > > > > > > >>
> > > > > > > >>
> > > > > > > >>
> > > > > > > >
> > > > > > >
> > > > > > >
> > > > > > >
> > > > > >
> > > > > >
> > > > > >
> > > > >
> > > > >
> > > > >
> > > >
> > > >
> > > >
> > >
> > >
> > >
> >
> >
> >
>
>
>

------------------------------------------------
Subject: ImportError: No module named constants_pdef
From: Julie Prestopnik
Time: Tue Feb 28 12:50:57 2017

Hi Xinxia.  I also thought I would mention that, as indicated in the
README
file that came with the distribution, in addition to ncap2 and ncdump,
the
following are also required for MET+:

  - convert utility (part of ImageMagick)
    - https://www.imagemagick.org/script/binary-releases.php
  - wgrib2 utility
    -
http://www.cpc.noaa.gov/products/wesley/wgrib2/compile_questions.html
  - egrep utility
    - http://directory.fsf.org/wiki/Grep

If you do not have these installed. Please install them and set up
their
paths in the constants_pdef.py file.

Thanks,
Julie

On Tue, Feb 28, 2017 at 12:45 PM, Julie Prestopnik <jpresto at ucar.edu>
wrote:

> Hi Xinxia.
>
> You will also need to have the ncdump command installed, with the
location
> to the executable listed in NCDUMP_EXE in constants_pdef.py.  Please
have
> ncdump installed, update your constants_pdef.py file and rerun.
>
> Thanks!
>
> Julie
>
> On Tue, Feb 28, 2017 at 12:18 PM, Xinxia Song via RT
<met_help at ucar.edu>
> wrote:
>
>>
>> <URL: https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=79605 >
>>
>> Hi Julie,
>>
>>
>> Before I was running master_met_plus.py and now I ran the
>> series_by_lead.py and got the following results:
>>
>> [xinxia at chaos ush]$ python series_by_lead.py
>>
>> Traceback (most recent call last):
>>
>>   File "series_by_lead.py", line 945, in <module>
>>
>>     analysis_by_lead_time()
>>
>>   File "series_by_lead.py", line 326, in analysis_by_lead_time
>>
>>     vmin, vmax = get_netcdf_min_max(nc_var_list, cur_stat, p,
logger)
>>
>>   File "series_by_lead.py", line 638, in get_netcdf_min_max
>>
>>     shell=True)
>>
>>   File "/home/xinxia/anaconda2/lib/python2.7/subprocess.py", line
219,
>> in check_output
>>
>>     raise CalledProcessError(retcode, cmd, output=output)
>>
>> subprocess.CalledProcessError: Command '/usr/local/bin/ncdump
>> /D2/xinxia/METplus/MET/out/series_analysis_lead/series_F042/min.nc
>
>>
/D2/xinxia/METplus/MET/out/series_analysis_lead/series_F042/min.txt'
>> returned non-zero exit status 127
>>
>>
>> Thanks,
>>
>>
>> Xinxia
>>
>> ________________________________
>> From: Julie Prestopnik via RT <met_help at ucar.edu>
>> Sent: Tuesday, February 28, 2017 2:11:19 PM
>> To: Xinxia_Song at outlook.com
>> Subject: Re: [rt.rap.ucar.edu #79605] ImportError: No module named
>> constants_pdef
>>
>> Hi Xinxia.  Did you run series_by_lead.py on its own or via
>> master_met_plus.py?
>>
>> Thanks,
>> Julie
>>
>> On Tue, Feb 28, 2017 at 11:11 AM, Xinxia Song via RT
<met_help at ucar.edu>
>> wrote:
>>
>> >
>> > <URL: https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=79605 >
>> >
>> > Hi Julie,
>> >
>> >
>> > I checked it's 2.7.13. It seems the error doesn't coming from it.
>> >
>> >
>> > Thanks,
>> >
>> >
>> > Xinxia
>> >
>> >
>> > ________________________________
>> > From: Julie Prestopnik via RT <met_help at ucar.edu>
>> > Sent: Tuesday, February 28, 2017 10:49:29 AM
>> > To: Xinxia_Song at outlook.com
>> > Subject: Re: [rt.rap.ucar.edu #79605] ImportError: No module
named
>> > constants_pdef
>> >
>> > I think perhaps your environment is using Python 2.6 again.
>> >
>> > Please try running:
>> >
>> > python --version
>> >
>> > on the command line.
>> >
>> > If you see "Python 2..6.6", please add the path for Python 2.7 to
the
>> front
>> > of your path in your ~/.bashrc file.  Then, source your ~/.bashrc
file
>> and
>> > try rerunning
>> >
>> > python --version
>> >
>> > on the command line.  Hopefully, then you will see the new
version.
>> Then,
>> > please try rerunning master_met_plus.py.
>> >
>> > I hope this helps!  Thanks!
>> >
>> > Julie
>> >
>> > On Mon, Feb 27, 2017 at 8:14 PM, Xinxia Song via RT
<met_help at ucar.edu>
>> > wrote:
>> >
>> > >
>> > > <URL: https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=79605 >
>> > >
>> > > Hi Julie,
>> > >
>> > >
>> > > after I update the NCAP2 path in constants_pdef.py and ran the
>> > > master_met_plus.py, I got the error:
>> > >
>> > > 2017-02-28 02:49:40,659 : ERROR | [master_met_plus.py:main] |
Problem
>> > > executing: series_by_lead.py
>> > >
>> > > and message:
>> > >
>> > > Traceback (most recent call last):
>> > >
>> > >   File "/D2/xinxia/METplus/METplus/ush/series_by_lead.py", line
945,
>> in
>> > > <module>
>> > >
>> > >     analysis_by_lead_time()
>> > >
>> > >   File "/D2/xinxia/METplus/METplus/ush/series_by_lead.py", line
107,
>> in
>> > > analysis_by_lead_time
>> > >
>> > >     util.apply_series_filters(tile_dir, init_times,
>> > > series_lead_filtered_out_dir, p, logger)
>> > >
>> > >   File "/D2/xinxia/METplus/METplus/ush/met_util.py", line 1005,
in
>> > > apply_series_filters
>> > >
>> > >     tcs.tc_stat(p, logger, tc_cmd, series_output_dir)
>> > >
>> > >   File "/D2/xinxia/METplus/METplus/ush/run_tc_stat.py", line
69, in
>> > > tc_stat
>> > >
>> > >     tc_stat_out = subprocess.check_output(tc_cmd,
>> > > stderr=subprocess.STDOUT, shell=True )
>> > >
>> > > AttributeError: 'module' object has no attribute 'check_output'
>> > >
>> > >
>> > > Thanks,
>> > >
>> > >
>> > > Xinxia
>> > >
>> > > ________________________________
>> > > From: Julie Prestopnik via RT <met_help at ucar.edu>
>> > > Sent: Monday, February 27, 2017 5:15:59 PM
>> > > To: Xinxia_Song at outlook.com
>> > > Subject: Re: [rt.rap.ucar.edu #79605] ImportError: No module
named
>> > > constants_pdef
>> > >
>> > > Please install ncap2 and update the location to the executable
in the
>> > > NCAP2_EXE field of the constants_pdef.py file and trying
rerunning the
>> > MET+
>> > > code.  Please let us know how it goes.
>> > >
>> > > Thanks,
>> > > Julie
>> > >
>> > > On Mon, Feb 27, 2017 at 3:10 PM, Xinxia Song via RT <
>> met_help at ucar.edu>
>> > > wrote:
>> > >
>> > > >
>> > > > <URL: https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=79605
>
>> > > >
>> > > > Hi Julie,
>> > > >
>> > > >
>> > > > The result is :
>> > > >
>> > > > -bash: /usr/local/nco/bin/ncap2: No such file or directory
>> > > >
>> > > > I think we don't have it installed.
>> > > >
>> > > >
>> > > > Thanks,
>> > > >
>> > > > Xinxia
>> > > >
>> > > > ________________________________
>> > > > From: Julie Prestopnik via RT <met_help at ucar.edu>
>> > > > Sent: Monday, February 27, 2017 5:08:48 PM
>> > > > To: Xinxia_Song at outlook.com
>> > > > Subject: Re: [rt.rap.ucar.edu #79605] ImportError: No module
named
>> > > > constants_pdef
>> > > >
>> > > > Hi Xinxia. I believe that error code refers to "Command not
found".
>> > Can
>> > > > you please run the following and send me the output?
>> > > >
>> > > > /usr/local/nco/bin/ncap2 --version
>> > > >
>> > > > Thanks!
>> > > >
>> > > > Julie
>> > > >
>> > > >
>> > > > On Mon, Feb 27, 2017 at 2:55 PM, Xinxia Song via RT <
>> met_help at ucar.edu
>> > >
>> > > > wrote:
>> > > >
>> > > > >
>> > > > > <URL:
https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=79605 >
>> > > > >
>> > > > > Hi Julie,
>> > > > >
>> > > > >
>> > > > > The error is:
>> > > > >
>> > > > > Traceback (most recent call last):
>> > > > >
>> > > > >   File "series_by_lead.py", line 945, in <module>
>> > > > >
>> > > > >     analysis_by_lead_time()
>> > > > >
>> > > > >   File "series_by_lead.py", line 326, in
analysis_by_lead_time
>> > > > >
>> > > > >     vmin, vmax = get_netcdf_min_max(nc_var_list, cur_stat,
p,
>> > logger)
>> > > > >
>> > > > >   File "series_by_lead.py", line 605, in get_netcdf_min_max
>> > > > >
>> > > > >     shell=True)
>> > > > >
>> > > > >   File
"/home/xinxia/anaconda2/lib/python2.7/subprocess.py", line
>> > 219,
>> > > > in
>> > > > > check_output
>> > > > >
>> > > > >     raise CalledProcessError(retcode, cmd, output=output)
>> > > > >
>> > > > > subprocess.CalledProcessError: Command
'/usr/local/nco/bin/ncap2
>> -v
>> > -s
>> > > > > "min=min(series_cnt_TOTAL)" /D2/xinxia/METplus/MET/out/
>> > > > > series_analysis_lead/series_F042/series_F042_HGT_P500.nc
>> > > > >
/D2/xinxia/METplus/MET/out/series_analysis_lead/series_F042/
>> min.nc'
>> > > > > returned non-zero exit status 127
>> > > > >
>> > > > >
>> > > > > Thanks,
>> > > > >
>> > > > >
>> > > > > Xinxia
>> > > > >
>> > > > > ________________________________
>> > > > > From: Julie Prestopnik via RT <met_help at ucar.edu>
>> > > > > Sent: Tuesday, February 28, 2017 9:18:55 AM
>> > > > > To: Xinxia_Song at outlook.com
>> > > > > Subject: Re: [rt.rap.ucar.edu #79605] ImportError: No
module
>> named
>> > > > > constants_pdef
>> > > > >
>> > > > > Thank you, Xinxia.
>> > > > >
>> > > > > Unfortunately, the "DEBUG" log level did not provide much
>> information
>> > > for
>> > > > > this task:
>> > > > >
>> > > > > 2017-02-26 21:30:28,041 : INFO | [master_met_plus.py:main]
|
>> Running:
>> > > > > series_by_lead.py
>> > > > > 2017-02-26 21:30:28,212 : ERROR | [master_met_plus.py:main]
|
>> Problem
>> > > > > executing: series_by_lead.py
>> > > > >
>> > > > > Could you please try running series_by_lead.py in the ush
>> directory?
>> > > > > Please let me know what the output is from that run - it
may
>> still be
>> > > > > contained in your log file.
>> > > > >
>> > > > > Thanks!
>> > > > >
>> > > > > Julie
>> > > > >
>> > > > >
>> > > > > On Mon, Feb 27, 2017 at 11:17 AM, Xinxia Song via RT <
>> > > met_help at ucar.edu>
>> > > > > wrote:
>> > > > >
>> > > > > >
>> > > > > > <URL:
https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=79605 >
>> > > > > >
>> > > > > > Hi Julie,
>> > > > > >
>> > > > > >
>> > > > > > I uploaded the constants_pdef.py and
>> master_met_plus.20170226.log.
>> > > > > >
>> > > > > >
>> > > > > > Thanks,
>> > > > > >
>> > > > > >
>> > > > > > Xinxia
>> > > > > >
>> > > > > > ________________________________
>> > > > > > From: Julie Prestopnik via RT <met_help at ucar.edu>
>> > > > > > Sent: Tuesday, February 28, 2017 5:46:37 AM
>> > > > > > To: Xinxia_Song at outlook.com
>> > > > > > Subject: Re: [rt.rap.ucar.edu #79605] ImportError: No
module
>> named
>> > > > > > constants_pdef
>> > > > > >
>> > > > > > Hi Xinxia.  Can you please upload the configuration file
that
>> you
>> > > used
>> > > > > and
>> > > > > > the log file from that run to our ftp server so that we
can
>> take a
>> > > > look?
>> > > > > >
>> > > > > > Thanks!
>> > > > > >
>> > > > > > Julie
>> > > > > >
>> > > > > > On Sun, Feb 26, 2017 at 2:35 PM, Xinxia Song via RT <
>> > > met_help at ucar.edu
>> > > > >
>> > > > > > wrote:
>> > > > > >
>> > > > > > >
>> > > > > > > <URL:
https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=79605
>> >
>> > > > > > >
>> > > > > > > Hi Julie,
>> > > > > > >
>> > > > > > >
>> > > > > > > I ran the mater_met_plus.py and in the end in the log
file it
>> > gave
>> > > me
>> > > > > an
>> > > > > > > error:
>> > > > > > >
>> > > > > > > 2017-02-26 21:30:28,212 : ERROR |
[master_met_plus.py:main] |
>> > > Problem
>> > > > > > > executing: series_by_lead.py
>> > > > > > >
>> > > > > > >
>> > > > > > > Thanks,
>> > > > > > >
>> > > > > > > Xinxia
>> > > > > > >
>> > > > > > > ________________________________
>> > > > > > > From: Julie Prestopnik via RT <met_help at ucar.edu>
>> > > > > > > Sent: Saturday, February 25, 2017 6:49:56 AM
>> > > > > > > To: Xinxia_Song at outlook.com
>> > > > > > > Subject: Re: [rt.rap.ucar.edu #79605] ImportError: No
module
>> > named
>> > > > > > > constants_pdef
>> > > > > > >
>> > > > > > > You could also run "tail -f
</path/to/logfile/logfile_name>"
>> > > > replacing
>> > > > > > > </path/to/logfile/logfile_name> with the logfile path
and
>> name
>> > > > > > information
>> > > > > > > to see how the run is coming along.  I hope that helps!
>> > > > > > >
>> > > > > > > Julie
>> > > > > > >
>> > > > > > > On Fri, Feb 24, 2017 at 9:42 AM, Julie Prestopnik <
>> > > jpresto at ucar.edu>
>> > > > > > > wrote:
>> > > > > > >
>> > > > > > > > Hi Xinxia.  Running the entire three months of data
could
>> > > certainly
>> > > > > > take
>> > > > > > > a
>> > > > > > > > long time.  I am hoping to get an estimate on how
long it
>> took
>> > to
>> > > > run
>> > > > > > the
>> > > > > > > > three month data set here, but have not been able to
obtain
>> > that
>> > > > > number
>> > > > > > > > yet.   It sounds the code was running successfully
for
>> you.  If
>> > > > > you're
>> > > > > > > > eager to take a lot at some output, I would suggest
running
>> a
>> > > > smaller
>> > > > > > > > subset of the data, or perhaps you could set up the
whole
>> three
>> > > > month
>> > > > > > to
>> > > > > > > > run over the weekend.  I would suggest letting the
code run
>> to
>> > > > > > completion
>> > > > > > > > for either a smaller subset or for the entire subset
and
>> then
>> > > > > checking
>> > > > > > > the
>> > > > > > > > log file for errors.  I hope that helps.  Please let
me
>> know if
>> > > you
>> > > > > > have
>> > > > > > > > any questions or encounter any issues.
>> > > > > > > >
>> > > > > > > > Thanks,
>> > > > > > > > Julie
>> > > > > > > >
>> > > > > > > >
>> > > > > > > > On Thu, Feb 23, 2017 at 4:28 PM, Xinxia Song via RT <
>> > > > > met_help at ucar.edu
>> > > > > > >
>> > > > > > > > wrote:
>> > > > > > > >
>> > > > > > > >>
>> > > > > > > >> <URL: https://rt.rap.ucar.edu/rt/Tic
>> ket/Display.html?id=79605
>> > >
>> > > > > > > >>
>> > > > > > > >> Hi Julie,
>> > > > > > > >>
>> > > > > > > >>
>> > > > > > > >> The version is set to be 2.7+. When I ran
>> master_met_plus.py,
>> > it
>> > > > > seems
>> > > > > > > it
>> > > > > > > >> will run forever. So I killed it, and got the
following:
>> > > > > > > >>
>> > > > > > > >> [xinxia at chaos ush]$ python master_met_plus.py
>> > > > > > > >>
>> > > > > > > >> ^CTraceback (most recent call last):
>> > > > > > > >>
>> > > > > > > >>   File
"/D2/xinxia/METplus/METplus/ush/extract_tiles.py",
>> > line
>> > > > 157,
>> > > > > > in
>> > > > > > > >> <module>
>> > > > > > > >>
>> > > > > > > >>     main()
>> > > > > > > >>
>> > > > > > > >>   File
"/D2/xinxia/METplus/METplus/ush/extract_tiles.py",
>> > line
>> > > > 100,
>> > > > > > in
>> > > > > > > >> main
>> > > > > > > >>
>> > > > > > > >>     filtered_out_dir)
>> > > > > > > >>
>> > > > > > > >>   File
"/D2/xinxia/METplus/METplus/ush/run_tc_stat.py",
>> line
>> > > 69,
>> > > > in
>> > > > > > > >> tc_stat
>> > > > > > > >>
>> > > > > > > >>     tc_stat_out = subprocess.check_output(tc_cmd,
>> > > > > > > >> stderr=subprocess.STDOUT, shell=True )
>> > > > > > > >>
>> > > > > > > >>   File "/home/xinxia/anaconda2/lib/py
>> thon2.7/subprocess.py",
>> > > line
>> > > > > > 213,
>> > > > > > > >> in check_output
>> > > > > > > >>
>> > > > > > > >>     output, unused_err = process.communicate()
>> > > > > > > >>
>> > > > > > > >>   File "/home/xinxia/anaconda2/lib/py
>> thon2.7/subprocess.py",
>> > > line
>> > > > > > 471,
>> > > > > > > >> in communicate
>> > > > > > > >>
>> > > > > > > >>     stdout = _eintr_retry_call(self.stdout.read)
>> > > > > > > >>
>> > > > > > > >>   File "/home/xinxia/anaconda2/lib/py
>> thon2.7/subprocess.py",
>> > > line
>> > > > > > 121,
>> > > > > > > >> in _eintr_retry_call
>> > > > > > > >>
>> > > > > > > >>     return func(*args)
>> > > > > > > >>
>> > > > > > > >> KeyboardInterrupt
>> > > > > > > >>
>> > > > > > > >>
>> > > > > > > >> Thanks,
>> > > > > > > >>
>> > > > > > > >>
>> > > > > > > >> Xinxia
>> > > > > > > >>
>> > > > > > > >> ________________________________
>> > > > > > > >> From: Julie Prestopnik via RT <met_help at ucar.edu>
>> > > > > > > >> Sent: Friday, February 24, 2017 12:02:21 PM
>> > > > > > > >> To: Xinxia_Song at outlook.com
>> > > > > > > >> Subject: Re: [rt.rap.ucar.edu #79605] ImportError:
No
>> module
>> > > > named
>> > > > > > > >> constants_pdef
>> > > > > > > >>
>> > > > > > > >> Hi Xinxia.  I suspect that even though you installed
Python
>> > 2.7
>> > > > that
>> > > > > > > >> Python
>> > > > > > > >> 2.6.6 is still being used.
>> > > > > > > >>
>> > > > > > > >> Please try running:
>> > > > > > > >>
>> > > > > > > >> python --version
>> > > > > > > >>
>> > > > > > > >> on the command line.
>> > > > > > > >>
>> > > > > > > >> If you see "Python 2..6.6", please add the path for
Python
>> 2.7
>> > > to
>> > > > > the
>> > > > > > > >> front
>> > > > > > > >> of your path in your ~/.bashrc file.  Then, source
your
>> > > ~/.bashrc
>> > > > > file
>> > > > > > > and
>> > > > > > > >> try rerunning
>> > > > > > > >>
>> > > > > > > >> python --version
>> > > > > > > >>
>> > > > > > > >> on the command line.  Hopefully, then you will see
the new
>> > > > version.
>> > > > > > > Then,
>> > > > > > > >> please try rerunning master_met_plus.py.
>> > > > > > > >>
>> > > > > > > >> I hope this helps!  Thanks!
>> > > > > > > >>
>> > > > > > > >> Julie
>> > > > > > > >>
>> > > > > > > >> On Thu, Feb 23, 2017 at 1:51 PM, Xinxia Song via RT
<
>> > > > > > met_help at ucar.edu>
>> > > > > > > >> wrote:
>> > > > > > > >>
>> > > > > > > >> >
>> > > > > > > >> > <URL: https://rt.rap.ucar.edu/rt/Tic
>> > ket/Display.html?id=79605
>> > > >
>> > > > > > > >> >
>> > > > > > > >> > Hi Julie,
>> > > > > > > >> >
>> > > > > > > >> >
>> > > > > > > >> > I installed myself the 2.7 python, it still got
the error
>> > when
>> > > > > > > running:
>> > > > > > > >> >
>> > > > > > > >> > Traceback (most recent call last):
>> > > > > > > >> >
>> > > > > > > >> >   File "/D2/xinxia/METplus/METplus/us
>> h/series_by_lead.py",
>> > > line
>> > > > > > 945,
>> > > > > > > in
>> > > > > > > >> > <module>
>> > > > > > > >> >
>> > > > > > > >> >     analysis_by_lead_time()
>> > > > > > > >> >
>> > > > > > > >> >   File "/D2/xinxia/METplus/METplus/us
>> h/series_by_lead.py",
>> > > line
>> > > > > > 107,
>> > > > > > > in
>> > > > > > > >> > analysis_by_lead_time
>> > > > > > > >> >
>> > > > > > > >> >     util.apply_series_filters(tile_dir,
init_times,
>> > > > > > > >> > series_lead_filtered_out_dir, p, logger)
>> > > > > > > >> >
>> > > > > > > >> >   File
"/D2/xinxia/METplus/METplus/ush/met_util.py",
>> line
>> > > 1005,
>> > > > > in
>> > > > > > > >> > apply_series_filters
>> > > > > > > >> >
>> > > > > > > >> >     tcs.tc_stat(p, logger, tc_cmd,
series_output_dir)
>> > > > > > > >> >
>> > > > > > > >> >   File
"/D2/xinxia/METplus/METplus/ush/run_tc_stat.py",
>> > line
>> > > > 69,
>> > > > > in
>> > > > > > > >> > tc_stat
>> > > > > > > >> >
>> > > > > > > >> >     tc_stat_out = subprocess.check_output(tc_cmd,
>> > > > > > > >> > stderr=subprocess.STDOUT, shell=True )
>> > > > > > > >> >
>> > > > > > > >> > AttributeError: 'module' object has no attribute
>> > > 'check_output'
>> > > > > > > >> >
>> > > > > > > >> >
>> > > > > > > >> > Thanks,
>> > > > > > > >> >
>> > > > > > > >> >
>> > > > > > > >> > Xinxia
>> > > > > > > >> >
>> > > > > > > >> > ________________________________
>> > > > > > > >> > From: Julie Prestopnik via RT <met_help at ucar.edu>
>> > > > > > > >> > Sent: Friday, February 24, 2017 9:37:53 AM
>> > > > > > > >> > To: Xinxia_Song at outlook.com
>> > > > > > > >> > Subject: Re: [rt.rap.ucar.edu #79605] ImportError:
No
>> > module
>> > > > > named
>> > > > > > > >> > constants_pdef
>> > > > > > > >> >
>> > > > > > > >> > Can you please tell me which version of Python you
are
>> > using?
>> > > > > > > >> check_output
>> > > > > > > >> > for subprocess was introduced in Python 2.7.    Do
you
>> have
>> > > > access
>> > > > > > to
>> > > > > > > >> > Python version 2.7 or higher?
>> > > > > > > >> >
>> > > > > > > >> > Thanks,
>> > > > > > > >> > Julie
>> > > > > > > >> >
>> > > > > > > >> > On Thu, Feb 23, 2017 at 12:11 PM, Xinxia Song via
RT <
>> > > > > > > met_help at ucar.edu
>> > > > > > > >> >
>> > > > > > > >> > wrote:
>> > > > > > > >> >
>> > > > > > > >> > >
>> > > > > > > >> > > <URL: https://rt.rap.ucar.edu/rt/
>> > > Ticket/Display.html?id=79605
>> > > > >
>> > > > > > > >> > >
>> > > > > > > >> > > Hi Julie,
>> > > > > > > >> > >
>> > > > > > > >> > >
>> > > > > > > >> > > I added it to the $PATH and ran the
>> master_met_python.py:
>> > > > > > > >> > >
>> > > > > > > >> > > [xinxia at chaos ush]$ python master_met_plus.py
>> > > > > > > >> > >
>> > > > > > > >> > > Traceback (most recent call last):
>> > > > > > > >> > >
>> > > > > > > >> > >   File "/D2/xinxia/METplus/METplus/us
>> h/extract_tiles.py",
>> > > > line
>> > > > > > 157,
>> > > > > > > >> in
>> > > > > > > >> > > <module>
>> > > > > > > >> > >
>> > > > > > > >> > >     main()
>> > > > > > > >> > >
>> > > > > > > >> > >   File "/D2/xinxia/METplus/METplus/us
>> h/extract_tiles.py",
>> > > > line
>> > > > > > 100,
>> > > > > > > >> in
>> > > > > > > >> > > main
>> > > > > > > >> > >
>> > > > > > > >> > >     filtered_out_dir)
>> > > > > > > >> > >
>> > > > > > > >> > >   File "/D2/xinxia/METplus/METplus/us
>> h/run_tc_stat.py",
>> > > line
>> > > > > 69,
>> > > > > > in
>> > > > > > > >> > > tc_stat
>> > > > > > > >> > >
>> > > > > > > >> > >     tc_stat_out =
subprocess.check_output(tc_cmd,
>> > > > > > > >> > > stderr=subprocess.STDOUT, shell=True )
>> > > > > > > >> > >
>> > > > > > > >> > > AttributeError: 'module' object has no attribute
>> > > > 'check_output'
>> > > > > > > >> > >
>> > > > > > > >> > >
>> > > > > > > >> > > Thanks,
>> > > > > > > >> > >
>> > > > > > > >> > >
>> > > > > > > >> > > Xinxia
>> > > > > > > >> > >
>> > > > > > > >> > > ________________________________
>> > > > > > > >> > > From: Julie Prestopnik via RT
<met_help at ucar.edu>
>> > > > > > > >> > > Sent: Friday, February 24, 2017 9:07:40 AM
>> > > > > > > >> > > To: Xinxia_Song at outlook.com
>> > > > > > > >> > > Subject: Re: [rt.rap.ucar.edu #79605]
ImportError: No
>> > > module
>> > > > > > named
>> > > > > > > >> > > constants_pdef
>> > > > > > > >> > >
>> > > > > > > >> > > Unfortunately, your environment does not know
where to
>> > find
>> > > > > > > >> > > run_tc_pairs.py.  Please try adding the
directory with
>> > > > > > > run_tc_pairs.py
>> > > > > > > >> > > (/D2/xinxia/METplus/METplus/ush) to your path in
your
>> > > > ~/.bashrc
>> > > > > > > file,
>> > > > > > > >> > then
>> > > > > > > >> > > run "source ~/.bashrc", then trying rerunning.
Please
>> let
>> > > me
>> > > > > know
>> > > > > > > how
>> > > > > > > >> > that
>> > > > > > > >> > > goes.
>> > > > > > > >> > >
>> > > > > > > >> > > Thanks!
>> > > > > > > >> > >
>> > > > > > > >> > > Julie
>> > > > > > > >> > >
>> > > > > > > >> > > On Thu, Feb 23, 2017 at 11:55 AM, Xinxia Song
via RT <
>> > > > > > > >> met_help at ucar.edu>
>> > > > > > > >> > > wrote:
>> > > > > > > >> > >
>> > > > > > > >> > > >
>> > > > > > > >> > > > <URL: https://rt.rap.ucar.edu/rt/
>> > > > Ticket/Display.html?id=79605
>> > > > > >
>> > > > > > > >> > > >
>> > > > > > > >> > > > Hi Julie,
>> > > > > > > >> > > >
>> > > > > > > >> > > >
>> > > > > > > >> > > > I'm running met in a machine that's owned by
our
>> > > > department, I
>> > > > > > > don't
>> > > > > > > >> > have
>> > > > > > > >> > > > sudo right, so when I type which
run_tc_pairs.py, it
>> > says
>> > > > > > couldn't
>> > > > > > > >> find
>> > > > > > > >> > > it.
>> > > > > > > >> > > >
>> > > > > > > >> > > > no run_tc_pairs.py in
(/opt/ncl/bin:/opt/intel-soft/
>> > > > > > > >> > > > bin:/opt/ncl/bin:/opt/ncl/bin:
>> > > /opt/intel-soft/bin:/opt/ncl/
>> > > > > > > >> > > > bin:/home/xinxia/anaconda/bin:
>> > /home/xinxia/anaconda/bin:/
>> > > > > > > >> > > > opt/ncl/bin:/opt/intel-soft/bi
>> > n:/opt/ncl/bin:/usr/lib64/
>> > > > > > > >> > > > qt-3.3/bin:/usr/local/bin:/bin
>> > :/usr/bin:/usr/local/sbin:/
>> > > > > > > >> > > > usr/sbin:/sbin:/sbin:/usr/sbin:/cm/local/apps/
>> > > > > > > >> > > environment-modules/3.2.10/
>> > > > > > > >> > > > bin:/home/xinxia/bin:/opt/ncl-621/bin)
>> > > > > > > >> > > >
>> > > > > > > >> > > >
>> > > > > > > >> > > > But I could find it manually in that
directory.
>> > > > > > > >> > > >
>> > > > > > > >> > > >
>> > > > > > > >> > > > Thanks,
>> > > > > > > >> > > >
>> > > > > > > >> > > >
>> > > > > > > >> > > > Xinxia
>> > > > > > > >> > > >
>> > > > > > > >> > > > ________________________________
>> > > > > > > >> > > > From: Julie Prestopnik via RT
<met_help at ucar.edu>
>> > > > > > > >> > > > Sent: Friday, February 24, 2017 8:52:16 AM
>> > > > > > > >> > > > To: Xinxia_Song at outlook.com
>> > > > > > > >> > > > Subject: Re: [rt.rap.ucar.edu #79605]
ImportError:
>> No
>> > > > module
>> > > > > > > named
>> > > > > > > >> > > > constants_pdef
>> > > > > > > >> > > >
>> > > > > > > >> > > > Hi Xinxia.
>> > > > > > > >> > > >
>> > > > > > > >> > > > It looks like you got a successful run of
tc_stat -
>> > that's
>> > > > > great
>> > > > > > > >> news!
>> > > > > > > >> > > >
>> > > > > > > >> > > > I'm not sure what you mean by "Because I don't
have
>> the
>> > > > > right, I
>> > > > > > > >> can't
>> > > > > > > >> > > find
>> > > > > > > >> > > > run_tc_pairs.py, but I know it's under
>> > > > > > > >> > > >
>> > > > > > > >> > > > /D2/xinxia/METplus/METplus/ush".
>> > > > > > > >> > > >
>> > > > > > > >> > > > Can you please explain?  What happened when
you ran
>> > "which
>> > > > > > > >> > > > run_tc_pairs.py"?
>> > > > > > > >> > > >
>> > > > > > > >> > > > Thanks,
>> > > > > > > >> > > > Julie
>> > > > > > > >> > > >
>> > > > > > > >> > > >
>> > > > > > > >> > > >
>> > > > > > > >> > > >
>> > > > > > > >> > > >
>> > > > > > > >> > > >
>> > > > > > > >> > > > On Thu, Feb 23, 2017 at 11:44 AM, Xinxia Song
via RT
>> <
>> > > > > > > >> > met_help at ucar.edu>
>> > > > > > > >> > > > wrote:
>> > > > > > > >> > > >
>> > > > > > > >> > > > >
>> > > > > > > >> > > > > <URL: https://rt.rap.ucar.edu/rt/
>> > > > > Ticket/Display.html?id=79605
>> > > > > > >
>> > > > > > > >> > > > >
>> > > > > > > >> > > > > Hi Julie,
>> > > > > > > >> > > > >
>> > > > > > > >> > > > >
>> > > > > > > >> > > > > I removed the space.
>> > > > > > > >> > > > >
>> > > > > > > >> > > > > [xinxia at chaos parm]$
>> /D2/xinxia/METplus/MET/met-5.2
>> > > > > > /bin/tc_stat
>> > > > > > > >> -job
>> > > > > > > >> > > > > filter -lookin /D2/xinxia/METplus/MET/input/
>> > > > tc_pairs/201412
>> > > > > > > >> > -init_inc
>> > > > > > > >> > > > > 20141201_00 -match_points true -dump_row
>> > > > > > > >> /D2/xinxia/METplus/MET/out/
>> > > > > > > >> > > > >
extract_tiles/20141201_00/filter_20141201_00.tcst
>> > > -basin
>> > > > > ML
>> > > > > > > >> > > > > -out_init_mask /D2/xinxia/METplus/MET/met-5.
>> > > > > > > >> > > 2/share/met/poly/CONUS.poly
>> > > > > > > >> > > > >
>> > > > > > > >> > > > > DEBUG 1: [Source 1] Lookin:
>> > > /D2/xinxia/METplus/MET/input/
>> > > > > > > >> > > tc_pairs/201412
>> > > > > > > >> > > > >
>> > > > > > > >> > > > > DEBUG 2:
>> > > > > > > >> > > > >
>> > > > > > > >> > > > > DEBUG 2: Processing Job 1: -job filter
-basin ML
>> > > -init_inc
>> > > > > > > >> > > > 20141201_000000
>> > > > > > > >> > > > > -match_points true -out_init_mask
>> > > > > > /D2/xinxia/METplus/MET/met-5.
>> > > > > > > >> > > > 2/share/met/poly/CONUS.poly
>> > > > > > > >> > > > > -dump_row /D2/xinxia/METplus/MET/out/ext
>> > > > > > ract_tiles/20141201_00/
>> > > > > > > >> > > > > filter_20141201_00.tcst
>> > > > > > > >> > > > >
>> > > > > > > >> > > > > DEBUG 1: Creating output dump file:
>> > > > > > /D2/xinxia/METplus/MET/out/
>> > > > > > > >> > > > >
extract_tiles/20141201_00/filter_20141201_00.tcst
>> > > > > > > >> > > > >
>> > > > > > > >> > > > > FILTER: -job filter -basin ML -init_inc
>> > 20141201_000000
>> > > > > > > >> -match_points
>> > > > > > > >> > > > true
>> > > > > > > >> > > > > -out_init_mask /D2/xinxia/METplus/MET/met-5.
>> > > > > > > >> > > 2/share/met/poly/CONUS.poly
>> > > > > > > >> > > > > -dump_row /D2/xinxia/METplus/MET/out/ext
>> > > > > > ract_tiles/20141201_00/
>> > > > > > > >> > > > > filter_20141201_00.tcst
>> > > > > > > >> > > > >
>> > > > > > > >> > > > >
>> > > > > > > >> > > > > DEBUG 2: Job 1 used 0 out of 27292 lines
read.
>> > > > > > > >> > > > >
>> > > > > > > >> > > > >
>> > > > > > > >> > > > > Because I don't have the right, I can't find
>> > > > > run_tc_pairs.py,
>> > > > > > > but
>> > > > > > > >> I
>> > > > > > > >> > > know
>> > > > > > > >> > > > > it's under
>> > > > > > > >> > > > >
>> > > > > > > >> > > > > /D2/xinxia/METplus/METplus/ush
>> > > > > > > >> > > > >
>> > > > > > > >> > > > >
>> > > > > > > >> > > > > For Python,
>> > > > > > > >> > > > >
>> > > > > > > >> > > > > [xinxia at chaos ~]$ which python
>> > > > > > > >> > > > >
>> > > > > > > >> > > > > /usr/bin/python
>> > > > > > > >> > > > >
>> > > > > > > >> > > > >
>> > > > > > > >> > > > > Xinxia
>> > > > > > > >> > > > >
>> > > > > > > >> > > > > ________________________________
>> > > > > > > >> > > > > From: Julie Prestopnik via RT
<met_help at ucar.edu>
>> > > > > > > >> > > > > Sent: Friday, February 24, 2017 8:30:01 AM
>> > > > > > > >> > > > > To: Xinxia_Song at outlook.com
>> > > > > > > >> > > > > Subject: Re: [rt.rap.ucar.edu #79605]
>> ImportError: No
>> > > > > module
>> > > > > > > >> named
>> > > > > > > >> > > > > constants_pdef
>> > > > > > > >> > > > >
>> > > > > > > >> > > > > Hi Xinxia.
>> > > > > > > >> > > > >
>> > > > > > > >> > > > > It looks like there is a space where there
should
>> not
>> > > be a
>> > > > > > space
>> > > > > > > >> > > (between
>> > > > > > > >> > > > > /D2/xinxia/METplus/MET/out/ext
>> ract_tiles/20141201_00/
>> > > and
>> > > > > > > >> > > > > filter_20141201_00.tcst after the -dump_row
>> option).
>> > > > > > > >> > > > >
>> > > > > > > >> > > > > Could you please try it again without the
space?
>> > > > > > > >> > > > >
>> > > > > > > >> > > > > /D2/xinxia/METplus/METplus/ush
>> /run_tc_stat.py:tc_stat
>> > > > from
>> > > > > > > >> calling
>> > > > > > > >> > MET
>> > > > > > > >> > > > > TC-STAT with command:/D2/xinxia/METplus/MET
>> > > > > > /met-5.2/bin/tc_stat
>> > > > > > > >> -job
>> > > > > > > >> > > > > filter
>> > > > > > > >> > > > > -lookin /D2/xinxia/METplus/MET/input/t
>> c_pairs/201412
>> > > > > > -init_inc
>> > > > > > > >> > > > 20141201_00
>> > > > > > > >> > > > > -match_points true -dump_row
>> > /D2/xinxia/METplus/MET/out/
>> > > > > > > >> > > > >
extract_tiles/20141201_00/filter_20141201_00.tcst
>> > > -basin
>> > > > > ML
>> > > > > > > >> > > > > -out_init_mask
>> > > > > > > >> > > > > /D2/xinxia/METplus/MET/met-5.
>> > > 2/share/met/poly/CONUS.poly
>> > > > > > > >> > > > >
>> > > > > > > >> > > > > Regarding the master_met_plus.py run, please
try
>> > running
>> > > > the
>> > > > > > > >> > following
>> > > > > > > >> > > > two
>> > > > > > > >> > > > > commands and send me the output:
>> > > > > > > >> > > > >
>> > > > > > > >> > > > > which run_tc_pairs.py
>> > > > > > > >> > > > >
>> > > > > > > >> > > > > which python
>> > > > > > > >> > > > >
>> > > > > > > >> > > > > Thanks!
>> > > > > > > >> > > > >
>> > > > > > > >> > > > > Julie
>> > > > > > > >> > > > >
>> > > > > > > >> > > > > On Thu, Feb 23, 2017 at 11:06 AM, Xinxia
Song via
>> RT <
>> > > > > > > >> > > met_help at ucar.edu>
>> > > > > > > >> > > > > wrote:
>> > > > > > > >> > > > >
>> > > > > > > >> > > > > >
>> > > > > > > >> > > > > > <URL: https://rt.rap.ucar.edu/rt/Tic
>> > > > > > ket/Display.html?id=79605
>> > > > > > > >
>> > > > > > > >> > > > > >
>> > > > > > > >> > > > > > Hi Julie,
>> > > > > > > >> > > > > >
>> > > > > > > >> > > > > >
>> > > > > > > >> > > > > > After I ran the long one line command:
>> > > > > > > >> > > > > >
>> > > > > > > >> > > > > > [xinxia at chaos parm]$
>> /D2/xinxia/METplus/MET/met-5.
>> > > > > > > 2/bin/tc_stat
>> > > > > > > >> > -job
>> > > > > > > >> > > > > > filter -lookin
/D2/xinxia/METplus/MET/input/
>> > > > > tc_pairs/201412
>> > > > > > > >> > > -init_inc
>> > > > > > > >> > > > > > 20141201_00 -match_points true -dump_row
>> > > > > > > >> > /D2/xinxia/METplus/MET/out/
>> > > > > > > >> > > > > extract_tiles/20141201_00/
>> > > > > > > >> > > > > > filter_20141201_00.tcst  -basin ML
-out_init_mask
>> > > > > > > >> > > > > > /D2/xinxia/METplus/MET/met-5.
>> > > > 2/share/met/poly/CONUS.poly
>> > > > > > > >> > > > > >
>> > > > > > > >> > > > > >
>> > > > > > > >> > > > > > DEBUG 1: [Source 1] Lookin:
>> > > > /D2/xinxia/METplus/MET/input/
>> > > > > > > >> > > > tc_pairs/201412
>> > > > > > > >> > > > > >
>> > > > > > > >> > > > > > ERROR  :
>> > > > > > > >> > > > > >
>> > > > > > > >> > > > > > ERROR  : TCStatJob
*TCStatJobFactory::new_tc_
>> > > > > stat_job(const
>> > > > > > > >> char
>> > > > > > > >> > > > > > *jobstring) -> unsupported job command
options
>> > > > > > > >> > > > "filter_20141201_00.tcst".
>> > > > > > > >> > > > > >
>> > > > > > > >> > > > > > ERROR  :
>> > > > > > > >> > > > > >
>> > > > > > > >> > > > > >
>> > > > > > > >> > > > > > And for the master_met_plus.py, I got the
error:
>> > > > > > > >> > > > > >
>> > > > > > > >> > > > > > [xinxia at chaos ush]$ python
master_met_plus.py
>> > > > > > > >> > > > > >
>> > > > > > > >> > > > > > sh: run_tc_pairs.py: command not found
>> > > > > > > >> > > > > >
>> > > > > > > >> > > > > >
>> > > > > > > >> > > > > > Thanks,
>> > > > > > > >> > > > > >
>> > > > > > > >> > > > > >
>> > > > > > > >> > > > > > Xinxia
>> > > > > > > >> > > > > >
>> > > > > > > >> > > > > > ________________________________
>> > > > > > > >> > > > > > From: Julie Prestopnik via RT
<met_help at ucar.edu
>> >
>> > > > > > > >> > > > > > Sent: Friday, February 24, 2017 7:42:21 AM
>> > > > > > > >> > > > > > To: Xinxia_Song at outlook.com
>> > > > > > > >> > > > > > Subject: Re: [rt.rap.ucar.edu #79605]
>> ImportError:
>> > No
>> > > > > > module
>> > > > > > > >> named
>> > > > > > > >> > > > > > constants_pdef
>> > > > > > > >> > > > > >
>> > > > > > > >> > > > > > My apologies, my response should have
said, "By
>> > > default,
>> > > > > MET
>> > > > > > > >> > version
>> > > > > > > >> > > > 5.2
>> > > > > > > >> > > > > is
>> > > > > > > >> > > > > > compiled using dynamic linking."  It's
true for
>> > both,
>> > > > but
>> > > > > I
>> > > > > > > see
>> > > > > > > >> > > you're
>> > > > > > > >> > > > > > using 5.2 and I inadvertently referred to
5.1.
>> > > > > > > >> > > > > >
>> > > > > > > >> > > > > > On Thu, Feb 23, 2017 at 10:40 AM, Julie
>> Prestopnik <
>> > > > > > > >> > jpresto at ucar.edu
>> > > > > > > >> > > >
>> > > > > > > >> > > > > > wrote:
>> > > > > > > >> > > > > >
>> > > > > > > >> > > > > > > Hi Xinxia.  Regarding the error:
>> > > > > > > >> > > > > > >
>> > > > > > > >> > > > > > > /D2/xinxia/METplus/MET/met-
5.2/bin/tc_stat:
>> error
>> > > > while
>> > > > > > > >> loading
>> > > > > > > >> > > > shared
>> > > > > > > >> > > > > > > libraries: libgsl.so.19: cannot open
shared
>> object
>> > > > file:
>> > > > > > No
>> > > > > > > >> such
>> > > > > > > >> > > file
>> > > > > > > >> > > > > or
>> > > > > > > >> > > > > > > directory
>> > > > > > > >> > > > > > >
>> > > > > > > >> > > > > > > By default, MET version 5.1 is compiled
using
>> > > dynamic
>> > > > > > > linking.
>> > > > > > > >> > > > Rather
>> > > > > > > >> > > > > > > than compiling the external library code
in
>> with
>> > the
>> > > > MET
>> > > > > > > >> > > executables
>> > > > > > > >> > > > > > (which
>> > > > > > > >> > > > > > > is
>> > > > > > > >> > > > > > > called static linking), it looks for
them at
>> > > runtime.
>> > > > > And
>> > > > > > > >> it's
>> > > > > > > >> > > > looking
>> > > > > > > >> > > > > > > for those "shared object" (.so) library
files.
>> > > > > > > >> > > > > > >
>> > > > > > > >> > > > > > > This should be easy to fix. We just need
to
>> tell
>> > it
>> > > > > where
>> > > > > > to
>> > > > > > > >> find
>> > > > > > > >> > > > them,
>> > > > > > > >> > > > > > > and we do that by setting (or adding to
the
>> > > > > > > LD_LIBRARY_PATH).
>> > > > > > > >> > Look
>> > > > > > > >> > > > in
>> > > > > > > >> > > > > > your
>> > > > > > > >> > > > > > > ~/.bashrc file.  If LD_LIBRARY_PATH is
already
>> > > defined
>> > > > > in
>> > > > > > > >> there,
>> > > > > > > >> > > add
>> > > > > > > >> > > > > the
>> > > > > > > >> > > > > > > path to the libgsl.so.19 to the end of
it.  If
>> > not,
>> > > > add
>> > > > > an
>> > > > > > > >> > > > > > > LD_LIBRARY_PATH entry in your ~/.bashrc
file.
>> So,
>> > > for
>> > > > > > > >> example,
>> > > > > > > >> > if
>> > > > > > > >> > > > the
>> > > > > > > >> > > > > > path
>> > > > > > > >> > > > > > > to your libgsl.so.19 file is
>> > > > > > /D2/xinxia/METplus/MET/externa
>> > > > > > > >> > > > > > l_libs/GSL/gsl-1.16/lib
>> > > > > > > >> > > > > > > you would add teh following to your
~/.bashrc
>> > file:
>> > > > > > > >> > > > > > >
>> > > > > > > >> > > > > > >   export LD_LIBRARY_PATH=/D2/xinxia/
>> > > > > > > >> > METplus/MET/external_libs/GSL/
>> > > > > > > >> > > > > > > gsl-1.16/lib
>> > > > > > > >> > > > > > >
>> > > > > > > >> > > > > > > Then save the change and source that
file:
>> > > > > > > >> > > > > > >
>> > > > > > > >> > > > > > >   source ~/.bashrc
>> > > > > > > >> > > > > > >
>> > > > > > > >> > > > > > > Then, please try rerunning the command
manually
>> > and
>> > > > let
>> > > > > me
>> > > > > > > >> know
>> > > > > > > >> > if
>> > > > > > > >> > > it
>> > > > > > > >> > > > > > > works.
>> > > > > > > >> > > > > > >
>> > > > > > > >> > > > > > > I believe that this was the cause of the
>> initial
>> > > error
>> > > > > you
>> > > > > > > >> > received
>> > > > > > > >> > > > > from
>> > > > > > > >> > > > > > > MET+:
>> > > > > > > >> > > > > > >
>> > > > > > > >> > > > > > > ERROR| /D2/xinxia/METplus/METplus/
>> > > > > > > ush/run_tc_stat.py:tc_stat
>> > > > > > > >> > from
>> > > > > > > >> > > > > > calling
>> > > > > > > >> > > > > > > MET TC-STAT with
command:/D2/xinxia/METplus/
>> > > > > > > >> > > MET/met-5.2/bin/tc_stat
>> > > > > > > >> > > > > -job
>> > > > > > > >> > > > > > > filter -lookin
/D2/xinxia/METplus/MET/input/t
>> > > > > > c_pairs/201412
>> > > > > > > >> > > > -init_inc
>> > > > > > > >> > > > > > > 20141201_00 -match_points true -dump_row
>> > > > > > > >> > > > /D2/xinxia/METplus/MET/out/ext
>> > > > > > > >> > > > > > >
ract_tiles/20141201_00/filter_20141201_00.tcst
>> > > > -basin
>> > > > > ML
>> > > > > > > >> > > > > -out_init_mask
>> > > > > > > >> > > > > > > /D2/xinxia/METplus/MET/met-5.
>> > > > > 2/share/met/poly/CONUS.poly
>> > > > > > > >> > > > > > >
>> > > > > > > >> > > > > > >
>> > > > > > > >> > > > > > > Thanks,
>> > > > > > > >> > > > > > > Julie
>> > > > > > > >> > > > > > >
>> > > > > > > >> > > > > > > On Thu, Feb 23, 2017 at 10:14 AM, Xinxia
Song
>> via
>> > > RT <
>> > > > > > > >> > > > > met_help at ucar.edu>
>> > > > > > > >> > > > > > > wrote:
>> > > > > > > >> > > > > > >
>> > > > > > > >> > > > > > >>
>> > > > > > > >> > > > > > >> <URL: https://rt.rap.ucar.edu/rt/Tic
>> > > > > > > >> ket/Display.html?id=79605 >
>> > > > > > > >> > > > > > >>
>> > > > > > > >> > > > > > >> Hi Julie,
>> > > > > > > >> > > > > > >>
>> > > > > > > >> > > > > > >>
>> > > > > > > >> > > > > > >> [xinxia at chaos ush]$
>> > /D2/xinxia/METplus/MET/met-5.2
>> > > > > > > >> /bin/tc_stat
>> > > > > > > >> > > -job
>> > > > > > > >> > > > > > >> filter -lookin
/D2/xinxia/METplus/MET/input/
>> > > > > > > tc_pairs/201412
>> > > > > > > >> > > > -init_inc
>> > > > > > > >> > > > > > >> 20141201_00 -match_points true
-dump_row
>> > > > > > > >> > > > > /D2/xinxia/METplus/MET/out/ext
>> > > > > > > >> > > > > > ract_tiles/20141201_00/
>> > > > > > > >> > > > > > >> filter_20141201_00.tcst  -basin ML
>> -out_init_mask
>> > > > > > > >> > > > > > >> /D2/xinxia/METplus/MET/met-5.
>> > > > > 2/share/met/poly/CONUS.poly
>> > > > > > > >> > > > > > >>
>> > > > > > > >> > > > > > >> /D2/xinxia/METplus/MET/met-
5.2/bin/tc_stat:
>> > error
>> > > > > while
>> > > > > > > >> loading
>> > > > > > > >> > > > > shared
>> > > > > > > >> > > > > > >> libraries: libgsl.so.19: cannot open
shared
>> > object
>> > > > > file:
>> > > > > > No
>> > > > > > > >> such
>> > > > > > > >> > > > file
>> > > > > > > >> > > > > or
>> > > > > > > >> > > > > > >> directory
>> > > > > > > >> > > > > > >>
>> > > > > > > >> > > > > > >>
>> > > > > > > >> > > > > > >> And I uploaded the configuration file
>> > > > > (constants_pdef.py)
>> > > > > > > >> under
>> > > > > > > >> > > > > > >> xinxia_data directory.
>> > > > > > > >> > > > > > >>
>> > > > > > > >> > > > > > >>
>> > > > > > > >> > > > > > >> Thanks,
>> > > > > > > >> > > > > > >>
>> > > > > > > >> > > > > > >>
>> > > > > > > >> > > > > > >> Xinxia
>> > > > > > > >> > > > > > >>
>> > > > > > > >> > > > > > >> ________________________________
>> > > > > > > >> > > > > > >> From: Julie Prestopnik via RT <
>> met_help at ucar.edu
>> > >
>> > > > > > > >> > > > > > >> Sent: Friday, February 24, 2017 6:15:57
AM
>> > > > > > > >> > > > > > >> To: Xinxia_Song at outlook.com
>> > > > > > > >> > > > > > >> Subject: Re: [rt.rap.ucar.edu #79605]
>> > ImportError:
>> > > > No
>> > > > > > > module
>> > > > > > > >> > > named
>> > > > > > > >> > > > > > >> constants_pdef
>> > > > > > > >> > > > > > >>
>> > > > > > > >> > > > > > >> Hi Xinxia.
>> > > > > > > >> > > > > > >>
>> > > > > > > >> > > > > > >> I can see that your command, which
should have
>> > been
>> > > > all
>> > > > > > on
>> > > > > > > >> one
>> > > > > > > >> > > line,
>> > > > > > > >> > > > > was
>> > > > > > > >> > > > > > >> broken up into several lines.  Please
try
>> running
>> > > the
>> > > > > > > command
>> > > > > > > >> > > again,
>> > > > > > > >> > > > > > >> making
>> > > > > > > >> > > > > > >> sure that the entire command is on one
line:
>> > > > > > > >> > > > > > >>
>> > > > > > > >> > > > > > >> /D2/xinxia/METplus/MET/met-
5.2/bin/tc_stat
>> -job
>> > > > filter
>> > > > > > > >> -lookin
>> > > > > > > >> > > > > > >>
/D2/xinxia/METplus/MET/input/tc_pairs/201412
>> > > > -init_inc
>> > > > > > > >> > > 20141201_00
>> > > > > > > >> > > > > > >> -match_points true -dump_row
>> > > > > > > >> > > > > > >> /D2/xinxia/METplus/MET/out/
>> > > > extract_tiles/20141201_00/
>> > > > > > > >> > > > > > >> filter_20141201_00.tcst  -basin ML
>> -out_init_mask
>> > > > > > > >> > > > > > >> /D2/xinxia/METplus/MET/met-5.
>> > > > > 2/share/met/poly/CONUS.poly
>> > > > > > > >> > > > > > >>
>> > > > > > > >> > > > > > >> Then, please send the output from that
>> command.
>> > > > > > > >> > > > > > >>
>> > > > > > > >> > > > > > >> Regarding, your error:
>> > > > > > > >> > > > > > >>
>> > > > > > > >> > > > > > >> sh: run_tc_pairs.py: command not found
>> > > > > > > >> > > > > > >>
>> > > > > > > >> > > > > > >> It's strange that would only have
occurred
>> after
>> > > > having
>> > > > > > > >> changed
>> > > > > > > >> > > the
>> > > > > > > >> > > > > > >> LOG_LEVEL.  Could you please send us
your
>> > > > configuration
>> > > > > > > file?
>> > > > > > > >> > > > > > >>
>> > > > > > > >> > > > > > >> Thanks!
>> > > > > > > >> > > > > > >>
>> > > > > > > >> > > > > > >> Julie
>> > > > > > > >> > > > > > >>
>> > > > > > > >> > > > > > >> On Wed, Feb 22, 2017 at 2:54 PM, Xinxia
Song
>> via
>> > > RT <
>> > > > > > > >> > > > > met_help at ucar.edu>
>> > > > > > > >> > > > > > >> wrote:
>> > > > > > > >> > > > > > >>
>> > > > > > > >> > > > > > >> >
>> > > > > > > >> > > > > > >> > <URL: https://rt.rap.ucar.edu/rt/Tic
>> > > > > > > >> ket/Display.html?id=79605
>> > > > > > > >> > >
>> > > > > > > >> > > > > > >> >
>> > > > > > > >> > > > > > >> > Hi Julie,
>> > > > > > > >> > > > > > >> >
>> > > > > > > >> > > > > > >> >
>> > > > > > > >> > > > > > >> > [xinxia at chaos ush]$
>> > > /D2/xinxia/METplus/MET/met-5.
>> > > > > > > >> > 2/bin/tc_stat
>> > > > > > > >> > > > -job
>> > > > > > > >> > > > > > >> > filter -lookin
>> > > > > > > >> > > > > > >> >
>> > > > > > > >> > > > > > >> > /D2/xinxia/METplus/MET/met-
5.2/bin/tc_stat:
>> > > error
>> > > > > > while
>> > > > > > > >> > loading
>> > > > > > > >> > > > > > shared
>> > > > > > > >> > > > > > >> > libraries: libgsl.so.19: cannot open
shared
>> > > object
>> > > > > > file:
>> > > > > > > No
>> > > > > > > >> > such
>> > > > > > > >> > > > > file
>> > > > > > > >> > > > > > or
>> > > > > > > >> > > > > > >> > directory
>> > > > > > > >> > > > > > >> >
>> > > > > > > >> > > > > > >> >
>> > > > > > > >> > > > > > >> > [xinxia at chaos ush]$
>> > > /D2/xinxia/METplus/MET/input/
>> > > > > > > >> > > tc_pairs/201412
>> > > > > > > >> > > > > > >> > -init_inc 20141201_00 -match_points
true
>> > > -dump_row
>> > > > > > > >> > > > > > >> >
>> > > > > > > >> > > > > > >> > -bash: /D2/xinxia/METplus/MET/input/
>> > > > tc_pairs/201412:
>> > > > > > is
>> > > > > > > a
>> > > > > > > >> > > > directory
>> > > > > > > >> > > > > > >> >
>> > > > > > > >> > > > > > >> >
>> > > > > > > >> > > > > > >> > [xinxia at chaos ush]$
>> > > /D2/xinxia/METplus/MET/out/ext
>> > > > > > > >> > > > > > >> ract_tiles/20141201_00/
>> > > > > > > >> > > > > > >> > filter_20141201_00.tcst  -basin ML
>> > -out_init_mask
>> > > > > > > >> > > > > > >> > /D2/xinxia/METplus/MET/met-5.2
>> > > > > > /share/met/poly/CONUS.poly
>> > > > > > > >> > > > > > >> >
>> > > > > > > >> > > > > > >> > -bash: /D2/xinxia/METplus/MET/out/ext
>> > > > > > > >> ract_tiles/20141201_00/:
>> > > > > > > >> > > No
>> > > > > > > >> > > > > such
>> > > > > > > >> > > > > > >> > file or directory
>> > > > > > > >> > > > > > >> >
>> > > > > > > >> > > > > > >> >
>> > > > > > > >> > > > > > >> > After I change the LOG_LEVEL, I ran
the
>> > > > > > > >> master_met_plus.py, it
>> > > > > > > >> > > > says:
>> > > > > > > >> > > > > > >> >
>> > > > > > > >> > > > > > >> > [xinxia at chaos ush]$ python
>> master_met_plus.py
>> > > > > > > >> > > > > > >> >
>> > > > > > > >> > > > > > >> > sh: run_tc_pairs.py: command not
found
>> > > > > > > >> > > > > > >> >
>> > > > > > > >> > > > > > >> >
>> > > > > > > >> > > > > > >> >
>> > > > > > > >> > > > > > >> > Thanks,
>> > > > > > > >> > > > > > >> >
>> > > > > > > >> > > > > > >> >
>> > > > > > > >> > > > > > >> > Xinxia
>> > > > > > > >> > > > > > >> >
>> > > > > > > >> > > > > > >> >
>> > > > > > > >> > > > > > >> > ________________________________
>> > > > > > > >> > > > > > >> > From: Julie Prestopnik via RT <
>> > met_help at ucar.edu
>> > > >
>> > > > > > > >> > > > > > >> > Sent: Thursday, February 23, 2017
10:04:55
>> AM
>> > > > > > > >> > > > > > >> > To: Xinxia_Song at outlook.com
>> > > > > > > >> > > > > > >> > Subject: Re: [rt.rap.ucar.edu #79605]
>> > > ImportError:
>> > > > > No
>> > > > > > > >> module
>> > > > > > > >> > > > named
>> > > > > > > >> > > > > > >> > constants_pdef
>> > > > > > > >> > > > > > >> >
>> > > > > > > >> > > > > > >> > Thank you.  Unfortunately, the level
of
>> detail
>> > in
>> > > > the
>> > > > > > log
>> > > > > > > >> file
>> > > > > > > >> > > > > wasn't
>> > > > > > > >> > > > > > >> what
>> > > > > > > >> > > > > > >> > I hoped for.  I'd like to have you
try two
>> > > things.
>> > > > > > > >> > > > > > >> >
>> > > > > > > >> > > > > > >> > First, could you please send me your
output
>> of
>> > > your
>> > > > > > > manual
>> > > > > > > >> run
>> > > > > > > >> > > of
>> > > > > > > >> > > > > the
>> > > > > > > >> > > > > > >> > following?
>> > > > > > > >> > > > > > >> >
>> > > > > > > >> > > > > > >> > "/D2/xinxia/METplus/MET/met-
5.2/bin/tc_stat
>> > -job
>> > > > > > filter
>> > > > > > > >> > -lookin
>> > > > > > > >> > > > > > >> > /D2/xinxia/METplus/MET/input/t
>> c_pairs/201412
>> > > > > -init_inc
>> > > > > > > >> > > > 20141201_00
>> > > > > > > >> > > > > > >> > -match_points true -dump_row
>> > > > > > /D2/xinxia/METplus/MET/out/
>> > > > > > > >> > > > > > >> > extract_tiles/20141201_00/
>> > > filter_20141201_00.tcst
>> > > > > > > -basin
>> > > > > > > >> ML
>> > > > > > > >> > > > > > >> > -out_init_mask
>> > > > > > > >> > > > > > >> > /D2/xinxia/METplus/MET/met-5.
>> > > > > > > 2/share/met/poly/CONUS.poly"
>> > > > > > > >> > > > > > >> >
>> > > > > > > >> > > > > > >> > Second, could you please change your
log
>> level
>> > in
>> > > > > your
>> > > > > > > >> > > > configuration
>> > > > > > > >> > > > > > >> file
>> > > > > > > >> > > > > > >> > from
>> > > > > > > >> > > > > > >> >
>> > > > > > > >> > > > > > >> > LOG_LEVEL = "INFO"
>> > > > > > > >> > > > > > >> >
>> > > > > > > >> > > > > > >> > to
>> > > > > > > >> > > > > > >> >
>> > > > > > > >> > > > > > >> > LOG_LEVEL = "DEBUG"
>> > > > > > > >> > > > > > >> >
>> > > > > > > >> > > > > > >> > then rerun and upload your log file
to our
>> ftp
>> > > > server
>> > > > > > > >> again?
>> > > > > > > >> > > > > > >> >
>> > > > > > > >> > > > > > >> > Thank you!
>> > > > > > > >> > > > > > >> >
>> > > > > > > >> > > > > > >> > Julie
>> > > > > > > >> > > > > > >> >
>> > > > > > > >> > > > > > >> >
>> > > > > > > >> > > > > > >> > On Wed, Feb 22, 2017 at 12:39 PM,
Xinxia
>> Song
>> > via
>> > > > RT
>> > > > > <
>> > > > > > > >> > > > > > met_help at ucar.edu
>> > > > > > > >> > > > > > >> >
>> > > > > > > >> > > > > > >> > wrote:
>> > > > > > > >> > > > > > >> >
>> > > > > > > >> > > > > > >> > >
>> > > > > > > >> > > > > > >> > > <URL: https://rt.rap.ucar.edu/rt/
>> > > > > > > >> > Ticket/Display.html?id=79605
>> > > > > > > >> > > >
>> > > > > > > >> > > > > > >> > >
>> > > > > > > >> > > > > > >> > > Hi Julie,
>> > > > > > > >> > > > > > >> > >
>> > > > > > > >> > > > > > >> > >
>> > > > > > > >> > > > > > >> > > I uploaded the log file under
xinxia_data
>> > > > > directory.
>> > > > > > > >> > > > > > >> > >
>> > > > > > > >> > > > > > >> > >
>> > > > > > > >> > > > > > >> > > Thanks,
>> > > > > > > >> > > > > > >> > >
>> > > > > > > >> > > > > > >> > >
>> > > > > > > >> > > > > > >> > > Xinxia
>> > > > > > > >> > > > > > >> > >
>> > > > > > > >> > > > > > >> > >
>> > > > > > > >> > > > > > >> > > ________________________________
>> > > > > > > >> > > > > > >> > > From: Julie Prestopnik via RT <
>> > > met_help at ucar.edu
>> > > > >
>> > > > > > > >> > > > > > >> > > Sent: Thursday, February 23, 2017
9:11:32
>> AM
>> > > > > > > >> > > > > > >> > > To: Xinxia_Song at outlook.com
>> > > > > > > >> > > > > > >> > > Subject: Re: [rt.rap.ucar.edu
#79605]
>> > > > ImportError:
>> > > > > > No
>> > > > > > > >> > module
>> > > > > > > >> > > > > named
>> > > > > > > >> > > > > > >> > > constants_pdef
>> > > > > > > >> > > > > > >> > >
>> > > > > > > >> > > > > > >> > > Hi Xinxia.
>> > > > > > > >> > > > > > >> > >
>> > > > > > > >> > > > > > >> > > I think it would be helpful if I
could
>> take a
>> > > > look
>> > > > > at
>> > > > > > > the
>> > > > > > > >> > log
>> > > > > > > >> > > > > file.
>> > > > > > > >> > > > > > >> > Could
>> > > > > > > >> > > > > > >> > > you please upload your file to our
>> anonymous
>> > > ftp
>> > > > > site
>> > > > > > > as
>> > > > > > > >> > > follows
>> > > > > > > >> > > > > so
>> > > > > > > >> > > > > > >> that
>> > > > > > > >> > > > > > >> > I
>> > > > > > > >> > > > > > >> > > can take a look?
>> > > > > > > >> > > > > > >> > >
>> > > > > > > >> > > > > > >> > >    http://www.dtcenter.org/met/
>> > > > > > > >> > users/support/met_help.php#ftp
>> > > > > > > >> > > > > > >> > >
>> > > > > > > >> > > > > > >> > > Also, could you please try running
the
>> > > following
>> > > > > > > manually
>> > > > > > > >> > and
>> > > > > > > >> > > > send
>> > > > > > > >> > > > > > the
>> > > > > > > >> > > > > > >> > > output to me?
>> > > > > > > >> > > > > > >> > >
>> > > > > > > >> > > > > > >> > > "/D2/xinxia/METplus/MET/met-5.
>> 2/bin/tc_stat
>> > > -job
>> > > > > > > filter
>> > > > > > > >> > > -lookin
>> > > > > > > >> > > > > > >> > > /D2/xinxia/METplus/MET/input/t
>> c_pairs/201412
>> > > > > > -init_inc
>> > > > > > > >> > > > > 20141201_00
>> > > > > > > >> > > > > > >> > > -match_points true -dump_row
>> > > > > > > /D2/xinxia/METplus/MET/out/
>> > > > > > > >> > > > > > >> > > extract_tiles/20141201_00/
>> > > > filter_20141201_00.tcst
>> > > > > > > >> -basin
>> > > > > > > >> > ML
>> > > > > > > >> > > > > > >> > > -out_init_mask
>> > > > > > > >> > > > > > >> > > /D2/xinxia/METplus/MET/met-5.2
>> > > > > > > >> /share/met/poly/CONUS.poly"
>> > > > > > > >> > > > > > >> > >
>> > > > > > > >> > > > > > >> > > Thank you!
>> > > > > > > >> > > > > > >> > >
>> > > > > > > >> > > > > > >> > > Julie
>> > > > > > > >> > > > > > >> > >
>> > > > > > > >> > > > > > >> > >
>> > > > > > > >> > > > > > >> > >
>> > > > > > > >> > > > > > >> > > On Wed, Feb 22, 2017 at 12:06 PM,
Xinxia
>> Song
>> > > via
>> > > > > RT
>> > > > > > <
>> > > > > > > >> > > > > > >> met_help at ucar.edu>
>> > > > > > > >> > > > > > >> > > wrote:
>> > > > > > > >> > > > > > >> > >
>> > > > > > > >> > > > > > >> > > >
>> > > > > > > >> > > > > > >> > > > <URL: https://rt.rap.ucar.edu/rt/
>> > > > > > > >> > > Ticket/Display.html?id=79605
>> > > > > > > >> > > > >
>> > > > > > > >> > > > > > >> > > >
>> > > > > > > >> > > > > > >> > > > Hi Julie,
>> > > > > > > >> > > > > > >> > > >
>> > > > > > > >> > > > > > >> > > >
>> > > > > > > >> > > > > > >> > > > Now I can run the program, but
when I
>> look
>> > at
>> > > > the
>> > > > > > log
>> > > > > > > >> file
>> > > > > > > >> > > in
>> > > > > > > >> > > > > the
>> > > > > > > >> > > > > > >> > output,
>> > > > > > > >> > > > > > >> > > > it shows error below:
>> > > > > > > >> > > > > > >> > > >
>> > > > > > > >> > > > > > >> > > >
>> > > > > > > >> > > > > > >> > > > ERROR|
/D2/xinxia/METplus/METplus/
>> > > > > > > >> > > ush/run_tc_stat.py:tc_stat
>> > > > > > > >> > > > > from
>> > > > > > > >> > > > > > >> > > calling
>> > > > > > > >> > > > > > >> > > > MET TC-STAT with
>> > > command:/D2/xinxia/METplus/MET
>> > > > > > > >> > > > > > /met-5.2/bin/tc_stat
>> > > > > > > >> > > > > > >> > -job
>> > > > > > > >> > > > > > >> > > > filter -lookin
>> > /D2/xinxia/METplus/MET/input/
>> > > > > > > >> > tc_pairs/201412
>> > > > > > > >> > > > > > >> -init_inc
>> > > > > > > >> > > > > > >> > > > 20141201_00 -match_points true
-dump_row
>> > > > > > > >> > > > > > /D2/xinxia/METplus/MET/out/
>> > > > > > > >> > > > > > >> > > > extract_tiles/20141201_00/
>> > > > > filter_20141201_00.tcst
>> > > > > > > >> -basin
>> > > > > > > >> > > ML
>> > > > > > > >> > > > > > >> > > > -out_init_mask
>> > /D2/xinxia/METplus/MET/met-5.
>> > > > > > > >> > > > > > >> > 2/share/met/poly/CONUS.poly
>> > > > > > > >> > > > > > >> > > >
>> > > > > > > >> > > > > > >> > > >
>> > > > > > > >> > > > > > >> > > > How should I fix it?
>> > > > > > > >> > > > > > >> > > >
>> > > > > > > >> > > > > > >> > > >
>> > > > > > > >> > > > > > >> > > > Thanks,
>> > > > > > > >> > > > > > >> > > >
>> > > > > > > >> > > > > > >> > > >
>> > > > > > > >> > > > > > >> > > > Xinxia
>> > > > > > > >> > > > > > >> > > >
>> > > > > > > >> > > > > > >> > > > ________________________________
>> > > > > > > >> > > > > > >> > > > From: Julie Prestopnik via RT <
>> > > > met_help at ucar.edu
>> > > > > >
>> > > > > > > >> > > > > > >> > > > Sent: Thursday, February 23, 2017
>> 7:30:06
>> > AM
>> > > > > > > >> > > > > > >> > > > To: Xinxia_Song at outlook.com
>> > > > > > > >> > > > > > >> > > > Subject: Re: [rt.rap.ucar.edu
#79605]
>> > > > > ImportError:
>> > > > > > > No
>> > > > > > > >> > > module
>> > > > > > > >> > > > > > named
>> > > > > > > >> > > > > > >> > > > constants_pdef
>> > > > > > > >> > > > > > >> > > >
>> > > > > > > >> > > > > > >> > > > Hi Xinxia.
>> > > > > > > >> > > > > > >> > > >
>> > > > > > > >> > > > > > >> > > > I believe that python doesn't
know how
>> to
>> > > find
>> > > > > the
>> > > > > > > >> module
>> > > > > > > >> > > > > because
>> > > > > > > >> > > > > > >> the
>> > > > > > > >> > > > > > >> > ush
>> > > > > > > >> > > > > > >> > > > directory is not in your
PYTHONPATH.
>> Both
>> > > the
>> > > > > parm
>> > > > > > > and
>> > > > > > > >> > ush
>> > > > > > > >> > > > > > >> directory
>> > > > > > > >> > > > > > >> > > need
>> > > > > > > >> > > > > > >> > > > to be specified in your
PYTHONPATH.
>> Please
>> > > add
>> > > > > the
>> > > > > > > ush
>> > > > > > > >> > > > > directory
>> > > > > > > >> > > > > > to
>> > > > > > > >> > > > > > >> > your
>> > > > > > > >> > > > > > >> > > > PYTHONPATH, source ~/.bashrc, and
let us
>> > know
>> > > > how
>> > > > > > it
>> > > > > > > >> goes.
>> > > > > > > >> > > > > > >> > > >
>> > > > > > > >> > > > > > >> > > > Thanks,
>> > > > > > > >> > > > > > >> > > > Julie
>> > > > > > > >> > > > > > >> > > >
>> > > > > > > >> > > > > > >> > > > On Wed, Feb 22, 2017 at 10:24 AM,
Xinxia
>> > Song
>> > > > via
>> > > > > > RT
>> > > > > > > <
>> > > > > > > >> > > > > > >> > met_help at ucar.edu>
>> > > > > > > >> > > > > > >> > > > wrote:
>> > > > > > > >> > > > > > >> > > >
>> > > > > > > >> > > > > > >> > > > >
>> > > > > > > >> > > > > > >> > > > > <URL:
https://rt.rap.ucar.edu/rt/
>> > > > > > > >> > > > Ticket/Display.html?id=79605
>> > > > > > > >> > > > > >
>> > > > > > > >> > > > > > >> > > > >
>> > > > > > > >> > > > > > >> > > > > Hi Julie,
>> > > > > > > >> > > > > > >> > > > >
>> > > > > > > >> > > > > > >> > > > >
>> > > > > > > >> > > > > > >> > > > > Since I don't have setenv, I
added
>> these
>> > 3
>> > > > > > sentence
>> > > > > > > >> into
>> > > > > > > >> > > my
>> > > > > > > >> > > > > > >> .bashrc
>> > > > > > > >> > > > > > >> > > file:
>> > > > > > > >> > > > > > >> > > > >
>> > > > > > > >> > > > > > >> > > > >
>> > > > > > > >> > > > > > >> > > > > export PYTHONPATH="/D2/xinxia/
>> > > > > > > METplus/METplus/parm"
>> > > > > > > >> > > > > > >> > > > >
>> > > > > > > >> > > > > > >> > > > >
>> > > > > > > >> > > > > > >> > > > > export
USHROOT=/D2/xinxia/METplus/
>> > > > METplus/ush
>> > > > > > > >> > > > > > >> > > > >
>> > > > > > > >> > > > > > >> > > > > export PATH=$USHROOT:$PATH
>> > > > > > > >> > > > > > >> > > > >
>> > > > > > > >> > > > > > >> > > > >
>> > > > > > > >> > > > > > >> > > > > I sourced the ~/.bashrc, and
checked
>> that
>> > > the
>> > > > > > > >> variables
>> > > > > > > >> > > are
>> > > > > > > >> > > > > set,
>> > > > > > > >> > > > > > >> but
>> > > > > > > >> > > > > > >> > > the
>> > > > > > > >> > > > > > >> > > > > program still can't find the
module.
>> > > > > > > >> > > > > > >> > > > >
>> > > > > > > >> > > > > > >> > > > >
>> > > > > > > >> > > > > > >> > > > > Thanks,
>> > > > > > > >> > > > > > >> > > > >
>> > > > > > > >> > > > > > >> > > > > Xinxia
>> > > > > > > >> > > > > > >> > > > >
>> > > > > > > >> > > > > > >> > > > >
________________________________
>> > > > > > > >> > > > > > >> > > > > From: Julie Prestopnik via RT <
>> > > > > met_help at ucar.edu
>> > > > > > >
>> > > > > > > >> > > > > > >> > > > > Sent: Thursday, February 23,
2017
>> 6:24:21
>> > > AM
>> > > > > > > >> > > > > > >> > > > > To: Xinxia_Song at outlook.com
>> > > > > > > >> > > > > > >> > > > > Subject: Re: [rt.rap.ucar.edu
#79605]
>> > > > > > ImportError:
>> > > > > > > >> No
>> > > > > > > >> > > > module
>> > > > > > > >> > > > > > >> named
>> > > > > > > >> > > > > > >> > > > > constants_pdef
>> > > > > > > >> > > > > > >> > > > >
>> > > > > > > >> > > > > > >> > > > > Hi Xinxia.
>> > > > > > > >> > > > > > >> > > > >
>> > > > > > > >> > > > > > >> > > > > Could you please check to make
sure
>> that
>> > > the
>> > > > > ush
>> > > > > > > >> > directory
>> > > > > > > >> > > > > with
>> > > > > > > >> > > > > > >> > > > > constants_pdef.py is in your
>> PYTHONPATH
>> > in
>> > > > your
>> > > > > > > >> .cshrc
>> > > > > > > >> > > file
>> > > > > > > >> > > > > (or
>> > > > > > > >> > > > > > >> > .bashrc
>> > > > > > > >> > > > > > >> > > > or
>> > > > > > > >> > > > > > >> > > > > similar file)?  The parm
directory
>> should
>> > > > also
>> > > > > be
>> > > > > > > in
>> > > > > > > >> > your
>> > > > > > > >> > > > > > >> PYTHONPATH.
>> > > > > > > >> > > > > > >> > > > >
>> > > > > > > >> > > > > > >> > > > > For example,
>> > > > > > > >> > > > > > >> > > > >
>> > > > > > > >> > > > > > >> > > > > setenv PYTHONPATH
>> > > > /d1/jpresto/sbu/METplus/ush:/
>> > > > > > > >> > > > > > >> > > > d1/jpresto/sbu/METplus/parm
>> > > > > > > >> > > > > > >> > > > >
>> > > > > > > >> > > > > > >> > > > > Please also check make sure
that the
>> path
>> > > to
>> > > > > the
>> > > > > > > ush
>> > > > > > > >> > > > directory
>> > > > > > > >> > > > > > is
>> > > > > > > >> > > > > > >> > also
>> > > > > > > >> > > > > > >> > > > > specified your your path
environment
>> > > > variable.
>> > > > > > For
>> > > > > > > >> > > example,
>> > > > > > > >> > > > > > >> > > > >
>> > > > > > > >> > > > > > >> > > > > set path = (/usr/local/bin \
>> > > > > > > >> > > > > > >> > > > >
>> > > > /usr/local/python/bin/python \
>> > > > > > > >> > > > > > >> > > > >
>> > > /d1/jpresto/sbu/METplus/ush
>> > > > )
>> > > > > > > >> > > > > > >> > > > >
>> > > > > > > >> > > > > > >> > > > > If they are not there, please
add them
>> > and
>> > > > then
>> > > > > > > >> source
>> > > > > > > >> > the
>> > > > > > > >> > > > > file
>> > > > > > > >> > > > > > >> (e.g.
>> > > > > > > >> > > > > > >> > > run
>> > > > > > > >> > > > > > >> > > > > "source ~/.cshrc").
>> > > > > > > >> > > > > > >> > > > >
>> > > > > > > >> > > > > > >> > > > > Thank you!  Please let us know
how it
>> > goes.
>> > > > > > > >> > > > > > >> > > > >
>> > > > > > > >> > > > > > >> > > > > Julie
>> > > > > > > >> > > > > > >> > > > >
>> > > > > > > >> > > > > > >> > > > >
>> > > > > > > >> > > > > > >> > > > >
>> > > > > > > >> > > > > > >> > > > >
>> > > > > > > >> > > > > > >> > > > > On Tue, Feb 21, 2017 at 4:49
PM,
>> Xinxia
>> > > Song
>> > > > > via
>> > > > > > > RT <
>> > > > > > > >> > > > > > >> > met_help at ucar.edu
>> > > > > > > >> > > > > > >> > > >
>> > > > > > > >> > > > > > >> > > > > wrote:
>> > > > > > > >> > > > > > >> > > > >
>> > > > > > > >> > > > > > >> > > > > >
>> > > > > > > >> > > > > > >> > > > > > Tue Feb 21 16:49:28 2017:
Request
>> 79605
>> > > was
>> > > > > > acted
>> > > > > > > >> > upon.
>> > > > > > > >> > > > > > >> > > > > > Transaction: Ticket created
by
>> > > > > > > >> > Xinxia_Song at outlook.com
>> > > > > > > >> > > > > > >> > > > > >        Queue: met_help
>> > > > > > > >> > > > > > >> > > > > >      Subject: ImportError: No
module
>> > > named
>> > > > > > > >> > > constants_pdef
>> > > > > > > >> > > > > > >> > > > > >        Owner: Nobody
>> > > > > > > >> > > > > > >> > > > > >   Requestors:
>> Xinxia_Song at outlook.com
>> > > > > > > >> > > > > > >> > > > > >       Status: new
>> > > > > > > >> > > > > > >> > > > > >  Ticket <URL:
>> > > https://rt.rap.ucar.edu/rt/
>> > > > > > > >> > > > > > >> > > Ticket/Display.html?id=79605
>> > > > > > > >> > > > > > >> > > > >
>> > > > > > > >> > > > > > >> > > > > >
>> > > > > > > >> > > > > > >> > > > > >
>> > > > > > > >> > > > > > >> > > > > > Hi,
>> > > > > > > >> > > > > > >> > > > > >
>> > > > > > > >> > > > > > >> > > > > >
>> > > > > > > >> > > > > > >> > > > > > When I ran the
mater_met_plus.py, it
>> > > says:
>> > > > > > > >> > > > > > >> > > > > >
>> > > > > > > >> > > > > > >> > > > > >
>> > > > > > > >> > > > > > >> > > > > > ImportError: No module named
>> > > constants_pdef
>> > > > > > > >> > > > > > >> > > > > >
>> > > > > > > >> > > > > > >> > > > > >
>> > > > > > > >> > > > > > >> > > > > > Seems it doesn't recognize
>> > constants_pdef
>> > > > as
>> > > > > > its
>> > > > > > > >> > module.
>> > > > > > > >> > > > > > >> > > > > >
>> > > > > > > >> > > > > > >> > > > > >
>> > > > > > > >> > > > > > >> > > > > > Thanks,
>> > > > > > > >> > > > > > >> > > > > >
>> > > > > > > >> > > > > > >> > > > > > Xinxia
>> > > > > > > >> > > > > > >> > > > > >
>> > > > > > > >> > > > > > >> > > > > >
>> > > > > > > >> > > > > > >> > > > >
>> > > > > > > >> > > > > > >> > > > >
>> > > > > > > >> > > > > > >> > > > >
>> > > > > > > >> > > > > > >> > > >
>> > > > > > > >> > > > > > >> > > >
>> > > > > > > >> > > > > > >> > > >
>> > > > > > > >> > > > > > >> > >
>> > > > > > > >> > > > > > >> > >
>> > > > > > > >> > > > > > >> > >
>> > > > > > > >> > > > > > >> >
>> > > > > > > >> > > > > > >> >
>> > > > > > > >> > > > > > >> >
>> > > > > > > >> > > > > > >>
>> > > > > > > >> > > > > > >>
>> > > > > > > >> > > > > > >>
>> > > > > > > >> > > > > > >
>> > > > > > > >> > > > > >
>> > > > > > > >> > > > > >
>> > > > > > > >> > > > > >
>> > > > > > > >> > > > >
>> > > > > > > >> > > > >
>> > > > > > > >> > > > >
>> > > > > > > >> > > >
>> > > > > > > >> > > >
>> > > > > > > >> > > >
>> > > > > > > >> > >
>> > > > > > > >> > >
>> > > > > > > >> > >
>> > > > > > > >> >
>> > > > > > > >> >
>> > > > > > > >> >
>> > > > > > > >>
>> > > > > > > >>
>> > > > > > > >>
>> > > > > > > >
>> > > > > > >
>> > > > > > >
>> > > > > > >
>> > > > > >
>> > > > > >
>> > > > > >
>> > > > >
>> > > > >
>> > > > >
>> > > >
>> > > >
>> > > >
>> > >
>> > >
>> > >
>> >
>> >
>> >
>>
>>
>>
>

------------------------------------------------
Subject: ImportError: No module named constants_pdef
From: Xinxia Song
Time: Tue Feb 28 15:07:18 2017

Hi Julie,


I correct these paths and I could successfully run series_by_lead.py
but have errors for the master_met_plus.py. I get the errors:

Traceback (most recent call last):

  File "/D2/xinxia/METplus/METplus/ush/series_by_lead.py", line 945,
in <module>

    analysis_by_lead_time()

  File "/D2/xinxia/METplus/METplus/ush/series_by_lead.py", line 107,
in analysis_by_lead_time

    util.apply_series_filters(tile_dir, init_times,
series_lead_filtered_out_dir, p, logger)

  File "/D2/xinxia/METplus/METplus/ush/met_util.py", line 1005, in
apply_series_filters

    tcs.tc_stat(p, logger, tc_cmd, series_output_dir)

  File "/D2/xinxia/METplus/METplus/ush/run_tc_stat.py", line 69, in
tc_stat

    tc_stat_out = subprocess.check_output(tc_cmd,
stderr=subprocess.STDOUT, shell=True )

AttributeError: 'module' object has no attribute 'check_output'


Thanks,


Xinxia

________________________________
From: Julie Prestopnik via RT <met_help at ucar.edu>
Sent: Tuesday, February 28, 2017 2:50:58 PM
To: Xinxia_Song at outlook.com
Subject: Re: [rt.rap.ucar.edu #79605] ImportError: No module named
constants_pdef

Hi Xinxia.  I also thought I would mention that, as indicated in the
README
file that came with the distribution, in addition to ncap2 and ncdump,
the
following are also required for MET+:

  - convert utility (part of ImageMagick)
    - https://www.imagemagick.org/script/binary-releases.php
  - wgrib2 utility
    -
http://www.cpc.noaa.gov/products/wesley/wgrib2/compile_questions.html
  - egrep utility
    - http://directory.fsf.org/wiki/Grep

If you do not have these installed. Please install them and set up
their
paths in the constants_pdef.py file.

Thanks,
Julie

On Tue, Feb 28, 2017 at 12:45 PM, Julie Prestopnik <jpresto at ucar.edu>
wrote:

> Hi Xinxia.
>
> You will also need to have the ncdump command installed, with the
location
> to the executable listed in NCDUMP_EXE in constants_pdef.py.  Please
have
> ncdump installed, update your constants_pdef.py file and rerun.
>
> Thanks!
>
> Julie
>
> On Tue, Feb 28, 2017 at 12:18 PM, Xinxia Song via RT
<met_help at ucar.edu>
> wrote:
>
>>
>> <URL: https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=79605 >
>>
>> Hi Julie,
>>
>>
>> Before I was running master_met_plus.py and now I ran the
>> series_by_lead.py and got the following results:
>>
>> [xinxia at chaos ush]$ python series_by_lead.py
>>
>> Traceback (most recent call last):
>>
>>   File "series_by_lead.py", line 945, in <module>
>>
>>     analysis_by_lead_time()
>>
>>   File "series_by_lead.py", line 326, in analysis_by_lead_time
>>
>>     vmin, vmax = get_netcdf_min_max(nc_var_list, cur_stat, p,
logger)
>>
>>   File "series_by_lead.py", line 638, in get_netcdf_min_max
>>
>>     shell=True)
>>
>>   File "/home/xinxia/anaconda2/lib/python2.7/subprocess.py", line
219,
>> in check_output
>>
>>     raise CalledProcessError(retcode, cmd, output=output)
>>
>> subprocess.CalledProcessError: Command '/usr/local/bin/ncdump
>> /D2/xinxia/METplus/MET/out/series_analysis_lead/series_F042/min.nc
>
>>
/D2/xinxia/METplus/MET/out/series_analysis_lead/series_F042/min.txt'
>> returned non-zero exit status 127
>>
>>
>> Thanks,
>>
>>
>> Xinxia
>>
>> ________________________________
>> From: Julie Prestopnik via RT <met_help at ucar.edu>
>> Sent: Tuesday, February 28, 2017 2:11:19 PM
>> To: Xinxia_Song at outlook.com
>> Subject: Re: [rt.rap.ucar.edu #79605] ImportError: No module named
>> constants_pdef
>>
>> Hi Xinxia.  Did you run series_by_lead.py on its own or via
>> master_met_plus.py?
>>
>> Thanks,
>> Julie
>>
>> On Tue, Feb 28, 2017 at 11:11 AM, Xinxia Song via RT
<met_help at ucar.edu>
>> wrote:
>>
>> >
>> > <URL: https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=79605 >
>> >
>> > Hi Julie,
>> >
>> >
>> > I checked it's 2.7.13. It seems the error doesn't coming from it.
>> >
>> >
>> > Thanks,
>> >
>> >
>> > Xinxia
>> >
>> >
>> > ________________________________
>> > From: Julie Prestopnik via RT <met_help at ucar.edu>
>> > Sent: Tuesday, February 28, 2017 10:49:29 AM
>> > To: Xinxia_Song at outlook.com
>> > Subject: Re: [rt.rap.ucar.edu #79605] ImportError: No module
named
>> > constants_pdef
>> >
>> > I think perhaps your environment is using Python 2.6 again.
>> >
>> > Please try running:
>> >
>> > python --version
>> >
>> > on the command line.
>> >
>> > If you see "Python 2..6.6", please add the path for Python 2.7 to
the
>> front
>> > of your path in your ~/.bashrc file.  Then, source your ~/.bashrc
file
>> and
>> > try rerunning
>> >
>> > python --version
>> >
>> > on the command line.  Hopefully, then you will see the new
version.
>> Then,
>> > please try rerunning master_met_plus.py.
>> >
>> > I hope this helps!  Thanks!
>> >
>> > Julie
>> >
>> > On Mon, Feb 27, 2017 at 8:14 PM, Xinxia Song via RT
<met_help at ucar.edu>
>> > wrote:
>> >
>> > >
>> > > <URL: https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=79605 >
>> > >
>> > > Hi Julie,
>> > >
>> > >
>> > > after I update the NCAP2 path in constants_pdef.py and ran the
>> > > master_met_plus.py, I got the error:
>> > >
>> > > 2017-02-28 02:49:40,659 : ERROR | [master_met_plus.py:main] |
Problem
>> > > executing: series_by_lead.py
>> > >
>> > > and message:
>> > >
>> > > Traceback (most recent call last):
>> > >
>> > >   File "/D2/xinxia/METplus/METplus/ush/series_by_lead.py", line
945,
>> in
>> > > <module>
>> > >
>> > >     analysis_by_lead_time()
>> > >
>> > >   File "/D2/xinxia/METplus/METplus/ush/series_by_lead.py", line
107,
>> in
>> > > analysis_by_lead_time
>> > >
>> > >     util.apply_series_filters(tile_dir, init_times,
>> > > series_lead_filtered_out_dir, p, logger)
>> > >
>> > >   File "/D2/xinxia/METplus/METplus/ush/met_util.py", line 1005,
in
>> > > apply_series_filters
>> > >
>> > >     tcs.tc_stat(p, logger, tc_cmd, series_output_dir)
>> > >
>> > >   File "/D2/xinxia/METplus/METplus/ush/run_tc_stat.py", line
69, in
>> > > tc_stat
>> > >
>> > >     tc_stat_out = subprocess.check_output(tc_cmd,
>> > > stderr=subprocess.STDOUT, shell=True )
>> > >
>> > > AttributeError: 'module' object has no attribute 'check_output'
>> > >
>> > >
>> > > Thanks,
>> > >
>> > >
>> > > Xinxia
>> > >
>> > > ________________________________
>> > > From: Julie Prestopnik via RT <met_help at ucar.edu>
>> > > Sent: Monday, February 27, 2017 5:15:59 PM
>> > > To: Xinxia_Song at outlook.com
>> > > Subject: Re: [rt.rap.ucar.edu #79605] ImportError: No module
named
>> > > constants_pdef
>> > >
>> > > Please install ncap2 and update the location to the executable
in the
>> > > NCAP2_EXE field of the constants_pdef.py file and trying
rerunning the
>> > MET+
>> > > code.  Please let us know how it goes.
>> > >
>> > > Thanks,
>> > > Julie
>> > >
>> > > On Mon, Feb 27, 2017 at 3:10 PM, Xinxia Song via RT <
>> met_help at ucar.edu>
>> > > wrote:
>> > >
>> > > >
>> > > > <URL: https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=79605
>
>> > > >
>> > > > Hi Julie,
>> > > >
>> > > >
>> > > > The result is :
>> > > >
>> > > > -bash: /usr/local/nco/bin/ncap2: No such file or directory
>> > > >
>> > > > I think we don't have it installed.
>> > > >
>> > > >
>> > > > Thanks,
>> > > >
>> > > > Xinxia
>> > > >
>> > > > ________________________________
>> > > > From: Julie Prestopnik via RT <met_help at ucar.edu>
>> > > > Sent: Monday, February 27, 2017 5:08:48 PM
>> > > > To: Xinxia_Song at outlook.com
>> > > > Subject: Re: [rt.rap.ucar.edu #79605] ImportError: No module
named
>> > > > constants_pdef
>> > > >
>> > > > Hi Xinxia. I believe that error code refers to "Command not
found".
>> > Can
>> > > > you please run the following and send me the output?
>> > > >
>> > > > /usr/local/nco/bin/ncap2 --version
>> > > >
>> > > > Thanks!
>> > > >
>> > > > Julie
>> > > >
>> > > >
>> > > > On Mon, Feb 27, 2017 at 2:55 PM, Xinxia Song via RT <
>> met_help at ucar.edu
>> > >
>> > > > wrote:
>> > > >
>> > > > >
>> > > > > <URL:
https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=79605 >
>> > > > >
>> > > > > Hi Julie,
>> > > > >
>> > > > >
>> > > > > The error is:
>> > > > >
>> > > > > Traceback (most recent call last):
>> > > > >
>> > > > >   File "series_by_lead.py", line 945, in <module>
>> > > > >
>> > > > >     analysis_by_lead_time()
>> > > > >
>> > > > >   File "series_by_lead.py", line 326, in
analysis_by_lead_time
>> > > > >
>> > > > >     vmin, vmax = get_netcdf_min_max(nc_var_list, cur_stat,
p,
>> > logger)
>> > > > >
>> > > > >   File "series_by_lead.py", line 605, in get_netcdf_min_max
>> > > > >
>> > > > >     shell=True)
>> > > > >
>> > > > >   File
"/home/xinxia/anaconda2/lib/python2.7/subprocess.py", line
>> > 219,
>> > > > in
>> > > > > check_output
>> > > > >
>> > > > >     raise CalledProcessError(retcode, cmd, output=output)
>> > > > >
>> > > > > subprocess.CalledProcessError: Command
'/usr/local/nco/bin/ncap2
>> -v
>> > -s
>> > > > > "min=min(series_cnt_TOTAL)" /D2/xinxia/METplus/MET/out/
>> > > > > series_analysis_lead/series_F042/series_F042_HGT_P500.nc
>> > > > >
/D2/xinxia/METplus/MET/out/series_analysis_lead/series_F042/
>> min.nc'
>> > > > > returned non-zero exit status 127
>> > > > >
>> > > > >
>> > > > > Thanks,
>> > > > >
>> > > > >
>> > > > > Xinxia
>> > > > >
>> > > > > ________________________________
>> > > > > From: Julie Prestopnik via RT <met_help at ucar.edu>
>> > > > > Sent: Tuesday, February 28, 2017 9:18:55 AM
>> > > > > To: Xinxia_Song at outlook.com
>> > > > > Subject: Re: [rt.rap.ucar.edu #79605] ImportError: No
module
>> named
>> > > > > constants_pdef
>> > > > >
>> > > > > Thank you, Xinxia.
>> > > > >
>> > > > > Unfortunately, the "DEBUG" log level did not provide much
>> information
>> > > for
>> > > > > this task:
>> > > > >
>> > > > > 2017-02-26 21:30:28,041 : INFO | [master_met_plus.py:main]
|
>> Running:
>> > > > > series_by_lead.py
>> > > > > 2017-02-26 21:30:28,212 : ERROR | [master_met_plus.py:main]
|
>> Problem
>> > > > > executing: series_by_lead.py
>> > > > >
>> > > > > Could you please try running series_by_lead.py in the ush
>> directory?
>> > > > > Please let me know what the output is from that run - it
may
>> still be
>> > > > > contained in your log file.
>> > > > >
>> > > > > Thanks!
>> > > > >
>> > > > > Julie
>> > > > >
>> > > > >
>> > > > > On Mon, Feb 27, 2017 at 11:17 AM, Xinxia Song via RT <
>> > > met_help at ucar.edu>
>> > > > > wrote:
>> > > > >
>> > > > > >
>> > > > > > <URL:
https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=79605 >
>> > > > > >
>> > > > > > Hi Julie,
>> > > > > >
>> > > > > >
>> > > > > > I uploaded the constants_pdef.py and
>> master_met_plus.20170226.log.
>> > > > > >
>> > > > > >
>> > > > > > Thanks,
>> > > > > >
>> > > > > >
>> > > > > > Xinxia
>> > > > > >
>> > > > > > ________________________________
>> > > > > > From: Julie Prestopnik via RT <met_help at ucar.edu>
>> > > > > > Sent: Tuesday, February 28, 2017 5:46:37 AM
>> > > > > > To: Xinxia_Song at outlook.com
>> > > > > > Subject: Re: [rt.rap.ucar.edu #79605] ImportError: No
module
>> named
>> > > > > > constants_pdef
>> > > > > >
>> > > > > > Hi Xinxia.  Can you please upload the configuration file
that
>> you
>> > > used
>> > > > > and
>> > > > > > the log file from that run to our ftp server so that we
can
>> take a
>> > > > look?
>> > > > > >
>> > > > > > Thanks!
>> > > > > >
>> > > > > > Julie
>> > > > > >
>> > > > > > On Sun, Feb 26, 2017 at 2:35 PM, Xinxia Song via RT <
>> > > met_help at ucar.edu
>> > > > >
>> > > > > > wrote:
>> > > > > >
>> > > > > > >
>> > > > > > > <URL:
https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=79605
>> >
>> > > > > > >
>> > > > > > > Hi Julie,
>> > > > > > >
>> > > > > > >
>> > > > > > > I ran the mater_met_plus.py and in the end in the log
file it
>> > gave
>> > > me
>> > > > > an
>> > > > > > > error:
>> > > > > > >
>> > > > > > > 2017-02-26 21:30:28,212 : ERROR |
[master_met_plus.py:main] |
>> > > Problem
>> > > > > > > executing: series_by_lead.py
>> > > > > > >
>> > > > > > >
>> > > > > > > Thanks,
>> > > > > > >
>> > > > > > > Xinxia
>> > > > > > >
>> > > > > > > ________________________________
>> > > > > > > From: Julie Prestopnik via RT <met_help at ucar.edu>
>> > > > > > > Sent: Saturday, February 25, 2017 6:49:56 AM
>> > > > > > > To: Xinxia_Song at outlook.com
>> > > > > > > Subject: Re: [rt.rap.ucar.edu #79605] ImportError: No
module
>> > named
>> > > > > > > constants_pdef
>> > > > > > >
>> > > > > > > You could also run "tail -f
</path/to/logfile/logfile_name>"
>> > > > replacing
>> > > > > > > </path/to/logfile/logfile_name> with the logfile path
and
>> name
>> > > > > > information
>> > > > > > > to see how the run is coming along.  I hope that helps!
>> > > > > > >
>> > > > > > > Julie
>> > > > > > >
>> > > > > > > On Fri, Feb 24, 2017 at 9:42 AM, Julie Prestopnik <
>> > > jpresto at ucar.edu>
>> > > > > > > wrote:
>> > > > > > >
>> > > > > > > > Hi Xinxia.  Running the entire three months of data
could
>> > > certainly
>> > > > > > take
>> > > > > > > a
>> > > > > > > > long time.  I am hoping to get an estimate on how
long it
>> took
>> > to
>> > > > run
>> > > > > > the
>> > > > > > > > three month data set here, but have not been able to
obtain
>> > that
>> > > > > number
>> > > > > > > > yet.   It sounds the code was running successfully
for
>> you.  If
>> > > > > you're
>> > > > > > > > eager to take a lot at some output, I would suggest
running
>> a
>> > > > smaller
>> > > > > > > > subset of the data, or perhaps you could set up the
whole
>> three
>> > > > month
>> > > > > > to
>> > > > > > > > run over the weekend.  I would suggest letting the
code run
>> to
>> > > > > > completion
>> > > > > > > > for either a smaller subset or for the entire subset
and
>> then
>> > > > > checking
>> > > > > > > the
>> > > > > > > > log file for errors.  I hope that helps.  Please let
me
>> know if
>> > > you
>> > > > > > have
>> > > > > > > > any questions or encounter any issues.
>> > > > > > > >
>> > > > > > > > Thanks,
>> > > > > > > > Julie
>> > > > > > > >
>> > > > > > > >
>> > > > > > > > On Thu, Feb 23, 2017 at 4:28 PM, Xinxia Song via RT <
>> > > > > met_help at ucar.edu
>> > > > > > >
>> > > > > > > > wrote:
>> > > > > > > >
>> > > > > > > >>
>> > > > > > > >> <URL: https://rt.rap.ucar.edu/rt/Tic
>> ket/Display.html?id=79605
>> > >
>> > > > > > > >>
>> > > > > > > >> Hi Julie,
>> > > > > > > >>
>> > > > > > > >>
>> > > > > > > >> The version is set to be 2.7+. When I ran
>> master_met_plus.py,
>> > it
>> > > > > seems
>> > > > > > > it
>> > > > > > > >> will run forever. So I killed it, and got the
following:
>> > > > > > > >>
>> > > > > > > >> [xinxia at chaos ush]$ python master_met_plus.py
>> > > > > > > >>
>> > > > > > > >> ^CTraceback (most recent call last):
>> > > > > > > >>
>> > > > > > > >>   File
"/D2/xinxia/METplus/METplus/ush/extract_tiles.py",
>> > line
>> > > > 157,
>> > > > > > in
>> > > > > > > >> <module>
>> > > > > > > >>
>> > > > > > > >>     main()
>> > > > > > > >>
>> > > > > > > >>   File
"/D2/xinxia/METplus/METplus/ush/extract_tiles.py",
>> > line
>> > > > 100,
>> > > > > > in
>> > > > > > > >> main
>> > > > > > > >>
>> > > > > > > >>     filtered_out_dir)
>> > > > > > > >>
>> > > > > > > >>   File
"/D2/xinxia/METplus/METplus/ush/run_tc_stat.py",
>> line
>> > > 69,
>> > > > in
>> > > > > > > >> tc_stat
>> > > > > > > >>
>> > > > > > > >>     tc_stat_out = subprocess.check_output(tc_cmd,
>> > > > > > > >> stderr=subprocess.STDOUT, shell=True )
>> > > > > > > >>
>> > > > > > > >>   File "/home/xinxia/anaconda2/lib/py
>> thon2.7/subprocess.py",
>> > > line
>> > > > > > 213,
>> > > > > > > >> in check_output
>> > > > > > > >>
>> > > > > > > >>     output, unused_err = process.communicate()
>> > > > > > > >>
>> > > > > > > >>   File "/home/xinxia/anaconda2/lib/py
>> thon2.7/subprocess.py",
>> > > line
>> > > > > > 471,
>> > > > > > > >> in communicate
>> > > > > > > >>
>> > > > > > > >>     stdout = _eintr_retry_call(self.stdout.read)
>> > > > > > > >>
>> > > > > > > >>   File "/home/xinxia/anaconda2/lib/py
>> thon2.7/subprocess.py",
>> > > line
>> > > > > > 121,
>> > > > > > > >> in _eintr_retry_call
>> > > > > > > >>
>> > > > > > > >>     return func(*args)
>> > > > > > > >>
>> > > > > > > >> KeyboardInterrupt
>> > > > > > > >>
>> > > > > > > >>
>> > > > > > > >> Thanks,
>> > > > > > > >>
>> > > > > > > >>
>> > > > > > > >> Xinxia
>> > > > > > > >>
>> > > > > > > >> ________________________________
>> > > > > > > >> From: Julie Prestopnik via RT <met_help at ucar.edu>
>> > > > > > > >> Sent: Friday, February 24, 2017 12:02:21 PM
>> > > > > > > >> To: Xinxia_Song at outlook.com
>> > > > > > > >> Subject: Re: [rt.rap.ucar.edu #79605] ImportError:
No
>> module
>> > > > named
>> > > > > > > >> constants_pdef
>> > > > > > > >>
>> > > > > > > >> Hi Xinxia.  I suspect that even though you installed
Python
>> > 2.7
>> > > > that
>> > > > > > > >> Python
>> > > > > > > >> 2.6.6 is still being used.
>> > > > > > > >>
>> > > > > > > >> Please try running:
>> > > > > > > >>
>> > > > > > > >> python --version
>> > > > > > > >>
>> > > > > > > >> on the command line.
>> > > > > > > >>
>> > > > > > > >> If you see "Python 2..6.6", please add the path for
Python
>> 2.7
>> > > to
>> > > > > the
>> > > > > > > >> front
>> > > > > > > >> of your path in your ~/.bashrc file.  Then, source
your
>> > > ~/.bashrc
>> > > > > file
>> > > > > > > and
>> > > > > > > >> try rerunning
>> > > > > > > >>
>> > > > > > > >> python --version
>> > > > > > > >>
>> > > > > > > >> on the command line.  Hopefully, then you will see
the new
>> > > > version.
>> > > > > > > Then,
>> > > > > > > >> please try rerunning master_met_plus.py.
>> > > > > > > >>
>> > > > > > > >> I hope this helps!  Thanks!
>> > > > > > > >>
>> > > > > > > >> Julie
>> > > > > > > >>
>> > > > > > > >> On Thu, Feb 23, 2017 at 1:51 PM, Xinxia Song via RT
<
>> > > > > > met_help at ucar.edu>
>> > > > > > > >> wrote:
>> > > > > > > >>
>> > > > > > > >> >
>> > > > > > > >> > <URL: https://rt.rap.ucar.edu/rt/Tic
>> > ket/Display.html?id=79605
>> > > >
>> > > > > > > >> >
>> > > > > > > >> > Hi Julie,
>> > > > > > > >> >
>> > > > > > > >> >
>> > > > > > > >> > I installed myself the 2.7 python, it still got
the error
>> > when
>> > > > > > > running:
>> > > > > > > >> >
>> > > > > > > >> > Traceback (most recent call last):
>> > > > > > > >> >
>> > > > > > > >> >   File "/D2/xinxia/METplus/METplus/us
>> h/series_by_lead.py",
>> > > line
>> > > > > > 945,
>> > > > > > > in
>> > > > > > > >> > <module>
>> > > > > > > >> >
>> > > > > > > >> >     analysis_by_lead_time()
>> > > > > > > >> >
>> > > > > > > >> >   File "/D2/xinxia/METplus/METplus/us
>> h/series_by_lead.py",
>> > > line
>> > > > > > 107,
>> > > > > > > in
>> > > > > > > >> > analysis_by_lead_time
>> > > > > > > >> >
>> > > > > > > >> >     util.apply_series_filters(tile_dir,
init_times,
>> > > > > > > >> > series_lead_filtered_out_dir, p, logger)
>> > > > > > > >> >
>> > > > > > > >> >   File
"/D2/xinxia/METplus/METplus/ush/met_util.py",
>> line
>> > > 1005,
>> > > > > in
>> > > > > > > >> > apply_series_filters
>> > > > > > > >> >
>> > > > > > > >> >     tcs.tc_stat(p, logger, tc_cmd,
series_output_dir)
>> > > > > > > >> >
>> > > > > > > >> >   File
"/D2/xinxia/METplus/METplus/ush/run_tc_stat.py",
>> > line
>> > > > 69,
>> > > > > in
>> > > > > > > >> > tc_stat
>> > > > > > > >> >
>> > > > > > > >> >     tc_stat_out = subprocess.check_output(tc_cmd,
>> > > > > > > >> > stderr=subprocess.STDOUT, shell=True )
>> > > > > > > >> >
>> > > > > > > >> > AttributeError: 'module' object has no attribute
>> > > 'check_output'
>> > > > > > > >> >
>> > > > > > > >> >
>> > > > > > > >> > Thanks,
>> > > > > > > >> >
>> > > > > > > >> >
>> > > > > > > >> > Xinxia
>> > > > > > > >> >
>> > > > > > > >> > ________________________________
>> > > > > > > >> > From: Julie Prestopnik via RT <met_help at ucar.edu>
>> > > > > > > >> > Sent: Friday, February 24, 2017 9:37:53 AM
>> > > > > > > >> > To: Xinxia_Song at outlook.com
>> > > > > > > >> > Subject: Re: [rt.rap.ucar.edu #79605] ImportError:
No
>> > module
>> > > > > named
>> > > > > > > >> > constants_pdef
>> > > > > > > >> >
>> > > > > > > >> > Can you please tell me which version of Python you
are
>> > using?
>> > > > > > > >> check_output
>> > > > > > > >> > for subprocess was introduced in Python 2.7.    Do
you
>> have
>> > > > access
>> > > > > > to
>> > > > > > > >> > Python version 2.7 or higher?
>> > > > > > > >> >
>> > > > > > > >> > Thanks,
>> > > > > > > >> > Julie
>> > > > > > > >> >
>> > > > > > > >> > On Thu, Feb 23, 2017 at 12:11 PM, Xinxia Song via
RT <
>> > > > > > > met_help at ucar.edu
>> > > > > > > >> >
>> > > > > > > >> > wrote:
>> > > > > > > >> >
>> > > > > > > >> > >
>> > > > > > > >> > > <URL: https://rt.rap.ucar.edu/rt/
>> > > Ticket/Display.html?id=79605
>> > > > >
>> > > > > > > >> > >
>> > > > > > > >> > > Hi Julie,
>> > > > > > > >> > >
>> > > > > > > >> > >
>> > > > > > > >> > > I added it to the $PATH and ran the
>> master_met_python.py:
>> > > > > > > >> > >
>> > > > > > > >> > > [xinxia at chaos ush]$ python master_met_plus.py
>> > > > > > > >> > >
>> > > > > > > >> > > Traceback (most recent call last):
>> > > > > > > >> > >
>> > > > > > > >> > >   File "/D2/xinxia/METplus/METplus/us
>> h/extract_tiles.py",
>> > > > line
>> > > > > > 157,
>> > > > > > > >> in
>> > > > > > > >> > > <module>
>> > > > > > > >> > >
>> > > > > > > >> > >     main()
>> > > > > > > >> > >
>> > > > > > > >> > >   File "/D2/xinxia/METplus/METplus/us
>> h/extract_tiles.py",
>> > > > line
>> > > > > > 100,
>> > > > > > > >> in
>> > > > > > > >> > > main
>> > > > > > > >> > >
>> > > > > > > >> > >     filtered_out_dir)
>> > > > > > > >> > >
>> > > > > > > >> > >   File "/D2/xinxia/METplus/METplus/us
>> h/run_tc_stat.py",
>> > > line
>> > > > > 69,
>> > > > > > in
>> > > > > > > >> > > tc_stat
>> > > > > > > >> > >
>> > > > > > > >> > >     tc_stat_out =
subprocess.check_output(tc_cmd,
>> > > > > > > >> > > stderr=subprocess.STDOUT, shell=True )
>> > > > > > > >> > >
>> > > > > > > >> > > AttributeError: 'module' object has no attribute
>> > > > 'check_output'
>> > > > > > > >> > >
>> > > > > > > >> > >
>> > > > > > > >> > > Thanks,
>> > > > > > > >> > >
>> > > > > > > >> > >
>> > > > > > > >> > > Xinxia
>> > > > > > > >> > >
>> > > > > > > >> > > ________________________________
>> > > > > > > >> > > From: Julie Prestopnik via RT
<met_help at ucar.edu>
>> > > > > > > >> > > Sent: Friday, February 24, 2017 9:07:40 AM
>> > > > > > > >> > > To: Xinxia_Song at outlook.com
>> > > > > > > >> > > Subject: Re: [rt.rap.ucar.edu #79605]
ImportError: No
>> > > module
>> > > > > > named
>> > > > > > > >> > > constants_pdef
>> > > > > > > >> > >
>> > > > > > > >> > > Unfortunately, your environment does not know
where to
>> > find
>> > > > > > > >> > > run_tc_pairs.py.  Please try adding the
directory with
>> > > > > > > run_tc_pairs.py
>> > > > > > > >> > > (/D2/xinxia/METplus/METplus/ush) to your path in
your
>> > > > ~/.bashrc
>> > > > > > > file,
>> > > > > > > >> > then
>> > > > > > > >> > > run "source ~/.bashrc", then trying rerunning.
Please
>> let
>> > > me
>> > > > > know
>> > > > > > > how
>> > > > > > > >> > that
>> > > > > > > >> > > goes.
>> > > > > > > >> > >
>> > > > > > > >> > > Thanks!
>> > > > > > > >> > >
>> > > > > > > >> > > Julie
>> > > > > > > >> > >
>> > > > > > > >> > > On Thu, Feb 23, 2017 at 11:55 AM, Xinxia Song
via RT <
>> > > > > > > >> met_help at ucar.edu>
>> > > > > > > >> > > wrote:
>> > > > > > > >> > >
>> > > > > > > >> > > >
>> > > > > > > >> > > > <URL: https://rt.rap.ucar.edu/rt/
>> > > > Ticket/Display.html?id=79605
>> > > > > >
>> > > > > > > >> > > >
>> > > > > > > >> > > > Hi Julie,
>> > > > > > > >> > > >
>> > > > > > > >> > > >
>> > > > > > > >> > > > I'm running met in a machine that's owned by
our
>> > > > department, I
>> > > > > > > don't
>> > > > > > > >> > have
>> > > > > > > >> > > > sudo right, so when I type which
run_tc_pairs.py, it
>> > says
>> > > > > > couldn't
>> > > > > > > >> find
>> > > > > > > >> > > it.
>> > > > > > > >> > > >
>> > > > > > > >> > > > no run_tc_pairs.py in
(/opt/ncl/bin:/opt/intel-soft/
>> > > > > > > >> > > > bin:/opt/ncl/bin:/opt/ncl/bin:
>> > > /opt/intel-soft/bin:/opt/ncl/
>> > > > > > > >> > > > bin:/home/xinxia/anaconda/bin:
>> > /home/xinxia/anaconda/bin:/
>> > > > > > > >> > > > opt/ncl/bin:/opt/intel-soft/bi
>> > n:/opt/ncl/bin:/usr/lib64/
>> > > > > > > >> > > > qt-3.3/bin:/usr/local/bin:/bin
>> > :/usr/bin:/usr/local/sbin:/
>> > > > > > > >> > > > usr/sbin:/sbin:/sbin:/usr/sbin:/cm/local/apps/
>> > > > > > > >> > > environment-modules/3.2.10/
>> > > > > > > >> > > > bin:/home/xinxia/bin:/opt/ncl-621/bin)
>> > > > > > > >> > > >
>> > > > > > > >> > > >
>> > > > > > > >> > > > But I could find it manually in that
directory.
>> > > > > > > >> > > >
>> > > > > > > >> > > >
>> > > > > > > >> > > > Thanks,
>> > > > > > > >> > > >
>> > > > > > > >> > > >
>> > > > > > > >> > > > Xinxia
>> > > > > > > >> > > >
>> > > > > > > >> > > > ________________________________
>> > > > > > > >> > > > From: Julie Prestopnik via RT
<met_help at ucar.edu>
>> > > > > > > >> > > > Sent: Friday, February 24, 2017 8:52:16 AM
>> > > > > > > >> > > > To: Xinxia_Song at outlook.com
>> > > > > > > >> > > > Subject: Re: [rt.rap.ucar.edu #79605]
ImportError:
>> No
>> > > > module
>> > > > > > > named
>> > > > > > > >> > > > constants_pdef
>> > > > > > > >> > > >
>> > > > > > > >> > > > Hi Xinxia.
>> > > > > > > >> > > >
>> > > > > > > >> > > > It looks like you got a successful run of
tc_stat -
>> > that's
>> > > > > great
>> > > > > > > >> news!
>> > > > > > > >> > > >
>> > > > > > > >> > > > I'm not sure what you mean by "Because I don't
have
>> the
>> > > > > right, I
>> > > > > > > >> can't
>> > > > > > > >> > > find
>> > > > > > > >> > > > run_tc_pairs.py, but I know it's under
>> > > > > > > >> > > >
>> > > > > > > >> > > > /D2/xinxia/METplus/METplus/ush".
>> > > > > > > >> > > >
>> > > > > > > >> > > > Can you please explain?  What happened when
you ran
>> > "which
>> > > > > > > >> > > > run_tc_pairs.py"?
>> > > > > > > >> > > >
>> > > > > > > >> > > > Thanks,
>> > > > > > > >> > > > Julie
>> > > > > > > >> > > >
>> > > > > > > >> > > >
>> > > > > > > >> > > >
>> > > > > > > >> > > >
>> > > > > > > >> > > >
>> > > > > > > >> > > >
>> > > > > > > >> > > > On Thu, Feb 23, 2017 at 11:44 AM, Xinxia Song
via RT
>> <
>> > > > > > > >> > met_help at ucar.edu>
>> > > > > > > >> > > > wrote:
>> > > > > > > >> > > >
>> > > > > > > >> > > > >
>> > > > > > > >> > > > > <URL: https://rt.rap.ucar.edu/rt/
>> > > > > Ticket/Display.html?id=79605
>> > > > > > >
>> > > > > > > >> > > > >
>> > > > > > > >> > > > > Hi Julie,
>> > > > > > > >> > > > >
>> > > > > > > >> > > > >
>> > > > > > > >> > > > > I removed the space.
>> > > > > > > >> > > > >
>> > > > > > > >> > > > > [xinxia at chaos parm]$
>> /D2/xinxia/METplus/MET/met-5.2
>> > > > > > /bin/tc_stat
>> > > > > > > >> -job
>> > > > > > > >> > > > > filter -lookin /D2/xinxia/METplus/MET/input/
>> > > > tc_pairs/201412
>> > > > > > > >> > -init_inc
>> > > > > > > >> > > > > 20141201_00 -match_points true -dump_row
>> > > > > > > >> /D2/xinxia/METplus/MET/out/
>> > > > > > > >> > > > >
extract_tiles/20141201_00/filter_20141201_00.tcst
>> > > -basin
>> > > > > ML
>> > > > > > > >> > > > > -out_init_mask /D2/xinxia/METplus/MET/met-5.
>> > > > > > > >> > > 2/share/met/poly/CONUS.poly
>> > > > > > > >> > > > >
>> > > > > > > >> > > > > DEBUG 1: [Source 1] Lookin:
>> > > /D2/xinxia/METplus/MET/input/
>> > > > > > > >> > > tc_pairs/201412
>> > > > > > > >> > > > >
>> > > > > > > >> > > > > DEBUG 2:
>> > > > > > > >> > > > >
>> > > > > > > >> > > > > DEBUG 2: Processing Job 1: -job filter
-basin ML
>> > > -init_inc
>> > > > > > > >> > > > 20141201_000000
>> > > > > > > >> > > > > -match_points true -out_init_mask
>> > > > > > /D2/xinxia/METplus/MET/met-5.
>> > > > > > > >> > > > 2/share/met/poly/CONUS.poly
>> > > > > > > >> > > > > -dump_row /D2/xinxia/METplus/MET/out/ext
>> > > > > > ract_tiles/20141201_00/
>> > > > > > > >> > > > > filter_20141201_00.tcst
>> > > > > > > >> > > > >
>> > > > > > > >> > > > > DEBUG 1: Creating output dump file:
>> > > > > > /D2/xinxia/METplus/MET/out/
>> > > > > > > >> > > > >
extract_tiles/20141201_00/filter_20141201_00.tcst
>> > > > > > > >> > > > >
>> > > > > > > >> > > > > FILTER: -job filter -basin ML -init_inc
>> > 20141201_000000
>> > > > > > > >> -match_points
>> > > > > > > >> > > > true
>> > > > > > > >> > > > > -out_init_mask /D2/xinxia/METplus/MET/met-5.
>> > > > > > > >> > > 2/share/met/poly/CONUS.poly
>> > > > > > > >> > > > > -dump_row /D2/xinxia/METplus/MET/out/ext
>> > > > > > ract_tiles/20141201_00/
>> > > > > > > >> > > > > filter_20141201_00.tcst
>> > > > > > > >> > > > >
>> > > > > > > >> > > > >
>> > > > > > > >> > > > > DEBUG 2: Job 1 used 0 out of 27292 lines
read.
>> > > > > > > >> > > > >
>> > > > > > > >> > > > >
>> > > > > > > >> > > > > Because I don't have the right, I can't find
>> > > > > run_tc_pairs.py,
>> > > > > > > but
>> > > > > > > >> I
>> > > > > > > >> > > know
>> > > > > > > >> > > > > it's under
>> > > > > > > >> > > > >
>> > > > > > > >> > > > > /D2/xinxia/METplus/METplus/ush
>> > > > > > > >> > > > >
>> > > > > > > >> > > > >
>> > > > > > > >> > > > > For Python,
>> > > > > > > >> > > > >
>> > > > > > > >> > > > > [xinxia at chaos ~]$ which python
>> > > > > > > >> > > > >
>> > > > > > > >> > > > > /usr/bin/python
>> > > > > > > >> > > > >
>> > > > > > > >> > > > >
>> > > > > > > >> > > > > Xinxia
>> > > > > > > >> > > > >
>> > > > > > > >> > > > > ________________________________
>> > > > > > > >> > > > > From: Julie Prestopnik via RT
<met_help at ucar.edu>
>> > > > > > > >> > > > > Sent: Friday, February 24, 2017 8:30:01 AM
>> > > > > > > >> > > > > To: Xinxia_Song at outlook.com
>> > > > > > > >> > > > > Subject: Re: [rt.rap.ucar.edu #79605]
>> ImportError: No
>> > > > > module
>> > > > > > > >> named
>> > > > > > > >> > > > > constants_pdef
>> > > > > > > >> > > > >
>> > > > > > > >> > > > > Hi Xinxia.
>> > > > > > > >> > > > >
>> > > > > > > >> > > > > It looks like there is a space where there
should
>> not
>> > > be a
>> > > > > > space
>> > > > > > > >> > > (between
>> > > > > > > >> > > > > /D2/xinxia/METplus/MET/out/ext
>> ract_tiles/20141201_00/
>> > > and
>> > > > > > > >> > > > > filter_20141201_00.tcst after the -dump_row
>> option).
>> > > > > > > >> > > > >
>> > > > > > > >> > > > > Could you please try it again without the
space?
>> > > > > > > >> > > > >
>> > > > > > > >> > > > > /D2/xinxia/METplus/METplus/ush
>> /run_tc_stat.py:tc_stat
>> > > > from
>> > > > > > > >> calling
>> > > > > > > >> > MET
>> > > > > > > >> > > > > TC-STAT with command:/D2/xinxia/METplus/MET
>> > > > > > /met-5.2/bin/tc_stat
>> > > > > > > >> -job
>> > > > > > > >> > > > > filter
>> > > > > > > >> > > > > -lookin /D2/xinxia/METplus/MET/input/t
>> c_pairs/201412
>> > > > > > -init_inc
>> > > > > > > >> > > > 20141201_00
>> > > > > > > >> > > > > -match_points true -dump_row
>> > /D2/xinxia/METplus/MET/out/
>> > > > > > > >> > > > >
extract_tiles/20141201_00/filter_20141201_00.tcst
>> > > -basin
>> > > > > ML
>> > > > > > > >> > > > > -out_init_mask
>> > > > > > > >> > > > > /D2/xinxia/METplus/MET/met-5.
>> > > 2/share/met/poly/CONUS.poly
>> > > > > > > >> > > > >
>> > > > > > > >> > > > > Regarding the master_met_plus.py run, please
try
>> > running
>> > > > the
>> > > > > > > >> > following
>> > > > > > > >> > > > two
>> > > > > > > >> > > > > commands and send me the output:
>> > > > > > > >> > > > >
>> > > > > > > >> > > > > which run_tc_pairs.py
>> > > > > > > >> > > > >
>> > > > > > > >> > > > > which python
>> > > > > > > >> > > > >
>> > > > > > > >> > > > > Thanks!
>> > > > > > > >> > > > >
>> > > > > > > >> > > > > Julie
>> > > > > > > >> > > > >
>> > > > > > > >> > > > > On Thu, Feb 23, 2017 at 11:06 AM, Xinxia
Song via
>> RT <
>> > > > > > > >> > > met_help at ucar.edu>
>> > > > > > > >> > > > > wrote:
>> > > > > > > >> > > > >
>> > > > > > > >> > > > > >
>> > > > > > > >> > > > > > <URL: https://rt.rap.ucar.edu/rt/Tic
>> > > > > > ket/Display.html?id=79605
>> > > > > > > >
>> > > > > > > >> > > > > >
>> > > > > > > >> > > > > > Hi Julie,
>> > > > > > > >> > > > > >
>> > > > > > > >> > > > > >
>> > > > > > > >> > > > > > After I ran the long one line command:
>> > > > > > > >> > > > > >
>> > > > > > > >> > > > > > [xinxia at chaos parm]$
>> /D2/xinxia/METplus/MET/met-5.
>> > > > > > > 2/bin/tc_stat
>> > > > > > > >> > -job
>> > > > > > > >> > > > > > filter -lookin
/D2/xinxia/METplus/MET/input/
>> > > > > tc_pairs/201412
>> > > > > > > >> > > -init_inc
>> > > > > > > >> > > > > > 20141201_00 -match_points true -dump_row
>> > > > > > > >> > /D2/xinxia/METplus/MET/out/
>> > > > > > > >> > > > > extract_tiles/20141201_00/
>> > > > > > > >> > > > > > filter_20141201_00.tcst  -basin ML
-out_init_mask
>> > > > > > > >> > > > > > /D2/xinxia/METplus/MET/met-5.
>> > > > 2/share/met/poly/CONUS.poly
>> > > > > > > >> > > > > >
>> > > > > > > >> > > > > >
>> > > > > > > >> > > > > > DEBUG 1: [Source 1] Lookin:
>> > > > /D2/xinxia/METplus/MET/input/
>> > > > > > > >> > > > tc_pairs/201412
>> > > > > > > >> > > > > >
>> > > > > > > >> > > > > > ERROR  :
>> > > > > > > >> > > > > >
>> > > > > > > >> > > > > > ERROR  : TCStatJob
*TCStatJobFactory::new_tc_
>> > > > > stat_job(const
>> > > > > > > >> char
>> > > > > > > >> > > > > > *jobstring) -> unsupported job command
options
>> > > > > > > >> > > > "filter_20141201_00.tcst".
>> > > > > > > >> > > > > >
>> > > > > > > >> > > > > > ERROR  :
>> > > > > > > >> > > > > >
>> > > > > > > >> > > > > >
>> > > > > > > >> > > > > > And for the master_met_plus.py, I got the
error:
>> > > > > > > >> > > > > >
>> > > > > > > >> > > > > > [xinxia at chaos ush]$ python
master_met_plus.py
>> > > > > > > >> > > > > >
>> > > > > > > >> > > > > > sh: run_tc_pairs.py: command not found
>> > > > > > > >> > > > > >
>> > > > > > > >> > > > > >
>> > > > > > > >> > > > > > Thanks,
>> > > > > > > >> > > > > >
>> > > > > > > >> > > > > >
>> > > > > > > >> > > > > > Xinxia
>> > > > > > > >> > > > > >
>> > > > > > > >> > > > > > ________________________________
>> > > > > > > >> > > > > > From: Julie Prestopnik via RT
<met_help at ucar.edu
>> >
>> > > > > > > >> > > > > > Sent: Friday, February 24, 2017 7:42:21 AM
>> > > > > > > >> > > > > > To: Xinxia_Song at outlook.com
>> > > > > > > >> > > > > > Subject: Re: [rt.rap.ucar.edu #79605]
>> ImportError:
>> > No
>> > > > > > module
>> > > > > > > >> named
>> > > > > > > >> > > > > > constants_pdef
>> > > > > > > >> > > > > >
>> > > > > > > >> > > > > > My apologies, my response should have
said, "By
>> > > default,
>> > > > > MET
>> > > > > > > >> > version
>> > > > > > > >> > > > 5.2
>> > > > > > > >> > > > > is
>> > > > > > > >> > > > > > compiled using dynamic linking."  It's
true for
>> > both,
>> > > > but
>> > > > > I
>> > > > > > > see
>> > > > > > > >> > > you're
>> > > > > > > >> > > > > > using 5.2 and I inadvertently referred to
5.1.
>> > > > > > > >> > > > > >
>> > > > > > > >> > > > > > On Thu, Feb 23, 2017 at 10:40 AM, Julie
>> Prestopnik <
>> > > > > > > >> > jpresto at ucar.edu
>> > > > > > > >> > > >
>> > > > > > > >> > > > > > wrote:
>> > > > > > > >> > > > > >
>> > > > > > > >> > > > > > > Hi Xinxia.  Regarding the error:
>> > > > > > > >> > > > > > >
>> > > > > > > >> > > > > > > /D2/xinxia/METplus/MET/met-
5.2/bin/tc_stat:
>> error
>> > > > while
>> > > > > > > >> loading
>> > > > > > > >> > > > shared
>> > > > > > > >> > > > > > > libraries: libgsl.so.19: cannot open
shared
>> object
>> > > > file:
>> > > > > > No
>> > > > > > > >> such
>> > > > > > > >> > > file
>> > > > > > > >> > > > > or
>> > > > > > > >> > > > > > > directory
>> > > > > > > >> > > > > > >
>> > > > > > > >> > > > > > > By default, MET version 5.1 is compiled
using
>> > > dynamic
>> > > > > > > linking.
>> > > > > > > >> > > > Rather
>> > > > > > > >> > > > > > > than compiling the external library code
in
>> with
>> > the
>> > > > MET
>> > > > > > > >> > > executables
>> > > > > > > >> > > > > > (which
>> > > > > > > >> > > > > > > is
>> > > > > > > >> > > > > > > called static linking), it looks for
them at
>> > > runtime.
>> > > > > And
>> > > > > > > >> it's
>> > > > > > > >> > > > looking
>> > > > > > > >> > > > > > > for those "shared object" (.so) library
files.
>> > > > > > > >> > > > > > >
>> > > > > > > >> > > > > > > This should be easy to fix. We just need
to
>> tell
>> > it
>> > > > > where
>> > > > > > to
>> > > > > > > >> find
>> > > > > > > >> > > > them,
>> > > > > > > >> > > > > > > and we do that by setting (or adding to
the
>> > > > > > > LD_LIBRARY_PATH).
>> > > > > > > >> > Look
>> > > > > > > >> > > > in
>> > > > > > > >> > > > > > your
>> > > > > > > >> > > > > > > ~/.bashrc file.  If LD_LIBRARY_PATH is
already
>> > > defined
>> > > > > in
>> > > > > > > >> there,
>> > > > > > > >> > > add
>> > > > > > > >> > > > > the
>> > > > > > > >> > > > > > > path to the libgsl.so.19 to the end of
it.  If
>> > not,
>> > > > add
>> > > > > an
>> > > > > > > >> > > > > > > LD_LIBRARY_PATH entry in your ~/.bashrc
file.
>> So,
>> > > for
>> > > > > > > >> example,
>> > > > > > > >> > if
>> > > > > > > >> > > > the
>> > > > > > > >> > > > > > path
>> > > > > > > >> > > > > > > to your libgsl.so.19 file is
>> > > > > > /D2/xinxia/METplus/MET/externa
>> > > > > > > >> > > > > > l_libs/GSL/gsl-1.16/lib
>> > > > > > > >> > > > > > > you would add teh following to your
~/.bashrc
>> > file:
>> > > > > > > >> > > > > > >
>> > > > > > > >> > > > > > >   export LD_LIBRARY_PATH=/D2/xinxia/
>> > > > > > > >> > METplus/MET/external_libs/GSL/
>> > > > > > > >> > > > > > > gsl-1.16/lib
>> > > > > > > >> > > > > > >
>> > > > > > > >> > > > > > > Then save the change and source that
file:
>> > > > > > > >> > > > > > >
>> > > > > > > >> > > > > > >   source ~/.bashrc
>> > > > > > > >> > > > > > >
>> > > > > > > >> > > > > > > Then, please try rerunning the command
manually
>> > and
>> > > > let
>> > > > > me
>> > > > > > > >> know
>> > > > > > > >> > if
>> > > > > > > >> > > it
>> > > > > > > >> > > > > > > works.
>> > > > > > > >> > > > > > >
>> > > > > > > >> > > > > > > I believe that this was the cause of the
>> initial
>> > > error
>> > > > > you
>> > > > > > > >> > received
>> > > > > > > >> > > > > from
>> > > > > > > >> > > > > > > MET+:
>> > > > > > > >> > > > > > >
>> > > > > > > >> > > > > > > ERROR| /D2/xinxia/METplus/METplus/
>> > > > > > > ush/run_tc_stat.py:tc_stat
>> > > > > > > >> > from
>> > > > > > > >> > > > > > calling
>> > > > > > > >> > > > > > > MET TC-STAT with
command:/D2/xinxia/METplus/
>> > > > > > > >> > > MET/met-5.2/bin/tc_stat
>> > > > > > > >> > > > > -job
>> > > > > > > >> > > > > > > filter -lookin
/D2/xinxia/METplus/MET/input/t
>> > > > > > c_pairs/201412
>> > > > > > > >> > > > -init_inc
>> > > > > > > >> > > > > > > 20141201_00 -match_points true -dump_row
>> > > > > > > >> > > > /D2/xinxia/METplus/MET/out/ext
>> > > > > > > >> > > > > > >
ract_tiles/20141201_00/filter_20141201_00.tcst
>> > > > -basin
>> > > > > ML
>> > > > > > > >> > > > > -out_init_mask
>> > > > > > > >> > > > > > > /D2/xinxia/METplus/MET/met-5.
>> > > > > 2/share/met/poly/CONUS.poly
>> > > > > > > >> > > > > > >
>> > > > > > > >> > > > > > >
>> > > > > > > >> > > > > > > Thanks,
>> > > > > > > >> > > > > > > Julie
>> > > > > > > >> > > > > > >
>> > > > > > > >> > > > > > > On Thu, Feb 23, 2017 at 10:14 AM, Xinxia
Song
>> via
>> > > RT <
>> > > > > > > >> > > > > met_help at ucar.edu>
>> > > > > > > >> > > > > > > wrote:
>> > > > > > > >> > > > > > >
>> > > > > > > >> > > > > > >>
>> > > > > > > >> > > > > > >> <URL: https://rt.rap.ucar.edu/rt/Tic
>> > > > > > > >> ket/Display.html?id=79605 >
>> > > > > > > >> > > > > > >>
>> > > > > > > >> > > > > > >> Hi Julie,
>> > > > > > > >> > > > > > >>
>> > > > > > > >> > > > > > >>
>> > > > > > > >> > > > > > >> [xinxia at chaos ush]$
>> > /D2/xinxia/METplus/MET/met-5.2
>> > > > > > > >> /bin/tc_stat
>> > > > > > > >> > > -job
>> > > > > > > >> > > > > > >> filter -lookin
/D2/xinxia/METplus/MET/input/
>> > > > > > > tc_pairs/201412
>> > > > > > > >> > > > -init_inc
>> > > > > > > >> > > > > > >> 20141201_00 -match_points true
-dump_row
>> > > > > > > >> > > > > /D2/xinxia/METplus/MET/out/ext
>> > > > > > > >> > > > > > ract_tiles/20141201_00/
>> > > > > > > >> > > > > > >> filter_20141201_00.tcst  -basin ML
>> -out_init_mask
>> > > > > > > >> > > > > > >> /D2/xinxia/METplus/MET/met-5.
>> > > > > 2/share/met/poly/CONUS.poly
>> > > > > > > >> > > > > > >>
>> > > > > > > >> > > > > > >> /D2/xinxia/METplus/MET/met-
5.2/bin/tc_stat:
>> > error
>> > > > > while
>> > > > > > > >> loading
>> > > > > > > >> > > > > shared
>> > > > > > > >> > > > > > >> libraries: libgsl.so.19: cannot open
shared
>> > object
>> > > > > file:
>> > > > > > No
>> > > > > > > >> such
>> > > > > > > >> > > > file
>> > > > > > > >> > > > > or
>> > > > > > > >> > > > > > >> directory
>> > > > > > > >> > > > > > >>
>> > > > > > > >> > > > > > >>
>> > > > > > > >> > > > > > >> And I uploaded the configuration file
>> > > > > (constants_pdef.py)
>> > > > > > > >> under
>> > > > > > > >> > > > > > >> xinxia_data directory.
>> > > > > > > >> > > > > > >>
>> > > > > > > >> > > > > > >>
>> > > > > > > >> > > > > > >> Thanks,
>> > > > > > > >> > > > > > >>
>> > > > > > > >> > > > > > >>
>> > > > > > > >> > > > > > >> Xinxia
>> > > > > > > >> > > > > > >>
>> > > > > > > >> > > > > > >> ________________________________
>> > > > > > > >> > > > > > >> From: Julie Prestopnik via RT <
>> met_help at ucar.edu
>> > >
>> > > > > > > >> > > > > > >> Sent: Friday, February 24, 2017 6:15:57
AM
>> > > > > > > >> > > > > > >> To: Xinxia_Song at outlook.com
>> > > > > > > >> > > > > > >> Subject: Re: [rt.rap.ucar.edu #79605]
>> > ImportError:
>> > > > No
>> > > > > > > module
>> > > > > > > >> > > named
>> > > > > > > >> > > > > > >> constants_pdef
>> > > > > > > >> > > > > > >>
>> > > > > > > >> > > > > > >> Hi Xinxia.
>> > > > > > > >> > > > > > >>
>> > > > > > > >> > > > > > >> I can see that your command, which
should have
>> > been
>> > > > all
>> > > > > > on
>> > > > > > > >> one
>> > > > > > > >> > > line,
>> > > > > > > >> > > > > was
>> > > > > > > >> > > > > > >> broken up into several lines.  Please
try
>> running
>> > > the
>> > > > > > > command
>> > > > > > > >> > > again,
>> > > > > > > >> > > > > > >> making
>> > > > > > > >> > > > > > >> sure that the entire command is on one
line:
>> > > > > > > >> > > > > > >>
>> > > > > > > >> > > > > > >> /D2/xinxia/METplus/MET/met-
5.2/bin/tc_stat
>> -job
>> > > > filter
>> > > > > > > >> -lookin
>> > > > > > > >> > > > > > >>
/D2/xinxia/METplus/MET/input/tc_pairs/201412
>> > > > -init_inc
>> > > > > > > >> > > 20141201_00
>> > > > > > > >> > > > > > >> -match_points true -dump_row
>> > > > > > > >> > > > > > >> /D2/xinxia/METplus/MET/out/
>> > > > extract_tiles/20141201_00/
>> > > > > > > >> > > > > > >> filter_20141201_00.tcst  -basin ML
>> -out_init_mask
>> > > > > > > >> > > > > > >> /D2/xinxia/METplus/MET/met-5.
>> > > > > 2/share/met/poly/CONUS.poly
>> > > > > > > >> > > > > > >>
>> > > > > > > >> > > > > > >> Then, please send the output from that
>> command.
>> > > > > > > >> > > > > > >>
>> > > > > > > >> > > > > > >> Regarding, your error:
>> > > > > > > >> > > > > > >>
>> > > > > > > >> > > > > > >> sh: run_tc_pairs.py: command not found
>> > > > > > > >> > > > > > >>
>> > > > > > > >> > > > > > >> It's strange that would only have
occurred
>> after
>> > > > having
>> > > > > > > >> changed
>> > > > > > > >> > > the
>> > > > > > > >> > > > > > >> LOG_LEVEL.  Could you please send us
your
>> > > > configuration
>> > > > > > > file?
>> > > > > > > >> > > > > > >>
>> > > > > > > >> > > > > > >> Thanks!
>> > > > > > > >> > > > > > >>
>> > > > > > > >> > > > > > >> Julie
>> > > > > > > >> > > > > > >>
>> > > > > > > >> > > > > > >> On Wed, Feb 22, 2017 at 2:54 PM, Xinxia
Song
>> via
>> > > RT <
>> > > > > > > >> > > > > met_help at ucar.edu>
>> > > > > > > >> > > > > > >> wrote:
>> > > > > > > >> > > > > > >>
>> > > > > > > >> > > > > > >> >
>> > > > > > > >> > > > > > >> > <URL: https://rt.rap.ucar.edu/rt/Tic
>> > > > > > > >> ket/Display.html?id=79605
>> > > > > > > >> > >
>> > > > > > > >> > > > > > >> >
>> > > > > > > >> > > > > > >> > Hi Julie,
>> > > > > > > >> > > > > > >> >
>> > > > > > > >> > > > > > >> >
>> > > > > > > >> > > > > > >> > [xinxia at chaos ush]$
>> > > /D2/xinxia/METplus/MET/met-5.
>> > > > > > > >> > 2/bin/tc_stat
>> > > > > > > >> > > > -job
>> > > > > > > >> > > > > > >> > filter -lookin
>> > > > > > > >> > > > > > >> >
>> > > > > > > >> > > > > > >> > /D2/xinxia/METplus/MET/met-
5.2/bin/tc_stat:
>> > > error
>> > > > > > while
>> > > > > > > >> > loading
>> > > > > > > >> > > > > > shared
>> > > > > > > >> > > > > > >> > libraries: libgsl.so.19: cannot open
shared
>> > > object
>> > > > > > file:
>> > > > > > > No
>> > > > > > > >> > such
>> > > > > > > >> > > > > file
>> > > > > > > >> > > > > > or
>> > > > > > > >> > > > > > >> > directory
>> > > > > > > >> > > > > > >> >
>> > > > > > > >> > > > > > >> >
>> > > > > > > >> > > > > > >> > [xinxia at chaos ush]$
>> > > /D2/xinxia/METplus/MET/input/
>> > > > > > > >> > > tc_pairs/201412
>> > > > > > > >> > > > > > >> > -init_inc 20141201_00 -match_points
true
>> > > -dump_row
>> > > > > > > >> > > > > > >> >
>> > > > > > > >> > > > > > >> > -bash: /D2/xinxia/METplus/MET/input/
>> > > > tc_pairs/201412:
>> > > > > > is
>> > > > > > > a
>> > > > > > > >> > > > directory
>> > > > > > > >> > > > > > >> >
>> > > > > > > >> > > > > > >> >
>> > > > > > > >> > > > > > >> > [xinxia at chaos ush]$
>> > > /D2/xinxia/METplus/MET/out/ext
>> > > > > > > >> > > > > > >> ract_tiles/20141201_00/
>> > > > > > > >> > > > > > >> > filter_20141201_00.tcst  -basin ML
>> > -out_init_mask
>> > > > > > > >> > > > > > >> > /D2/xinxia/METplus/MET/met-5.2
>> > > > > > /share/met/poly/CONUS.poly
>> > > > > > > >> > > > > > >> >
>> > > > > > > >> > > > > > >> > -bash: /D2/xinxia/METplus/MET/out/ext
>> > > > > > > >> ract_tiles/20141201_00/:
>> > > > > > > >> > > No
>> > > > > > > >> > > > > such
>> > > > > > > >> > > > > > >> > file or directory
>> > > > > > > >> > > > > > >> >
>> > > > > > > >> > > > > > >> >
>> > > > > > > >> > > > > > >> > After I change the LOG_LEVEL, I ran
the
>> > > > > > > >> master_met_plus.py, it
>> > > > > > > >> > > > says:
>> > > > > > > >> > > > > > >> >
>> > > > > > > >> > > > > > >> > [xinxia at chaos ush]$ python
>> master_met_plus.py
>> > > > > > > >> > > > > > >> >
>> > > > > > > >> > > > > > >> > sh: run_tc_pairs.py: command not
found
>> > > > > > > >> > > > > > >> >
>> > > > > > > >> > > > > > >> >
>> > > > > > > >> > > > > > >> >
>> > > > > > > >> > > > > > >> > Thanks,
>> > > > > > > >> > > > > > >> >
>> > > > > > > >> > > > > > >> >
>> > > > > > > >> > > > > > >> > Xinxia
>> > > > > > > >> > > > > > >> >
>> > > > > > > >> > > > > > >> >
>> > > > > > > >> > > > > > >> > ________________________________
>> > > > > > > >> > > > > > >> > From: Julie Prestopnik via RT <
>> > met_help at ucar.edu
>> > > >
>> > > > > > > >> > > > > > >> > Sent: Thursday, February 23, 2017
10:04:55
>> AM
>> > > > > > > >> > > > > > >> > To: Xinxia_Song at outlook.com
>> > > > > > > >> > > > > > >> > Subject: Re: [rt.rap.ucar.edu #79605]
>> > > ImportError:
>> > > > > No
>> > > > > > > >> module
>> > > > > > > >> > > > named
>> > > > > > > >> > > > > > >> > constants_pdef
>> > > > > > > >> > > > > > >> >
>> > > > > > > >> > > > > > >> > Thank you.  Unfortunately, the level
of
>> detail
>> > in
>> > > > the
>> > > > > > log
>> > > > > > > >> file
>> > > > > > > >> > > > > wasn't
>> > > > > > > >> > > > > > >> what
>> > > > > > > >> > > > > > >> > I hoped for.  I'd like to have you
try two
>> > > things.
>> > > > > > > >> > > > > > >> >
>> > > > > > > >> > > > > > >> > First, could you please send me your
output
>> of
>> > > your
>> > > > > > > manual
>> > > > > > > >> run
>> > > > > > > >> > > of
>> > > > > > > >> > > > > the
>> > > > > > > >> > > > > > >> > following?
>> > > > > > > >> > > > > > >> >
>> > > > > > > >> > > > > > >> > "/D2/xinxia/METplus/MET/met-
5.2/bin/tc_stat
>> > -job
>> > > > > > filter
>> > > > > > > >> > -lookin
>> > > > > > > >> > > > > > >> > /D2/xinxia/METplus/MET/input/t
>> c_pairs/201412
>> > > > > -init_inc
>> > > > > > > >> > > > 20141201_00
>> > > > > > > >> > > > > > >> > -match_points true -dump_row
>> > > > > > /D2/xinxia/METplus/MET/out/
>> > > > > > > >> > > > > > >> > extract_tiles/20141201_00/
>> > > filter_20141201_00.tcst
>> > > > > > > -basin
>> > > > > > > >> ML
>> > > > > > > >> > > > > > >> > -out_init_mask
>> > > > > > > >> > > > > > >> > /D2/xinxia/METplus/MET/met-5.
>> > > > > > > 2/share/met/poly/CONUS.poly"
>> > > > > > > >> > > > > > >> >
>> > > > > > > >> > > > > > >> > Second, could you please change your
log
>> level
>> > in
>> > > > > your
>> > > > > > > >> > > > configuration
>> > > > > > > >> > > > > > >> file
>> > > > > > > >> > > > > > >> > from
>> > > > > > > >> > > > > > >> >
>> > > > > > > >> > > > > > >> > LOG_LEVEL = "INFO"
>> > > > > > > >> > > > > > >> >
>> > > > > > > >> > > > > > >> > to
>> > > > > > > >> > > > > > >> >
>> > > > > > > >> > > > > > >> > LOG_LEVEL = "DEBUG"
>> > > > > > > >> > > > > > >> >
>> > > > > > > >> > > > > > >> > then rerun and upload your log file
to our
>> ftp
>> > > > server
>> > > > > > > >> again?
>> > > > > > > >> > > > > > >> >
>> > > > > > > >> > > > > > >> > Thank you!
>> > > > > > > >> > > > > > >> >
>> > > > > > > >> > > > > > >> > Julie
>> > > > > > > >> > > > > > >> >
>> > > > > > > >> > > > > > >> >
>> > > > > > > >> > > > > > >> > On Wed, Feb 22, 2017 at 12:39 PM,
Xinxia
>> Song
>> > via
>> > > > RT
>> > > > > <
>> > > > > > > >> > > > > > met_help at ucar.edu
>> > > > > > > >> > > > > > >> >
>> > > > > > > >> > > > > > >> > wrote:
>> > > > > > > >> > > > > > >> >
>> > > > > > > >> > > > > > >> > >
>> > > > > > > >> > > > > > >> > > <URL: https://rt.rap.ucar.edu/rt/
>> > > > > > > >> > Ticket/Display.html?id=79605
>> > > > > > > >> > > >
>> > > > > > > >> > > > > > >> > >
>> > > > > > > >> > > > > > >> > > Hi Julie,
>> > > > > > > >> > > > > > >> > >
>> > > > > > > >> > > > > > >> > >
>> > > > > > > >> > > > > > >> > > I uploaded the log file under
xinxia_data
>> > > > > directory.
>> > > > > > > >> > > > > > >> > >
>> > > > > > > >> > > > > > >> > >
>> > > > > > > >> > > > > > >> > > Thanks,
>> > > > > > > >> > > > > > >> > >
>> > > > > > > >> > > > > > >> > >
>> > > > > > > >> > > > > > >> > > Xinxia
>> > > > > > > >> > > > > > >> > >
>> > > > > > > >> > > > > > >> > >
>> > > > > > > >> > > > > > >> > > ________________________________
>> > > > > > > >> > > > > > >> > > From: Julie Prestopnik via RT <
>> > > met_help at ucar.edu
>> > > > >
>> > > > > > > >> > > > > > >> > > Sent: Thursday, February 23, 2017
9:11:32
>> AM
>> > > > > > > >> > > > > > >> > > To: Xinxia_Song at outlook.com
>> > > > > > > >> > > > > > >> > > Subject: Re: [rt.rap.ucar.edu
#79605]
>> > > > ImportError:
>> > > > > > No
>> > > > > > > >> > module
>> > > > > > > >> > > > > named
>> > > > > > > >> > > > > > >> > > constants_pdef
>> > > > > > > >> > > > > > >> > >
>> > > > > > > >> > > > > > >> > > Hi Xinxia.
>> > > > > > > >> > > > > > >> > >
>> > > > > > > >> > > > > > >> > > I think it would be helpful if I
could
>> take a
>> > > > look
>> > > > > at
>> > > > > > > the
>> > > > > > > >> > log
>> > > > > > > >> > > > > file.
>> > > > > > > >> > > > > > >> > Could
>> > > > > > > >> > > > > > >> > > you please upload your file to our
>> anonymous
>> > > ftp
>> > > > > site
>> > > > > > > as
>> > > > > > > >> > > follows
>> > > > > > > >> > > > > so
>> > > > > > > >> > > > > > >> that
>> > > > > > > >> > > > > > >> > I
>> > > > > > > >> > > > > > >> > > can take a look?
>> > > > > > > >> > > > > > >> > >
>> > > > > > > >> > > > > > >> > >    http://www.dtcenter.org/met/
>> > > > > > > >> > users/support/met_help.php#ftp
>> > > > > > > >> > > > > > >> > >
>> > > > > > > >> > > > > > >> > > Also, could you please try running
the
>> > > following
>> > > > > > > manually
>> > > > > > > >> > and
>> > > > > > > >> > > > send
>> > > > > > > >> > > > > > the
>> > > > > > > >> > > > > > >> > > output to me?
>> > > > > > > >> > > > > > >> > >
>> > > > > > > >> > > > > > >> > > "/D2/xinxia/METplus/MET/met-5.
>> 2/bin/tc_stat
>> > > -job
>> > > > > > > filter
>> > > > > > > >> > > -lookin
>> > > > > > > >> > > > > > >> > > /D2/xinxia/METplus/MET/input/t
>> c_pairs/201412
>> > > > > > -init_inc
>> > > > > > > >> > > > > 20141201_00
>> > > > > > > >> > > > > > >> > > -match_points true -dump_row
>> > > > > > > /D2/xinxia/METplus/MET/out/
>> > > > > > > >> > > > > > >> > > extract_tiles/20141201_00/
>> > > > filter_20141201_00.tcst
>> > > > > > > >> -basin
>> > > > > > > >> > ML
>> > > > > > > >> > > > > > >> > > -out_init_mask
>> > > > > > > >> > > > > > >> > > /D2/xinxia/METplus/MET/met-5.2
>> > > > > > > >> /share/met/poly/CONUS.poly"
>> > > > > > > >> > > > > > >> > >
>> > > > > > > >> > > > > > >> > > Thank you!
>> > > > > > > >> > > > > > >> > >
>> > > > > > > >> > > > > > >> > > Julie
>> > > > > > > >> > > > > > >> > >
>> > > > > > > >> > > > > > >> > >
>> > > > > > > >> > > > > > >> > >
>> > > > > > > >> > > > > > >> > > On Wed, Feb 22, 2017 at 12:06 PM,
Xinxia
>> Song
>> > > via
>> > > > > RT
>> > > > > > <
>> > > > > > > >> > > > > > >> met_help at ucar.edu>
>> > > > > > > >> > > > > > >> > > wrote:
>> > > > > > > >> > > > > > >> > >
>> > > > > > > >> > > > > > >> > > >
>> > > > > > > >> > > > > > >> > > > <URL: https://rt.rap.ucar.edu/rt/
>> > > > > > > >> > > Ticket/Display.html?id=79605
>> > > > > > > >> > > > >
>> > > > > > > >> > > > > > >> > > >
>> > > > > > > >> > > > > > >> > > > Hi Julie,
>> > > > > > > >> > > > > > >> > > >
>> > > > > > > >> > > > > > >> > > >
>> > > > > > > >> > > > > > >> > > > Now I can run the program, but
when I
>> look
>> > at
>> > > > the
>> > > > > > log
>> > > > > > > >> file
>> > > > > > > >> > > in
>> > > > > > > >> > > > > the
>> > > > > > > >> > > > > > >> > output,
>> > > > > > > >> > > > > > >> > > > it shows error below:
>> > > > > > > >> > > > > > >> > > >
>> > > > > > > >> > > > > > >> > > >
>> > > > > > > >> > > > > > >> > > > ERROR|
/D2/xinxia/METplus/METplus/
>> > > > > > > >> > > ush/run_tc_stat.py:tc_stat
>> > > > > > > >> > > > > from
>> > > > > > > >> > > > > > >> > > calling
>> > > > > > > >> > > > > > >> > > > MET TC-STAT with
>> > > command:/D2/xinxia/METplus/MET
>> > > > > > > >> > > > > > /met-5.2/bin/tc_stat
>> > > > > > > >> > > > > > >> > -job
>> > > > > > > >> > > > > > >> > > > filter -lookin
>> > /D2/xinxia/METplus/MET/input/
>> > > > > > > >> > tc_pairs/201412
>> > > > > > > >> > > > > > >> -init_inc
>> > > > > > > >> > > > > > >> > > > 20141201_00 -match_points true
-dump_row
>> > > > > > > >> > > > > > /D2/xinxia/METplus/MET/out/
>> > > > > > > >> > > > > > >> > > > extract_tiles/20141201_00/
>> > > > > filter_20141201_00.tcst
>> > > > > > > >> -basin
>> > > > > > > >> > > ML
>> > > > > > > >> > > > > > >> > > > -out_init_mask
>> > /D2/xinxia/METplus/MET/met-5.
>> > > > > > > >> > > > > > >> > 2/share/met/poly/CONUS.poly
>> > > > > > > >> > > > > > >> > > >
>> > > > > > > >> > > > > > >> > > >
>> > > > > > > >> > > > > > >> > > > How should I fix it?
>> > > > > > > >> > > > > > >> > > >
>> > > > > > > >> > > > > > >> > > >
>> > > > > > > >> > > > > > >> > > > Thanks,
>> > > > > > > >> > > > > > >> > > >
>> > > > > > > >> > > > > > >> > > >
>> > > > > > > >> > > > > > >> > > > Xinxia
>> > > > > > > >> > > > > > >> > > >
>> > > > > > > >> > > > > > >> > > > ________________________________
>> > > > > > > >> > > > > > >> > > > From: Julie Prestopnik via RT <
>> > > > met_help at ucar.edu
>> > > > > >
>> > > > > > > >> > > > > > >> > > > Sent: Thursday, February 23, 2017
>> 7:30:06
>> > AM
>> > > > > > > >> > > > > > >> > > > To: Xinxia_Song at outlook.com
>> > > > > > > >> > > > > > >> > > > Subject: Re: [rt.rap.ucar.edu
#79605]
>> > > > > ImportError:
>> > > > > > > No
>> > > > > > > >> > > module
>> > > > > > > >> > > > > > named
>> > > > > > > >> > > > > > >> > > > constants_pdef
>> > > > > > > >> > > > > > >> > > >
>> > > > > > > >> > > > > > >> > > > Hi Xinxia.
>> > > > > > > >> > > > > > >> > > >
>> > > > > > > >> > > > > > >> > > > I believe that python doesn't
know how
>> to
>> > > find
>> > > > > the
>> > > > > > > >> module
>> > > > > > > >> > > > > because
>> > > > > > > >> > > > > > >> the
>> > > > > > > >> > > > > > >> > ush
>> > > > > > > >> > > > > > >> > > > directory is not in your
PYTHONPATH.
>> Both
>> > > the
>> > > > > parm
>> > > > > > > and
>> > > > > > > >> > ush
>> > > > > > > >> > > > > > >> directory
>> > > > > > > >> > > > > > >> > > need
>> > > > > > > >> > > > > > >> > > > to be specified in your
PYTHONPATH.
>> Please
>> > > add
>> > > > > the
>> > > > > > > ush
>> > > > > > > >> > > > > directory
>> > > > > > > >> > > > > > to
>> > > > > > > >> > > > > > >> > your
>> > > > > > > >> > > > > > >> > > > PYTHONPATH, source ~/.bashrc, and
let us
>> > know
>> > > > how
>> > > > > > it
>> > > > > > > >> goes.
>> > > > > > > >> > > > > > >> > > >
>> > > > > > > >> > > > > > >> > > > Thanks,
>> > > > > > > >> > > > > > >> > > > Julie
>> > > > > > > >> > > > > > >> > > >
>> > > > > > > >> > > > > > >> > > > On Wed, Feb 22, 2017 at 10:24 AM,
Xinxia
>> > Song
>> > > > via
>> > > > > > RT
>> > > > > > > <
>> > > > > > > >> > > > > > >> > met_help at ucar.edu>
>> > > > > > > >> > > > > > >> > > > wrote:
>> > > > > > > >> > > > > > >> > > >
>> > > > > > > >> > > > > > >> > > > >
>> > > > > > > >> > > > > > >> > > > > <URL:
https://rt.rap.ucar.edu/rt/
>> > > > > > > >> > > > Ticket/Display.html?id=79605
>> > > > > > > >> > > > > >
>> > > > > > > >> > > > > > >> > > > >
>> > > > > > > >> > > > > > >> > > > > Hi Julie,
>> > > > > > > >> > > > > > >> > > > >
>> > > > > > > >> > > > > > >> > > > >
>> > > > > > > >> > > > > > >> > > > > Since I don't have setenv, I
added
>> these
>> > 3
>> > > > > > sentence
>> > > > > > > >> into
>> > > > > > > >> > > my
>> > > > > > > >> > > > > > >> .bashrc
>> > > > > > > >> > > > > > >> > > file:
>> > > > > > > >> > > > > > >> > > > >
>> > > > > > > >> > > > > > >> > > > >
>> > > > > > > >> > > > > > >> > > > > export PYTHONPATH="/D2/xinxia/
>> > > > > > > METplus/METplus/parm"
>> > > > > > > >> > > > > > >> > > > >
>> > > > > > > >> > > > > > >> > > > >
>> > > > > > > >> > > > > > >> > > > > export
USHROOT=/D2/xinxia/METplus/
>> > > > METplus/ush
>> > > > > > > >> > > > > > >> > > > >
>> > > > > > > >> > > > > > >> > > > > export PATH=$USHROOT:$PATH
>> > > > > > > >> > > > > > >> > > > >
>> > > > > > > >> > > > > > >> > > > >
>> > > > > > > >> > > > > > >> > > > > I sourced the ~/.bashrc, and
checked
>> that
>> > > the
>> > > > > > > >> variables
>> > > > > > > >> > > are
>> > > > > > > >> > > > > set,
>> > > > > > > >> > > > > > >> but
>> > > > > > > >> > > > > > >> > > the
>> > > > > > > >> > > > > > >> > > > > program still can't find the
module.
>> > > > > > > >> > > > > > >> > > > >
>> > > > > > > >> > > > > > >> > > > >
>> > > > > > > >> > > > > > >> > > > > Thanks,
>> > > > > > > >> > > > > > >> > > > >
>> > > > > > > >> > > > > > >> > > > > Xinxia
>> > > > > > > >> > > > > > >> > > > >
>> > > > > > > >> > > > > > >> > > > >
________________________________
>> > > > > > > >> > > > > > >> > > > > From: Julie Prestopnik via RT <
>> > > > > met_help at ucar.edu
>> > > > > > >
>> > > > > > > >> > > > > > >> > > > > Sent: Thursday, February 23,
2017
>> 6:24:21
>> > > AM
>> > > > > > > >> > > > > > >> > > > > To: Xinxia_Song at outlook.com
>> > > > > > > >> > > > > > >> > > > > Subject: Re: [rt.rap.ucar.edu
#79605]
>> > > > > > ImportError:
>> > > > > > > >> No
>> > > > > > > >> > > > module
>> > > > > > > >> > > > > > >> named
>> > > > > > > >> > > > > > >> > > > > constants_pdef
>> > > > > > > >> > > > > > >> > > > >
>> > > > > > > >> > > > > > >> > > > > Hi Xinxia.
>> > > > > > > >> > > > > > >> > > > >
>> > > > > > > >> > > > > > >> > > > > Could you please check to make
sure
>> that
>> > > the
>> > > > > ush
>> > > > > > > >> > directory
>> > > > > > > >> > > > > with
>> > > > > > > >> > > > > > >> > > > > constants_pdef.py is in your
>> PYTHONPATH
>> > in
>> > > > your
>> > > > > > > >> .cshrc
>> > > > > > > >> > > file
>> > > > > > > >> > > > > (or
>> > > > > > > >> > > > > > >> > .bashrc
>> > > > > > > >> > > > > > >> > > > or
>> > > > > > > >> > > > > > >> > > > > similar file)?  The parm
directory
>> should
>> > > > also
>> > > > > be
>> > > > > > > in
>> > > > > > > >> > your
>> > > > > > > >> > > > > > >> PYTHONPATH.
>> > > > > > > >> > > > > > >> > > > >
>> > > > > > > >> > > > > > >> > > > > For example,
>> > > > > > > >> > > > > > >> > > > >
>> > > > > > > >> > > > > > >> > > > > setenv PYTHONPATH
>> > > > /d1/jpresto/sbu/METplus/ush:/
>> > > > > > > >> > > > > > >> > > > d1/jpresto/sbu/METplus/parm
>> > > > > > > >> > > > > > >> > > > >
>> > > > > > > >> > > > > > >> > > > > Please also check make sure
that the
>> path
>> > > to
>> > > > > the
>> > > > > > > ush
>> > > > > > > >> > > > directory
>> > > > > > > >> > > > > > is
>> > > > > > > >> > > > > > >> > also
>> > > > > > > >> > > > > > >> > > > > specified your your path
environment
>> > > > variable.
>> > > > > > For
>> > > > > > > >> > > example,
>> > > > > > > >> > > > > > >> > > > >
>> > > > > > > >> > > > > > >> > > > > set path = (/usr/local/bin \
>> > > > > > > >> > > > > > >> > > > >
>> > > > /usr/local/python/bin/python \
>> > > > > > > >> > > > > > >> > > > >
>> > > /d1/jpresto/sbu/METplus/ush
>> > > > )
>> > > > > > > >> > > > > > >> > > > >
>> > > > > > > >> > > > > > >> > > > > If they are not there, please
add them
>> > and
>> > > > then
>> > > > > > > >> source
>> > > > > > > >> > the
>> > > > > > > >> > > > > file
>> > > > > > > >> > > > > > >> (e.g.
>> > > > > > > >> > > > > > >> > > run
>> > > > > > > >> > > > > > >> > > > > "source ~/.cshrc").
>> > > > > > > >> > > > > > >> > > > >
>> > > > > > > >> > > > > > >> > > > > Thank you!  Please let us know
how it
>> > goes.
>> > > > > > > >> > > > > > >> > > > >
>> > > > > > > >> > > > > > >> > > > > Julie
>> > > > > > > >> > > > > > >> > > > >
>> > > > > > > >> > > > > > >> > > > >
>> > > > > > > >> > > > > > >> > > > >
>> > > > > > > >> > > > > > >> > > > >
>> > > > > > > >> > > > > > >> > > > > On Tue, Feb 21, 2017 at 4:49
PM,
>> Xinxia
>> > > Song
>> > > > > via
>> > > > > > > RT <
>> > > > > > > >> > > > > > >> > met_help at ucar.edu
>> > > > > > > >> > > > > > >> > > >
>> > > > > > > >> > > > > > >> > > > > wrote:
>> > > > > > > >> > > > > > >> > > > >
>> > > > > > > >> > > > > > >> > > > > >
>> > > > > > > >> > > > > > >> > > > > > Tue Feb 21 16:49:28 2017:
Request
>> 79605
>> > > was
>> > > > > > acted
>> > > > > > > >> > upon.
>> > > > > > > >> > > > > > >> > > > > > Transaction: Ticket created
by
>> > > > > > > >> > Xinxia_Song at outlook.com
>> > > > > > > >> > > > > > >> > > > > >        Queue: met_help
>> > > > > > > >> > > > > > >> > > > > >      Subject: ImportError: No
module
>> > > named
>> > > > > > > >> > > constants_pdef
>> > > > > > > >> > > > > > >> > > > > >        Owner: Nobody
>> > > > > > > >> > > > > > >> > > > > >   Requestors:
>> Xinxia_Song at outlook.com
>> > > > > > > >> > > > > > >> > > > > >       Status: new
>> > > > > > > >> > > > > > >> > > > > >  Ticket <URL:
>> > > https://rt.rap.ucar.edu/rt/
>> > > > > > > >> > > > > > >> > > Ticket/Display.html?id=79605
>> > > > > > > >> > > > > > >> > > > >
>> > > > > > > >> > > > > > >> > > > > >
>> > > > > > > >> > > > > > >> > > > > >
>> > > > > > > >> > > > > > >> > > > > > Hi,
>> > > > > > > >> > > > > > >> > > > > >
>> > > > > > > >> > > > > > >> > > > > >
>> > > > > > > >> > > > > > >> > > > > > When I ran the
mater_met_plus.py, it
>> > > says:
>> > > > > > > >> > > > > > >> > > > > >
>> > > > > > > >> > > > > > >> > > > > >
>> > > > > > > >> > > > > > >> > > > > > ImportError: No module named
>> > > constants_pdef
>> > > > > > > >> > > > > > >> > > > > >
>> > > > > > > >> > > > > > >> > > > > >
>> > > > > > > >> > > > > > >> > > > > > Seems it doesn't recognize
>> > constants_pdef
>> > > > as
>> > > > > > its
>> > > > > > > >> > module.
>> > > > > > > >> > > > > > >> > > > > >
>> > > > > > > >> > > > > > >> > > > > >
>> > > > > > > >> > > > > > >> > > > > > Thanks,
>> > > > > > > >> > > > > > >> > > > > >
>> > > > > > > >> > > > > > >> > > > > > Xinxia
>> > > > > > > >> > > > > > >> > > > > >
>> > > > > > > >> > > > > > >> > > > > >
>> > > > > > > >> > > > > > >> > > > >
>> > > > > > > >> > > > > > >> > > > >
>> > > > > > > >> > > > > > >> > > > >
>> > > > > > > >> > > > > > >> > > >
>> > > > > > > >> > > > > > >> > > >
>> > > > > > > >> > > > > > >> > > >
>> > > > > > > >> > > > > > >> > >
>> > > > > > > >> > > > > > >> > >
>> > > > > > > >> > > > > > >> > >
>> > > > > > > >> > > > > > >> >
>> > > > > > > >> > > > > > >> >
>> > > > > > > >> > > > > > >> >
>> > > > > > > >> > > > > > >>
>> > > > > > > >> > > > > > >>
>> > > > > > > >> > > > > > >>
>> > > > > > > >> > > > > > >
>> > > > > > > >> > > > > >
>> > > > > > > >> > > > > >
>> > > > > > > >> > > > > >
>> > > > > > > >> > > > >
>> > > > > > > >> > > > >
>> > > > > > > >> > > > >
>> > > > > > > >> > > >
>> > > > > > > >> > > >
>> > > > > > > >> > > >
>> > > > > > > >> > >
>> > > > > > > >> > >
>> > > > > > > >> > >
>> > > > > > > >> >
>> > > > > > > >> >
>> > > > > > > >> >
>> > > > > > > >>
>> > > > > > > >>
>> > > > > > > >>
>> > > > > > > >
>> > > > > > >
>> > > > > > >
>> > > > > > >
>> > > > > >
>> > > > > >
>> > > > > >
>> > > > >
>> > > > >
>> > > > >
>> > > >
>> > > >
>> > > >
>> > >
>> > >
>> > >
>> >
>> >
>> >
>>
>>
>>
>


------------------------------------------------
Subject: ImportError: No module named constants_pdef
From: Xinxia Song
Time: Thu Mar 02 08:07:10 2017

Hi Julie,


I ran the master_met_plus.py again and still got the error:


Traceback (most recent call last):

  File "/D2/xinxia/METplus/METplus/ush/series_by_lead.py", line 945,
in <module>

    analysis_by_lead_time()

  File "/D2/xinxia/METplus/METplus/ush/series_by_lead.py", line 107,
in analysis_by_lead_time

    util.apply_series_filters(tile_dir, init_times,
series_lead_filtered_out_dir, p, logger)

  File "/D2/xinxia/METplus/METplus/ush/met_util.py", line 1005, in
apply_series_filters

    tcs.tc_stat(p, logger, tc_cmd, series_output_dir)

  File "/D2/xinxia/METplus/METplus/ush/run_tc_stat.py", line 69, in
tc_stat

    tc_stat_out = subprocess.check_output(tc_cmd,
stderr=subprocess.STDOUT, shell=True )

AttributeError: 'module' object has no attribute 'check_output'



Thanks,


Xinxia

________________________________
From: Xinxia Song
Sent: Tuesday, February 28, 2017 5:07:13 PM
To: met_help at ucar.edu
Subject: Re: [rt.rap.ucar.edu #79605] ImportError: No module named
constants_pdef


Hi Julie,


I correct these paths and I could successfully run series_by_lead.py
but have errors for the master_met_plus.py. I get the errors:

Traceback (most recent call last):

  File "/D2/xinxia/METplus/METplus/ush/series_by_lead.py", line 945,
in <module>

    analysis_by_lead_time()

  File "/D2/xinxia/METplus/METplus/ush/series_by_lead.py", line 107,
in analysis_by_lead_time

    util.apply_series_filters(tile_dir, init_times,
series_lead_filtered_out_dir, p, logger)

  File "/D2/xinxia/METplus/METplus/ush/met_util.py", line 1005, in
apply_series_filters

    tcs.tc_stat(p, logger, tc_cmd, series_output_dir)

  File "/D2/xinxia/METplus/METplus/ush/run_tc_stat.py", line 69, in
tc_stat

    tc_stat_out = subprocess.check_output(tc_cmd,
stderr=subprocess.STDOUT, shell=True )

AttributeError: 'module' object has no attribute 'check_output'


Thanks,


Xinxia

________________________________
From: Julie Prestopnik via RT <met_help at ucar.edu>
Sent: Tuesday, February 28, 2017 2:50:58 PM
To: Xinxia_Song at outlook.com
Subject: Re: [rt.rap.ucar.edu #79605] ImportError: No module named
constants_pdef

Hi Xinxia.  I also thought I would mention that, as indicated in the
README
file that came with the distribution, in addition to ncap2 and ncdump,
the
following are also required for MET+:

  - convert utility (part of ImageMagick)
    - https://www.imagemagick.org/script/binary-releases.php
  - wgrib2 utility
    -
http://www.cpc.noaa.gov/products/wesley/wgrib2/compile_questions.html
  - egrep utility
    - http://directory.fsf.org/wiki/Grep

If you do not have these installed. Please install them and set up
their
paths in the constants_pdef.py file.

Thanks,
Julie

On Tue, Feb 28, 2017 at 12:45 PM, Julie Prestopnik <jpresto at ucar.edu>
wrote:

> Hi Xinxia.
>
> You will also need to have the ncdump command installed, with the
location
> to the executable listed in NCDUMP_EXE in constants_pdef.py.  Please
have
> ncdump installed, update your constants_pdef.py file and rerun.
>
> Thanks!
>
> Julie
>
> On Tue, Feb 28, 2017 at 12:18 PM, Xinxia Song via RT
<met_help at ucar.edu>
> wrote:
>
>>
>> <URL: https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=79605 >
>>
>> Hi Julie,
>>
>>
>> Before I was running master_met_plus.py and now I ran the
>> series_by_lead.py and got the following results:
>>
>> [xinxia at chaos ush]$ python series_by_lead.py
>>
>> Traceback (most recent call last):
>>
>>   File "series_by_lead.py", line 945, in <module>
>>
>>     analysis_by_lead_time()
>>
>>   File "series_by_lead.py", line 326, in analysis_by_lead_time
>>
>>     vmin, vmax = get_netcdf_min_max(nc_var_list, cur_stat, p,
logger)
>>
>>   File "series_by_lead.py", line 638, in get_netcdf_min_max
>>
>>     shell=True)
>>
>>   File "/home/xinxia/anaconda2/lib/python2.7/subprocess.py", line
219,
>> in check_output
>>
>>     raise CalledProcessError(retcode, cmd, output=output)
>>
>> subprocess.CalledProcessError: Command '/usr/local/bin/ncdump
>> /D2/xinxia/METplus/MET/out/series_analysis_lead/series_F042/min.nc
>
>>
/D2/xinxia/METplus/MET/out/series_analysis_lead/series_F042/min.txt'
>> returned non-zero exit status 127
>>
>>
>> Thanks,
>>
>>
>> Xinxia
>>
>> ________________________________
>> From: Julie Prestopnik via RT <met_help at ucar.edu>
>> Sent: Tuesday, February 28, 2017 2:11:19 PM
>> To: Xinxia_Song at outlook.com
>> Subject: Re: [rt.rap.ucar.edu #79605] ImportError: No module named
>> constants_pdef
>>
>> Hi Xinxia.  Did you run series_by_lead.py on its own or via
>> master_met_plus.py?
>>
>> Thanks,
>> Julie
>>
>> On Tue, Feb 28, 2017 at 11:11 AM, Xinxia Song via RT
<met_help at ucar.edu>
>> wrote:
>>
>> >
>> > <URL: https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=79605 >
>> >
>> > Hi Julie,
>> >
>> >
>> > I checked it's 2.7.13. It seems the error doesn't coming from it.
>> >
>> >
>> > Thanks,
>> >
>> >
>> > Xinxia
>> >
>> >
>> > ________________________________
>> > From: Julie Prestopnik via RT <met_help at ucar.edu>
>> > Sent: Tuesday, February 28, 2017 10:49:29 AM
>> > To: Xinxia_Song at outlook.com
>> > Subject: Re: [rt.rap.ucar.edu #79605] ImportError: No module
named
>> > constants_pdef
>> >
>> > I think perhaps your environment is using Python 2.6 again.
>> >
>> > Please try running:
>> >
>> > python --version
>> >
>> > on the command line.
>> >
>> > If you see "Python 2..6.6", please add the path for Python 2.7 to
the
>> front
>> > of your path in your ~/.bashrc file.  Then, source your ~/.bashrc
file
>> and
>> > try rerunning
>> >
>> > python --version
>> >
>> > on the command line.  Hopefully, then you will see the new
version.
>> Then,
>> > please try rerunning master_met_plus.py.
>> >
>> > I hope this helps!  Thanks!
>> >
>> > Julie
>> >
>> > On Mon, Feb 27, 2017 at 8:14 PM, Xinxia Song via RT
<met_help at ucar.edu>
>> > wrote:
>> >
>> > >
>> > > <URL: https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=79605 >
>> > >
>> > > Hi Julie,
>> > >
>> > >
>> > > after I update the NCAP2 path in constants_pdef.py and ran the
>> > > master_met_plus.py, I got the error:
>> > >
>> > > 2017-02-28 02:49:40,659 : ERROR | [master_met_plus.py:main] |
Problem
>> > > executing: series_by_lead.py
>> > >
>> > > and message:
>> > >
>> > > Traceback (most recent call last):
>> > >
>> > >   File "/D2/xinxia/METplus/METplus/ush/series_by_lead.py", line
945,
>> in
>> > > <module>
>> > >
>> > >     analysis_by_lead_time()
>> > >
>> > >   File "/D2/xinxia/METplus/METplus/ush/series_by_lead.py", line
107,
>> in
>> > > analysis_by_lead_time
>> > >
>> > >     util.apply_series_filters(tile_dir, init_times,
>> > > series_lead_filtered_out_dir, p, logger)
>> > >
>> > >   File "/D2/xinxia/METplus/METplus/ush/met_util.py", line 1005,
in
>> > > apply_series_filters
>> > >
>> > >     tcs.tc_stat(p, logger, tc_cmd, series_output_dir)
>> > >
>> > >   File "/D2/xinxia/METplus/METplus/ush/run_tc_stat.py", line
69, in
>> > > tc_stat
>> > >
>> > >     tc_stat_out = subprocess.check_output(tc_cmd,
>> > > stderr=subprocess.STDOUT, shell=True )
>> > >
>> > > AttributeError: 'module' object has no attribute 'check_output'
>> > >
>> > >
>> > > Thanks,
>> > >
>> > >
>> > > Xinxia
>> > >
>> > > ________________________________
>> > > From: Julie Prestopnik via RT <met_help at ucar.edu>
>> > > Sent: Monday, February 27, 2017 5:15:59 PM
>> > > To: Xinxia_Song at outlook.com
>> > > Subject: Re: [rt.rap.ucar.edu #79605] ImportError: No module
named
>> > > constants_pdef
>> > >
>> > > Please install ncap2 and update the location to the executable
in the
>> > > NCAP2_EXE field of the constants_pdef.py file and trying
rerunning the
>> > MET+
>> > > code.  Please let us know how it goes.
>> > >
>> > > Thanks,
>> > > Julie
>> > >
>> > > On Mon, Feb 27, 2017 at 3:10 PM, Xinxia Song via RT <
>> met_help at ucar.edu>
>> > > wrote:
>> > >
>> > > >
>> > > > <URL: https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=79605
>
>> > > >
>> > > > Hi Julie,
>> > > >
>> > > >
>> > > > The result is :
>> > > >
>> > > > -bash: /usr/local/nco/bin/ncap2: No such file or directory
>> > > >
>> > > > I think we don't have it installed.
>> > > >
>> > > >
>> > > > Thanks,
>> > > >
>> > > > Xinxia
>> > > >
>> > > > ________________________________
>> > > > From: Julie Prestopnik via RT <met_help at ucar.edu>
>> > > > Sent: Monday, February 27, 2017 5:08:48 PM
>> > > > To: Xinxia_Song at outlook.com
>> > > > Subject: Re: [rt.rap.ucar.edu #79605] ImportError: No module
named
>> > > > constants_pdef
>> > > >
>> > > > Hi Xinxia. I believe that error code refers to "Command not
found".
>> > Can
>> > > > you please run the following and send me the output?
>> > > >
>> > > > /usr/local/nco/bin/ncap2 --version
>> > > >
>> > > > Thanks!
>> > > >
>> > > > Julie
>> > > >
>> > > >
>> > > > On Mon, Feb 27, 2017 at 2:55 PM, Xinxia Song via RT <
>> met_help at ucar.edu
>> > >
>> > > > wrote:
>> > > >
>> > > > >
>> > > > > <URL:
https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=79605 >
>> > > > >
>> > > > > Hi Julie,
>> > > > >
>> > > > >
>> > > > > The error is:
>> > > > >
>> > > > > Traceback (most recent call last):
>> > > > >
>> > > > >   File "series_by_lead.py", line 945, in <module>
>> > > > >
>> > > > >     analysis_by_lead_time()
>> > > > >
>> > > > >   File "series_by_lead.py", line 326, in
analysis_by_lead_time
>> > > > >
>> > > > >     vmin, vmax = get_netcdf_min_max(nc_var_list, cur_stat,
p,
>> > logger)
>> > > > >
>> > > > >   File "series_by_lead.py", line 605, in get_netcdf_min_max
>> > > > >
>> > > > >     shell=True)
>> > > > >
>> > > > >   File
"/home/xinxia/anaconda2/lib/python2.7/subprocess.py", line
>> > 219,
>> > > > in
>> > > > > check_output
>> > > > >
>> > > > >     raise CalledProcessError(retcode, cmd, output=output)
>> > > > >
>> > > > > subprocess.CalledProcessError: Command
'/usr/local/nco/bin/ncap2
>> -v
>> > -s
>> > > > > "min=min(series_cnt_TOTAL)" /D2/xinxia/METplus/MET/out/
>> > > > > series_analysis_lead/series_F042/series_F042_HGT_P500.nc
>> > > > >
/D2/xinxia/METplus/MET/out/series_analysis_lead/series_F042/
>> min.nc'
>> > > > > returned non-zero exit status 127
>> > > > >
>> > > > >
>> > > > > Thanks,
>> > > > >
>> > > > >
>> > > > > Xinxia
>> > > > >
>> > > > > ________________________________
>> > > > > From: Julie Prestopnik via RT <met_help at ucar.edu>
>> > > > > Sent: Tuesday, February 28, 2017 9:18:55 AM
>> > > > > To: Xinxia_Song at outlook.com
>> > > > > Subject: Re: [rt.rap.ucar.edu #79605] ImportError: No
module
>> named
>> > > > > constants_pdef
>> > > > >
>> > > > > Thank you, Xinxia.
>> > > > >
>> > > > > Unfortunately, the "DEBUG" log level did not provide much
>> information
>> > > for
>> > > > > this task:
>> > > > >
>> > > > > 2017-02-26 21:30:28,041 : INFO | [master_met_plus.py:main]
|
>> Running:
>> > > > > series_by_lead.py
>> > > > > 2017-02-26 21:30:28,212 : ERROR | [master_met_plus.py:main]
|
>> Problem
>> > > > > executing: series_by_lead.py
>> > > > >
>> > > > > Could you please try running series_by_lead.py in the ush
>> directory?
>> > > > > Please let me know what the output is from that run - it
may
>> still be
>> > > > > contained in your log file.
>> > > > >
>> > > > > Thanks!
>> > > > >
>> > > > > Julie
>> > > > >
>> > > > >
>> > > > > On Mon, Feb 27, 2017 at 11:17 AM, Xinxia Song via RT <
>> > > met_help at ucar.edu>
>> > > > > wrote:
>> > > > >
>> > > > > >
>> > > > > > <URL:
https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=79605 >
>> > > > > >
>> > > > > > Hi Julie,
>> > > > > >
>> > > > > >
>> > > > > > I uploaded the constants_pdef.py and
>> master_met_plus.20170226.log.
>> > > > > >
>> > > > > >
>> > > > > > Thanks,
>> > > > > >
>> > > > > >
>> > > > > > Xinxia
>> > > > > >
>> > > > > > ________________________________
>> > > > > > From: Julie Prestopnik via RT <met_help at ucar.edu>
>> > > > > > Sent: Tuesday, February 28, 2017 5:46:37 AM
>> > > > > > To: Xinxia_Song at outlook.com
>> > > > > > Subject: Re: [rt.rap.ucar.edu #79605] ImportError: No
module
>> named
>> > > > > > constants_pdef
>> > > > > >
>> > > > > > Hi Xinxia.  Can you please upload the configuration file
that
>> you
>> > > used
>> > > > > and
>> > > > > > the log file from that run to our ftp server so that we
can
>> take a
>> > > > look?
>> > > > > >
>> > > > > > Thanks!
>> > > > > >
>> > > > > > Julie
>> > > > > >
>> > > > > > On Sun, Feb 26, 2017 at 2:35 PM, Xinxia Song via RT <
>> > > met_help at ucar.edu
>> > > > >
>> > > > > > wrote:
>> > > > > >
>> > > > > > >
>> > > > > > > <URL:
https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=79605
>> >
>> > > > > > >
>> > > > > > > Hi Julie,
>> > > > > > >
>> > > > > > >
>> > > > > > > I ran the mater_met_plus.py and in the end in the log
file it
>> > gave
>> > > me
>> > > > > an
>> > > > > > > error:
>> > > > > > >
>> > > > > > > 2017-02-26 21:30:28,212 : ERROR |
[master_met_plus.py:main] |
>> > > Problem
>> > > > > > > executing: series_by_lead.py
>> > > > > > >
>> > > > > > >
>> > > > > > > Thanks,
>> > > > > > >
>> > > > > > > Xinxia
>> > > > > > >
>> > > > > > > ________________________________
>> > > > > > > From: Julie Prestopnik via RT <met_help at ucar.edu>
>> > > > > > > Sent: Saturday, February 25, 2017 6:49:56 AM
>> > > > > > > To: Xinxia_Song at outlook.com
>> > > > > > > Subject: Re: [rt.rap.ucar.edu #79605] ImportError: No
module
>> > named
>> > > > > > > constants_pdef
>> > > > > > >
>> > > > > > > You could also run "tail -f
</path/to/logfile/logfile_name>"
>> > > > replacing
>> > > > > > > </path/to/logfile/logfile_name> with the logfile path
and
>> name
>> > > > > > information
>> > > > > > > to see how the run is coming along.  I hope that helps!
>> > > > > > >
>> > > > > > > Julie
>> > > > > > >
>> > > > > > > On Fri, Feb 24, 2017 at 9:42 AM, Julie Prestopnik <
>> > > jpresto at ucar.edu>
>> > > > > > > wrote:
>> > > > > > >
>> > > > > > > > Hi Xinxia.  Running the entire three months of data
could
>> > > certainly
>> > > > > > take
>> > > > > > > a
>> > > > > > > > long time.  I am hoping to get an estimate on how
long it
>> took
>> > to
>> > > > run
>> > > > > > the
>> > > > > > > > three month data set here, but have not been able to
obtain
>> > that
>> > > > > number
>> > > > > > > > yet.   It sounds the code was running successfully
for
>> you.  If
>> > > > > you're
>> > > > > > > > eager to take a lot at some output, I would suggest
running
>> a
>> > > > smaller
>> > > > > > > > subset of the data, or perhaps you could set up the
whole
>> three
>> > > > month
>> > > > > > to
>> > > > > > > > run over the weekend.  I would suggest letting the
code run
>> to
>> > > > > > completion
>> > > > > > > > for either a smaller subset or for the entire subset
and
>> then
>> > > > > checking
>> > > > > > > the
>> > > > > > > > log file for errors.  I hope that helps.  Please let
me
>> know if
>> > > you
>> > > > > > have
>> > > > > > > > any questions or encounter any issues.
>> > > > > > > >
>> > > > > > > > Thanks,
>> > > > > > > > Julie
>> > > > > > > >
>> > > > > > > >
>> > > > > > > > On Thu, Feb 23, 2017 at 4:28 PM, Xinxia Song via RT <
>> > > > > met_help at ucar.edu
>> > > > > > >
>> > > > > > > > wrote:
>> > > > > > > >
>> > > > > > > >>
>> > > > > > > >> <URL: https://rt.rap.ucar.edu/rt/Tic
>> ket/Display.html?id=79605
>> > >
>> > > > > > > >>
>> > > > > > > >> Hi Julie,
>> > > > > > > >>
>> > > > > > > >>
>> > > > > > > >> The version is set to be 2.7+. When I ran
>> master_met_plus.py,
>> > it
>> > > > > seems
>> > > > > > > it
>> > > > > > > >> will run forever. So I killed it, and got the
following:
>> > > > > > > >>
>> > > > > > > >> [xinxia at chaos ush]$ python master_met_plus.py
>> > > > > > > >>
>> > > > > > > >> ^CTraceback (most recent call last):
>> > > > > > > >>
>> > > > > > > >>   File
"/D2/xinxia/METplus/METplus/ush/extract_tiles.py",
>> > line
>> > > > 157,
>> > > > > > in
>> > > > > > > >> <module>
>> > > > > > > >>
>> > > > > > > >>     main()
>> > > > > > > >>
>> > > > > > > >>   File
"/D2/xinxia/METplus/METplus/ush/extract_tiles.py",
>> > line
>> > > > 100,
>> > > > > > in
>> > > > > > > >> main
>> > > > > > > >>
>> > > > > > > >>     filtered_out_dir)
>> > > > > > > >>
>> > > > > > > >>   File
"/D2/xinxia/METplus/METplus/ush/run_tc_stat.py",
>> line
>> > > 69,
>> > > > in
>> > > > > > > >> tc_stat
>> > > > > > > >>
>> > > > > > > >>     tc_stat_out = subprocess.check_output(tc_cmd,
>> > > > > > > >> stderr=subprocess.STDOUT, shell=True )
>> > > > > > > >>
>> > > > > > > >>   File "/home/xinxia/anaconda2/lib/py
>> thon2.7/subprocess.py",
>> > > line
>> > > > > > 213,
>> > > > > > > >> in check_output
>> > > > > > > >>
>> > > > > > > >>     output, unused_err = process.communicate()
>> > > > > > > >>
>> > > > > > > >>   File "/home/xinxia/anaconda2/lib/py
>> thon2.7/subprocess.py",
>> > > line
>> > > > > > 471,
>> > > > > > > >> in communicate
>> > > > > > > >>
>> > > > > > > >>     stdout = _eintr_retry_call(self.stdout.read)
>> > > > > > > >>
>> > > > > > > >>   File "/home/xinxia/anaconda2/lib/py
>> thon2.7/subprocess.py",
>> > > line
>> > > > > > 121,
>> > > > > > > >> in _eintr_retry_call
>> > > > > > > >>
>> > > > > > > >>     return func(*args)
>> > > > > > > >>
>> > > > > > > >> KeyboardInterrupt
>> > > > > > > >>
>> > > > > > > >>
>> > > > > > > >> Thanks,
>> > > > > > > >>
>> > > > > > > >>
>> > > > > > > >> Xinxia
>> > > > > > > >>
>> > > > > > > >> ________________________________
>> > > > > > > >> From: Julie Prestopnik via RT <met_help at ucar.edu>
>> > > > > > > >> Sent: Friday, February 24, 2017 12:02:21 PM
>> > > > > > > >> To: Xinxia_Song at outlook.com
>> > > > > > > >> Subject: Re: [rt.rap.ucar.edu #79605] ImportError:
No
>> module
>> > > > named
>> > > > > > > >> constants_pdef
>> > > > > > > >>
>> > > > > > > >> Hi Xinxia.  I suspect that even though you installed
Python
>> > 2.7
>> > > > that
>> > > > > > > >> Python
>> > > > > > > >> 2.6.6 is still being used.
>> > > > > > > >>
>> > > > > > > >> Please try running:
>> > > > > > > >>
>> > > > > > > >> python --version
>> > > > > > > >>
>> > > > > > > >> on the command line.
>> > > > > > > >>
>> > > > > > > >> If you see "Python 2..6.6", please add the path for
Python
>> 2.7
>> > > to
>> > > > > the
>> > > > > > > >> front
>> > > > > > > >> of your path in your ~/.bashrc file.  Then, source
your
>> > > ~/.bashrc
>> > > > > file
>> > > > > > > and
>> > > > > > > >> try rerunning
>> > > > > > > >>
>> > > > > > > >> python --version
>> > > > > > > >>
>> > > > > > > >> on the command line.  Hopefully, then you will see
the new
>> > > > version.
>> > > > > > > Then,
>> > > > > > > >> please try rerunning master_met_plus.py.
>> > > > > > > >>
>> > > > > > > >> I hope this helps!  Thanks!
>> > > > > > > >>
>> > > > > > > >> Julie
>> > > > > > > >>
>> > > > > > > >> On Thu, Feb 23, 2017 at 1:51 PM, Xinxia Song via RT
<
>> > > > > > met_help at ucar.edu>
>> > > > > > > >> wrote:
>> > > > > > > >>
>> > > > > > > >> >
>> > > > > > > >> > <URL: https://rt.rap.ucar.edu/rt/Tic
>> > ket/Display.html?id=79605
>> > > >
>> > > > > > > >> >
>> > > > > > > >> > Hi Julie,
>> > > > > > > >> >
>> > > > > > > >> >
>> > > > > > > >> > I installed myself the 2.7 python, it still got
the error
>> > when
>> > > > > > > running:
>> > > > > > > >> >
>> > > > > > > >> > Traceback (most recent call last):
>> > > > > > > >> >
>> > > > > > > >> >   File "/D2/xinxia/METplus/METplus/us
>> h/series_by_lead.py",
>> > > line
>> > > > > > 945,
>> > > > > > > in
>> > > > > > > >> > <module>
>> > > > > > > >> >
>> > > > > > > >> >     analysis_by_lead_time()
>> > > > > > > >> >
>> > > > > > > >> >   File "/D2/xinxia/METplus/METplus/us
>> h/series_by_lead.py",
>> > > line
>> > > > > > 107,
>> > > > > > > in
>> > > > > > > >> > analysis_by_lead_time
>> > > > > > > >> >
>> > > > > > > >> >     util.apply_series_filters(tile_dir,
init_times,
>> > > > > > > >> > series_lead_filtered_out_dir, p, logger)
>> > > > > > > >> >
>> > > > > > > >> >   File
"/D2/xinxia/METplus/METplus/ush/met_util.py",
>> line
>> > > 1005,
>> > > > > in
>> > > > > > > >> > apply_series_filters
>> > > > > > > >> >
>> > > > > > > >> >     tcs.tc_stat(p, logger, tc_cmd,
series_output_dir)
>> > > > > > > >> >
>> > > > > > > >> >   File
"/D2/xinxia/METplus/METplus/ush/run_tc_stat.py",
>> > line
>> > > > 69,
>> > > > > in
>> > > > > > > >> > tc_stat
>> > > > > > > >> >
>> > > > > > > >> >     tc_stat_out = subprocess.check_output(tc_cmd,
>> > > > > > > >> > stderr=subprocess.STDOUT, shell=True )
>> > > > > > > >> >
>> > > > > > > >> > AttributeError: 'module' object has no attribute
>> > > 'check_output'
>> > > > > > > >> >
>> > > > > > > >> >
>> > > > > > > >> > Thanks,
>> > > > > > > >> >
>> > > > > > > >> >
>> > > > > > > >> > Xinxia
>> > > > > > > >> >
>> > > > > > > >> > ________________________________
>> > > > > > > >> > From: Julie Prestopnik via RT <met_help at ucar.edu>
>> > > > > > > >> > Sent: Friday, February 24, 2017 9:37:53 AM
>> > > > > > > >> > To: Xinxia_Song at outlook.com
>> > > > > > > >> > Subject: Re: [rt.rap.ucar.edu #79605] ImportError:
No
>> > module
>> > > > > named
>> > > > > > > >> > constants_pdef
>> > > > > > > >> >
>> > > > > > > >> > Can you please tell me which version of Python you
are
>> > using?
>> > > > > > > >> check_output
>> > > > > > > >> > for subprocess was introduced in Python 2.7.    Do
you
>> have
>> > > > access
>> > > > > > to
>> > > > > > > >> > Python version 2.7 or higher?
>> > > > > > > >> >
>> > > > > > > >> > Thanks,
>> > > > > > > >> > Julie
>> > > > > > > >> >
>> > > > > > > >> > On Thu, Feb 23, 2017 at 12:11 PM, Xinxia Song via
RT <
>> > > > > > > met_help at ucar.edu
>> > > > > > > >> >
>> > > > > > > >> > wrote:
>> > > > > > > >> >
>> > > > > > > >> > >
>> > > > > > > >> > > <URL: https://rt.rap.ucar.edu/rt/
>> > > Ticket/Display.html?id=79605
>> > > > >
>> > > > > > > >> > >
>> > > > > > > >> > > Hi Julie,
>> > > > > > > >> > >
>> > > > > > > >> > >
>> > > > > > > >> > > I added it to the $PATH and ran the
>> master_met_python.py:
>> > > > > > > >> > >
>> > > > > > > >> > > [xinxia at chaos ush]$ python master_met_plus.py
>> > > > > > > >> > >
>> > > > > > > >> > > Traceback (most recent call last):
>> > > > > > > >> > >
>> > > > > > > >> > >   File "/D2/xinxia/METplus/METplus/us
>> h/extract_tiles.py",
>> > > > line
>> > > > > > 157,
>> > > > > > > >> in
>> > > > > > > >> > > <module>
>> > > > > > > >> > >
>> > > > > > > >> > >     main()
>> > > > > > > >> > >
>> > > > > > > >> > >   File "/D2/xinxia/METplus/METplus/us
>> h/extract_tiles.py",
>> > > > line
>> > > > > > 100,
>> > > > > > > >> in
>> > > > > > > >> > > main
>> > > > > > > >> > >
>> > > > > > > >> > >     filtered_out_dir)
>> > > > > > > >> > >
>> > > > > > > >> > >   File "/D2/xinxia/METplus/METplus/us
>> h/run_tc_stat.py",
>> > > line
>> > > > > 69,
>> > > > > > in
>> > > > > > > >> > > tc_stat
>> > > > > > > >> > >
>> > > > > > > >> > >     tc_stat_out =
subprocess.check_output(tc_cmd,
>> > > > > > > >> > > stderr=subprocess.STDOUT, shell=True )
>> > > > > > > >> > >
>> > > > > > > >> > > AttributeError: 'module' object has no attribute
>> > > > 'check_output'
>> > > > > > > >> > >
>> > > > > > > >> > >
>> > > > > > > >> > > Thanks,
>> > > > > > > >> > >
>> > > > > > > >> > >
>> > > > > > > >> > > Xinxia
>> > > > > > > >> > >
>> > > > > > > >> > > ________________________________
>> > > > > > > >> > > From: Julie Prestopnik via RT
<met_help at ucar.edu>
>> > > > > > > >> > > Sent: Friday, February 24, 2017 9:07:40 AM
>> > > > > > > >> > > To: Xinxia_Song at outlook.com
>> > > > > > > >> > > Subject: Re: [rt.rap.ucar.edu #79605]
ImportError: No
>> > > module
>> > > > > > named
>> > > > > > > >> > > constants_pdef
>> > > > > > > >> > >
>> > > > > > > >> > > Unfortunately, your environment does not know
where to
>> > find
>> > > > > > > >> > > run_tc_pairs.py.  Please try adding the
directory with
>> > > > > > > run_tc_pairs.py
>> > > > > > > >> > > (/D2/xinxia/METplus/METplus/ush) to your path in
your
>> > > > ~/.bashrc
>> > > > > > > file,
>> > > > > > > >> > then
>> > > > > > > >> > > run "source ~/.bashrc", then trying rerunning.
Please
>> let
>> > > me
>> > > > > know
>> > > > > > > how
>> > > > > > > >> > that
>> > > > > > > >> > > goes.
>> > > > > > > >> > >
>> > > > > > > >> > > Thanks!
>> > > > > > > >> > >
>> > > > > > > >> > > Julie
>> > > > > > > >> > >
>> > > > > > > >> > > On Thu, Feb 23, 2017 at 11:55 AM, Xinxia Song
via RT <
>> > > > > > > >> met_help at ucar.edu>
>> > > > > > > >> > > wrote:
>> > > > > > > >> > >
>> > > > > > > >> > > >
>> > > > > > > >> > > > <URL: https://rt.rap.ucar.edu/rt/
>> > > > Ticket/Display.html?id=79605
>> > > > > >
>> > > > > > > >> > > >
>> > > > > > > >> > > > Hi Julie,
>> > > > > > > >> > > >
>> > > > > > > >> > > >
>> > > > > > > >> > > > I'm running met in a machine that's owned by
our
>> > > > department, I
>> > > > > > > don't
>> > > > > > > >> > have
>> > > > > > > >> > > > sudo right, so when I type which
run_tc_pairs.py, it
>> > says
>> > > > > > couldn't
>> > > > > > > >> find
>> > > > > > > >> > > it.
>> > > > > > > >> > > >
>> > > > > > > >> > > > no run_tc_pairs.py in
(/opt/ncl/bin:/opt/intel-soft/
>> > > > > > > >> > > > bin:/opt/ncl/bin:/opt/ncl/bin:
>> > > /opt/intel-soft/bin:/opt/ncl/
>> > > > > > > >> > > > bin:/home/xinxia/anaconda/bin:
>> > /home/xinxia/anaconda/bin:/
>> > > > > > > >> > > > opt/ncl/bin:/opt/intel-soft/bi
>> > n:/opt/ncl/bin:/usr/lib64/
>> > > > > > > >> > > > qt-3.3/bin:/usr/local/bin:/bin
>> > :/usr/bin:/usr/local/sbin:/
>> > > > > > > >> > > > usr/sbin:/sbin:/sbin:/usr/sbin:/cm/local/apps/
>> > > > > > > >> > > environment-modules/3.2.10/
>> > > > > > > >> > > > bin:/home/xinxia/bin:/opt/ncl-621/bin)
>> > > > > > > >> > > >
>> > > > > > > >> > > >
>> > > > > > > >> > > > But I could find it manually in that
directory.
>> > > > > > > >> > > >
>> > > > > > > >> > > >
>> > > > > > > >> > > > Thanks,
>> > > > > > > >> > > >
>> > > > > > > >> > > >
>> > > > > > > >> > > > Xinxia
>> > > > > > > >> > > >
>> > > > > > > >> > > > ________________________________
>> > > > > > > >> > > > From: Julie Prestopnik via RT
<met_help at ucar.edu>
>> > > > > > > >> > > > Sent: Friday, February 24, 2017 8:52:16 AM
>> > > > > > > >> > > > To: Xinxia_Song at outlook.com
>> > > > > > > >> > > > Subject: Re: [rt.rap.ucar.edu #79605]
ImportError:
>> No
>> > > > module
>> > > > > > > named
>> > > > > > > >> > > > constants_pdef
>> > > > > > > >> > > >
>> > > > > > > >> > > > Hi Xinxia.
>> > > > > > > >> > > >
>> > > > > > > >> > > > It looks like you got a successful run of
tc_stat -
>> > that's
>> > > > > great
>> > > > > > > >> news!
>> > > > > > > >> > > >
>> > > > > > > >> > > > I'm not sure what you mean by "Because I don't
have
>> the
>> > > > > right, I
>> > > > > > > >> can't
>> > > > > > > >> > > find
>> > > > > > > >> > > > run_tc_pairs.py, but I know it's under
>> > > > > > > >> > > >
>> > > > > > > >> > > > /D2/xinxia/METplus/METplus/ush".
>> > > > > > > >> > > >
>> > > > > > > >> > > > Can you please explain?  What happened when
you ran
>> > "which
>> > > > > > > >> > > > run_tc_pairs.py"?
>> > > > > > > >> > > >
>> > > > > > > >> > > > Thanks,
>> > > > > > > >> > > > Julie
>> > > > > > > >> > > >
>> > > > > > > >> > > >
>> > > > > > > >> > > >
>> > > > > > > >> > > >
>> > > > > > > >> > > >
>> > > > > > > >> > > >
>> > > > > > > >> > > > On Thu, Feb 23, 2017 at 11:44 AM, Xinxia Song
via RT
>> <
>> > > > > > > >> > met_help at ucar.edu>
>> > > > > > > >> > > > wrote:
>> > > > > > > >> > > >
>> > > > > > > >> > > > >
>> > > > > > > >> > > > > <URL: https://rt.rap.ucar.edu/rt/
>> > > > > Ticket/Display.html?id=79605
>> > > > > > >
>> > > > > > > >> > > > >
>> > > > > > > >> > > > > Hi Julie,
>> > > > > > > >> > > > >
>> > > > > > > >> > > > >
>> > > > > > > >> > > > > I removed the space.
>> > > > > > > >> > > > >
>> > > > > > > >> > > > > [xinxia at chaos parm]$
>> /D2/xinxia/METplus/MET/met-5.2
>> > > > > > /bin/tc_stat
>> > > > > > > >> -job
>> > > > > > > >> > > > > filter -lookin /D2/xinxia/METplus/MET/input/
>> > > > tc_pairs/201412
>> > > > > > > >> > -init_inc
>> > > > > > > >> > > > > 20141201_00 -match_points true -dump_row
>> > > > > > > >> /D2/xinxia/METplus/MET/out/
>> > > > > > > >> > > > >
extract_tiles/20141201_00/filter_20141201_00.tcst
>> > > -basin
>> > > > > ML
>> > > > > > > >> > > > > -out_init_mask /D2/xinxia/METplus/MET/met-5.
>> > > > > > > >> > > 2/share/met/poly/CONUS.poly
>> > > > > > > >> > > > >
>> > > > > > > >> > > > > DEBUG 1: [Source 1] Lookin:
>> > > /D2/xinxia/METplus/MET/input/
>> > > > > > > >> > > tc_pairs/201412
>> > > > > > > >> > > > >
>> > > > > > > >> > > > > DEBUG 2:
>> > > > > > > >> > > > >
>> > > > > > > >> > > > > DEBUG 2: Processing Job 1: -job filter
-basin ML
>> > > -init_inc
>> > > > > > > >> > > > 20141201_000000
>> > > > > > > >> > > > > -match_points true -out_init_mask
>> > > > > > /D2/xinxia/METplus/MET/met-5.
>> > > > > > > >> > > > 2/share/met/poly/CONUS.poly
>> > > > > > > >> > > > > -dump_row /D2/xinxia/METplus/MET/out/ext
>> > > > > > ract_tiles/20141201_00/
>> > > > > > > >> > > > > filter_20141201_00.tcst
>> > > > > > > >> > > > >
>> > > > > > > >> > > > > DEBUG 1: Creating output dump file:
>> > > > > > /D2/xinxia/METplus/MET/out/
>> > > > > > > >> > > > >
extract_tiles/20141201_00/filter_20141201_00.tcst
>> > > > > > > >> > > > >
>> > > > > > > >> > > > > FILTER: -job filter -basin ML -init_inc
>> > 20141201_000000
>> > > > > > > >> -match_points
>> > > > > > > >> > > > true
>> > > > > > > >> > > > > -out_init_mask /D2/xinxia/METplus/MET/met-5.
>> > > > > > > >> > > 2/share/met/poly/CONUS.poly
>> > > > > > > >> > > > > -dump_row /D2/xinxia/METplus/MET/out/ext
>> > > > > > ract_tiles/20141201_00/
>> > > > > > > >> > > > > filter_20141201_00.tcst
>> > > > > > > >> > > > >
>> > > > > > > >> > > > >
>> > > > > > > >> > > > > DEBUG 2: Job 1 used 0 out of 27292 lines
read.
>> > > > > > > >> > > > >
>> > > > > > > >> > > > >
>> > > > > > > >> > > > > Because I don't have the right, I can't find
>> > > > > run_tc_pairs.py,
>> > > > > > > but
>> > > > > > > >> I
>> > > > > > > >> > > know
>> > > > > > > >> > > > > it's under
>> > > > > > > >> > > > >
>> > > > > > > >> > > > > /D2/xinxia/METplus/METplus/ush
>> > > > > > > >> > > > >
>> > > > > > > >> > > > >
>> > > > > > > >> > > > > For Python,
>> > > > > > > >> > > > >
>> > > > > > > >> > > > > [xinxia at chaos ~]$ which python
>> > > > > > > >> > > > >
>> > > > > > > >> > > > > /usr/bin/python
>> > > > > > > >> > > > >
>> > > > > > > >> > > > >
>> > > > > > > >> > > > > Xinxia
>> > > > > > > >> > > > >
>> > > > > > > >> > > > > ________________________________
>> > > > > > > >> > > > > From: Julie Prestopnik via RT
<met_help at ucar.edu>
>> > > > > > > >> > > > > Sent: Friday, February 24, 2017 8:30:01 AM
>> > > > > > > >> > > > > To: Xinxia_Song at outlook.com
>> > > > > > > >> > > > > Subject: Re: [rt.rap.ucar.edu #79605]
>> ImportError: No
>> > > > > module
>> > > > > > > >> named
>> > > > > > > >> > > > > constants_pdef
>> > > > > > > >> > > > >
>> > > > > > > >> > > > > Hi Xinxia.
>> > > > > > > >> > > > >
>> > > > > > > >> > > > > It looks like there is a space where there
should
>> not
>> > > be a
>> > > > > > space
>> > > > > > > >> > > (between
>> > > > > > > >> > > > > /D2/xinxia/METplus/MET/out/ext
>> ract_tiles/20141201_00/
>> > > and
>> > > > > > > >> > > > > filter_20141201_00.tcst after the -dump_row
>> option).
>> > > > > > > >> > > > >
>> > > > > > > >> > > > > Could you please try it again without the
space?
>> > > > > > > >> > > > >
>> > > > > > > >> > > > > /D2/xinxia/METplus/METplus/ush
>> /run_tc_stat.py:tc_stat
>> > > > from
>> > > > > > > >> calling
>> > > > > > > >> > MET
>> > > > > > > >> > > > > TC-STAT with command:/D2/xinxia/METplus/MET
>> > > > > > /met-5.2/bin/tc_stat
>> > > > > > > >> -job
>> > > > > > > >> > > > > filter
>> > > > > > > >> > > > > -lookin /D2/xinxia/METplus/MET/input/t
>> c_pairs/201412
>> > > > > > -init_inc
>> > > > > > > >> > > > 20141201_00
>> > > > > > > >> > > > > -match_points true -dump_row
>> > /D2/xinxia/METplus/MET/out/
>> > > > > > > >> > > > >
extract_tiles/20141201_00/filter_20141201_00.tcst
>> > > -basin
>> > > > > ML
>> > > > > > > >> > > > > -out_init_mask
>> > > > > > > >> > > > > /D2/xinxia/METplus/MET/met-5.
>> > > 2/share/met/poly/CONUS.poly
>> > > > > > > >> > > > >
>> > > > > > > >> > > > > Regarding the master_met_plus.py run, please
try
>> > running
>> > > > the
>> > > > > > > >> > following
>> > > > > > > >> > > > two
>> > > > > > > >> > > > > commands and send me the output:
>> > > > > > > >> > > > >
>> > > > > > > >> > > > > which run_tc_pairs.py
>> > > > > > > >> > > > >
>> > > > > > > >> > > > > which python
>> > > > > > > >> > > > >
>> > > > > > > >> > > > > Thanks!
>> > > > > > > >> > > > >
>> > > > > > > >> > > > > Julie
>> > > > > > > >> > > > >
>> > > > > > > >> > > > > On Thu, Feb 23, 2017 at 11:06 AM, Xinxia
Song via
>> RT <
>> > > > > > > >> > > met_help at ucar.edu>
>> > > > > > > >> > > > > wrote:
>> > > > > > > >> > > > >
>> > > > > > > >> > > > > >
>> > > > > > > >> > > > > > <URL: https://rt.rap.ucar.edu/rt/Tic
>> > > > > > ket/Display.html?id=79605
>> > > > > > > >
>> > > > > > > >> > > > > >
>> > > > > > > >> > > > > > Hi Julie,
>> > > > > > > >> > > > > >
>> > > > > > > >> > > > > >
>> > > > > > > >> > > > > > After I ran the long one line command:
>> > > > > > > >> > > > > >
>> > > > > > > >> > > > > > [xinxia at chaos parm]$
>> /D2/xinxia/METplus/MET/met-5.
>> > > > > > > 2/bin/tc_stat
>> > > > > > > >> > -job
>> > > > > > > >> > > > > > filter -lookin
/D2/xinxia/METplus/MET/input/
>> > > > > tc_pairs/201412
>> > > > > > > >> > > -init_inc
>> > > > > > > >> > > > > > 20141201_00 -match_points true -dump_row
>> > > > > > > >> > /D2/xinxia/METplus/MET/out/
>> > > > > > > >> > > > > extract_tiles/20141201_00/
>> > > > > > > >> > > > > > filter_20141201_00.tcst  -basin ML
-out_init_mask
>> > > > > > > >> > > > > > /D2/xinxia/METplus/MET/met-5.
>> > > > 2/share/met/poly/CONUS.poly
>> > > > > > > >> > > > > >
>> > > > > > > >> > > > > >
>> > > > > > > >> > > > > > DEBUG 1: [Source 1] Lookin:
>> > > > /D2/xinxia/METplus/MET/input/
>> > > > > > > >> > > > tc_pairs/201412
>> > > > > > > >> > > > > >
>> > > > > > > >> > > > > > ERROR  :
>> > > > > > > >> > > > > >
>> > > > > > > >> > > > > > ERROR  : TCStatJob
*TCStatJobFactory::new_tc_
>> > > > > stat_job(const
>> > > > > > > >> char
>> > > > > > > >> > > > > > *jobstring) -> unsupported job command
options
>> > > > > > > >> > > > "filter_20141201_00.tcst".
>> > > > > > > >> > > > > >
>> > > > > > > >> > > > > > ERROR  :
>> > > > > > > >> > > > > >
>> > > > > > > >> > > > > >
>> > > > > > > >> > > > > > And for the master_met_plus.py, I got the
error:
>> > > > > > > >> > > > > >
>> > > > > > > >> > > > > > [xinxia at chaos ush]$ python
master_met_plus.py
>> > > > > > > >> > > > > >
>> > > > > > > >> > > > > > sh: run_tc_pairs.py: command not found
>> > > > > > > >> > > > > >
>> > > > > > > >> > > > > >
>> > > > > > > >> > > > > > Thanks,
>> > > > > > > >> > > > > >
>> > > > > > > >> > > > > >
>> > > > > > > >> > > > > > Xinxia
>> > > > > > > >> > > > > >
>> > > > > > > >> > > > > > ________________________________
>> > > > > > > >> > > > > > From: Julie Prestopnik via RT
<met_help at ucar.edu
>> >
>> > > > > > > >> > > > > > Sent: Friday, February 24, 2017 7:42:21 AM
>> > > > > > > >> > > > > > To: Xinxia_Song at outlook.com
>> > > > > > > >> > > > > > Subject: Re: [rt.rap.ucar.edu #79605]
>> ImportError:
>> > No
>> > > > > > module
>> > > > > > > >> named
>> > > > > > > >> > > > > > constants_pdef
>> > > > > > > >> > > > > >
>> > > > > > > >> > > > > > My apologies, my response should have
said, "By
>> > > default,
>> > > > > MET
>> > > > > > > >> > version
>> > > > > > > >> > > > 5.2
>> > > > > > > >> > > > > is
>> > > > > > > >> > > > > > compiled using dynamic linking."  It's
true for
>> > both,
>> > > > but
>> > > > > I
>> > > > > > > see
>> > > > > > > >> > > you're
>> > > > > > > >> > > > > > using 5.2 and I inadvertently referred to
5.1.
>> > > > > > > >> > > > > >
>> > > > > > > >> > > > > > On Thu, Feb 23, 2017 at 10:40 AM, Julie
>> Prestopnik <
>> > > > > > > >> > jpresto at ucar.edu
>> > > > > > > >> > > >
>> > > > > > > >> > > > > > wrote:
>> > > > > > > >> > > > > >
>> > > > > > > >> > > > > > > Hi Xinxia.  Regarding the error:
>> > > > > > > >> > > > > > >
>> > > > > > > >> > > > > > > /D2/xinxia/METplus/MET/met-
5.2/bin/tc_stat:
>> error
>> > > > while
>> > > > > > > >> loading
>> > > > > > > >> > > > shared
>> > > > > > > >> > > > > > > libraries: libgsl.so.19: cannot open
shared
>> object
>> > > > file:
>> > > > > > No
>> > > > > > > >> such
>> > > > > > > >> > > file
>> > > > > > > >> > > > > or
>> > > > > > > >> > > > > > > directory
>> > > > > > > >> > > > > > >
>> > > > > > > >> > > > > > > By default, MET version 5.1 is compiled
using
>> > > dynamic
>> > > > > > > linking.
>> > > > > > > >> > > > Rather
>> > > > > > > >> > > > > > > than compiling the external library code
in
>> with
>> > the
>> > > > MET
>> > > > > > > >> > > executables
>> > > > > > > >> > > > > > (which
>> > > > > > > >> > > > > > > is
>> > > > > > > >> > > > > > > called static linking), it looks for
them at
>> > > runtime.
>> > > > > And
>> > > > > > > >> it's
>> > > > > > > >> > > > looking
>> > > > > > > >> > > > > > > for those "shared object" (.so) library
files.
>> > > > > > > >> > > > > > >
>> > > > > > > >> > > > > > > This should be easy to fix. We just need
to
>> tell
>> > it
>> > > > > where
>> > > > > > to
>> > > > > > > >> find
>> > > > > > > >> > > > them,
>> > > > > > > >> > > > > > > and we do that by setting (or adding to
the
>> > > > > > > LD_LIBRARY_PATH).
>> > > > > > > >> > Look
>> > > > > > > >> > > > in
>> > > > > > > >> > > > > > your
>> > > > > > > >> > > > > > > ~/.bashrc file.  If LD_LIBRARY_PATH is
already
>> > > defined
>> > > > > in
>> > > > > > > >> there,
>> > > > > > > >> > > add
>> > > > > > > >> > > > > the
>> > > > > > > >> > > > > > > path to the libgsl.so.19 to the end of
it.  If
>> > not,
>> > > > add
>> > > > > an
>> > > > > > > >> > > > > > > LD_LIBRARY_PATH entry in your ~/.bashrc
file.
>> So,
>> > > for
>> > > > > > > >> example,
>> > > > > > > >> > if
>> > > > > > > >> > > > the
>> > > > > > > >> > > > > > path
>> > > > > > > >> > > > > > > to your libgsl.so.19 file is
>> > > > > > /D2/xinxia/METplus/MET/externa
>> > > > > > > >> > > > > > l_libs/GSL/gsl-1.16/lib
>> > > > > > > >> > > > > > > you would add teh following to your
~/.bashrc
>> > file:
>> > > > > > > >> > > > > > >
>> > > > > > > >> > > > > > >   export LD_LIBRARY_PATH=/D2/xinxia/
>> > > > > > > >> > METplus/MET/external_libs/GSL/
>> > > > > > > >> > > > > > > gsl-1.16/lib
>> > > > > > > >> > > > > > >
>> > > > > > > >> > > > > > > Then save the change and source that
file:
>> > > > > > > >> > > > > > >
>> > > > > > > >> > > > > > >   source ~/.bashrc
>> > > > > > > >> > > > > > >
>> > > > > > > >> > > > > > > Then, please try rerunning the command
manually
>> > and
>> > > > let
>> > > > > me
>> > > > > > > >> know
>> > > > > > > >> > if
>> > > > > > > >> > > it
>> > > > > > > >> > > > > > > works.
>> > > > > > > >> > > > > > >
>> > > > > > > >> > > > > > > I believe that this was the cause of the
>> initial
>> > > error
>> > > > > you
>> > > > > > > >> > received
>> > > > > > > >> > > > > from
>> > > > > > > >> > > > > > > MET+:
>> > > > > > > >> > > > > > >
>> > > > > > > >> > > > > > > ERROR| /D2/xinxia/METplus/METplus/
>> > > > > > > ush/run_tc_stat.py:tc_stat
>> > > > > > > >> > from
>> > > > > > > >> > > > > > calling
>> > > > > > > >> > > > > > > MET TC-STAT with
command:/D2/xinxia/METplus/
>> > > > > > > >> > > MET/met-5.2/bin/tc_stat
>> > > > > > > >> > > > > -job
>> > > > > > > >> > > > > > > filter -lookin
/D2/xinxia/METplus/MET/input/t
>> > > > > > c_pairs/201412
>> > > > > > > >> > > > -init_inc
>> > > > > > > >> > > > > > > 20141201_00 -match_points true -dump_row
>> > > > > > > >> > > > /D2/xinxia/METplus/MET/out/ext
>> > > > > > > >> > > > > > >
ract_tiles/20141201_00/filter_20141201_00.tcst
>> > > > -basin
>> > > > > ML
>> > > > > > > >> > > > > -out_init_mask
>> > > > > > > >> > > > > > > /D2/xinxia/METplus/MET/met-5.
>> > > > > 2/share/met/poly/CONUS.poly
>> > > > > > > >> > > > > > >
>> > > > > > > >> > > > > > >
>> > > > > > > >> > > > > > > Thanks,
>> > > > > > > >> > > > > > > Julie
>> > > > > > > >> > > > > > >
>> > > > > > > >> > > > > > > On Thu, Feb 23, 2017 at 10:14 AM, Xinxia
Song
>> via
>> > > RT <
>> > > > > > > >> > > > > met_help at ucar.edu>
>> > > > > > > >> > > > > > > wrote:
>> > > > > > > >> > > > > > >
>> > > > > > > >> > > > > > >>
>> > > > > > > >> > > > > > >> <URL: https://rt.rap.ucar.edu/rt/Tic
>> > > > > > > >> ket/Display.html?id=79605 >
>> > > > > > > >> > > > > > >>
>> > > > > > > >> > > > > > >> Hi Julie,
>> > > > > > > >> > > > > > >>
>> > > > > > > >> > > > > > >>
>> > > > > > > >> > > > > > >> [xinxia at chaos ush]$
>> > /D2/xinxia/METplus/MET/met-5.2
>> > > > > > > >> /bin/tc_stat
>> > > > > > > >> > > -job
>> > > > > > > >> > > > > > >> filter -lookin
/D2/xinxia/METplus/MET/input/
>> > > > > > > tc_pairs/201412
>> > > > > > > >> > > > -init_inc
>> > > > > > > >> > > > > > >> 20141201_00 -match_points true
-dump_row
>> > > > > > > >> > > > > /D2/xinxia/METplus/MET/out/ext
>> > > > > > > >> > > > > > ract_tiles/20141201_00/
>> > > > > > > >> > > > > > >> filter_20141201_00.tcst  -basin ML
>> -out_init_mask
>> > > > > > > >> > > > > > >> /D2/xinxia/METplus/MET/met-5.
>> > > > > 2/share/met/poly/CONUS.poly
>> > > > > > > >> > > > > > >>
>> > > > > > > >> > > > > > >> /D2/xinxia/METplus/MET/met-
5.2/bin/tc_stat:
>> > error
>> > > > > while
>> > > > > > > >> loading
>> > > > > > > >> > > > > shared
>> > > > > > > >> > > > > > >> libraries: libgsl.so.19: cannot open
shared
>> > object
>> > > > > file:
>> > > > > > No
>> > > > > > > >> such
>> > > > > > > >> > > > file
>> > > > > > > >> > > > > or
>> > > > > > > >> > > > > > >> directory
>> > > > > > > >> > > > > > >>
>> > > > > > > >> > > > > > >>
>> > > > > > > >> > > > > > >> And I uploaded the configuration file
>> > > > > (constants_pdef.py)
>> > > > > > > >> under
>> > > > > > > >> > > > > > >> xinxia_data directory.
>> > > > > > > >> > > > > > >>
>> > > > > > > >> > > > > > >>
>> > > > > > > >> > > > > > >> Thanks,
>> > > > > > > >> > > > > > >>
>> > > > > > > >> > > > > > >>
>> > > > > > > >> > > > > > >> Xinxia
>> > > > > > > >> > > > > > >>
>> > > > > > > >> > > > > > >> ________________________________
>> > > > > > > >> > > > > > >> From: Julie Prestopnik via RT <
>> met_help at ucar.edu
>> > >
>> > > > > > > >> > > > > > >> Sent: Friday, February 24, 2017 6:15:57
AM
>> > > > > > > >> > > > > > >> To: Xinxia_Song at outlook.com
>> > > > > > > >> > > > > > >> Subject: Re: [rt.rap.ucar.edu #79605]
>> > ImportError:
>> > > > No
>> > > > > > > module
>> > > > > > > >> > > named
>> > > > > > > >> > > > > > >> constants_pdef
>> > > > > > > >> > > > > > >>
>> > > > > > > >> > > > > > >> Hi Xinxia.
>> > > > > > > >> > > > > > >>
>> > > > > > > >> > > > > > >> I can see that your command, which
should have
>> > been
>> > > > all
>> > > > > > on
>> > > > > > > >> one
>> > > > > > > >> > > line,
>> > > > > > > >> > > > > was
>> > > > > > > >> > > > > > >> broken up into several lines.  Please
try
>> running
>> > > the
>> > > > > > > command
>> > > > > > > >> > > again,
>> > > > > > > >> > > > > > >> making
>> > > > > > > >> > > > > > >> sure that the entire command is on one
line:
>> > > > > > > >> > > > > > >>
>> > > > > > > >> > > > > > >> /D2/xinxia/METplus/MET/met-
5.2/bin/tc_stat
>> -job
>> > > > filter
>> > > > > > > >> -lookin
>> > > > > > > >> > > > > > >>
/D2/xinxia/METplus/MET/input/tc_pairs/201412
>> > > > -init_inc
>> > > > > > > >> > > 20141201_00
>> > > > > > > >> > > > > > >> -match_points true -dump_row
>> > > > > > > >> > > > > > >> /D2/xinxia/METplus/MET/out/
>> > > > extract_tiles/20141201_00/
>> > > > > > > >> > > > > > >> filter_20141201_00.tcst  -basin ML
>> -out_init_mask
>> > > > > > > >> > > > > > >> /D2/xinxia/METplus/MET/met-5.
>> > > > > 2/share/met/poly/CONUS.poly
>> > > > > > > >> > > > > > >>
>> > > > > > > >> > > > > > >> Then, please send the output from that
>> command.
>> > > > > > > >> > > > > > >>
>> > > > > > > >> > > > > > >> Regarding, your error:
>> > > > > > > >> > > > > > >>
>> > > > > > > >> > > > > > >> sh: run_tc_pairs.py: command not found
>> > > > > > > >> > > > > > >>
>> > > > > > > >> > > > > > >> It's strange that would only have
occurred
>> after
>> > > > having
>> > > > > > > >> changed
>> > > > > > > >> > > the
>> > > > > > > >> > > > > > >> LOG_LEVEL.  Could you please send us
your
>> > > > configuration
>> > > > > > > file?
>> > > > > > > >> > > > > > >>
>> > > > > > > >> > > > > > >> Thanks!
>> > > > > > > >> > > > > > >>
>> > > > > > > >> > > > > > >> Julie
>> > > > > > > >> > > > > > >>
>> > > > > > > >> > > > > > >> On Wed, Feb 22, 2017 at 2:54 PM, Xinxia
Song
>> via
>> > > RT <
>> > > > > > > >> > > > > met_help at ucar.edu>
>> > > > > > > >> > > > > > >> wrote:
>> > > > > > > >> > > > > > >>
>> > > > > > > >> > > > > > >> >
>> > > > > > > >> > > > > > >> > <URL: https://rt.rap.ucar.edu/rt/Tic
>> > > > > > > >> ket/Display.html?id=79605
>> > > > > > > >> > >
>> > > > > > > >> > > > > > >> >
>> > > > > > > >> > > > > > >> > Hi Julie,
>> > > > > > > >> > > > > > >> >
>> > > > > > > >> > > > > > >> >
>> > > > > > > >> > > > > > >> > [xinxia at chaos ush]$
>> > > /D2/xinxia/METplus/MET/met-5.
>> > > > > > > >> > 2/bin/tc_stat
>> > > > > > > >> > > > -job
>> > > > > > > >> > > > > > >> > filter -lookin
>> > > > > > > >> > > > > > >> >
>> > > > > > > >> > > > > > >> > /D2/xinxia/METplus/MET/met-
5.2/bin/tc_stat:
>> > > error
>> > > > > > while
>> > > > > > > >> > loading
>> > > > > > > >> > > > > > shared
>> > > > > > > >> > > > > > >> > libraries: libgsl.so.19: cannot open
shared
>> > > object
>> > > > > > file:
>> > > > > > > No
>> > > > > > > >> > such
>> > > > > > > >> > > > > file
>> > > > > > > >> > > > > > or
>> > > > > > > >> > > > > > >> > directory
>> > > > > > > >> > > > > > >> >
>> > > > > > > >> > > > > > >> >
>> > > > > > > >> > > > > > >> > [xinxia at chaos ush]$
>> > > /D2/xinxia/METplus/MET/input/
>> > > > > > > >> > > tc_pairs/201412
>> > > > > > > >> > > > > > >> > -init_inc 20141201_00 -match_points
true
>> > > -dump_row
>> > > > > > > >> > > > > > >> >
>> > > > > > > >> > > > > > >> > -bash: /D2/xinxia/METplus/MET/input/
>> > > > tc_pairs/201412:
>> > > > > > is
>> > > > > > > a
>> > > > > > > >> > > > directory
>> > > > > > > >> > > > > > >> >
>> > > > > > > >> > > > > > >> >
>> > > > > > > >> > > > > > >> > [xinxia at chaos ush]$
>> > > /D2/xinxia/METplus/MET/out/ext
>> > > > > > > >> > > > > > >> ract_tiles/20141201_00/
>> > > > > > > >> > > > > > >> > filter_20141201_00.tcst  -basin ML
>> > -out_init_mask
>> > > > > > > >> > > > > > >> > /D2/xinxia/METplus/MET/met-5.2
>> > > > > > /share/met/poly/CONUS.poly
>> > > > > > > >> > > > > > >> >
>> > > > > > > >> > > > > > >> > -bash: /D2/xinxia/METplus/MET/out/ext
>> > > > > > > >> ract_tiles/20141201_00/:
>> > > > > > > >> > > No
>> > > > > > > >> > > > > such
>> > > > > > > >> > > > > > >> > file or directory
>> > > > > > > >> > > > > > >> >
>> > > > > > > >> > > > > > >> >
>> > > > > > > >> > > > > > >> > After I change the LOG_LEVEL, I ran
the
>> > > > > > > >> master_met_plus.py, it
>> > > > > > > >> > > > says:
>> > > > > > > >> > > > > > >> >
>> > > > > > > >> > > > > > >> > [xinxia at chaos ush]$ python
>> master_met_plus.py
>> > > > > > > >> > > > > > >> >
>> > > > > > > >> > > > > > >> > sh: run_tc_pairs.py: command not
found
>> > > > > > > >> > > > > > >> >
>> > > > > > > >> > > > > > >> >
>> > > > > > > >> > > > > > >> >
>> > > > > > > >> > > > > > >> > Thanks,
>> > > > > > > >> > > > > > >> >
>> > > > > > > >> > > > > > >> >
>> > > > > > > >> > > > > > >> > Xinxia
>> > > > > > > >> > > > > > >> >
>> > > > > > > >> > > > > > >> >
>> > > > > > > >> > > > > > >> > ________________________________
>> > > > > > > >> > > > > > >> > From: Julie Prestopnik via RT <
>> > met_help at ucar.edu
>> > > >
>> > > > > > > >> > > > > > >> > Sent: Thursday, February 23, 2017
10:04:55
>> AM
>> > > > > > > >> > > > > > >> > To: Xinxia_Song at outlook.com
>> > > > > > > >> > > > > > >> > Subject: Re: [rt.rap.ucar.edu #79605]
>> > > ImportError:
>> > > > > No
>> > > > > > > >> module
>> > > > > > > >> > > > named
>> > > > > > > >> > > > > > >> > constants_pdef
>> > > > > > > >> > > > > > >> >
>> > > > > > > >> > > > > > >> > Thank you.  Unfortunately, the level
of
>> detail
>> > in
>> > > > the
>> > > > > > log
>> > > > > > > >> file
>> > > > > > > >> > > > > wasn't
>> > > > > > > >> > > > > > >> what
>> > > > > > > >> > > > > > >> > I hoped for.  I'd like to have you
try two
>> > > things.
>> > > > > > > >> > > > > > >> >
>> > > > > > > >> > > > > > >> > First, could you please send me your
output
>> of
>> > > your
>> > > > > > > manual
>> > > > > > > >> run
>> > > > > > > >> > > of
>> > > > > > > >> > > > > the
>> > > > > > > >> > > > > > >> > following?
>> > > > > > > >> > > > > > >> >
>> > > > > > > >> > > > > > >> > "/D2/xinxia/METplus/MET/met-
5.2/bin/tc_stat
>> > -job
>> > > > > > filter
>> > > > > > > >> > -lookin
>> > > > > > > >> > > > > > >> > /D2/xinxia/METplus/MET/input/t
>> c_pairs/201412
>> > > > > -init_inc
>> > > > > > > >> > > > 20141201_00
>> > > > > > > >> > > > > > >> > -match_points true -dump_row
>> > > > > > /D2/xinxia/METplus/MET/out/
>> > > > > > > >> > > > > > >> > extract_tiles/20141201_00/
>> > > filter_20141201_00.tcst
>> > > > > > > -basin
>> > > > > > > >> ML
>> > > > > > > >> > > > > > >> > -out_init_mask
>> > > > > > > >> > > > > > >> > /D2/xinxia/METplus/MET/met-5.
>> > > > > > > 2/share/met/poly/CONUS.poly"
>> > > > > > > >> > > > > > >> >
>> > > > > > > >> > > > > > >> > Second, could you please change your
log
>> level
>> > in
>> > > > > your
>> > > > > > > >> > > > configuration
>> > > > > > > >> > > > > > >> file
>> > > > > > > >> > > > > > >> > from
>> > > > > > > >> > > > > > >> >
>> > > > > > > >> > > > > > >> > LOG_LEVEL = "INFO"
>> > > > > > > >> > > > > > >> >
>> > > > > > > >> > > > > > >> > to
>> > > > > > > >> > > > > > >> >
>> > > > > > > >> > > > > > >> > LOG_LEVEL = "DEBUG"
>> > > > > > > >> > > > > > >> >
>> > > > > > > >> > > > > > >> > then rerun and upload your log file
to our
>> ftp
>> > > > server
>> > > > > > > >> again?
>> > > > > > > >> > > > > > >> >
>> > > > > > > >> > > > > > >> > Thank you!
>> > > > > > > >> > > > > > >> >
>> > > > > > > >> > > > > > >> > Julie
>> > > > > > > >> > > > > > >> >
>> > > > > > > >> > > > > > >> >
>> > > > > > > >> > > > > > >> > On Wed, Feb 22, 2017 at 12:39 PM,
Xinxia
>> Song
>> > via
>> > > > RT
>> > > > > <
>> > > > > > > >> > > > > > met_help at ucar.edu
>> > > > > > > >> > > > > > >> >
>> > > > > > > >> > > > > > >> > wrote:
>> > > > > > > >> > > > > > >> >
>> > > > > > > >> > > > > > >> > >
>> > > > > > > >> > > > > > >> > > <URL: https://rt.rap.ucar.edu/rt/
>> > > > > > > >> > Ticket/Display.html?id=79605
>> > > > > > > >> > > >
>> > > > > > > >> > > > > > >> > >
>> > > > > > > >> > > > > > >> > > Hi Julie,
>> > > > > > > >> > > > > > >> > >
>> > > > > > > >> > > > > > >> > >
>> > > > > > > >> > > > > > >> > > I uploaded the log file under
xinxia_data
>> > > > > directory.
>> > > > > > > >> > > > > > >> > >
>> > > > > > > >> > > > > > >> > >
>> > > > > > > >> > > > > > >> > > Thanks,
>> > > > > > > >> > > > > > >> > >
>> > > > > > > >> > > > > > >> > >
>> > > > > > > >> > > > > > >> > > Xinxia
>> > > > > > > >> > > > > > >> > >
>> > > > > > > >> > > > > > >> > >
>> > > > > > > >> > > > > > >> > > ________________________________
>> > > > > > > >> > > > > > >> > > From: Julie Prestopnik via RT <
>> > > met_help at ucar.edu
>> > > > >
>> > > > > > > >> > > > > > >> > > Sent: Thursday, February 23, 2017
9:11:32
>> AM
>> > > > > > > >> > > > > > >> > > To: Xinxia_Song at outlook.com
>> > > > > > > >> > > > > > >> > > Subject: Re: [rt.rap.ucar.edu
#79605]
>> > > > ImportError:
>> > > > > > No
>> > > > > > > >> > module
>> > > > > > > >> > > > > named
>> > > > > > > >> > > > > > >> > > constants_pdef
>> > > > > > > >> > > > > > >> > >
>> > > > > > > >> > > > > > >> > > Hi Xinxia.
>> > > > > > > >> > > > > > >> > >
>> > > > > > > >> > > > > > >> > > I think it would be helpful if I
could
>> take a
>> > > > look
>> > > > > at
>> > > > > > > the
>> > > > > > > >> > log
>> > > > > > > >> > > > > file.
>> > > > > > > >> > > > > > >> > Could
>> > > > > > > >> > > > > > >> > > you please upload your file to our
>> anonymous
>> > > ftp
>> > > > > site
>> > > > > > > as
>> > > > > > > >> > > follows
>> > > > > > > >> > > > > so
>> > > > > > > >> > > > > > >> that
>> > > > > > > >> > > > > > >> > I
>> > > > > > > >> > > > > > >> > > can take a look?
>> > > > > > > >> > > > > > >> > >
>> > > > > > > >> > > > > > >> > >    http://www.dtcenter.org/met/
>> > > > > > > >> > users/support/met_help.php#ftp
>> > > > > > > >> > > > > > >> > >
>> > > > > > > >> > > > > > >> > > Also, could you please try running
the
>> > > following
>> > > > > > > manually
>> > > > > > > >> > and
>> > > > > > > >> > > > send
>> > > > > > > >> > > > > > the
>> > > > > > > >> > > > > > >> > > output to me?
>> > > > > > > >> > > > > > >> > >
>> > > > > > > >> > > > > > >> > > "/D2/xinxia/METplus/MET/met-5.
>> 2/bin/tc_stat
>> > > -job
>> > > > > > > filter
>> > > > > > > >> > > -lookin
>> > > > > > > >> > > > > > >> > > /D2/xinxia/METplus/MET/input/t
>> c_pairs/201412
>> > > > > > -init_inc
>> > > > > > > >> > > > > 20141201_00
>> > > > > > > >> > > > > > >> > > -match_points true -dump_row
>> > > > > > > /D2/xinxia/METplus/MET/out/
>> > > > > > > >> > > > > > >> > > extract_tiles/20141201_00/
>> > > > filter_20141201_00.tcst
>> > > > > > > >> -basin
>> > > > > > > >> > ML
>> > > > > > > >> > > > > > >> > > -out_init_mask
>> > > > > > > >> > > > > > >> > > /D2/xinxia/METplus/MET/met-5.2
>> > > > > > > >> /share/met/poly/CONUS.poly"
>> > > > > > > >> > > > > > >> > >
>> > > > > > > >> > > > > > >> > > Thank you!
>> > > > > > > >> > > > > > >> > >
>> > > > > > > >> > > > > > >> > > Julie
>> > > > > > > >> > > > > > >> > >
>> > > > > > > >> > > > > > >> > >
>> > > > > > > >> > > > > > >> > >
>> > > > > > > >> > > > > > >> > > On Wed, Feb 22, 2017 at 12:06 PM,
Xinxia
>> Song
>> > > via
>> > > > > RT
>> > > > > > <
>> > > > > > > >> > > > > > >> met_help at ucar.edu>
>> > > > > > > >> > > > > > >> > > wrote:
>> > > > > > > >> > > > > > >> > >
>> > > > > > > >> > > > > > >> > > >
>> > > > > > > >> > > > > > >> > > > <URL: https://rt.rap.ucar.edu/rt/
>> > > > > > > >> > > Ticket/Display.html?id=79605
>> > > > > > > >> > > > >
>> > > > > > > >> > > > > > >> > > >
>> > > > > > > >> > > > > > >> > > > Hi Julie,
>> > > > > > > >> > > > > > >> > > >
>> > > > > > > >> > > > > > >> > > >
>> > > > > > > >> > > > > > >> > > > Now I can run the program, but
when I
>> look
>> > at
>> > > > the
>> > > > > > log
>> > > > > > > >> file
>> > > > > > > >> > > in
>> > > > > > > >> > > > > the
>> > > > > > > >> > > > > > >> > output,
>> > > > > > > >> > > > > > >> > > > it shows error below:
>> > > > > > > >> > > > > > >> > > >
>> > > > > > > >> > > > > > >> > > >
>> > > > > > > >> > > > > > >> > > > ERROR|
/D2/xinxia/METplus/METplus/
>> > > > > > > >> > > ush/run_tc_stat.py:tc_stat
>> > > > > > > >> > > > > from
>> > > > > > > >> > > > > > >> > > calling
>> > > > > > > >> > > > > > >> > > > MET TC-STAT with
>> > > command:/D2/xinxia/METplus/MET
>> > > > > > > >> > > > > > /met-5.2/bin/tc_stat
>> > > > > > > >> > > > > > >> > -job
>> > > > > > > >> > > > > > >> > > > filter -lookin
>> > /D2/xinxia/METplus/MET/input/
>> > > > > > > >> > tc_pairs/201412
>> > > > > > > >> > > > > > >> -init_inc
>> > > > > > > >> > > > > > >> > > > 20141201_00 -match_points true
-dump_row
>> > > > > > > >> > > > > > /D2/xinxia/METplus/MET/out/
>> > > > > > > >> > > > > > >> > > > extract_tiles/20141201_00/
>> > > > > filter_20141201_00.tcst
>> > > > > > > >> -basin
>> > > > > > > >> > > ML
>> > > > > > > >> > > > > > >> > > > -out_init_mask
>> > /D2/xinxia/METplus/MET/met-5.
>> > > > > > > >> > > > > > >> > 2/share/met/poly/CONUS.poly
>> > > > > > > >> > > > > > >> > > >
>> > > > > > > >> > > > > > >> > > >
>> > > > > > > >> > > > > > >> > > > How should I fix it?
>> > > > > > > >> > > > > > >> > > >
>> > > > > > > >> > > > > > >> > > >
>> > > > > > > >> > > > > > >> > > > Thanks,
>> > > > > > > >> > > > > > >> > > >
>> > > > > > > >> > > > > > >> > > >
>> > > > > > > >> > > > > > >> > > > Xinxia
>> > > > > > > >> > > > > > >> > > >
>> > > > > > > >> > > > > > >> > > > ________________________________
>> > > > > > > >> > > > > > >> > > > From: Julie Prestopnik via RT <
>> > > > met_help at ucar.edu
>> > > > > >
>> > > > > > > >> > > > > > >> > > > Sent: Thursday, February 23, 2017
>> 7:30:06
>> > AM
>> > > > > > > >> > > > > > >> > > > To: Xinxia_Song at outlook.com
>> > > > > > > >> > > > > > >> > > > Subject: Re: [rt.rap.ucar.edu
#79605]
>> > > > > ImportError:
>> > > > > > > No
>> > > > > > > >> > > module
>> > > > > > > >> > > > > > named
>> > > > > > > >> > > > > > >> > > > constants_pdef
>> > > > > > > >> > > > > > >> > > >
>> > > > > > > >> > > > > > >> > > > Hi Xinxia.
>> > > > > > > >> > > > > > >> > > >
>> > > > > > > >> > > > > > >> > > > I believe that python doesn't
know how
>> to
>> > > find
>> > > > > the
>> > > > > > > >> module
>> > > > > > > >> > > > > because
>> > > > > > > >> > > > > > >> the
>> > > > > > > >> > > > > > >> > ush
>> > > > > > > >> > > > > > >> > > > directory is not in your
PYTHONPATH.
>> Both
>> > > the
>> > > > > parm
>> > > > > > > and
>> > > > > > > >> > ush
>> > > > > > > >> > > > > > >> directory
>> > > > > > > >> > > > > > >> > > need
>> > > > > > > >> > > > > > >> > > > to be specified in your
PYTHONPATH.
>> Please
>> > > add
>> > > > > the
>> > > > > > > ush
>> > > > > > > >> > > > > directory
>> > > > > > > >> > > > > > to
>> > > > > > > >> > > > > > >> > your
>> > > > > > > >> > > > > > >> > > > PYTHONPATH, source ~/.bashrc, and
let us
>> > know
>> > > > how
>> > > > > > it
>> > > > > > > >> goes.
>> > > > > > > >> > > > > > >> > > >
>> > > > > > > >> > > > > > >> > > > Thanks,
>> > > > > > > >> > > > > > >> > > > Julie
>> > > > > > > >> > > > > > >> > > >
>> > > > > > > >> > > > > > >> > > > On Wed, Feb 22, 2017 at 10:24 AM,
Xinxia
>> > Song
>> > > > via
>> > > > > > RT
>> > > > > > > <
>> > > > > > > >> > > > > > >> > met_help at ucar.edu>
>> > > > > > > >> > > > > > >> > > > wrote:
>> > > > > > > >> > > > > > >> > > >
>> > > > > > > >> > > > > > >> > > > >
>> > > > > > > >> > > > > > >> > > > > <URL:
https://rt.rap.ucar.edu/rt/
>> > > > > > > >> > > > Ticket/Display.html?id=79605
>> > > > > > > >> > > > > >
>> > > > > > > >> > > > > > >> > > > >
>> > > > > > > >> > > > > > >> > > > > Hi Julie,
>> > > > > > > >> > > > > > >> > > > >
>> > > > > > > >> > > > > > >> > > > >
>> > > > > > > >> > > > > > >> > > > > Since I don't have setenv, I
added
>> these
>> > 3
>> > > > > > sentence
>> > > > > > > >> into
>> > > > > > > >> > > my
>> > > > > > > >> > > > > > >> .bashrc
>> > > > > > > >> > > > > > >> > > file:
>> > > > > > > >> > > > > > >> > > > >
>> > > > > > > >> > > > > > >> > > > >
>> > > > > > > >> > > > > > >> > > > > export PYTHONPATH="/D2/xinxia/
>> > > > > > > METplus/METplus/parm"
>> > > > > > > >> > > > > > >> > > > >
>> > > > > > > >> > > > > > >> > > > >
>> > > > > > > >> > > > > > >> > > > > export
USHROOT=/D2/xinxia/METplus/
>> > > > METplus/ush
>> > > > > > > >> > > > > > >> > > > >
>> > > > > > > >> > > > > > >> > > > > export PATH=$USHROOT:$PATH
>> > > > > > > >> > > > > > >> > > > >
>> > > > > > > >> > > > > > >> > > > >
>> > > > > > > >> > > > > > >> > > > > I sourced the ~/.bashrc, and
checked
>> that
>> > > the
>> > > > > > > >> variables
>> > > > > > > >> > > are
>> > > > > > > >> > > > > set,
>> > > > > > > >> > > > > > >> but
>> > > > > > > >> > > > > > >> > > the
>> > > > > > > >> > > > > > >> > > > > program still can't find the
module.
>> > > > > > > >> > > > > > >> > > > >
>> > > > > > > >> > > > > > >> > > > >
>> > > > > > > >> > > > > > >> > > > > Thanks,
>> > > > > > > >> > > > > > >> > > > >
>> > > > > > > >> > > > > > >> > > > > Xinxia
>> > > > > > > >> > > > > > >> > > > >
>> > > > > > > >> > > > > > >> > > > >
________________________________
>> > > > > > > >> > > > > > >> > > > > From: Julie Prestopnik via RT <
>> > > > > met_help at ucar.edu
>> > > > > > >
>> > > > > > > >> > > > > > >> > > > > Sent: Thursday, February 23,
2017
>> 6:24:21
>> > > AM
>> > > > > > > >> > > > > > >> > > > > To: Xinxia_Song at outlook.com
>> > > > > > > >> > > > > > >> > > > > Subject: Re: [rt.rap.ucar.edu
#79605]
>> > > > > > ImportError:
>> > > > > > > >> No
>> > > > > > > >> > > > module
>> > > > > > > >> > > > > > >> named
>> > > > > > > >> > > > > > >> > > > > constants_pdef
>> > > > > > > >> > > > > > >> > > > >
>> > > > > > > >> > > > > > >> > > > > Hi Xinxia.
>> > > > > > > >> > > > > > >> > > > >
>> > > > > > > >> > > > > > >> > > > > Could you please check to make
sure
>> that
>> > > the
>> > > > > ush
>> > > > > > > >> > directory
>> > > > > > > >> > > > > with
>> > > > > > > >> > > > > > >> > > > > constants_pdef.py is in your
>> PYTHONPATH
>> > in
>> > > > your
>> > > > > > > >> .cshrc
>> > > > > > > >> > > file
>> > > > > > > >> > > > > (or
>> > > > > > > >> > > > > > >> > .bashrc
>> > > > > > > >> > > > > > >> > > > or
>> > > > > > > >> > > > > > >> > > > > similar file)?  The parm
directory
>> should
>> > > > also
>> > > > > be
>> > > > > > > in
>> > > > > > > >> > your
>> > > > > > > >> > > > > > >> PYTHONPATH.
>> > > > > > > >> > > > > > >> > > > >
>> > > > > > > >> > > > > > >> > > > > For example,
>> > > > > > > >> > > > > > >> > > > >
>> > > > > > > >> > > > > > >> > > > > setenv PYTHONPATH
>> > > > /d1/jpresto/sbu/METplus/ush:/
>> > > > > > > >> > > > > > >> > > > d1/jpresto/sbu/METplus/parm
>> > > > > > > >> > > > > > >> > > > >
>> > > > > > > >> > > > > > >> > > > > Please also check make sure
that the
>> path
>> > > to
>> > > > > the
>> > > > > > > ush
>> > > > > > > >> > > > directory
>> > > > > > > >> > > > > > is
>> > > > > > > >> > > > > > >> > also
>> > > > > > > >> > > > > > >> > > > > specified your your path
environment
>> > > > variable.
>> > > > > > For
>> > > > > > > >> > > example,
>> > > > > > > >> > > > > > >> > > > >
>> > > > > > > >> > > > > > >> > > > > set path = (/usr/local/bin \
>> > > > > > > >> > > > > > >> > > > >
>> > > > /usr/local/python/bin/python \
>> > > > > > > >> > > > > > >> > > > >
>> > > /d1/jpresto/sbu/METplus/ush
>> > > > )
>> > > > > > > >> > > > > > >> > > > >
>> > > > > > > >> > > > > > >> > > > > If they are not there, please
add them
>> > and
>> > > > then
>> > > > > > > >> source
>> > > > > > > >> > the
>> > > > > > > >> > > > > file
>> > > > > > > >> > > > > > >> (e.g.
>> > > > > > > >> > > > > > >> > > run
>> > > > > > > >> > > > > > >> > > > > "source ~/.cshrc").
>> > > > > > > >> > > > > > >> > > > >
>> > > > > > > >> > > > > > >> > > > > Thank you!  Please let us know
how it
>> > goes.
>> > > > > > > >> > > > > > >> > > > >
>> > > > > > > >> > > > > > >> > > > > Julie
>> > > > > > > >> > > > > > >> > > > >
>> > > > > > > >> > > > > > >> > > > >
>> > > > > > > >> > > > > > >> > > > >
>> > > > > > > >> > > > > > >> > > > >
>> > > > > > > >> > > > > > >> > > > > On Tue, Feb 21, 2017 at 4:49
PM,
>> Xinxia
>> > > Song
>> > > > > via
>> > > > > > > RT <
>> > > > > > > >> > > > > > >> > met_help at ucar.edu
>> > > > > > > >> > > > > > >> > > >
>> > > > > > > >> > > > > > >> > > > > wrote:
>> > > > > > > >> > > > > > >> > > > >
>> > > > > > > >> > > > > > >> > > > > >
>> > > > > > > >> > > > > > >> > > > > > Tue Feb 21 16:49:28 2017:
Request
>> 79605
>> > > was
>> > > > > > acted
>> > > > > > > >> > upon.
>> > > > > > > >> > > > > > >> > > > > > Transaction: Ticket created
by
>> > > > > > > >> > Xinxia_Song at outlook.com
>> > > > > > > >> > > > > > >> > > > > >        Queue: met_help
>> > > > > > > >> > > > > > >> > > > > >      Subject: ImportError: No
module
>> > > named
>> > > > > > > >> > > constants_pdef
>> > > > > > > >> > > > > > >> > > > > >        Owner: Nobody
>> > > > > > > >> > > > > > >> > > > > >   Requestors:
>> Xinxia_Song at outlook.com
>> > > > > > > >> > > > > > >> > > > > >       Status: new
>> > > > > > > >> > > > > > >> > > > > >  Ticket <URL:
>> > > https://rt.rap.ucar.edu/rt/
>> > > > > > > >> > > > > > >> > > Ticket/Display.html?id=79605
>> > > > > > > >> > > > > > >> > > > >
>> > > > > > > >> > > > > > >> > > > > >
>> > > > > > > >> > > > > > >> > > > > >
>> > > > > > > >> > > > > > >> > > > > > Hi,
>> > > > > > > >> > > > > > >> > > > > >
>> > > > > > > >> > > > > > >> > > > > >
>> > > > > > > >> > > > > > >> > > > > > When I ran the
mater_met_plus.py, it
>> > > says:
>> > > > > > > >> > > > > > >> > > > > >
>> > > > > > > >> > > > > > >> > > > > >
>> > > > > > > >> > > > > > >> > > > > > ImportError: No module named
>> > > constants_pdef
>> > > > > > > >> > > > > > >> > > > > >
>> > > > > > > >> > > > > > >> > > > > >
>> > > > > > > >> > > > > > >> > > > > > Seems it doesn't recognize
>> > constants_pdef
>> > > > as
>> > > > > > its
>> > > > > > > >> > module.
>> > > > > > > >> > > > > > >> > > > > >
>> > > > > > > >> > > > > > >> > > > > >
>> > > > > > > >> > > > > > >> > > > > > Thanks,
>> > > > > > > >> > > > > > >> > > > > >
>> > > > > > > >> > > > > > >> > > > > > Xinxia
>> > > > > > > >> > > > > > >> > > > > >
>> > > > > > > >> > > > > > >> > > > > >
>> > > > > > > >> > > > > > >> > > > >
>> > > > > > > >> > > > > > >> > > > >
>> > > > > > > >> > > > > > >> > > > >
>> > > > > > > >> > > > > > >> > > >
>> > > > > > > >> > > > > > >> > > >
>> > > > > > > >> > > > > > >> > > >
>> > > > > > > >> > > > > > >> > >
>> > > > > > > >> > > > > > >> > >
>> > > > > > > >> > > > > > >> > >
>> > > > > > > >> > > > > > >> >
>> > > > > > > >> > > > > > >> >
>> > > > > > > >> > > > > > >> >
>> > > > > > > >> > > > > > >>
>> > > > > > > >> > > > > > >>
>> > > > > > > >> > > > > > >>
>> > > > > > > >> > > > > > >
>> > > > > > > >> > > > > >
>> > > > > > > >> > > > > >
>> > > > > > > >> > > > > >
>> > > > > > > >> > > > >
>> > > > > > > >> > > > >
>> > > > > > > >> > > > >
>> > > > > > > >> > > >
>> > > > > > > >> > > >
>> > > > > > > >> > > >
>> > > > > > > >> > >
>> > > > > > > >> > >
>> > > > > > > >> > >
>> > > > > > > >> >
>> > > > > > > >> >
>> > > > > > > >> >
>> > > > > > > >>
>> > > > > > > >>
>> > > > > > > >>
>> > > > > > > >
>> > > > > > >
>> > > > > > >
>> > > > > > >
>> > > > > >
>> > > > > >
>> > > > > >
>> > > > >
>> > > > >
>> > > > >
>> > > >
>> > > >
>> > > >
>> > >
>> > >
>> > >
>> >
>> >
>> >
>>
>>
>>
>


------------------------------------------------
Subject: ImportError: No module named constants_pdef
From: Julie Prestopnik
Time: Thu Mar 02 09:57:54 2017

Hi Xinxia.  I apologize for the delay in responding.  I was out of the
office.  I'm so glad to hear that you were able to get a successful
run
from series_by_lead.py!

Could you please open master_met_plus.py in the editor of your choice
(vi,
emacs, etc.) and change the first line from:

#!/usr/bin/python

to

#!/usr/bin/env python

Then, please delete master_met_plus.pyc  (Note the ".pyc" extension).
Please also do the same for met_util.py, changing the top line and
also
removing a .pyc file if one exists.

Then, please change your PROCESS_LIST in constants_pdef.py to only
have
series_by_lead.py in the list, since the other processes have run
successfully via master_met_plus.py.

Then, please rerun master_met_plus.py and let me know how it goes.

I still suspect that somehow Python 2.6 is being used because this
error:

AttributeError: 'module' object has no attribute 'check_output'

indicates that subprocess does not have a "check_output" attribute,
which
is true for Python 2.6, but not for 2.7.  Hopefully, these changes
will
take care of the problem in the environment.  If not, we'll try
something
else.  Thank you for your patience and help in testing our alpha
version.

Julie

On Thu, Mar 2, 2017 at 8:07 AM, Xinxia Song via RT <met_help at ucar.edu>
wrote:

>
> <URL: https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=79605 >
>
> Hi Julie,
>
>
> I ran the master_met_plus.py again and still got the error:
>
>
> Traceback (most recent call last):
>
>   File "/D2/xinxia/METplus/METplus/ush/series_by_lead.py", line 945,
in
> <module>
>
>     analysis_by_lead_time()
>
>   File "/D2/xinxia/METplus/METplus/ush/series_by_lead.py", line 107,
in
> analysis_by_lead_time
>
>     util.apply_series_filters(tile_dir, init_times,
> series_lead_filtered_out_dir, p, logger)
>
>   File "/D2/xinxia/METplus/METplus/ush/met_util.py", line 1005, in
> apply_series_filters
>
>     tcs.tc_stat(p, logger, tc_cmd, series_output_dir)
>
>   File "/D2/xinxia/METplus/METplus/ush/run_tc_stat.py", line 69, in
> tc_stat
>
>     tc_stat_out = subprocess.check_output(tc_cmd,
> stderr=subprocess.STDOUT, shell=True )
>
> AttributeError: 'module' object has no attribute 'check_output'
>
>
>
> Thanks,
>
>
> Xinxia
>
> ________________________________
> From: Xinxia Song
> Sent: Tuesday, February 28, 2017 5:07:13 PM
> To: met_help at ucar.edu
> Subject: Re: [rt.rap.ucar.edu #79605] ImportError: No module named
> constants_pdef
>
>
> Hi Julie,
>
>
> I correct these paths and I could successfully run series_by_lead.py
but
> have errors for the master_met_plus.py. I get the errors:
>
> Traceback (most recent call last):
>
>   File "/D2/xinxia/METplus/METplus/ush/series_by_lead.py", line 945,
in
> <module>
>
>     analysis_by_lead_time()
>
>   File "/D2/xinxia/METplus/METplus/ush/series_by_lead.py", line 107,
in
> analysis_by_lead_time
>
>     util.apply_series_filters(tile_dir, init_times,
> series_lead_filtered_out_dir, p, logger)
>
>   File "/D2/xinxia/METplus/METplus/ush/met_util.py", line 1005, in
> apply_series_filters
>
>     tcs.tc_stat(p, logger, tc_cmd, series_output_dir)
>
>   File "/D2/xinxia/METplus/METplus/ush/run_tc_stat.py", line 69, in
> tc_stat
>
>     tc_stat_out = subprocess.check_output(tc_cmd,
> stderr=subprocess.STDOUT, shell=True )
>
> AttributeError: 'module' object has no attribute 'check_output'
>
>
> Thanks,
>
>
> Xinxia
>
> ________________________________
> From: Julie Prestopnik via RT <met_help at ucar.edu>
> Sent: Tuesday, February 28, 2017 2:50:58 PM
> To: Xinxia_Song at outlook.com
> Subject: Re: [rt.rap.ucar.edu #79605] ImportError: No module named
> constants_pdef
>
> Hi Xinxia.  I also thought I would mention that, as indicated in the
README
> file that came with the distribution, in addition to ncap2 and
ncdump, the
> following are also required for MET+:
>
>   - convert utility (part of ImageMagick)
>     - https://www.imagemagick.org/script/binary-releases.php
>   - wgrib2 utility
>     - http://www.cpc.noaa.gov/products/wesley/wgrib2/
> compile_questions.html
>   - egrep utility
>     - http://directory.fsf.org/wiki/Grep
>
> If you do not have these installed. Please install them and set up
their
> paths in the constants_pdef.py file.
>
> Thanks,
> Julie
>
> On Tue, Feb 28, 2017 at 12:45 PM, Julie Prestopnik
<jpresto at ucar.edu>
> wrote:
>
> > Hi Xinxia.
> >
> > You will also need to have the ncdump command installed, with the
> location
> > to the executable listed in NCDUMP_EXE in constants_pdef.py.
Please have
> > ncdump installed, update your constants_pdef.py file and rerun.
> >
> > Thanks!
> >
> > Julie
> >
> > On Tue, Feb 28, 2017 at 12:18 PM, Xinxia Song via RT
<met_help at ucar.edu>
> > wrote:
> >
> >>
> >> <URL: https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=79605 >
> >>
> >> Hi Julie,
> >>
> >>
> >> Before I was running master_met_plus.py and now I ran the
> >> series_by_lead.py and got the following results:
> >>
> >> [xinxia at chaos ush]$ python series_by_lead.py
> >>
> >> Traceback (most recent call last):
> >>
> >>   File "series_by_lead.py", line 945, in <module>
> >>
> >>     analysis_by_lead_time()
> >>
> >>   File "series_by_lead.py", line 326, in analysis_by_lead_time
> >>
> >>     vmin, vmax = get_netcdf_min_max(nc_var_list, cur_stat, p,
logger)
> >>
> >>   File "series_by_lead.py", line 638, in get_netcdf_min_max
> >>
> >>     shell=True)
> >>
> >>   File "/home/xinxia/anaconda2/lib/python2.7/subprocess.py", line
219,
> >> in check_output
> >>
> >>     raise CalledProcessError(retcode, cmd, output=output)
> >>
> >> subprocess.CalledProcessError: Command '/usr/local/bin/ncdump
> >>
/D2/xinxia/METplus/MET/out/series_analysis_lead/series_F042/min.nc >
> >>
/D2/xinxia/METplus/MET/out/series_analysis_lead/series_F042/min.txt'
> >> returned non-zero exit status 127
> >>
> >>
> >> Thanks,
> >>
> >>
> >> Xinxia
> >>
> >> ________________________________
> >> From: Julie Prestopnik via RT <met_help at ucar.edu>
> >> Sent: Tuesday, February 28, 2017 2:11:19 PM
> >> To: Xinxia_Song at outlook.com
> >> Subject: Re: [rt.rap.ucar.edu #79605] ImportError: No module
named
> >> constants_pdef
> >>
> >> Hi Xinxia.  Did you run series_by_lead.py on its own or via
> >> master_met_plus.py?
> >>
> >> Thanks,
> >> Julie
> >>
> >> On Tue, Feb 28, 2017 at 11:11 AM, Xinxia Song via RT
<met_help at ucar.edu
> >
> >> wrote:
> >>
> >> >
> >> > <URL: https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=79605 >
> >> >
> >> > Hi Julie,
> >> >
> >> >
> >> > I checked it's 2.7.13. It seems the error doesn't coming from
it.
> >> >
> >> >
> >> > Thanks,
> >> >
> >> >
> >> > Xinxia
> >> >
> >> >
> >> > ________________________________
> >> > From: Julie Prestopnik via RT <met_help at ucar.edu>
> >> > Sent: Tuesday, February 28, 2017 10:49:29 AM
> >> > To: Xinxia_Song at outlook.com
> >> > Subject: Re: [rt.rap.ucar.edu #79605] ImportError: No module
named
> >> > constants_pdef
> >> >
> >> > I think perhaps your environment is using Python 2.6 again.
> >> >
> >> > Please try running:
> >> >
> >> > python --version
> >> >
> >> > on the command line.
> >> >
> >> > If you see "Python 2..6.6", please add the path for Python 2.7
to the
> >> front
> >> > of your path in your ~/.bashrc file.  Then, source your
~/.bashrc file
> >> and
> >> > try rerunning
> >> >
> >> > python --version
> >> >
> >> > on the command line.  Hopefully, then you will see the new
version.
> >> Then,
> >> > please try rerunning master_met_plus.py.
> >> >
> >> > I hope this helps!  Thanks!
> >> >
> >> > Julie
> >> >
> >> > On Mon, Feb 27, 2017 at 8:14 PM, Xinxia Song via RT <
> met_help at ucar.edu>
> >> > wrote:
> >> >
> >> > >
> >> > > <URL: https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=79605
>
> >> > >
> >> > > Hi Julie,
> >> > >
> >> > >
> >> > > after I update the NCAP2 path in constants_pdef.py and ran
the
> >> > > master_met_plus.py, I got the error:
> >> > >
> >> > > 2017-02-28 02:49:40,659 : ERROR | [master_met_plus.py:main] |
> Problem
> >> > > executing: series_by_lead.py
> >> > >
> >> > > and message:
> >> > >
> >> > > Traceback (most recent call last):
> >> > >
> >> > >   File "/D2/xinxia/METplus/METplus/ush/series_by_lead.py",
line
> 945,
> >> in
> >> > > <module>
> >> > >
> >> > >     analysis_by_lead_time()
> >> > >
> >> > >   File "/D2/xinxia/METplus/METplus/ush/series_by_lead.py",
line
> 107,
> >> in
> >> > > analysis_by_lead_time
> >> > >
> >> > >     util.apply_series_filters(tile_dir, init_times,
> >> > > series_lead_filtered_out_dir, p, logger)
> >> > >
> >> > >   File "/D2/xinxia/METplus/METplus/ush/met_util.py", line
1005, in
> >> > > apply_series_filters
> >> > >
> >> > >     tcs.tc_stat(p, logger, tc_cmd, series_output_dir)
> >> > >
> >> > >   File "/D2/xinxia/METplus/METplus/ush/run_tc_stat.py", line
69, in
> >> > > tc_stat
> >> > >
> >> > >     tc_stat_out = subprocess.check_output(tc_cmd,
> >> > > stderr=subprocess.STDOUT, shell=True )
> >> > >
> >> > > AttributeError: 'module' object has no attribute
'check_output'
> >> > >
> >> > >
> >> > > Thanks,
> >> > >
> >> > >
> >> > > Xinxia
> >> > >
> >> > > ________________________________
> >> > > From: Julie Prestopnik via RT <met_help at ucar.edu>
> >> > > Sent: Monday, February 27, 2017 5:15:59 PM
> >> > > To: Xinxia_Song at outlook.com
> >> > > Subject: Re: [rt.rap.ucar.edu #79605] ImportError: No module
named
> >> > > constants_pdef
> >> > >
> >> > > Please install ncap2 and update the location to the
executable in
> the
> >> > > NCAP2_EXE field of the constants_pdef.py file and trying
rerunning
> the
> >> > MET+
> >> > > code.  Please let us know how it goes.
> >> > >
> >> > > Thanks,
> >> > > Julie
> >> > >
> >> > > On Mon, Feb 27, 2017 at 3:10 PM, Xinxia Song via RT <
> >> met_help at ucar.edu>
> >> > > wrote:
> >> > >
> >> > > >
> >> > > > <URL:
https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=79605 >
> >> > > >
> >> > > > Hi Julie,
> >> > > >
> >> > > >
> >> > > > The result is :
> >> > > >
> >> > > > -bash: /usr/local/nco/bin/ncap2: No such file or directory
> >> > > >
> >> > > > I think we don't have it installed.
> >> > > >
> >> > > >
> >> > > > Thanks,
> >> > > >
> >> > > > Xinxia
> >> > > >
> >> > > > ________________________________
> >> > > > From: Julie Prestopnik via RT <met_help at ucar.edu>
> >> > > > Sent: Monday, February 27, 2017 5:08:48 PM
> >> > > > To: Xinxia_Song at outlook.com
> >> > > > Subject: Re: [rt.rap.ucar.edu #79605] ImportError: No
module
> named
> >> > > > constants_pdef
> >> > > >
> >> > > > Hi Xinxia. I believe that error code refers to "Command not
> found".
> >> > Can
> >> > > > you please run the following and send me the output?
> >> > > >
> >> > > > /usr/local/nco/bin/ncap2 --version
> >> > > >
> >> > > > Thanks!
> >> > > >
> >> > > > Julie
> >> > > >
> >> > > >
> >> > > > On Mon, Feb 27, 2017 at 2:55 PM, Xinxia Song via RT <
> >> met_help at ucar.edu
> >> > >
> >> > > > wrote:
> >> > > >
> >> > > > >
> >> > > > > <URL:
https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=79605 >
> >> > > > >
> >> > > > > Hi Julie,
> >> > > > >
> >> > > > >
> >> > > > > The error is:
> >> > > > >
> >> > > > > Traceback (most recent call last):
> >> > > > >
> >> > > > >   File "series_by_lead.py", line 945, in <module>
> >> > > > >
> >> > > > >     analysis_by_lead_time()
> >> > > > >
> >> > > > >   File "series_by_lead.py", line 326, in
analysis_by_lead_time
> >> > > > >
> >> > > > >     vmin, vmax = get_netcdf_min_max(nc_var_list,
cur_stat, p,
> >> > logger)
> >> > > > >
> >> > > > >   File "series_by_lead.py", line 605, in
get_netcdf_min_max
> >> > > > >
> >> > > > >     shell=True)
> >> > > > >
> >> > > > >   File
"/home/xinxia/anaconda2/lib/python2.7/subprocess.py",
> line
> >> > 219,
> >> > > > in
> >> > > > > check_output
> >> > > > >
> >> > > > >     raise CalledProcessError(retcode, cmd, output=output)
> >> > > > >
> >> > > > > subprocess.CalledProcessError: Command
'/usr/local/nco/bin/ncap2
> >> -v
> >> > -s
> >> > > > > "min=min(series_cnt_TOTAL)" /D2/xinxia/METplus/MET/out/
> >> > > > > series_analysis_lead/series_F042/series_F042_HGT_P500.nc
> >> > > > >
/D2/xinxia/METplus/MET/out/series_analysis_lead/series_F042/
> >> min.nc'
> >> > > > > returned non-zero exit status 127
> >> > > > >
> >> > > > >
> >> > > > > Thanks,
> >> > > > >
> >> > > > >
> >> > > > > Xinxia
> >> > > > >
> >> > > > > ________________________________
> >> > > > > From: Julie Prestopnik via RT <met_help at ucar.edu>
> >> > > > > Sent: Tuesday, February 28, 2017 9:18:55 AM
> >> > > > > To: Xinxia_Song at outlook.com
> >> > > > > Subject: Re: [rt.rap.ucar.edu #79605] ImportError: No
module
> >> named
> >> > > > > constants_pdef
> >> > > > >
> >> > > > > Thank you, Xinxia.
> >> > > > >
> >> > > > > Unfortunately, the "DEBUG" log level did not provide much
> >> information
> >> > > for
> >> > > > > this task:
> >> > > > >
> >> > > > > 2017-02-26 21:30:28,041 : INFO |
[master_met_plus.py:main] |
> >> Running:
> >> > > > > series_by_lead.py
> >> > > > > 2017-02-26 21:30:28,212 : ERROR |
[master_met_plus.py:main] |
> >> Problem
> >> > > > > executing: series_by_lead.py
> >> > > > >
> >> > > > > Could you please try running series_by_lead.py in the ush
> >> directory?
> >> > > > > Please let me know what the output is from that run - it
may
> >> still be
> >> > > > > contained in your log file.
> >> > > > >
> >> > > > > Thanks!
> >> > > > >
> >> > > > > Julie
> >> > > > >
> >> > > > >
> >> > > > > On Mon, Feb 27, 2017 at 11:17 AM, Xinxia Song via RT <
> >> > > met_help at ucar.edu>
> >> > > > > wrote:
> >> > > > >
> >> > > > > >
> >> > > > > > <URL:
https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=79605
> >
> >> > > > > >
> >> > > > > > Hi Julie,
> >> > > > > >
> >> > > > > >
> >> > > > > > I uploaded the constants_pdef.py and
> >> master_met_plus.20170226.log.
> >> > > > > >
> >> > > > > >
> >> > > > > > Thanks,
> >> > > > > >
> >> > > > > >
> >> > > > > > Xinxia
> >> > > > > >
> >> > > > > > ________________________________
> >> > > > > > From: Julie Prestopnik via RT <met_help at ucar.edu>
> >> > > > > > Sent: Tuesday, February 28, 2017 5:46:37 AM
> >> > > > > > To: Xinxia_Song at outlook.com
> >> > > > > > Subject: Re: [rt.rap.ucar.edu #79605] ImportError: No
module
> >> named
> >> > > > > > constants_pdef
> >> > > > > >
> >> > > > > > Hi Xinxia.  Can you please upload the configuration
file that
> >> you
> >> > > used
> >> > > > > and
> >> > > > > > the log file from that run to our ftp server so that we
can
> >> take a
> >> > > > look?
> >> > > > > >
> >> > > > > > Thanks!
> >> > > > > >
> >> > > > > > Julie
> >> > > > > >
> >> > > > > > On Sun, Feb 26, 2017 at 2:35 PM, Xinxia Song via RT <
> >> > > met_help at ucar.edu
> >> > > > >
> >> > > > > > wrote:
> >> > > > > >
> >> > > > > > >
> >> > > > > > > <URL: https://rt.rap.ucar.edu/rt/
> Ticket/Display.html?id=79605
> >> >
> >> > > > > > >
> >> > > > > > > Hi Julie,
> >> > > > > > >
> >> > > > > > >
> >> > > > > > > I ran the mater_met_plus.py and in the end in the log
file
> it
> >> > gave
> >> > > me
> >> > > > > an
> >> > > > > > > error:
> >> > > > > > >
> >> > > > > > > 2017-02-26 21:30:28,212 : ERROR |
[master_met_plus.py:main]
> |
> >> > > Problem
> >> > > > > > > executing: series_by_lead.py
> >> > > > > > >
> >> > > > > > >
> >> > > > > > > Thanks,
> >> > > > > > >
> >> > > > > > > Xinxia
> >> > > > > > >
> >> > > > > > > ________________________________
> >> > > > > > > From: Julie Prestopnik via RT <met_help at ucar.edu>
> >> > > > > > > Sent: Saturday, February 25, 2017 6:49:56 AM
> >> > > > > > > To: Xinxia_Song at outlook.com
> >> > > > > > > Subject: Re: [rt.rap.ucar.edu #79605] ImportError: No
> module
> >> > named
> >> > > > > > > constants_pdef
> >> > > > > > >
> >> > > > > > > You could also run "tail -f
</path/to/logfile/logfile_
> name>"
> >> > > > replacing
> >> > > > > > > </path/to/logfile/logfile_name> with the logfile path
and
> >> name
> >> > > > > > information
> >> > > > > > > to see how the run is coming along.  I hope that
helps!
> >> > > > > > >
> >> > > > > > > Julie
> >> > > > > > >
> >> > > > > > > On Fri, Feb 24, 2017 at 9:42 AM, Julie Prestopnik <
> >> > > jpresto at ucar.edu>
> >> > > > > > > wrote:
> >> > > > > > >
> >> > > > > > > > Hi Xinxia.  Running the entire three months of data
could
> >> > > certainly
> >> > > > > > take
> >> > > > > > > a
> >> > > > > > > > long time.  I am hoping to get an estimate on how
long it
> >> took
> >> > to
> >> > > > run
> >> > > > > > the
> >> > > > > > > > three month data set here, but have not been able
to
> obtain
> >> > that
> >> > > > > number
> >> > > > > > > > yet.   It sounds the code was running successfully
for
> >> you.  If
> >> > > > > you're
> >> > > > > > > > eager to take a lot at some output, I would suggest
> running
> >> a
> >> > > > smaller
> >> > > > > > > > subset of the data, or perhaps you could set up the
whole
> >> three
> >> > > > month
> >> > > > > > to
> >> > > > > > > > run over the weekend.  I would suggest letting the
code
> run
> >> to
> >> > > > > > completion
> >> > > > > > > > for either a smaller subset or for the entire
subset and
> >> then
> >> > > > > checking
> >> > > > > > > the
> >> > > > > > > > log file for errors.  I hope that helps.  Please
let me
> >> know if
> >> > > you
> >> > > > > > have
> >> > > > > > > > any questions or encounter any issues.
> >> > > > > > > >
> >> > > > > > > > Thanks,
> >> > > > > > > > Julie
> >> > > > > > > >
> >> > > > > > > >
> >> > > > > > > > On Thu, Feb 23, 2017 at 4:28 PM, Xinxia Song via RT
<
> >> > > > > met_help at ucar.edu
> >> > > > > > >
> >> > > > > > > > wrote:
> >> > > > > > > >
> >> > > > > > > >>
> >> > > > > > > >> <URL: https://rt.rap.ucar.edu/rt/Tic
> >> ket/Display.html?id=79605
> >> > >
> >> > > > > > > >>
> >> > > > > > > >> Hi Julie,
> >> > > > > > > >>
> >> > > > > > > >>
> >> > > > > > > >> The version is set to be 2.7+. When I ran
> >> master_met_plus.py,
> >> > it
> >> > > > > seems
> >> > > > > > > it
> >> > > > > > > >> will run forever. So I killed it, and got the
following:
> >> > > > > > > >>
> >> > > > > > > >> [xinxia at chaos ush]$ python master_met_plus.py
> >> > > > > > > >>
> >> > > > > > > >> ^CTraceback (most recent call last):
> >> > > > > > > >>
> >> > > > > > > >>   File "/D2/xinxia/METplus/METplus/
> ush/extract_tiles.py",
> >> > line
> >> > > > 157,
> >> > > > > > in
> >> > > > > > > >> <module>
> >> > > > > > > >>
> >> > > > > > > >>     main()
> >> > > > > > > >>
> >> > > > > > > >>   File "/D2/xinxia/METplus/METplus/
> ush/extract_tiles.py",
> >> > line
> >> > > > 100,
> >> > > > > > in
> >> > > > > > > >> main
> >> > > > > > > >>
> >> > > > > > > >>     filtered_out_dir)
> >> > > > > > > >>
> >> > > > > > > >>   File
"/D2/xinxia/METplus/METplus/ush/run_tc_stat.py",
> >> line
> >> > > 69,
> >> > > > in
> >> > > > > > > >> tc_stat
> >> > > > > > > >>
> >> > > > > > > >>     tc_stat_out = subprocess.check_output(tc_cmd,
> >> > > > > > > >> stderr=subprocess.STDOUT, shell=True )
> >> > > > > > > >>
> >> > > > > > > >>   File "/home/xinxia/anaconda2/lib/py
> >> thon2.7/subprocess.py",
> >> > > line
> >> > > > > > 213,
> >> > > > > > > >> in check_output
> >> > > > > > > >>
> >> > > > > > > >>     output, unused_err = process.communicate()
> >> > > > > > > >>
> >> > > > > > > >>   File "/home/xinxia/anaconda2/lib/py
> >> thon2.7/subprocess.py",
> >> > > line
> >> > > > > > 471,
> >> > > > > > > >> in communicate
> >> > > > > > > >>
> >> > > > > > > >>     stdout = _eintr_retry_call(self.stdout.read)
> >> > > > > > > >>
> >> > > > > > > >>   File "/home/xinxia/anaconda2/lib/py
> >> thon2.7/subprocess.py",
> >> > > line
> >> > > > > > 121,
> >> > > > > > > >> in _eintr_retry_call
> >> > > > > > > >>
> >> > > > > > > >>     return func(*args)
> >> > > > > > > >>
> >> > > > > > > >> KeyboardInterrupt
> >> > > > > > > >>
> >> > > > > > > >>
> >> > > > > > > >> Thanks,
> >> > > > > > > >>
> >> > > > > > > >>
> >> > > > > > > >> Xinxia
> >> > > > > > > >>
> >> > > > > > > >> ________________________________
> >> > > > > > > >> From: Julie Prestopnik via RT <met_help at ucar.edu>
> >> > > > > > > >> Sent: Friday, February 24, 2017 12:02:21 PM
> >> > > > > > > >> To: Xinxia_Song at outlook.com
> >> > > > > > > >> Subject: Re: [rt.rap.ucar.edu #79605] ImportError:
No
> >> module
> >> > > > named
> >> > > > > > > >> constants_pdef
> >> > > > > > > >>
> >> > > > > > > >> Hi Xinxia.  I suspect that even though you
installed
> Python
> >> > 2.7
> >> > > > that
> >> > > > > > > >> Python
> >> > > > > > > >> 2.6.6 is still being used.
> >> > > > > > > >>
> >> > > > > > > >> Please try running:
> >> > > > > > > >>
> >> > > > > > > >> python --version
> >> > > > > > > >>
> >> > > > > > > >> on the command line.
> >> > > > > > > >>
> >> > > > > > > >> If you see "Python 2..6.6", please add the path
for
> Python
> >> 2.7
> >> > > to
> >> > > > > the
> >> > > > > > > >> front
> >> > > > > > > >> of your path in your ~/.bashrc file.  Then, source
your
> >> > > ~/.bashrc
> >> > > > > file
> >> > > > > > > and
> >> > > > > > > >> try rerunning
> >> > > > > > > >>
> >> > > > > > > >> python --version
> >> > > > > > > >>
> >> > > > > > > >> on the command line.  Hopefully, then you will see
the
> new
> >> > > > version.
> >> > > > > > > Then,
> >> > > > > > > >> please try rerunning master_met_plus.py.
> >> > > > > > > >>
> >> > > > > > > >> I hope this helps!  Thanks!
> >> > > > > > > >>
> >> > > > > > > >> Julie
> >> > > > > > > >>
> >> > > > > > > >> On Thu, Feb 23, 2017 at 1:51 PM, Xinxia Song via
RT <
> >> > > > > > met_help at ucar.edu>
> >> > > > > > > >> wrote:
> >> > > > > > > >>
> >> > > > > > > >> >
> >> > > > > > > >> > <URL: https://rt.rap.ucar.edu/rt/Tic
> >> > ket/Display.html?id=79605
> >> > > >
> >> > > > > > > >> >
> >> > > > > > > >> > Hi Julie,
> >> > > > > > > >> >
> >> > > > > > > >> >
> >> > > > > > > >> > I installed myself the 2.7 python, it still got
the
> error
> >> > when
> >> > > > > > > running:
> >> > > > > > > >> >
> >> > > > > > > >> > Traceback (most recent call last):
> >> > > > > > > >> >
> >> > > > > > > >> >   File "/D2/xinxia/METplus/METplus/us
> >> h/series_by_lead.py",
> >> > > line
> >> > > > > > 945,
> >> > > > > > > in
> >> > > > > > > >> > <module>
> >> > > > > > > >> >
> >> > > > > > > >> >     analysis_by_lead_time()
> >> > > > > > > >> >
> >> > > > > > > >> >   File "/D2/xinxia/METplus/METplus/us
> >> h/series_by_lead.py",
> >> > > line
> >> > > > > > 107,
> >> > > > > > > in
> >> > > > > > > >> > analysis_by_lead_time
> >> > > > > > > >> >
> >> > > > > > > >> >     util.apply_series_filters(tile_dir,
init_times,
> >> > > > > > > >> > series_lead_filtered_out_dir, p, logger)
> >> > > > > > > >> >
> >> > > > > > > >> >   File
"/D2/xinxia/METplus/METplus/ush/met_util.py",
> >> line
> >> > > 1005,
> >> > > > > in
> >> > > > > > > >> > apply_series_filters
> >> > > > > > > >> >
> >> > > > > > > >> >     tcs.tc_stat(p, logger, tc_cmd,
series_output_dir)
> >> > > > > > > >> >
> >> > > > > > > >> >   File "/D2/xinxia/METplus/METplus/
> ush/run_tc_stat.py",
> >> > line
> >> > > > 69,
> >> > > > > in
> >> > > > > > > >> > tc_stat
> >> > > > > > > >> >
> >> > > > > > > >> >     tc_stat_out =
subprocess.check_output(tc_cmd,
> >> > > > > > > >> > stderr=subprocess.STDOUT, shell=True )
> >> > > > > > > >> >
> >> > > > > > > >> > AttributeError: 'module' object has no attribute
> >> > > 'check_output'
> >> > > > > > > >> >
> >> > > > > > > >> >
> >> > > > > > > >> > Thanks,
> >> > > > > > > >> >
> >> > > > > > > >> >
> >> > > > > > > >> > Xinxia
> >> > > > > > > >> >
> >> > > > > > > >> > ________________________________
> >> > > > > > > >> > From: Julie Prestopnik via RT
<met_help at ucar.edu>
> >> > > > > > > >> > Sent: Friday, February 24, 2017 9:37:53 AM
> >> > > > > > > >> > To: Xinxia_Song at outlook.com
> >> > > > > > > >> > Subject: Re: [rt.rap.ucar.edu #79605]
ImportError: No
> >> > module
> >> > > > > named
> >> > > > > > > >> > constants_pdef
> >> > > > > > > >> >
> >> > > > > > > >> > Can you please tell me which version of Python
you are
> >> > using?
> >> > > > > > > >> check_output
> >> > > > > > > >> > for subprocess was introduced in Python 2.7.
Do you
> >> have
> >> > > > access
> >> > > > > > to
> >> > > > > > > >> > Python version 2.7 or higher?
> >> > > > > > > >> >
> >> > > > > > > >> > Thanks,
> >> > > > > > > >> > Julie
> >> > > > > > > >> >
> >> > > > > > > >> > On Thu, Feb 23, 2017 at 12:11 PM, Xinxia Song
via RT <
> >> > > > > > > met_help at ucar.edu
> >> > > > > > > >> >
> >> > > > > > > >> > wrote:
> >> > > > > > > >> >
> >> > > > > > > >> > >
> >> > > > > > > >> > > <URL: https://rt.rap.ucar.edu/rt/
> >> > > Ticket/Display.html?id=79605
> >> > > > >
> >> > > > > > > >> > >
> >> > > > > > > >> > > Hi Julie,
> >> > > > > > > >> > >
> >> > > > > > > >> > >
> >> > > > > > > >> > > I added it to the $PATH and ran the
> >> master_met_python.py:
> >> > > > > > > >> > >
> >> > > > > > > >> > > [xinxia at chaos ush]$ python master_met_plus.py
> >> > > > > > > >> > >
> >> > > > > > > >> > > Traceback (most recent call last):
> >> > > > > > > >> > >
> >> > > > > > > >> > >   File "/D2/xinxia/METplus/METplus/us
> >> h/extract_tiles.py",
> >> > > > line
> >> > > > > > 157,
> >> > > > > > > >> in
> >> > > > > > > >> > > <module>
> >> > > > > > > >> > >
> >> > > > > > > >> > >     main()
> >> > > > > > > >> > >
> >> > > > > > > >> > >   File "/D2/xinxia/METplus/METplus/us
> >> h/extract_tiles.py",
> >> > > > line
> >> > > > > > 100,
> >> > > > > > > >> in
> >> > > > > > > >> > > main
> >> > > > > > > >> > >
> >> > > > > > > >> > >     filtered_out_dir)
> >> > > > > > > >> > >
> >> > > > > > > >> > >   File "/D2/xinxia/METplus/METplus/us
> >> h/run_tc_stat.py",
> >> > > line
> >> > > > > 69,
> >> > > > > > in
> >> > > > > > > >> > > tc_stat
> >> > > > > > > >> > >
> >> > > > > > > >> > >     tc_stat_out =
subprocess.check_output(tc_cmd,
> >> > > > > > > >> > > stderr=subprocess.STDOUT, shell=True )
> >> > > > > > > >> > >
> >> > > > > > > >> > > AttributeError: 'module' object has no
attribute
> >> > > > 'check_output'
> >> > > > > > > >> > >
> >> > > > > > > >> > >
> >> > > > > > > >> > > Thanks,
> >> > > > > > > >> > >
> >> > > > > > > >> > >
> >> > > > > > > >> > > Xinxia
> >> > > > > > > >> > >
> >> > > > > > > >> > > ________________________________
> >> > > > > > > >> > > From: Julie Prestopnik via RT
<met_help at ucar.edu>
> >> > > > > > > >> > > Sent: Friday, February 24, 2017 9:07:40 AM
> >> > > > > > > >> > > To: Xinxia_Song at outlook.com
> >> > > > > > > >> > > Subject: Re: [rt.rap.ucar.edu #79605]
ImportError:
> No
> >> > > module
> >> > > > > > named
> >> > > > > > > >> > > constants_pdef
> >> > > > > > > >> > >
> >> > > > > > > >> > > Unfortunately, your environment does not know
where
> to
> >> > find
> >> > > > > > > >> > > run_tc_pairs.py.  Please try adding the
directory
> with
> >> > > > > > > run_tc_pairs.py
> >> > > > > > > >> > > (/D2/xinxia/METplus/METplus/ush) to your path
in
> your
> >> > > > ~/.bashrc
> >> > > > > > > file,
> >> > > > > > > >> > then
> >> > > > > > > >> > > run "source ~/.bashrc", then trying rerunning.
> Please
> >> let
> >> > > me
> >> > > > > know
> >> > > > > > > how
> >> > > > > > > >> > that
> >> > > > > > > >> > > goes.
> >> > > > > > > >> > >
> >> > > > > > > >> > > Thanks!
> >> > > > > > > >> > >
> >> > > > > > > >> > > Julie
> >> > > > > > > >> > >
> >> > > > > > > >> > > On Thu, Feb 23, 2017 at 11:55 AM, Xinxia Song
via RT
> <
> >> > > > > > > >> met_help at ucar.edu>
> >> > > > > > > >> > > wrote:
> >> > > > > > > >> > >
> >> > > > > > > >> > > >
> >> > > > > > > >> > > > <URL: https://rt.rap.ucar.edu/rt/
> >> > > > Ticket/Display.html?id=79605
> >> > > > > >
> >> > > > > > > >> > > >
> >> > > > > > > >> > > > Hi Julie,
> >> > > > > > > >> > > >
> >> > > > > > > >> > > >
> >> > > > > > > >> > > > I'm running met in a machine that's owned by
our
> >> > > > department, I
> >> > > > > > > don't
> >> > > > > > > >> > have
> >> > > > > > > >> > > > sudo right, so when I type which
run_tc_pairs.py,
> it
> >> > says
> >> > > > > > couldn't
> >> > > > > > > >> find
> >> > > > > > > >> > > it.
> >> > > > > > > >> > > >
> >> > > > > > > >> > > > no run_tc_pairs.py in
> (/opt/ncl/bin:/opt/intel-soft/
> >> > > > > > > >> > > > bin:/opt/ncl/bin:/opt/ncl/bin:
> >> > > /opt/intel-soft/bin:/opt/ncl/
> >> > > > > > > >> > > > bin:/home/xinxia/anaconda/bin:
> >> > /home/xinxia/anaconda/bin:/
> >> > > > > > > >> > > > opt/ncl/bin:/opt/intel-soft/bi
> >> > n:/opt/ncl/bin:/usr/lib64/
> >> > > > > > > >> > > > qt-3.3/bin:/usr/local/bin:/bin
> >> > :/usr/bin:/usr/local/sbin:/
> >> > > > > > > >> > > >
usr/sbin:/sbin:/sbin:/usr/sbin:/cm/local/apps/
> >> > > > > > > >> > > environment-modules/3.2.10/
> >> > > > > > > >> > > > bin:/home/xinxia/bin:/opt/ncl-621/bin)
> >> > > > > > > >> > > >
> >> > > > > > > >> > > >
> >> > > > > > > >> > > > But I could find it manually in that
directory.
> >> > > > > > > >> > > >
> >> > > > > > > >> > > >
> >> > > > > > > >> > > > Thanks,
> >> > > > > > > >> > > >
> >> > > > > > > >> > > >
> >> > > > > > > >> > > > Xinxia
> >> > > > > > > >> > > >
> >> > > > > > > >> > > > ________________________________
> >> > > > > > > >> > > > From: Julie Prestopnik via RT
<met_help at ucar.edu>
> >> > > > > > > >> > > > Sent: Friday, February 24, 2017 8:52:16 AM
> >> > > > > > > >> > > > To: Xinxia_Song at outlook.com
> >> > > > > > > >> > > > Subject: Re: [rt.rap.ucar.edu #79605]
ImportError:
> >> No
> >> > > > module
> >> > > > > > > named
> >> > > > > > > >> > > > constants_pdef
> >> > > > > > > >> > > >
> >> > > > > > > >> > > > Hi Xinxia.
> >> > > > > > > >> > > >
> >> > > > > > > >> > > > It looks like you got a successful run of
tc_stat -
> >> > that's
> >> > > > > great
> >> > > > > > > >> news!
> >> > > > > > > >> > > >
> >> > > > > > > >> > > > I'm not sure what you mean by "Because I
don't have
> >> the
> >> > > > > right, I
> >> > > > > > > >> can't
> >> > > > > > > >> > > find
> >> > > > > > > >> > > > run_tc_pairs.py, but I know it's under
> >> > > > > > > >> > > >
> >> > > > > > > >> > > > /D2/xinxia/METplus/METplus/ush".
> >> > > > > > > >> > > >
> >> > > > > > > >> > > > Can you please explain?  What happened when
you ran
> >> > "which
> >> > > > > > > >> > > > run_tc_pairs.py"?
> >> > > > > > > >> > > >
> >> > > > > > > >> > > > Thanks,
> >> > > > > > > >> > > > Julie
> >> > > > > > > >> > > >
> >> > > > > > > >> > > >
> >> > > > > > > >> > > >
> >> > > > > > > >> > > >
> >> > > > > > > >> > > >
> >> > > > > > > >> > > >
> >> > > > > > > >> > > > On Thu, Feb 23, 2017 at 11:44 AM, Xinxia
Song via
> RT
> >> <
> >> > > > > > > >> > met_help at ucar.edu>
> >> > > > > > > >> > > > wrote:
> >> > > > > > > >> > > >
> >> > > > > > > >> > > > >
> >> > > > > > > >> > > > > <URL: https://rt.rap.ucar.edu/rt/
> >> > > > > Ticket/Display.html?id=79605
> >> > > > > > >
> >> > > > > > > >> > > > >
> >> > > > > > > >> > > > > Hi Julie,
> >> > > > > > > >> > > > >
> >> > > > > > > >> > > > >
> >> > > > > > > >> > > > > I removed the space.
> >> > > > > > > >> > > > >
> >> > > > > > > >> > > > > [xinxia at chaos parm]$
> >> /D2/xinxia/METplus/MET/met-5.2
> >> > > > > > /bin/tc_stat
> >> > > > > > > >> -job
> >> > > > > > > >> > > > > filter -lookin
/D2/xinxia/METplus/MET/input/
> >> > > > tc_pairs/201412
> >> > > > > > > >> > -init_inc
> >> > > > > > > >> > > > > 20141201_00 -match_points true -dump_row
> >> > > > > > > >> /D2/xinxia/METplus/MET/out/
> >> > > > > > > >> > > > > extract_tiles/20141201_00/
> filter_20141201_00.tcst
> >> > > -basin
> >> > > > > ML
> >> > > > > > > >> > > > > -out_init_mask /D2/xinxia/METplus/MET/met-
5.
> >> > > > > > > >> > > 2/share/met/poly/CONUS.poly
> >> > > > > > > >> > > > >
> >> > > > > > > >> > > > > DEBUG 1: [Source 1] Lookin:
> >> > > /D2/xinxia/METplus/MET/input/
> >> > > > > > > >> > > tc_pairs/201412
> >> > > > > > > >> > > > >
> >> > > > > > > >> > > > > DEBUG 2:
> >> > > > > > > >> > > > >
> >> > > > > > > >> > > > > DEBUG 2: Processing Job 1: -job filter
-basin ML
> >> > > -init_inc
> >> > > > > > > >> > > > 20141201_000000
> >> > > > > > > >> > > > > -match_points true -out_init_mask
> >> > > > > > /D2/xinxia/METplus/MET/met-5.
> >> > > > > > > >> > > > 2/share/met/poly/CONUS.poly
> >> > > > > > > >> > > > > -dump_row /D2/xinxia/METplus/MET/out/ext
> >> > > > > > ract_tiles/20141201_00/
> >> > > > > > > >> > > > > filter_20141201_00.tcst
> >> > > > > > > >> > > > >
> >> > > > > > > >> > > > > DEBUG 1: Creating output dump file:
> >> > > > > > /D2/xinxia/METplus/MET/out/
> >> > > > > > > >> > > > > extract_tiles/20141201_00/
> filter_20141201_00.tcst
> >> > > > > > > >> > > > >
> >> > > > > > > >> > > > > FILTER: -job filter -basin ML -init_inc
> >> > 20141201_000000
> >> > > > > > > >> -match_points
> >> > > > > > > >> > > > true
> >> > > > > > > >> > > > > -out_init_mask /D2/xinxia/METplus/MET/met-
5.
> >> > > > > > > >> > > 2/share/met/poly/CONUS.poly
> >> > > > > > > >> > > > > -dump_row /D2/xinxia/METplus/MET/out/ext
> >> > > > > > ract_tiles/20141201_00/
> >> > > > > > > >> > > > > filter_20141201_00.tcst
> >> > > > > > > >> > > > >
> >> > > > > > > >> > > > >
> >> > > > > > > >> > > > > DEBUG 2: Job 1 used 0 out of 27292 lines
read.
> >> > > > > > > >> > > > >
> >> > > > > > > >> > > > >
> >> > > > > > > >> > > > > Because I don't have the right, I can't
find
> >> > > > > run_tc_pairs.py,
> >> > > > > > > but
> >> > > > > > > >> I
> >> > > > > > > >> > > know
> >> > > > > > > >> > > > > it's under
> >> > > > > > > >> > > > >
> >> > > > > > > >> > > > > /D2/xinxia/METplus/METplus/ush
> >> > > > > > > >> > > > >
> >> > > > > > > >> > > > >
> >> > > > > > > >> > > > > For Python,
> >> > > > > > > >> > > > >
> >> > > > > > > >> > > > > [xinxia at chaos ~]$ which python
> >> > > > > > > >> > > > >
> >> > > > > > > >> > > > > /usr/bin/python
> >> > > > > > > >> > > > >
> >> > > > > > > >> > > > >
> >> > > > > > > >> > > > > Xinxia
> >> > > > > > > >> > > > >
> >> > > > > > > >> > > > > ________________________________
> >> > > > > > > >> > > > > From: Julie Prestopnik via RT
<met_help at ucar.edu
> >
> >> > > > > > > >> > > > > Sent: Friday, February 24, 2017 8:30:01 AM
> >> > > > > > > >> > > > > To: Xinxia_Song at outlook.com
> >> > > > > > > >> > > > > Subject: Re: [rt.rap.ucar.edu #79605]
> >> ImportError: No
> >> > > > > module
> >> > > > > > > >> named
> >> > > > > > > >> > > > > constants_pdef
> >> > > > > > > >> > > > >
> >> > > > > > > >> > > > > Hi Xinxia.
> >> > > > > > > >> > > > >
> >> > > > > > > >> > > > > It looks like there is a space where there
should
> >> not
> >> > > be a
> >> > > > > > space
> >> > > > > > > >> > > (between
> >> > > > > > > >> > > > > /D2/xinxia/METplus/MET/out/ext
> >> ract_tiles/20141201_00/
> >> > > and
> >> > > > > > > >> > > > > filter_20141201_00.tcst after the
-dump_row
> >> option).
> >> > > > > > > >> > > > >
> >> > > > > > > >> > > > > Could you please try it again without the
space?
> >> > > > > > > >> > > > >
> >> > > > > > > >> > > > > /D2/xinxia/METplus/METplus/ush
> >> /run_tc_stat.py:tc_stat
> >> > > > from
> >> > > > > > > >> calling
> >> > > > > > > >> > MET
> >> > > > > > > >> > > > > TC-STAT with
command:/D2/xinxia/METplus/MET
> >> > > > > > /met-5.2/bin/tc_stat
> >> > > > > > > >> -job
> >> > > > > > > >> > > > > filter
> >> > > > > > > >> > > > > -lookin /D2/xinxia/METplus/MET/input/t
> >> c_pairs/201412
> >> > > > > > -init_inc
> >> > > > > > > >> > > > 20141201_00
> >> > > > > > > >> > > > > -match_points true -dump_row
> >> > /D2/xinxia/METplus/MET/out/
> >> > > > > > > >> > > > > extract_tiles/20141201_00/
> filter_20141201_00.tcst
> >> > > -basin
> >> > > > > ML
> >> > > > > > > >> > > > > -out_init_mask
> >> > > > > > > >> > > > > /D2/xinxia/METplus/MET/met-5.
> >> > > 2/share/met/poly/CONUS.poly
> >> > > > > > > >> > > > >
> >> > > > > > > >> > > > > Regarding the master_met_plus.py run,
please try
> >> > running
> >> > > > the
> >> > > > > > > >> > following
> >> > > > > > > >> > > > two
> >> > > > > > > >> > > > > commands and send me the output:
> >> > > > > > > >> > > > >
> >> > > > > > > >> > > > > which run_tc_pairs.py
> >> > > > > > > >> > > > >
> >> > > > > > > >> > > > > which python
> >> > > > > > > >> > > > >
> >> > > > > > > >> > > > > Thanks!
> >> > > > > > > >> > > > >
> >> > > > > > > >> > > > > Julie
> >> > > > > > > >> > > > >
> >> > > > > > > >> > > > > On Thu, Feb 23, 2017 at 11:06 AM, Xinxia
Song via
> >> RT <
> >> > > > > > > >> > > met_help at ucar.edu>
> >> > > > > > > >> > > > > wrote:
> >> > > > > > > >> > > > >
> >> > > > > > > >> > > > > >
> >> > > > > > > >> > > > > > <URL: https://rt.rap.ucar.edu/rt/Tic
> >> > > > > > ket/Display.html?id=79605
> >> > > > > > > >
> >> > > > > > > >> > > > > >
> >> > > > > > > >> > > > > > Hi Julie,
> >> > > > > > > >> > > > > >
> >> > > > > > > >> > > > > >
> >> > > > > > > >> > > > > > After I ran the long one line command:
> >> > > > > > > >> > > > > >
> >> > > > > > > >> > > > > > [xinxia at chaos parm]$
> >> /D2/xinxia/METplus/MET/met-5.
> >> > > > > > > 2/bin/tc_stat
> >> > > > > > > >> > -job
> >> > > > > > > >> > > > > > filter -lookin
/D2/xinxia/METplus/MET/input/
> >> > > > > tc_pairs/201412
> >> > > > > > > >> > > -init_inc
> >> > > > > > > >> > > > > > 20141201_00 -match_points true -dump_row
> >> > > > > > > >> > /D2/xinxia/METplus/MET/out/
> >> > > > > > > >> > > > > extract_tiles/20141201_00/
> >> > > > > > > >> > > > > > filter_20141201_00.tcst  -basin ML
> -out_init_mask
> >> > > > > > > >> > > > > > /D2/xinxia/METplus/MET/met-5.
> >> > > > 2/share/met/poly/CONUS.poly
> >> > > > > > > >> > > > > >
> >> > > > > > > >> > > > > >
> >> > > > > > > >> > > > > > DEBUG 1: [Source 1] Lookin:
> >> > > > /D2/xinxia/METplus/MET/input/
> >> > > > > > > >> > > > tc_pairs/201412
> >> > > > > > > >> > > > > >
> >> > > > > > > >> > > > > > ERROR  :
> >> > > > > > > >> > > > > >
> >> > > > > > > >> > > > > > ERROR  : TCStatJob
*TCStatJobFactory::new_tc_
> >> > > > > stat_job(const
> >> > > > > > > >> char
> >> > > > > > > >> > > > > > *jobstring) -> unsupported job command
options
> >> > > > > > > >> > > > "filter_20141201_00.tcst".
> >> > > > > > > >> > > > > >
> >> > > > > > > >> > > > > > ERROR  :
> >> > > > > > > >> > > > > >
> >> > > > > > > >> > > > > >
> >> > > > > > > >> > > > > > And for the master_met_plus.py, I got
the
> error:
> >> > > > > > > >> > > > > >
> >> > > > > > > >> > > > > > [xinxia at chaos ush]$ python
master_met_plus.py
> >> > > > > > > >> > > > > >
> >> > > > > > > >> > > > > > sh: run_tc_pairs.py: command not found
> >> > > > > > > >> > > > > >
> >> > > > > > > >> > > > > >
> >> > > > > > > >> > > > > > Thanks,
> >> > > > > > > >> > > > > >
> >> > > > > > > >> > > > > >
> >> > > > > > > >> > > > > > Xinxia
> >> > > > > > > >> > > > > >
> >> > > > > > > >> > > > > > ________________________________
> >> > > > > > > >> > > > > > From: Julie Prestopnik via RT <
> met_help at ucar.edu
> >> >
> >> > > > > > > >> > > > > > Sent: Friday, February 24, 2017 7:42:21
AM
> >> > > > > > > >> > > > > > To: Xinxia_Song at outlook.com
> >> > > > > > > >> > > > > > Subject: Re: [rt.rap.ucar.edu #79605]
> >> ImportError:
> >> > No
> >> > > > > > module
> >> > > > > > > >> named
> >> > > > > > > >> > > > > > constants_pdef
> >> > > > > > > >> > > > > >
> >> > > > > > > >> > > > > > My apologies, my response should have
said, "By
> >> > > default,
> >> > > > > MET
> >> > > > > > > >> > version
> >> > > > > > > >> > > > 5.2
> >> > > > > > > >> > > > > is
> >> > > > > > > >> > > > > > compiled using dynamic linking."  It's
true for
> >> > both,
> >> > > > but
> >> > > > > I
> >> > > > > > > see
> >> > > > > > > >> > > you're
> >> > > > > > > >> > > > > > using 5.2 and I inadvertently referred
to 5.1.
> >> > > > > > > >> > > > > >
> >> > > > > > > >> > > > > > On Thu, Feb 23, 2017 at 10:40 AM, Julie
> >> Prestopnik <
> >> > > > > > > >> > jpresto at ucar.edu
> >> > > > > > > >> > > >
> >> > > > > > > >> > > > > > wrote:
> >> > > > > > > >> > > > > >
> >> > > > > > > >> > > > > > > Hi Xinxia.  Regarding the error:
> >> > > > > > > >> > > > > > >
> >> > > > > > > >> > > > > > > /D2/xinxia/METplus/MET/met-
5.2/bin/tc_stat:
> >> error
> >> > > > while
> >> > > > > > > >> loading
> >> > > > > > > >> > > > shared
> >> > > > > > > >> > > > > > > libraries: libgsl.so.19: cannot open
shared
> >> object
> >> > > > file:
> >> > > > > > No
> >> > > > > > > >> such
> >> > > > > > > >> > > file
> >> > > > > > > >> > > > > or
> >> > > > > > > >> > > > > > > directory
> >> > > > > > > >> > > > > > >
> >> > > > > > > >> > > > > > > By default, MET version 5.1 is
compiled using
> >> > > dynamic
> >> > > > > > > linking.
> >> > > > > > > >> > > > Rather
> >> > > > > > > >> > > > > > > than compiling the external library
code in
> >> with
> >> > the
> >> > > > MET
> >> > > > > > > >> > > executables
> >> > > > > > > >> > > > > > (which
> >> > > > > > > >> > > > > > > is
> >> > > > > > > >> > > > > > > called static linking), it looks for
them at
> >> > > runtime.
> >> > > > > And
> >> > > > > > > >> it's
> >> > > > > > > >> > > > looking
> >> > > > > > > >> > > > > > > for those "shared object" (.so)
library
> files.
> >> > > > > > > >> > > > > > >
> >> > > > > > > >> > > > > > > This should be easy to fix. We just
need to
> >> tell
> >> > it
> >> > > > > where
> >> > > > > > to
> >> > > > > > > >> find
> >> > > > > > > >> > > > them,
> >> > > > > > > >> > > > > > > and we do that by setting (or adding
to the
> >> > > > > > > LD_LIBRARY_PATH).
> >> > > > > > > >> > Look
> >> > > > > > > >> > > > in
> >> > > > > > > >> > > > > > your
> >> > > > > > > >> > > > > > > ~/.bashrc file.  If LD_LIBRARY_PATH is
> already
> >> > > defined
> >> > > > > in
> >> > > > > > > >> there,
> >> > > > > > > >> > > add
> >> > > > > > > >> > > > > the
> >> > > > > > > >> > > > > > > path to the libgsl.so.19 to the end of
it.
> If
> >> > not,
> >> > > > add
> >> > > > > an
> >> > > > > > > >> > > > > > > LD_LIBRARY_PATH entry in your
~/.bashrc file.
> >> So,
> >> > > for
> >> > > > > > > >> example,
> >> > > > > > > >> > if
> >> > > > > > > >> > > > the
> >> > > > > > > >> > > > > > path
> >> > > > > > > >> > > > > > > to your libgsl.so.19 file is
> >> > > > > > /D2/xinxia/METplus/MET/externa
> >> > > > > > > >> > > > > > l_libs/GSL/gsl-1.16/lib
> >> > > > > > > >> > > > > > > you would add teh following to your
~/.bashrc
> >> > file:
> >> > > > > > > >> > > > > > >
> >> > > > > > > >> > > > > > >   export LD_LIBRARY_PATH=/D2/xinxia/
> >> > > > > > > >> > METplus/MET/external_libs/GSL/
> >> > > > > > > >> > > > > > > gsl-1.16/lib
> >> > > > > > > >> > > > > > >
> >> > > > > > > >> > > > > > > Then save the change and source that
file:
> >> > > > > > > >> > > > > > >
> >> > > > > > > >> > > > > > >   source ~/.bashrc
> >> > > > > > > >> > > > > > >
> >> > > > > > > >> > > > > > > Then, please try rerunning the command
> manually
> >> > and
> >> > > > let
> >> > > > > me
> >> > > > > > > >> know
> >> > > > > > > >> > if
> >> > > > > > > >> > > it
> >> > > > > > > >> > > > > > > works.
> >> > > > > > > >> > > > > > >
> >> > > > > > > >> > > > > > > I believe that this was the cause of
the
> >> initial
> >> > > error
> >> > > > > you
> >> > > > > > > >> > received
> >> > > > > > > >> > > > > from
> >> > > > > > > >> > > > > > > MET+:
> >> > > > > > > >> > > > > > >
> >> > > > > > > >> > > > > > > ERROR| /D2/xinxia/METplus/METplus/
> >> > > > > > > ush/run_tc_stat.py:tc_stat
> >> > > > > > > >> > from
> >> > > > > > > >> > > > > > calling
> >> > > > > > > >> > > > > > > MET TC-STAT with
command:/D2/xinxia/METplus/
> >> > > > > > > >> > > MET/met-5.2/bin/tc_stat
> >> > > > > > > >> > > > > -job
> >> > > > > > > >> > > > > > > filter -lookin
/D2/xinxia/METplus/MET/input/t
> >> > > > > > c_pairs/201412
> >> > > > > > > >> > > > -init_inc
> >> > > > > > > >> > > > > > > 20141201_00 -match_points true
-dump_row
> >> > > > > > > >> > > > /D2/xinxia/METplus/MET/out/ext
> >> > > > > > > >> > > > > > > ract_tiles/20141201_00/filter_
> 20141201_00.tcst
> >> > > > -basin
> >> > > > > ML
> >> > > > > > > >> > > > > -out_init_mask
> >> > > > > > > >> > > > > > > /D2/xinxia/METplus/MET/met-5.
> >> > > > > 2/share/met/poly/CONUS.poly
> >> > > > > > > >> > > > > > >
> >> > > > > > > >> > > > > > >
> >> > > > > > > >> > > > > > > Thanks,
> >> > > > > > > >> > > > > > > Julie
> >> > > > > > > >> > > > > > >
> >> > > > > > > >> > > > > > > On Thu, Feb 23, 2017 at 10:14 AM,
Xinxia Song
> >> via
> >> > > RT <
> >> > > > > > > >> > > > > met_help at ucar.edu>
> >> > > > > > > >> > > > > > > wrote:
> >> > > > > > > >> > > > > > >
> >> > > > > > > >> > > > > > >>
> >> > > > > > > >> > > > > > >> <URL: https://rt.rap.ucar.edu/rt/Tic
> >> > > > > > > >> ket/Display.html?id=79605 >
> >> > > > > > > >> > > > > > >>
> >> > > > > > > >> > > > > > >> Hi Julie,
> >> > > > > > > >> > > > > > >>
> >> > > > > > > >> > > > > > >>
> >> > > > > > > >> > > > > > >> [xinxia at chaos ush]$
> >> > /D2/xinxia/METplus/MET/met-5.2
> >> > > > > > > >> /bin/tc_stat
> >> > > > > > > >> > > -job
> >> > > > > > > >> > > > > > >> filter -lookin
/D2/xinxia/METplus/MET/input/
> >> > > > > > > tc_pairs/201412
> >> > > > > > > >> > > > -init_inc
> >> > > > > > > >> > > > > > >> 20141201_00 -match_points true
-dump_row
> >> > > > > > > >> > > > > /D2/xinxia/METplus/MET/out/ext
> >> > > > > > > >> > > > > > ract_tiles/20141201_00/
> >> > > > > > > >> > > > > > >> filter_20141201_00.tcst  -basin ML
> >> -out_init_mask
> >> > > > > > > >> > > > > > >> /D2/xinxia/METplus/MET/met-5.
> >> > > > > 2/share/met/poly/CONUS.poly
> >> > > > > > > >> > > > > > >>
> >> > > > > > > >> > > > > > >> /D2/xinxia/METplus/MET/met-
5.2/bin/tc_stat:
> >> > error
> >> > > > > while
> >> > > > > > > >> loading
> >> > > > > > > >> > > > > shared
> >> > > > > > > >> > > > > > >> libraries: libgsl.so.19: cannot open
shared
> >> > object
> >> > > > > file:
> >> > > > > > No
> >> > > > > > > >> such
> >> > > > > > > >> > > > file
> >> > > > > > > >> > > > > or
> >> > > > > > > >> > > > > > >> directory
> >> > > > > > > >> > > > > > >>
> >> > > > > > > >> > > > > > >>
> >> > > > > > > >> > > > > > >> And I uploaded the configuration file
> >> > > > > (constants_pdef.py)
> >> > > > > > > >> under
> >> > > > > > > >> > > > > > >> xinxia_data directory.
> >> > > > > > > >> > > > > > >>
> >> > > > > > > >> > > > > > >>
> >> > > > > > > >> > > > > > >> Thanks,
> >> > > > > > > >> > > > > > >>
> >> > > > > > > >> > > > > > >>
> >> > > > > > > >> > > > > > >> Xinxia
> >> > > > > > > >> > > > > > >>
> >> > > > > > > >> > > > > > >> ________________________________
> >> > > > > > > >> > > > > > >> From: Julie Prestopnik via RT <
> >> met_help at ucar.edu
> >> > >
> >> > > > > > > >> > > > > > >> Sent: Friday, February 24, 2017
6:15:57 AM
> >> > > > > > > >> > > > > > >> To: Xinxia_Song at outlook.com
> >> > > > > > > >> > > > > > >> Subject: Re: [rt.rap.ucar.edu #79605]
> >> > ImportError:
> >> > > > No
> >> > > > > > > module
> >> > > > > > > >> > > named
> >> > > > > > > >> > > > > > >> constants_pdef
> >> > > > > > > >> > > > > > >>
> >> > > > > > > >> > > > > > >> Hi Xinxia.
> >> > > > > > > >> > > > > > >>
> >> > > > > > > >> > > > > > >> I can see that your command, which
should
> have
> >> > been
> >> > > > all
> >> > > > > > on
> >> > > > > > > >> one
> >> > > > > > > >> > > line,
> >> > > > > > > >> > > > > was
> >> > > > > > > >> > > > > > >> broken up into several lines.  Please
try
> >> running
> >> > > the
> >> > > > > > > command
> >> > > > > > > >> > > again,
> >> > > > > > > >> > > > > > >> making
> >> > > > > > > >> > > > > > >> sure that the entire command is on
one line:
> >> > > > > > > >> > > > > > >>
> >> > > > > > > >> > > > > > >> /D2/xinxia/METplus/MET/met-
5.2/bin/tc_stat
> >> -job
> >> > > > filter
> >> > > > > > > >> -lookin
> >> > > > > > > >> > > > > > >> /D2/xinxia/METplus/MET/input/
> tc_pairs/201412
> >> > > > -init_inc
> >> > > > > > > >> > > 20141201_00
> >> > > > > > > >> > > > > > >> -match_points true -dump_row
> >> > > > > > > >> > > > > > >> /D2/xinxia/METplus/MET/out/
> >> > > > extract_tiles/20141201_00/
> >> > > > > > > >> > > > > > >> filter_20141201_00.tcst  -basin ML
> >> -out_init_mask
> >> > > > > > > >> > > > > > >> /D2/xinxia/METplus/MET/met-5.
> >> > > > > 2/share/met/poly/CONUS.poly
> >> > > > > > > >> > > > > > >>
> >> > > > > > > >> > > > > > >> Then, please send the output from
that
> >> command.
> >> > > > > > > >> > > > > > >>
> >> > > > > > > >> > > > > > >> Regarding, your error:
> >> > > > > > > >> > > > > > >>
> >> > > > > > > >> > > > > > >> sh: run_tc_pairs.py: command not
found
> >> > > > > > > >> > > > > > >>
> >> > > > > > > >> > > > > > >> It's strange that would only have
occurred
> >> after
> >> > > > having
> >> > > > > > > >> changed
> >> > > > > > > >> > > the
> >> > > > > > > >> > > > > > >> LOG_LEVEL.  Could you please send us
your
> >> > > > configuration
> >> > > > > > > file?
> >> > > > > > > >> > > > > > >>
> >> > > > > > > >> > > > > > >> Thanks!
> >> > > > > > > >> > > > > > >>
> >> > > > > > > >> > > > > > >> Julie
> >> > > > > > > >> > > > > > >>
> >> > > > > > > >> > > > > > >> On Wed, Feb 22, 2017 at 2:54 PM,
Xinxia Song
> >> via
> >> > > RT <
> >> > > > > > > >> > > > > met_help at ucar.edu>
> >> > > > > > > >> > > > > > >> wrote:
> >> > > > > > > >> > > > > > >>
> >> > > > > > > >> > > > > > >> >
> >> > > > > > > >> > > > > > >> > <URL:
https://rt.rap.ucar.edu/rt/Tic
> >> > > > > > > >> ket/Display.html?id=79605
> >> > > > > > > >> > >
> >> > > > > > > >> > > > > > >> >
> >> > > > > > > >> > > > > > >> > Hi Julie,
> >> > > > > > > >> > > > > > >> >
> >> > > > > > > >> > > > > > >> >
> >> > > > > > > >> > > > > > >> > [xinxia at chaos ush]$
> >> > > /D2/xinxia/METplus/MET/met-5.
> >> > > > > > > >> > 2/bin/tc_stat
> >> > > > > > > >> > > > -job
> >> > > > > > > >> > > > > > >> > filter -lookin
> >> > > > > > > >> > > > > > >> >
> >> > > > > > > >> > > > > > >> > /D2/xinxia/METplus/MET/met-5.
> 2/bin/tc_stat:
> >> > > error
> >> > > > > > while
> >> > > > > > > >> > loading
> >> > > > > > > >> > > > > > shared
> >> > > > > > > >> > > > > > >> > libraries: libgsl.so.19: cannot
open
> shared
> >> > > object
> >> > > > > > file:
> >> > > > > > > No
> >> > > > > > > >> > such
> >> > > > > > > >> > > > > file
> >> > > > > > > >> > > > > > or
> >> > > > > > > >> > > > > > >> > directory
> >> > > > > > > >> > > > > > >> >
> >> > > > > > > >> > > > > > >> >
> >> > > > > > > >> > > > > > >> > [xinxia at chaos ush]$
> >> > > /D2/xinxia/METplus/MET/input/
> >> > > > > > > >> > > tc_pairs/201412
> >> > > > > > > >> > > > > > >> > -init_inc 20141201_00 -match_points
true
> >> > > -dump_row
> >> > > > > > > >> > > > > > >> >
> >> > > > > > > >> > > > > > >> > -bash:
/D2/xinxia/METplus/MET/input/
> >> > > > tc_pairs/201412:
> >> > > > > > is
> >> > > > > > > a
> >> > > > > > > >> > > > directory
> >> > > > > > > >> > > > > > >> >
> >> > > > > > > >> > > > > > >> >
> >> > > > > > > >> > > > > > >> > [xinxia at chaos ush]$
> >> > > /D2/xinxia/METplus/MET/out/ext
> >> > > > > > > >> > > > > > >> ract_tiles/20141201_00/
> >> > > > > > > >> > > > > > >> > filter_20141201_00.tcst  -basin ML
> >> > -out_init_mask
> >> > > > > > > >> > > > > > >> > /D2/xinxia/METplus/MET/met-5.2
> >> > > > > > /share/met/poly/CONUS.poly
> >> > > > > > > >> > > > > > >> >
> >> > > > > > > >> > > > > > >> > -bash:
/D2/xinxia/METplus/MET/out/ext
> >> > > > > > > >> ract_tiles/20141201_00/:
> >> > > > > > > >> > > No
> >> > > > > > > >> > > > > such
> >> > > > > > > >> > > > > > >> > file or directory
> >> > > > > > > >> > > > > > >> >
> >> > > > > > > >> > > > > > >> >
> >> > > > > > > >> > > > > > >> > After I change the LOG_LEVEL, I ran
the
> >> > > > > > > >> master_met_plus.py, it
> >> > > > > > > >> > > > says:
> >> > > > > > > >> > > > > > >> >
> >> > > > > > > >> > > > > > >> > [xinxia at chaos ush]$ python
> >> master_met_plus.py
> >> > > > > > > >> > > > > > >> >
> >> > > > > > > >> > > > > > >> > sh: run_tc_pairs.py: command not
found
> >> > > > > > > >> > > > > > >> >
> >> > > > > > > >> > > > > > >> >
> >> > > > > > > >> > > > > > >> >
> >> > > > > > > >> > > > > > >> > Thanks,
> >> > > > > > > >> > > > > > >> >
> >> > > > > > > >> > > > > > >> >
> >> > > > > > > >> > > > > > >> > Xinxia
> >> > > > > > > >> > > > > > >> >
> >> > > > > > > >> > > > > > >> >
> >> > > > > > > >> > > > > > >> > ________________________________
> >> > > > > > > >> > > > > > >> > From: Julie Prestopnik via RT <
> >> > met_help at ucar.edu
> >> > > >
> >> > > > > > > >> > > > > > >> > Sent: Thursday, February 23, 2017
10:04:55
> >> AM
> >> > > > > > > >> > > > > > >> > To: Xinxia_Song at outlook.com
> >> > > > > > > >> > > > > > >> > Subject: Re: [rt.rap.ucar.edu
#79605]
> >> > > ImportError:
> >> > > > > No
> >> > > > > > > >> module
> >> > > > > > > >> > > > named
> >> > > > > > > >> > > > > > >> > constants_pdef
> >> > > > > > > >> > > > > > >> >
> >> > > > > > > >> > > > > > >> > Thank you.  Unfortunately, the
level of
> >> detail
> >> > in
> >> > > > the
> >> > > > > > log
> >> > > > > > > >> file
> >> > > > > > > >> > > > > wasn't
> >> > > > > > > >> > > > > > >> what
> >> > > > > > > >> > > > > > >> > I hoped for.  I'd like to have you
try two
> >> > > things.
> >> > > > > > > >> > > > > > >> >
> >> > > > > > > >> > > > > > >> > First, could you please send me
your
> output
> >> of
> >> > > your
> >> > > > > > > manual
> >> > > > > > > >> run
> >> > > > > > > >> > > of
> >> > > > > > > >> > > > > the
> >> > > > > > > >> > > > > > >> > following?
> >> > > > > > > >> > > > > > >> >
> >> > > > > > > >> > > > > > >> > "/D2/xinxia/METplus/MET/met-5.
> 2/bin/tc_stat
> >> > -job
> >> > > > > > filter
> >> > > > > > > >> > -lookin
> >> > > > > > > >> > > > > > >> > /D2/xinxia/METplus/MET/input/t
> >> c_pairs/201412
> >> > > > > -init_inc
> >> > > > > > > >> > > > 20141201_00
> >> > > > > > > >> > > > > > >> > -match_points true -dump_row
> >> > > > > > /D2/xinxia/METplus/MET/out/
> >> > > > > > > >> > > > > > >> > extract_tiles/20141201_00/
> >> > > filter_20141201_00.tcst
> >> > > > > > > -basin
> >> > > > > > > >> ML
> >> > > > > > > >> > > > > > >> > -out_init_mask
> >> > > > > > > >> > > > > > >> > /D2/xinxia/METplus/MET/met-5.
> >> > > > > > > 2/share/met/poly/CONUS.poly"
> >> > > > > > > >> > > > > > >> >
> >> > > > > > > >> > > > > > >> > Second, could you please change
your log
> >> level
> >> > in
> >> > > > > your
> >> > > > > > > >> > > > configuration
> >> > > > > > > >> > > > > > >> file
> >> > > > > > > >> > > > > > >> > from
> >> > > > > > > >> > > > > > >> >
> >> > > > > > > >> > > > > > >> > LOG_LEVEL = "INFO"
> >> > > > > > > >> > > > > > >> >
> >> > > > > > > >> > > > > > >> > to
> >> > > > > > > >> > > > > > >> >
> >> > > > > > > >> > > > > > >> > LOG_LEVEL = "DEBUG"
> >> > > > > > > >> > > > > > >> >
> >> > > > > > > >> > > > > > >> > then rerun and upload your log file
to our
> >> ftp
> >> > > > server
> >> > > > > > > >> again?
> >> > > > > > > >> > > > > > >> >
> >> > > > > > > >> > > > > > >> > Thank you!
> >> > > > > > > >> > > > > > >> >
> >> > > > > > > >> > > > > > >> > Julie
> >> > > > > > > >> > > > > > >> >
> >> > > > > > > >> > > > > > >> >
> >> > > > > > > >> > > > > > >> > On Wed, Feb 22, 2017 at 12:39 PM,
Xinxia
> >> Song
> >> > via
> >> > > > RT
> >> > > > > <
> >> > > > > > > >> > > > > > met_help at ucar.edu
> >> > > > > > > >> > > > > > >> >
> >> > > > > > > >> > > > > > >> > wrote:
> >> > > > > > > >> > > > > > >> >
> >> > > > > > > >> > > > > > >> > >
> >> > > > > > > >> > > > > > >> > > <URL: https://rt.rap.ucar.edu/rt/
> >> > > > > > > >> > Ticket/Display.html?id=79605
> >> > > > > > > >> > > >
> >> > > > > > > >> > > > > > >> > >
> >> > > > > > > >> > > > > > >> > > Hi Julie,
> >> > > > > > > >> > > > > > >> > >
> >> > > > > > > >> > > > > > >> > >
> >> > > > > > > >> > > > > > >> > > I uploaded the log file under
> xinxia_data
> >> > > > > directory.
> >> > > > > > > >> > > > > > >> > >
> >> > > > > > > >> > > > > > >> > >
> >> > > > > > > >> > > > > > >> > > Thanks,
> >> > > > > > > >> > > > > > >> > >
> >> > > > > > > >> > > > > > >> > >
> >> > > > > > > >> > > > > > >> > > Xinxia
> >> > > > > > > >> > > > > > >> > >
> >> > > > > > > >> > > > > > >> > >
> >> > > > > > > >> > > > > > >> > > ________________________________
> >> > > > > > > >> > > > > > >> > > From: Julie Prestopnik via RT <
> >> > > met_help at ucar.edu
> >> > > > >
> >> > > > > > > >> > > > > > >> > > Sent: Thursday, February 23, 2017
> 9:11:32
> >> AM
> >> > > > > > > >> > > > > > >> > > To: Xinxia_Song at outlook.com
> >> > > > > > > >> > > > > > >> > > Subject: Re: [rt.rap.ucar.edu
#79605]
> >> > > > ImportError:
> >> > > > > > No
> >> > > > > > > >> > module
> >> > > > > > > >> > > > > named
> >> > > > > > > >> > > > > > >> > > constants_pdef
> >> > > > > > > >> > > > > > >> > >
> >> > > > > > > >> > > > > > >> > > Hi Xinxia.
> >> > > > > > > >> > > > > > >> > >
> >> > > > > > > >> > > > > > >> > > I think it would be helpful if I
could
> >> take a
> >> > > > look
> >> > > > > at
> >> > > > > > > the
> >> > > > > > > >> > log
> >> > > > > > > >> > > > > file.
> >> > > > > > > >> > > > > > >> > Could
> >> > > > > > > >> > > > > > >> > > you please upload your file to
our
> >> anonymous
> >> > > ftp
> >> > > > > site
> >> > > > > > > as
> >> > > > > > > >> > > follows
> >> > > > > > > >> > > > > so
> >> > > > > > > >> > > > > > >> that
> >> > > > > > > >> > > > > > >> > I
> >> > > > > > > >> > > > > > >> > > can take a look?
> >> > > > > > > >> > > > > > >> > >
> >> > > > > > > >> > > > > > >> > >    http://www.dtcenter.org/met/
> >> > > > > > > >> > users/support/met_help.php#ftp
> >> > > > > > > >> > > > > > >> > >
> >> > > > > > > >> > > > > > >> > > Also, could you please try
running the
> >> > > following
> >> > > > > > > manually
> >> > > > > > > >> > and
> >> > > > > > > >> > > > send
> >> > > > > > > >> > > > > > the
> >> > > > > > > >> > > > > > >> > > output to me?
> >> > > > > > > >> > > > > > >> > >
> >> > > > > > > >> > > > > > >> > > "/D2/xinxia/METplus/MET/met-5.
> >> 2/bin/tc_stat
> >> > > -job
> >> > > > > > > filter
> >> > > > > > > >> > > -lookin
> >> > > > > > > >> > > > > > >> > > /D2/xinxia/METplus/MET/input/t
> >> c_pairs/201412
> >> > > > > > -init_inc
> >> > > > > > > >> > > > > 20141201_00
> >> > > > > > > >> > > > > > >> > > -match_points true -dump_row
> >> > > > > > > /D2/xinxia/METplus/MET/out/
> >> > > > > > > >> > > > > > >> > > extract_tiles/20141201_00/
> >> > > > filter_20141201_00.tcst
> >> > > > > > > >> -basin
> >> > > > > > > >> > ML
> >> > > > > > > >> > > > > > >> > > -out_init_mask
> >> > > > > > > >> > > > > > >> > > /D2/xinxia/METplus/MET/met-5.2
> >> > > > > > > >> /share/met/poly/CONUS.poly"
> >> > > > > > > >> > > > > > >> > >
> >> > > > > > > >> > > > > > >> > > Thank you!
> >> > > > > > > >> > > > > > >> > >
> >> > > > > > > >> > > > > > >> > > Julie
> >> > > > > > > >> > > > > > >> > >
> >> > > > > > > >> > > > > > >> > >
> >> > > > > > > >> > > > > > >> > >
> >> > > > > > > >> > > > > > >> > > On Wed, Feb 22, 2017 at 12:06 PM,
Xinxia
> >> Song
> >> > > via
> >> > > > > RT
> >> > > > > > <
> >> > > > > > > >> > > > > > >> met_help at ucar.edu>
> >> > > > > > > >> > > > > > >> > > wrote:
> >> > > > > > > >> > > > > > >> > >
> >> > > > > > > >> > > > > > >> > > >
> >> > > > > > > >> > > > > > >> > > > <URL:
https://rt.rap.ucar.edu/rt/
> >> > > > > > > >> > > Ticket/Display.html?id=79605
> >> > > > > > > >> > > > >
> >> > > > > > > >> > > > > > >> > > >
> >> > > > > > > >> > > > > > >> > > > Hi Julie,
> >> > > > > > > >> > > > > > >> > > >
> >> > > > > > > >> > > > > > >> > > >
> >> > > > > > > >> > > > > > >> > > > Now I can run the program, but
when I
> >> look
> >> > at
> >> > > > the
> >> > > > > > log
> >> > > > > > > >> file
> >> > > > > > > >> > > in
> >> > > > > > > >> > > > > the
> >> > > > > > > >> > > > > > >> > output,
> >> > > > > > > >> > > > > > >> > > > it shows error below:
> >> > > > > > > >> > > > > > >> > > >
> >> > > > > > > >> > > > > > >> > > >
> >> > > > > > > >> > > > > > >> > > > ERROR|
/D2/xinxia/METplus/METplus/
> >> > > > > > > >> > > ush/run_tc_stat.py:tc_stat
> >> > > > > > > >> > > > > from
> >> > > > > > > >> > > > > > >> > > calling
> >> > > > > > > >> > > > > > >> > > > MET TC-STAT with
> >> > > command:/D2/xinxia/METplus/MET
> >> > > > > > > >> > > > > > /met-5.2/bin/tc_stat
> >> > > > > > > >> > > > > > >> > -job
> >> > > > > > > >> > > > > > >> > > > filter -lookin
> >> > /D2/xinxia/METplus/MET/input/
> >> > > > > > > >> > tc_pairs/201412
> >> > > > > > > >> > > > > > >> -init_inc
> >> > > > > > > >> > > > > > >> > > > 20141201_00 -match_points true
> -dump_row
> >> > > > > > > >> > > > > > /D2/xinxia/METplus/MET/out/
> >> > > > > > > >> > > > > > >> > > > extract_tiles/20141201_00/
> >> > > > > filter_20141201_00.tcst
> >> > > > > > > >> -basin
> >> > > > > > > >> > > ML
> >> > > > > > > >> > > > > > >> > > > -out_init_mask
> >> > /D2/xinxia/METplus/MET/met-5.
> >> > > > > > > >> > > > > > >> > 2/share/met/poly/CONUS.poly
> >> > > > > > > >> > > > > > >> > > >
> >> > > > > > > >> > > > > > >> > > >
> >> > > > > > > >> > > > > > >> > > > How should I fix it?
> >> > > > > > > >> > > > > > >> > > >
> >> > > > > > > >> > > > > > >> > > >
> >> > > > > > > >> > > > > > >> > > > Thanks,
> >> > > > > > > >> > > > > > >> > > >
> >> > > > > > > >> > > > > > >> > > >
> >> > > > > > > >> > > > > > >> > > > Xinxia
> >> > > > > > > >> > > > > > >> > > >
> >> > > > > > > >> > > > > > >> > > >
________________________________
> >> > > > > > > >> > > > > > >> > > > From: Julie Prestopnik via RT <
> >> > > > met_help at ucar.edu
> >> > > > > >
> >> > > > > > > >> > > > > > >> > > > Sent: Thursday, February 23,
2017
> >> 7:30:06
> >> > AM
> >> > > > > > > >> > > > > > >> > > > To: Xinxia_Song at outlook.com
> >> > > > > > > >> > > > > > >> > > > Subject: Re: [rt.rap.ucar.edu
#79605]
> >> > > > > ImportError:
> >> > > > > > > No
> >> > > > > > > >> > > module
> >> > > > > > > >> > > > > > named
> >> > > > > > > >> > > > > > >> > > > constants_pdef
> >> > > > > > > >> > > > > > >> > > >
> >> > > > > > > >> > > > > > >> > > > Hi Xinxia.
> >> > > > > > > >> > > > > > >> > > >
> >> > > > > > > >> > > > > > >> > > > I believe that python doesn't
know how
> >> to
> >> > > find
> >> > > > > the
> >> > > > > > > >> module
> >> > > > > > > >> > > > > because
> >> > > > > > > >> > > > > > >> the
> >> > > > > > > >> > > > > > >> > ush
> >> > > > > > > >> > > > > > >> > > > directory is not in your
PYTHONPATH.
> >> Both
> >> > > the
> >> > > > > parm
> >> > > > > > > and
> >> > > > > > > >> > ush
> >> > > > > > > >> > > > > > >> directory
> >> > > > > > > >> > > > > > >> > > need
> >> > > > > > > >> > > > > > >> > > > to be specified in your
PYTHONPATH.
> >> Please
> >> > > add
> >> > > > > the
> >> > > > > > > ush
> >> > > > > > > >> > > > > directory
> >> > > > > > > >> > > > > > to
> >> > > > > > > >> > > > > > >> > your
> >> > > > > > > >> > > > > > >> > > > PYTHONPATH, source ~/.bashrc,
and let
> us
> >> > know
> >> > > > how
> >> > > > > > it
> >> > > > > > > >> goes.
> >> > > > > > > >> > > > > > >> > > >
> >> > > > > > > >> > > > > > >> > > > Thanks,
> >> > > > > > > >> > > > > > >> > > > Julie
> >> > > > > > > >> > > > > > >> > > >
> >> > > > > > > >> > > > > > >> > > > On Wed, Feb 22, 2017 at 10:24
AM,
> Xinxia
> >> > Song
> >> > > > via
> >> > > > > > RT
> >> > > > > > > <
> >> > > > > > > >> > > > > > >> > met_help at ucar.edu>
> >> > > > > > > >> > > > > > >> > > > wrote:
> >> > > > > > > >> > > > > > >> > > >
> >> > > > > > > >> > > > > > >> > > > >
> >> > > > > > > >> > > > > > >> > > > > <URL:
https://rt.rap.ucar.edu/rt/
> >> > > > > > > >> > > > Ticket/Display.html?id=79605
> >> > > > > > > >> > > > > >
> >> > > > > > > >> > > > > > >> > > > >
> >> > > > > > > >> > > > > > >> > > > > Hi Julie,
> >> > > > > > > >> > > > > > >> > > > >
> >> > > > > > > >> > > > > > >> > > > >
> >> > > > > > > >> > > > > > >> > > > > Since I don't have setenv, I
added
> >> these
> >> > 3
> >> > > > > > sentence
> >> > > > > > > >> into
> >> > > > > > > >> > > my
> >> > > > > > > >> > > > > > >> .bashrc
> >> > > > > > > >> > > > > > >> > > file:
> >> > > > > > > >> > > > > > >> > > > >
> >> > > > > > > >> > > > > > >> > > > >
> >> > > > > > > >> > > > > > >> > > > > export
PYTHONPATH="/D2/xinxia/
> >> > > > > > > METplus/METplus/parm"
> >> > > > > > > >> > > > > > >> > > > >
> >> > > > > > > >> > > > > > >> > > > >
> >> > > > > > > >> > > > > > >> > > > > export
USHROOT=/D2/xinxia/METplus/
> >> > > > METplus/ush
> >> > > > > > > >> > > > > > >> > > > >
> >> > > > > > > >> > > > > > >> > > > > export PATH=$USHROOT:$PATH
> >> > > > > > > >> > > > > > >> > > > >
> >> > > > > > > >> > > > > > >> > > > >
> >> > > > > > > >> > > > > > >> > > > > I sourced the ~/.bashrc, and
checked
> >> that
> >> > > the
> >> > > > > > > >> variables
> >> > > > > > > >> > > are
> >> > > > > > > >> > > > > set,
> >> > > > > > > >> > > > > > >> but
> >> > > > > > > >> > > > > > >> > > the
> >> > > > > > > >> > > > > > >> > > > > program still can't find the
module.
> >> > > > > > > >> > > > > > >> > > > >
> >> > > > > > > >> > > > > > >> > > > >
> >> > > > > > > >> > > > > > >> > > > > Thanks,
> >> > > > > > > >> > > > > > >> > > > >
> >> > > > > > > >> > > > > > >> > > > > Xinxia
> >> > > > > > > >> > > > > > >> > > > >
> >> > > > > > > >> > > > > > >> > > > >
________________________________
> >> > > > > > > >> > > > > > >> > > > > From: Julie Prestopnik via RT
<
> >> > > > > met_help at ucar.edu
> >> > > > > > >
> >> > > > > > > >> > > > > > >> > > > > Sent: Thursday, February 23,
2017
> >> 6:24:21
> >> > > AM
> >> > > > > > > >> > > > > > >> > > > > To: Xinxia_Song at outlook.com
> >> > > > > > > >> > > > > > >> > > > > Subject: Re: [rt.rap.ucar.edu
> #79605]
> >> > > > > > ImportError:
> >> > > > > > > >> No
> >> > > > > > > >> > > > module
> >> > > > > > > >> > > > > > >> named
> >> > > > > > > >> > > > > > >> > > > > constants_pdef
> >> > > > > > > >> > > > > > >> > > > >
> >> > > > > > > >> > > > > > >> > > > > Hi Xinxia.
> >> > > > > > > >> > > > > > >> > > > >
> >> > > > > > > >> > > > > > >> > > > > Could you please check to
make sure
> >> that
> >> > > the
> >> > > > > ush
> >> > > > > > > >> > directory
> >> > > > > > > >> > > > > with
> >> > > > > > > >> > > > > > >> > > > > constants_pdef.py is in your
> >> PYTHONPATH
> >> > in
> >> > > > your
> >> > > > > > > >> .cshrc
> >> > > > > > > >> > > file
> >> > > > > > > >> > > > > (or
> >> > > > > > > >> > > > > > >> > .bashrc
> >> > > > > > > >> > > > > > >> > > > or
> >> > > > > > > >> > > > > > >> > > > > similar file)?  The parm
directory
> >> should
> >> > > > also
> >> > > > > be
> >> > > > > > > in
> >> > > > > > > >> > your
> >> > > > > > > >> > > > > > >> PYTHONPATH.
> >> > > > > > > >> > > > > > >> > > > >
> >> > > > > > > >> > > > > > >> > > > > For example,
> >> > > > > > > >> > > > > > >> > > > >
> >> > > > > > > >> > > > > > >> > > > > setenv PYTHONPATH
> >> > > > /d1/jpresto/sbu/METplus/ush:/
> >> > > > > > > >> > > > > > >> > > > d1/jpresto/sbu/METplus/parm
> >> > > > > > > >> > > > > > >> > > > >
> >> > > > > > > >> > > > > > >> > > > > Please also check make sure
that the
> >> path
> >> > > to
> >> > > > > the
> >> > > > > > > ush
> >> > > > > > > >> > > > directory
> >> > > > > > > >> > > > > > is
> >> > > > > > > >> > > > > > >> > also
> >> > > > > > > >> > > > > > >> > > > > specified your your path
environment
> >> > > > variable.
> >> > > > > > For
> >> > > > > > > >> > > example,
> >> > > > > > > >> > > > > > >> > > > >
> >> > > > > > > >> > > > > > >> > > > > set path = (/usr/local/bin \
> >> > > > > > > >> > > > > > >> > > > >
> >> > > > /usr/local/python/bin/python \
> >> > > > > > > >> > > > > > >> > > > >
> >> > > /d1/jpresto/sbu/METplus/ush
> >> > > > )
> >> > > > > > > >> > > > > > >> > > > >
> >> > > > > > > >> > > > > > >> > > > > If they are not there, please
add
> them
> >> > and
> >> > > > then
> >> > > > > > > >> source
> >> > > > > > > >> > the
> >> > > > > > > >> > > > > file
> >> > > > > > > >> > > > > > >> (e.g.
> >> > > > > > > >> > > > > > >> > > run
> >> > > > > > > >> > > > > > >> > > > > "source ~/.cshrc").
> >> > > > > > > >> > > > > > >> > > > >
> >> > > > > > > >> > > > > > >> > > > > Thank you!  Please let us
know how
> it
> >> > goes.
> >> > > > > > > >> > > > > > >> > > > >
> >> > > > > > > >> > > > > > >> > > > > Julie
> >> > > > > > > >> > > > > > >> > > > >
> >> > > > > > > >> > > > > > >> > > > >
> >> > > > > > > >> > > > > > >> > > > >
> >> > > > > > > >> > > > > > >> > > > >
> >> > > > > > > >> > > > > > >> > > > > On Tue, Feb 21, 2017 at 4:49
PM,
> >> Xinxia
> >> > > Song
> >> > > > > via
> >> > > > > > > RT <
> >> > > > > > > >> > > > > > >> > met_help at ucar.edu
> >> > > > > > > >> > > > > > >> > > >
> >> > > > > > > >> > > > > > >> > > > > wrote:
> >> > > > > > > >> > > > > > >> > > > >
> >> > > > > > > >> > > > > > >> > > > > >
> >> > > > > > > >> > > > > > >> > > > > > Tue Feb 21 16:49:28 2017:
Request
> >> 79605
> >> > > was
> >> > > > > > acted
> >> > > > > > > >> > upon.
> >> > > > > > > >> > > > > > >> > > > > > Transaction: Ticket created
by
> >> > > > > > > >> > Xinxia_Song at outlook.com
> >> > > > > > > >> > > > > > >> > > > > >        Queue: met_help
> >> > > > > > > >> > > > > > >> > > > > >      Subject: ImportError:
No
> module
> >> > > named
> >> > > > > > > >> > > constants_pdef
> >> > > > > > > >> > > > > > >> > > > > >        Owner: Nobody
> >> > > > > > > >> > > > > > >> > > > > >   Requestors:
> >> Xinxia_Song at outlook.com
> >> > > > > > > >> > > > > > >> > > > > >       Status: new
> >> > > > > > > >> > > > > > >> > > > > >  Ticket <URL:
> >> > > https://rt.rap.ucar.edu/rt/
> >> > > > > > > >> > > > > > >> > > Ticket/Display.html?id=79605
> >> > > > > > > >> > > > > > >> > > > >
> >> > > > > > > >> > > > > > >> > > > > >
> >> > > > > > > >> > > > > > >> > > > > >
> >> > > > > > > >> > > > > > >> > > > > > Hi,
> >> > > > > > > >> > > > > > >> > > > > >
> >> > > > > > > >> > > > > > >> > > > > >
> >> > > > > > > >> > > > > > >> > > > > > When I ran the
mater_met_plus.py,
> it
> >> > > says:
> >> > > > > > > >> > > > > > >> > > > > >
> >> > > > > > > >> > > > > > >> > > > > >
> >> > > > > > > >> > > > > > >> > > > > > ImportError: No module
named
> >> > > constants_pdef
> >> > > > > > > >> > > > > > >> > > > > >
> >> > > > > > > >> > > > > > >> > > > > >
> >> > > > > > > >> > > > > > >> > > > > > Seems it doesn't recognize
> >> > constants_pdef
> >> > > > as
> >> > > > > > its
> >> > > > > > > >> > module.
> >> > > > > > > >> > > > > > >> > > > > >
> >> > > > > > > >> > > > > > >> > > > > >
> >> > > > > > > >> > > > > > >> > > > > > Thanks,
> >> > > > > > > >> > > > > > >> > > > > >
> >> > > > > > > >> > > > > > >> > > > > > Xinxia
> >> > > > > > > >> > > > > > >> > > > > >
> >> > > > > > > >> > > > > > >> > > > > >
> >> > > > > > > >> > > > > > >> > > > >
> >> > > > > > > >> > > > > > >> > > > >
> >> > > > > > > >> > > > > > >> > > > >
> >> > > > > > > >> > > > > > >> > > >
> >> > > > > > > >> > > > > > >> > > >
> >> > > > > > > >> > > > > > >> > > >
> >> > > > > > > >> > > > > > >> > >
> >> > > > > > > >> > > > > > >> > >
> >> > > > > > > >> > > > > > >> > >
> >> > > > > > > >> > > > > > >> >
> >> > > > > > > >> > > > > > >> >
> >> > > > > > > >> > > > > > >> >
> >> > > > > > > >> > > > > > >>
> >> > > > > > > >> > > > > > >>
> >> > > > > > > >> > > > > > >>
> >> > > > > > > >> > > > > > >
> >> > > > > > > >> > > > > >
> >> > > > > > > >> > > > > >
> >> > > > > > > >> > > > > >
> >> > > > > > > >> > > > >
> >> > > > > > > >> > > > >
> >> > > > > > > >> > > > >
> >> > > > > > > >> > > >
> >> > > > > > > >> > > >
> >> > > > > > > >> > > >
> >> > > > > > > >> > >
> >> > > > > > > >> > >
> >> > > > > > > >> > >
> >> > > > > > > >> >
> >> > > > > > > >> >
> >> > > > > > > >> >
> >> > > > > > > >>
> >> > > > > > > >>
> >> > > > > > > >>
> >> > > > > > > >
> >> > > > > > >
> >> > > > > > >
> >> > > > > > >
> >> > > > > >
> >> > > > > >
> >> > > > > >
> >> > > > >
> >> > > > >
> >> > > > >
> >> > > >
> >> > > >
> >> > > >
> >> > >
> >> > >
> >> > >
> >> >
> >> >
> >> >
> >>
> >>
> >>
> >
>
>
>

------------------------------------------------
Subject: ImportError: No module named constants_pdef
From: Xinxia Song
Time: Thu Mar 02 14:04:51 2017

Hi Julie,


I followed your instruction and it doesn't work. I still got the
error:

Traceback (most recent call last):

  File "/D2/xinxia/METplus/METplus/ush/series_by_lead.py", line 945,
in <module>

    analysis_by_lead_time()

  File "/D2/xinxia/METplus/METplus/ush/series_by_lead.py", line 107,
in analysis_by_lead_time

    util.apply_series_filters(tile_dir, init_times,
series_lead_filtered_out_dir, p, logger)

  File "/D2/xinxia/METplus/METplus/ush/met_util.py", line 1005, in
apply_series_filters

    tcs.tc_stat(p, logger, tc_cmd, series_output_dir)

  File "/D2/xinxia/METplus/METplus/ush/run_tc_stat.py", line 69, in
tc_stat

    tc_stat_out = subprocess.check_output(tc_cmd,
stderr=subprocess.STDOUT, shell=True )

AttributeError: 'module' object has no attribute 'check_output'


Thanks,


Xinxia

________________________________
From: Julie Prestopnik via RT <met_help at ucar.edu>
Sent: Thursday, March 2, 2017 11:57:54 AM
To: Xinxia_Song at outlook.com
Subject: Re: [rt.rap.ucar.edu #79605] ImportError: No module named
constants_pdef

Hi Xinxia.  I apologize for the delay in responding.  I was out of the
office.  I'm so glad to hear that you were able to get a successful
run
from series_by_lead.py!

Could you please open master_met_plus.py in the editor of your choice
(vi,
emacs, etc.) and change the first line from:

#!/usr/bin/python

to

#!/usr/bin/env python

Then, please delete master_met_plus.pyc  (Note the ".pyc" extension).
Please also do the same for met_util.py, changing the top line and
also
removing a .pyc file if one exists.

Then, please change your PROCESS_LIST in constants_pdef.py to only
have
series_by_lead.py in the list, since the other processes have run
successfully via master_met_plus.py.

Then, please rerun master_met_plus.py and let me know how it goes.

I still suspect that somehow Python 2.6 is being used because this
error:

AttributeError: 'module' object has no attribute 'check_output'

indicates that subprocess does not have a "check_output" attribute,
which
is true for Python 2.6, but not for 2.7.  Hopefully, these changes
will
take care of the problem in the environment.  If not, we'll try
something
else.  Thank you for your patience and help in testing our alpha
version.

Julie

On Thu, Mar 2, 2017 at 8:07 AM, Xinxia Song via RT <met_help at ucar.edu>
wrote:

>
> <URL: https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=79605 >
>
> Hi Julie,
>
>
> I ran the master_met_plus.py again and still got the error:
>
>
> Traceback (most recent call last):
>
>   File "/D2/xinxia/METplus/METplus/ush/series_by_lead.py", line 945,
in
> <module>
>
>     analysis_by_lead_time()
>
>   File "/D2/xinxia/METplus/METplus/ush/series_by_lead.py", line 107,
in
> analysis_by_lead_time
>
>     util.apply_series_filters(tile_dir, init_times,
> series_lead_filtered_out_dir, p, logger)
>
>   File "/D2/xinxia/METplus/METplus/ush/met_util.py", line 1005, in
> apply_series_filters
>
>     tcs.tc_stat(p, logger, tc_cmd, series_output_dir)
>
>   File "/D2/xinxia/METplus/METplus/ush/run_tc_stat.py", line 69, in
> tc_stat
>
>     tc_stat_out = subprocess.check_output(tc_cmd,
> stderr=subprocess.STDOUT, shell=True )
>
> AttributeError: 'module' object has no attribute 'check_output'
>
>
>
> Thanks,
>
>
> Xinxia
>
> ________________________________
> From: Xinxia Song
> Sent: Tuesday, February 28, 2017 5:07:13 PM
> To: met_help at ucar.edu
> Subject: Re: [rt.rap.ucar.edu #79605] ImportError: No module named
> constants_pdef
>
>
> Hi Julie,
>
>
> I correct these paths and I could successfully run series_by_lead.py
but
> have errors for the master_met_plus.py. I get the errors:
>
> Traceback (most recent call last):
>
>   File "/D2/xinxia/METplus/METplus/ush/series_by_lead.py", line 945,
in
> <module>
>
>     analysis_by_lead_time()
>
>   File "/D2/xinxia/METplus/METplus/ush/series_by_lead.py", line 107,
in
> analysis_by_lead_time
>
>     util.apply_series_filters(tile_dir, init_times,
> series_lead_filtered_out_dir, p, logger)
>
>   File "/D2/xinxia/METplus/METplus/ush/met_util.py", line 1005, in
> apply_series_filters
>
>     tcs.tc_stat(p, logger, tc_cmd, series_output_dir)
>
>   File "/D2/xinxia/METplus/METplus/ush/run_tc_stat.py", line 69, in
> tc_stat
>
>     tc_stat_out = subprocess.check_output(tc_cmd,
> stderr=subprocess.STDOUT, shell=True )
>
> AttributeError: 'module' object has no attribute 'check_output'
>
>
> Thanks,
>
>
> Xinxia
>
> ________________________________
> From: Julie Prestopnik via RT <met_help at ucar.edu>
> Sent: Tuesday, February 28, 2017 2:50:58 PM
> To: Xinxia_Song at outlook.com
> Subject: Re: [rt.rap.ucar.edu #79605] ImportError: No module named
> constants_pdef
>
> Hi Xinxia.  I also thought I would mention that, as indicated in the
README
> file that came with the distribution, in addition to ncap2 and
ncdump, the
> following are also required for MET+:
>
>   - convert utility (part of ImageMagick)
>     - https://www.imagemagick.org/script/binary-releases.php
>   - wgrib2 utility
>     - http://www.cpc.noaa.gov/products/wesley/wgrib2/
> compile_questions.html
>   - egrep utility
>     - http://directory.fsf.org/wiki/Grep
>
> If you do not have these installed. Please install them and set up
their
> paths in the constants_pdef.py file.
>
> Thanks,
> Julie
>
> On Tue, Feb 28, 2017 at 12:45 PM, Julie Prestopnik
<jpresto at ucar.edu>
> wrote:
>
> > Hi Xinxia.
> >
> > You will also need to have the ncdump command installed, with the
> location
> > to the executable listed in NCDUMP_EXE in constants_pdef.py.
Please have
> > ncdump installed, update your constants_pdef.py file and rerun.
> >
> > Thanks!
> >
> > Julie
> >
> > On Tue, Feb 28, 2017 at 12:18 PM, Xinxia Song via RT
<met_help at ucar.edu>
> > wrote:
> >
> >>
> >> <URL: https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=79605 >
> >>
> >> Hi Julie,
> >>
> >>
> >> Before I was running master_met_plus.py and now I ran the
> >> series_by_lead.py and got the following results:
> >>
> >> [xinxia at chaos ush]$ python series_by_lead.py
> >>
> >> Traceback (most recent call last):
> >>
> >>   File "series_by_lead.py", line 945, in <module>
> >>
> >>     analysis_by_lead_time()
> >>
> >>   File "series_by_lead.py", line 326, in analysis_by_lead_time
> >>
> >>     vmin, vmax = get_netcdf_min_max(nc_var_list, cur_stat, p,
logger)
> >>
> >>   File "series_by_lead.py", line 638, in get_netcdf_min_max
> >>
> >>     shell=True)
> >>
> >>   File "/home/xinxia/anaconda2/lib/python2.7/subprocess.py", line
219,
> >> in check_output
> >>
> >>     raise CalledProcessError(retcode, cmd, output=output)
> >>
> >> subprocess.CalledProcessError: Command '/usr/local/bin/ncdump
> >>
/D2/xinxia/METplus/MET/out/series_analysis_lead/series_F042/min.nc >
> >>
/D2/xinxia/METplus/MET/out/series_analysis_lead/series_F042/min.txt'
> >> returned non-zero exit status 127
> >>
> >>
> >> Thanks,
> >>
> >>
> >> Xinxia
> >>
> >> ________________________________
> >> From: Julie Prestopnik via RT <met_help at ucar.edu>
> >> Sent: Tuesday, February 28, 2017 2:11:19 PM
> >> To: Xinxia_Song at outlook.com
> >> Subject: Re: [rt.rap.ucar.edu #79605] ImportError: No module
named
> >> constants_pdef
> >>
> >> Hi Xinxia.  Did you run series_by_lead.py on its own or via
> >> master_met_plus.py?
> >>
> >> Thanks,
> >> Julie
> >>
> >> On Tue, Feb 28, 2017 at 11:11 AM, Xinxia Song via RT
<met_help at ucar.edu
> >
> >> wrote:
> >>
> >> >
> >> > <URL: https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=79605 >
> >> >
> >> > Hi Julie,
> >> >
> >> >
> >> > I checked it's 2.7.13. It seems the error doesn't coming from
it.
> >> >
> >> >
> >> > Thanks,
> >> >
> >> >
> >> > Xinxia
> >> >
> >> >
> >> > ________________________________
> >> > From: Julie Prestopnik via RT <met_help at ucar.edu>
> >> > Sent: Tuesday, February 28, 2017 10:49:29 AM
> >> > To: Xinxia_Song at outlook.com
> >> > Subject: Re: [rt.rap.ucar.edu #79605] ImportError: No module
named
> >> > constants_pdef
> >> >
> >> > I think perhaps your environment is using Python 2.6 again.
> >> >
> >> > Please try running:
> >> >
> >> > python --version
> >> >
> >> > on the command line.
> >> >
> >> > If you see "Python 2..6.6", please add the path for Python 2.7
to the
> >> front
> >> > of your path in your ~/.bashrc file.  Then, source your
~/.bashrc file
> >> and
> >> > try rerunning
> >> >
> >> > python --version
> >> >
> >> > on the command line.  Hopefully, then you will see the new
version.
> >> Then,
> >> > please try rerunning master_met_plus.py.
> >> >
> >> > I hope this helps!  Thanks!
> >> >
> >> > Julie
> >> >
> >> > On Mon, Feb 27, 2017 at 8:14 PM, Xinxia Song via RT <
> met_help at ucar.edu>
> >> > wrote:
> >> >
> >> > >
> >> > > <URL: https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=79605
>
> >> > >
> >> > > Hi Julie,
> >> > >
> >> > >
> >> > > after I update the NCAP2 path in constants_pdef.py and ran
the
> >> > > master_met_plus.py, I got the error:
> >> > >
> >> > > 2017-02-28 02:49:40,659 : ERROR | [master_met_plus.py:main] |
> Problem
> >> > > executing: series_by_lead.py
> >> > >
> >> > > and message:
> >> > >
> >> > > Traceback (most recent call last):
> >> > >
> >> > >   File "/D2/xinxia/METplus/METplus/ush/series_by_lead.py",
line
> 945,
> >> in
> >> > > <module>
> >> > >
> >> > >     analysis_by_lead_time()
> >> > >
> >> > >   File "/D2/xinxia/METplus/METplus/ush/series_by_lead.py",
line
> 107,
> >> in
> >> > > analysis_by_lead_time
> >> > >
> >> > >     util.apply_series_filters(tile_dir, init_times,
> >> > > series_lead_filtered_out_dir, p, logger)
> >> > >
> >> > >   File "/D2/xinxia/METplus/METplus/ush/met_util.py", line
1005, in
> >> > > apply_series_filters
> >> > >
> >> > >     tcs.tc_stat(p, logger, tc_cmd, series_output_dir)
> >> > >
> >> > >   File "/D2/xinxia/METplus/METplus/ush/run_tc_stat.py", line
69, in
> >> > > tc_stat
> >> > >
> >> > >     tc_stat_out = subprocess.check_output(tc_cmd,
> >> > > stderr=subprocess.STDOUT, shell=True )
> >> > >
> >> > > AttributeError: 'module' object has no attribute
'check_output'
> >> > >
> >> > >
> >> > > Thanks,
> >> > >
> >> > >
> >> > > Xinxia
> >> > >
> >> > > ________________________________
> >> > > From: Julie Prestopnik via RT <met_help at ucar.edu>
> >> > > Sent: Monday, February 27, 2017 5:15:59 PM
> >> > > To: Xinxia_Song at outlook.com
> >> > > Subject: Re: [rt.rap.ucar.edu #79605] ImportError: No module
named
> >> > > constants_pdef
> >> > >
> >> > > Please install ncap2 and update the location to the
executable in
> the
> >> > > NCAP2_EXE field of the constants_pdef.py file and trying
rerunning
> the
> >> > MET+
> >> > > code.  Please let us know how it goes.
> >> > >
> >> > > Thanks,
> >> > > Julie
> >> > >
> >> > > On Mon, Feb 27, 2017 at 3:10 PM, Xinxia Song via RT <
> >> met_help at ucar.edu>
> >> > > wrote:
> >> > >
> >> > > >
> >> > > > <URL:
https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=79605 >
> >> > > >
> >> > > > Hi Julie,
> >> > > >
> >> > > >
> >> > > > The result is :
> >> > > >
> >> > > > -bash: /usr/local/nco/bin/ncap2: No such file or directory
> >> > > >
> >> > > > I think we don't have it installed.
> >> > > >
> >> > > >
> >> > > > Thanks,
> >> > > >
> >> > > > Xinxia
> >> > > >
> >> > > > ________________________________
> >> > > > From: Julie Prestopnik via RT <met_help at ucar.edu>
> >> > > > Sent: Monday, February 27, 2017 5:08:48 PM
> >> > > > To: Xinxia_Song at outlook.com
> >> > > > Subject: Re: [rt.rap.ucar.edu #79605] ImportError: No
module
> named
> >> > > > constants_pdef
> >> > > >
> >> > > > Hi Xinxia. I believe that error code refers to "Command not
> found".
> >> > Can
> >> > > > you please run the following and send me the output?
> >> > > >
> >> > > > /usr/local/nco/bin/ncap2 --version
> >> > > >
> >> > > > Thanks!
> >> > > >
> >> > > > Julie
> >> > > >
> >> > > >
> >> > > > On Mon, Feb 27, 2017 at 2:55 PM, Xinxia Song via RT <
> >> met_help at ucar.edu
> >> > >
> >> > > > wrote:
> >> > > >
> >> > > > >
> >> > > > > <URL:
https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=79605 >
> >> > > > >
> >> > > > > Hi Julie,
> >> > > > >
> >> > > > >
> >> > > > > The error is:
> >> > > > >
> >> > > > > Traceback (most recent call last):
> >> > > > >
> >> > > > >   File "series_by_lead.py", line 945, in <module>
> >> > > > >
> >> > > > >     analysis_by_lead_time()
> >> > > > >
> >> > > > >   File "series_by_lead.py", line 326, in
analysis_by_lead_time
> >> > > > >
> >> > > > >     vmin, vmax = get_netcdf_min_max(nc_var_list,
cur_stat, p,
> >> > logger)
> >> > > > >
> >> > > > >   File "series_by_lead.py", line 605, in
get_netcdf_min_max
> >> > > > >
> >> > > > >     shell=True)
> >> > > > >
> >> > > > >   File
"/home/xinxia/anaconda2/lib/python2.7/subprocess.py",
> line
> >> > 219,
> >> > > > in
> >> > > > > check_output
> >> > > > >
> >> > > > >     raise CalledProcessError(retcode, cmd, output=output)
> >> > > > >
> >> > > > > subprocess.CalledProcessError: Command
'/usr/local/nco/bin/ncap2
> >> -v
> >> > -s
> >> > > > > "min=min(series_cnt_TOTAL)" /D2/xinxia/METplus/MET/out/
> >> > > > > series_analysis_lead/series_F042/series_F042_HGT_P500.nc
> >> > > > >
/D2/xinxia/METplus/MET/out/series_analysis_lead/series_F042/
> >> min.nc'
> >> > > > > returned non-zero exit status 127
> >> > > > >
> >> > > > >
> >> > > > > Thanks,
> >> > > > >
> >> > > > >
> >> > > > > Xinxia
> >> > > > >
> >> > > > > ________________________________
> >> > > > > From: Julie Prestopnik via RT <met_help at ucar.edu>
> >> > > > > Sent: Tuesday, February 28, 2017 9:18:55 AM
> >> > > > > To: Xinxia_Song at outlook.com
> >> > > > > Subject: Re: [rt.rap.ucar.edu #79605] ImportError: No
module
> >> named
> >> > > > > constants_pdef
> >> > > > >
> >> > > > > Thank you, Xinxia.
> >> > > > >
> >> > > > > Unfortunately, the "DEBUG" log level did not provide much
> >> information
> >> > > for
> >> > > > > this task:
> >> > > > >
> >> > > > > 2017-02-26 21:30:28,041 : INFO |
[master_met_plus.py:main] |
> >> Running:
> >> > > > > series_by_lead.py
> >> > > > > 2017-02-26 21:30:28,212 : ERROR |
[master_met_plus.py:main] |
> >> Problem
> >> > > > > executing: series_by_lead.py
> >> > > > >
> >> > > > > Could you please try running series_by_lead.py in the ush
> >> directory?
> >> > > > > Please let me know what the output is from that run - it
may
> >> still be
> >> > > > > contained in your log file.
> >> > > > >
> >> > > > > Thanks!
> >> > > > >
> >> > > > > Julie
> >> > > > >
> >> > > > >
> >> > > > > On Mon, Feb 27, 2017 at 11:17 AM, Xinxia Song via RT <
> >> > > met_help at ucar.edu>
> >> > > > > wrote:
> >> > > > >
> >> > > > > >
> >> > > > > > <URL:
https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=79605
> >
> >> > > > > >
> >> > > > > > Hi Julie,
> >> > > > > >
> >> > > > > >
> >> > > > > > I uploaded the constants_pdef.py and
> >> master_met_plus.20170226.log.
> >> > > > > >
> >> > > > > >
> >> > > > > > Thanks,
> >> > > > > >
> >> > > > > >
> >> > > > > > Xinxia
> >> > > > > >
> >> > > > > > ________________________________
> >> > > > > > From: Julie Prestopnik via RT <met_help at ucar.edu>
> >> > > > > > Sent: Tuesday, February 28, 2017 5:46:37 AM
> >> > > > > > To: Xinxia_Song at outlook.com
> >> > > > > > Subject: Re: [rt.rap.ucar.edu #79605] ImportError: No
module
> >> named
> >> > > > > > constants_pdef
> >> > > > > >
> >> > > > > > Hi Xinxia.  Can you please upload the configuration
file that
> >> you
> >> > > used
> >> > > > > and
> >> > > > > > the log file from that run to our ftp server so that we
can
> >> take a
> >> > > > look?
> >> > > > > >
> >> > > > > > Thanks!
> >> > > > > >
> >> > > > > > Julie
> >> > > > > >
> >> > > > > > On Sun, Feb 26, 2017 at 2:35 PM, Xinxia Song via RT <
> >> > > met_help at ucar.edu
> >> > > > >
> >> > > > > > wrote:
> >> > > > > >
> >> > > > > > >
> >> > > > > > > <URL: https://rt.rap.ucar.edu/rt/
> Ticket/Display.html?id=79605
> >> >
> >> > > > > > >
> >> > > > > > > Hi Julie,
> >> > > > > > >
> >> > > > > > >
> >> > > > > > > I ran the mater_met_plus.py and in the end in the log
file
> it
> >> > gave
> >> > > me
> >> > > > > an
> >> > > > > > > error:
> >> > > > > > >
> >> > > > > > > 2017-02-26 21:30:28,212 : ERROR |
[master_met_plus.py:main]
> |
> >> > > Problem
> >> > > > > > > executing: series_by_lead.py
> >> > > > > > >
> >> > > > > > >
> >> > > > > > > Thanks,
> >> > > > > > >
> >> > > > > > > Xinxia
> >> > > > > > >
> >> > > > > > > ________________________________
> >> > > > > > > From: Julie Prestopnik via RT <met_help at ucar.edu>
> >> > > > > > > Sent: Saturday, February 25, 2017 6:49:56 AM
> >> > > > > > > To: Xinxia_Song at outlook.com
> >> > > > > > > Subject: Re: [rt.rap.ucar.edu #79605] ImportError: No
> module
> >> > named
> >> > > > > > > constants_pdef
> >> > > > > > >
> >> > > > > > > You could also run "tail -f
</path/to/logfile/logfile_
> name>"
> >> > > > replacing
> >> > > > > > > </path/to/logfile/logfile_name> with the logfile path
and
> >> name
> >> > > > > > information
> >> > > > > > > to see how the run is coming along.  I hope that
helps!
> >> > > > > > >
> >> > > > > > > Julie
> >> > > > > > >
> >> > > > > > > On Fri, Feb 24, 2017 at 9:42 AM, Julie Prestopnik <
> >> > > jpresto at ucar.edu>
> >> > > > > > > wrote:
> >> > > > > > >
> >> > > > > > > > Hi Xinxia.  Running the entire three months of data
could
> >> > > certainly
> >> > > > > > take
> >> > > > > > > a
> >> > > > > > > > long time.  I am hoping to get an estimate on how
long it
> >> took
> >> > to
> >> > > > run
> >> > > > > > the
> >> > > > > > > > three month data set here, but have not been able
to
> obtain
> >> > that
> >> > > > > number
> >> > > > > > > > yet.   It sounds the code was running successfully
for
> >> you.  If
> >> > > > > you're
> >> > > > > > > > eager to take a lot at some output, I would suggest
> running
> >> a
> >> > > > smaller
> >> > > > > > > > subset of the data, or perhaps you could set up the
whole
> >> three
> >> > > > month
> >> > > > > > to
> >> > > > > > > > run over the weekend.  I would suggest letting the
code
> run
> >> to
> >> > > > > > completion
> >> > > > > > > > for either a smaller subset or for the entire
subset and
> >> then
> >> > > > > checking
> >> > > > > > > the
> >> > > > > > > > log file for errors.  I hope that helps.  Please
let me
> >> know if
> >> > > you
> >> > > > > > have
> >> > > > > > > > any questions or encounter any issues.
> >> > > > > > > >
> >> > > > > > > > Thanks,
> >> > > > > > > > Julie
> >> > > > > > > >
> >> > > > > > > >
> >> > > > > > > > On Thu, Feb 23, 2017 at 4:28 PM, Xinxia Song via RT
<
> >> > > > > met_help at ucar.edu
> >> > > > > > >
> >> > > > > > > > wrote:
> >> > > > > > > >
> >> > > > > > > >>
> >> > > > > > > >> <URL: https://rt.rap.ucar.edu/rt/Tic
> >> ket/Display.html?id=79605
> >> > >
> >> > > > > > > >>
> >> > > > > > > >> Hi Julie,
> >> > > > > > > >>
> >> > > > > > > >>
> >> > > > > > > >> The version is set to be 2.7+. When I ran
> >> master_met_plus.py,
> >> > it
> >> > > > > seems
> >> > > > > > > it
> >> > > > > > > >> will run forever. So I killed it, and got the
following:
> >> > > > > > > >>
> >> > > > > > > >> [xinxia at chaos ush]$ python master_met_plus.py
> >> > > > > > > >>
> >> > > > > > > >> ^CTraceback (most recent call last):
> >> > > > > > > >>
> >> > > > > > > >>   File "/D2/xinxia/METplus/METplus/
> ush/extract_tiles.py",
> >> > line
> >> > > > 157,
> >> > > > > > in
> >> > > > > > > >> <module>
> >> > > > > > > >>
> >> > > > > > > >>     main()
> >> > > > > > > >>
> >> > > > > > > >>   File "/D2/xinxia/METplus/METplus/
> ush/extract_tiles.py",
> >> > line
> >> > > > 100,
> >> > > > > > in
> >> > > > > > > >> main
> >> > > > > > > >>
> >> > > > > > > >>     filtered_out_dir)
> >> > > > > > > >>
> >> > > > > > > >>   File
"/D2/xinxia/METplus/METplus/ush/run_tc_stat.py",
> >> line
> >> > > 69,
> >> > > > in
> >> > > > > > > >> tc_stat
> >> > > > > > > >>
> >> > > > > > > >>     tc_stat_out = subprocess.check_output(tc_cmd,
> >> > > > > > > >> stderr=subprocess.STDOUT, shell=True )
> >> > > > > > > >>
> >> > > > > > > >>   File "/home/xinxia/anaconda2/lib/py
> >> thon2.7/subprocess.py",
> >> > > line
> >> > > > > > 213,
> >> > > > > > > >> in check_output
> >> > > > > > > >>
> >> > > > > > > >>     output, unused_err = process.communicate()
> >> > > > > > > >>
> >> > > > > > > >>   File "/home/xinxia/anaconda2/lib/py
> >> thon2.7/subprocess.py",
> >> > > line
> >> > > > > > 471,
> >> > > > > > > >> in communicate
> >> > > > > > > >>
> >> > > > > > > >>     stdout = _eintr_retry_call(self.stdout.read)
> >> > > > > > > >>
> >> > > > > > > >>   File "/home/xinxia/anaconda2/lib/py
> >> thon2.7/subprocess.py",
> >> > > line
> >> > > > > > 121,
> >> > > > > > > >> in _eintr_retry_call
> >> > > > > > > >>
> >> > > > > > > >>     return func(*args)
> >> > > > > > > >>
> >> > > > > > > >> KeyboardInterrupt
> >> > > > > > > >>
> >> > > > > > > >>
> >> > > > > > > >> Thanks,
> >> > > > > > > >>
> >> > > > > > > >>
> >> > > > > > > >> Xinxia
> >> > > > > > > >>
> >> > > > > > > >> ________________________________
> >> > > > > > > >> From: Julie Prestopnik via RT <met_help at ucar.edu>
> >> > > > > > > >> Sent: Friday, February 24, 2017 12:02:21 PM
> >> > > > > > > >> To: Xinxia_Song at outlook.com
> >> > > > > > > >> Subject: Re: [rt.rap.ucar.edu #79605] ImportError:
No
> >> module
> >> > > > named
> >> > > > > > > >> constants_pdef
> >> > > > > > > >>
> >> > > > > > > >> Hi Xinxia.  I suspect that even though you
installed
> Python
> >> > 2.7
> >> > > > that
> >> > > > > > > >> Python
> >> > > > > > > >> 2.6.6 is still being used.
> >> > > > > > > >>
> >> > > > > > > >> Please try running:
> >> > > > > > > >>
> >> > > > > > > >> python --version
> >> > > > > > > >>
> >> > > > > > > >> on the command line.
> >> > > > > > > >>
> >> > > > > > > >> If you see "Python 2..6.6", please add the path
for
> Python
> >> 2.7
> >> > > to
> >> > > > > the
> >> > > > > > > >> front
> >> > > > > > > >> of your path in your ~/.bashrc file.  Then, source
your
> >> > > ~/.bashrc
> >> > > > > file
> >> > > > > > > and
> >> > > > > > > >> try rerunning
> >> > > > > > > >>
> >> > > > > > > >> python --version
> >> > > > > > > >>
> >> > > > > > > >> on the command line.  Hopefully, then you will see
the
> new
> >> > > > version.
> >> > > > > > > Then,
> >> > > > > > > >> please try rerunning master_met_plus.py.
> >> > > > > > > >>
> >> > > > > > > >> I hope this helps!  Thanks!
> >> > > > > > > >>
> >> > > > > > > >> Julie
> >> > > > > > > >>
> >> > > > > > > >> On Thu, Feb 23, 2017 at 1:51 PM, Xinxia Song via
RT <
> >> > > > > > met_help at ucar.edu>
> >> > > > > > > >> wrote:
> >> > > > > > > >>
> >> > > > > > > >> >
> >> > > > > > > >> > <URL: https://rt.rap.ucar.edu/rt/Tic
> >> > ket/Display.html?id=79605
> >> > > >
> >> > > > > > > >> >
> >> > > > > > > >> > Hi Julie,
> >> > > > > > > >> >
> >> > > > > > > >> >
> >> > > > > > > >> > I installed myself the 2.7 python, it still got
the
> error
> >> > when
> >> > > > > > > running:
> >> > > > > > > >> >
> >> > > > > > > >> > Traceback (most recent call last):
> >> > > > > > > >> >
> >> > > > > > > >> >   File "/D2/xinxia/METplus/METplus/us
> >> h/series_by_lead.py",
> >> > > line
> >> > > > > > 945,
> >> > > > > > > in
> >> > > > > > > >> > <module>
> >> > > > > > > >> >
> >> > > > > > > >> >     analysis_by_lead_time()
> >> > > > > > > >> >
> >> > > > > > > >> >   File "/D2/xinxia/METplus/METplus/us
> >> h/series_by_lead.py",
> >> > > line
> >> > > > > > 107,
> >> > > > > > > in
> >> > > > > > > >> > analysis_by_lead_time
> >> > > > > > > >> >
> >> > > > > > > >> >     util.apply_series_filters(tile_dir,
init_times,
> >> > > > > > > >> > series_lead_filtered_out_dir, p, logger)
> >> > > > > > > >> >
> >> > > > > > > >> >   File
"/D2/xinxia/METplus/METplus/ush/met_util.py",
> >> line
> >> > > 1005,
> >> > > > > in
> >> > > > > > > >> > apply_series_filters
> >> > > > > > > >> >
> >> > > > > > > >> >     tcs.tc_stat(p, logger, tc_cmd,
series_output_dir)
> >> > > > > > > >> >
> >> > > > > > > >> >   File "/D2/xinxia/METplus/METplus/
> ush/run_tc_stat.py",
> >> > line
> >> > > > 69,
> >> > > > > in
> >> > > > > > > >> > tc_stat
> >> > > > > > > >> >
> >> > > > > > > >> >     tc_stat_out =
subprocess.check_output(tc_cmd,
> >> > > > > > > >> > stderr=subprocess.STDOUT, shell=True )
> >> > > > > > > >> >
> >> > > > > > > >> > AttributeError: 'module' object has no attribute
> >> > > 'check_output'
> >> > > > > > > >> >
> >> > > > > > > >> >
> >> > > > > > > >> > Thanks,
> >> > > > > > > >> >
> >> > > > > > > >> >
> >> > > > > > > >> > Xinxia
> >> > > > > > > >> >
> >> > > > > > > >> > ________________________________
> >> > > > > > > >> > From: Julie Prestopnik via RT
<met_help at ucar.edu>
> >> > > > > > > >> > Sent: Friday, February 24, 2017 9:37:53 AM
> >> > > > > > > >> > To: Xinxia_Song at outlook.com
> >> > > > > > > >> > Subject: Re: [rt.rap.ucar.edu #79605]
ImportError: No
> >> > module
> >> > > > > named
> >> > > > > > > >> > constants_pdef
> >> > > > > > > >> >
> >> > > > > > > >> > Can you please tell me which version of Python
you are
> >> > using?
> >> > > > > > > >> check_output
> >> > > > > > > >> > for subprocess was introduced in Python 2.7.
Do you
> >> have
> >> > > > access
> >> > > > > > to
> >> > > > > > > >> > Python version 2.7 or higher?
> >> > > > > > > >> >
> >> > > > > > > >> > Thanks,
> >> > > > > > > >> > Julie
> >> > > > > > > >> >
> >> > > > > > > >> > On Thu, Feb 23, 2017 at 12:11 PM, Xinxia Song
via RT <
> >> > > > > > > met_help at ucar.edu
> >> > > > > > > >> >
> >> > > > > > > >> > wrote:
> >> > > > > > > >> >
> >> > > > > > > >> > >
> >> > > > > > > >> > > <URL: https://rt.rap.ucar.edu/rt/
> >> > > Ticket/Display.html?id=79605
> >> > > > >
> >> > > > > > > >> > >
> >> > > > > > > >> > > Hi Julie,
> >> > > > > > > >> > >
> >> > > > > > > >> > >
> >> > > > > > > >> > > I added it to the $PATH and ran the
> >> master_met_python.py:
> >> > > > > > > >> > >
> >> > > > > > > >> > > [xinxia at chaos ush]$ python master_met_plus.py
> >> > > > > > > >> > >
> >> > > > > > > >> > > Traceback (most recent call last):
> >> > > > > > > >> > >
> >> > > > > > > >> > >   File "/D2/xinxia/METplus/METplus/us
> >> h/extract_tiles.py",
> >> > > > line
> >> > > > > > 157,
> >> > > > > > > >> in
> >> > > > > > > >> > > <module>
> >> > > > > > > >> > >
> >> > > > > > > >> > >     main()
> >> > > > > > > >> > >
> >> > > > > > > >> > >   File "/D2/xinxia/METplus/METplus/us
> >> h/extract_tiles.py",
> >> > > > line
> >> > > > > > 100,
> >> > > > > > > >> in
> >> > > > > > > >> > > main
> >> > > > > > > >> > >
> >> > > > > > > >> > >     filtered_out_dir)
> >> > > > > > > >> > >
> >> > > > > > > >> > >   File "/D2/xinxia/METplus/METplus/us
> >> h/run_tc_stat.py",
> >> > > line
> >> > > > > 69,
> >> > > > > > in
> >> > > > > > > >> > > tc_stat
> >> > > > > > > >> > >
> >> > > > > > > >> > >     tc_stat_out =
subprocess.check_output(tc_cmd,
> >> > > > > > > >> > > stderr=subprocess.STDOUT, shell=True )
> >> > > > > > > >> > >
> >> > > > > > > >> > > AttributeError: 'module' object has no
attribute
> >> > > > 'check_output'
> >> > > > > > > >> > >
> >> > > > > > > >> > >
> >> > > > > > > >> > > Thanks,
> >> > > > > > > >> > >
> >> > > > > > > >> > >
> >> > > > > > > >> > > Xinxia
> >> > > > > > > >> > >
> >> > > > > > > >> > > ________________________________
> >> > > > > > > >> > > From: Julie Prestopnik via RT
<met_help at ucar.edu>
> >> > > > > > > >> > > Sent: Friday, February 24, 2017 9:07:40 AM
> >> > > > > > > >> > > To: Xinxia_Song at outlook.com
> >> > > > > > > >> > > Subject: Re: [rt.rap.ucar.edu #79605]
ImportError:
> No
> >> > > module
> >> > > > > > named
> >> > > > > > > >> > > constants_pdef
> >> > > > > > > >> > >
> >> > > > > > > >> > > Unfortunately, your environment does not know
where
> to
> >> > find
> >> > > > > > > >> > > run_tc_pairs.py.  Please try adding the
directory
> with
> >> > > > > > > run_tc_pairs.py
> >> > > > > > > >> > > (/D2/xinxia/METplus/METplus/ush) to your path
in
> your
> >> > > > ~/.bashrc
> >> > > > > > > file,
> >> > > > > > > >> > then
> >> > > > > > > >> > > run "source ~/.bashrc", then trying rerunning.
> Please
> >> let
> >> > > me
> >> > > > > know
> >> > > > > > > how
> >> > > > > > > >> > that
> >> > > > > > > >> > > goes.
> >> > > > > > > >> > >
> >> > > > > > > >> > > Thanks!
> >> > > > > > > >> > >
> >> > > > > > > >> > > Julie
> >> > > > > > > >> > >
> >> > > > > > > >> > > On Thu, Feb 23, 2017 at 11:55 AM, Xinxia Song
via RT
> <
> >> > > > > > > >> met_help at ucar.edu>
> >> > > > > > > >> > > wrote:
> >> > > > > > > >> > >
> >> > > > > > > >> > > >
> >> > > > > > > >> > > > <URL: https://rt.rap.ucar.edu/rt/
> >> > > > Ticket/Display.html?id=79605
> >> > > > > >
> >> > > > > > > >> > > >
> >> > > > > > > >> > > > Hi Julie,
> >> > > > > > > >> > > >
> >> > > > > > > >> > > >
> >> > > > > > > >> > > > I'm running met in a machine that's owned by
our
> >> > > > department, I
> >> > > > > > > don't
> >> > > > > > > >> > have
> >> > > > > > > >> > > > sudo right, so when I type which
run_tc_pairs.py,
> it
> >> > says
> >> > > > > > couldn't
> >> > > > > > > >> find
> >> > > > > > > >> > > it.
> >> > > > > > > >> > > >
> >> > > > > > > >> > > > no run_tc_pairs.py in
> (/opt/ncl/bin:/opt/intel-soft/
> >> > > > > > > >> > > > bin:/opt/ncl/bin:/opt/ncl/bin:
> >> > > /opt/intel-soft/bin:/opt/ncl/
> >> > > > > > > >> > > > bin:/home/xinxia/anaconda/bin:
> >> > /home/xinxia/anaconda/bin:/
> >> > > > > > > >> > > > opt/ncl/bin:/opt/intel-soft/bi
> >> > n:/opt/ncl/bin:/usr/lib64/
> >> > > > > > > >> > > > qt-3.3/bin:/usr/local/bin:/bin
> >> > :/usr/bin:/usr/local/sbin:/
> >> > > > > > > >> > > >
usr/sbin:/sbin:/sbin:/usr/sbin:/cm/local/apps/
> >> > > > > > > >> > > environment-modules/3.2.10/
> >> > > > > > > >> > > > bin:/home/xinxia/bin:/opt/ncl-621/bin)
> >> > > > > > > >> > > >
> >> > > > > > > >> > > >
> >> > > > > > > >> > > > But I could find it manually in that
directory.
> >> > > > > > > >> > > >
> >> > > > > > > >> > > >
> >> > > > > > > >> > > > Thanks,
> >> > > > > > > >> > > >
> >> > > > > > > >> > > >
> >> > > > > > > >> > > > Xinxia
> >> > > > > > > >> > > >
> >> > > > > > > >> > > > ________________________________
> >> > > > > > > >> > > > From: Julie Prestopnik via RT
<met_help at ucar.edu>
> >> > > > > > > >> > > > Sent: Friday, February 24, 2017 8:52:16 AM
> >> > > > > > > >> > > > To: Xinxia_Song at outlook.com
> >> > > > > > > >> > > > Subject: Re: [rt.rap.ucar.edu #79605]
ImportError:
> >> No
> >> > > > module
> >> > > > > > > named
> >> > > > > > > >> > > > constants_pdef
> >> > > > > > > >> > > >
> >> > > > > > > >> > > > Hi Xinxia.
> >> > > > > > > >> > > >
> >> > > > > > > >> > > > It looks like you got a successful run of
tc_stat -
> >> > that's
> >> > > > > great
> >> > > > > > > >> news!
> >> > > > > > > >> > > >
> >> > > > > > > >> > > > I'm not sure what you mean by "Because I
don't have
> >> the
> >> > > > > right, I
> >> > > > > > > >> can't
> >> > > > > > > >> > > find
> >> > > > > > > >> > > > run_tc_pairs.py, but I know it's under
> >> > > > > > > >> > > >
> >> > > > > > > >> > > > /D2/xinxia/METplus/METplus/ush".
> >> > > > > > > >> > > >
> >> > > > > > > >> > > > Can you please explain?  What happened when
you ran
> >> > "which
> >> > > > > > > >> > > > run_tc_pairs.py"?
> >> > > > > > > >> > > >
> >> > > > > > > >> > > > Thanks,
> >> > > > > > > >> > > > Julie
> >> > > > > > > >> > > >
> >> > > > > > > >> > > >
> >> > > > > > > >> > > >
> >> > > > > > > >> > > >
> >> > > > > > > >> > > >
> >> > > > > > > >> > > >
> >> > > > > > > >> > > > On Thu, Feb 23, 2017 at 11:44 AM, Xinxia
Song via
> RT
> >> <
> >> > > > > > > >> > met_help at ucar.edu>
> >> > > > > > > >> > > > wrote:
> >> > > > > > > >> > > >
> >> > > > > > > >> > > > >
> >> > > > > > > >> > > > > <URL: https://rt.rap.ucar.edu/rt/
> >> > > > > Ticket/Display.html?id=79605
> >> > > > > > >
> >> > > > > > > >> > > > >
> >> > > > > > > >> > > > > Hi Julie,
> >> > > > > > > >> > > > >
> >> > > > > > > >> > > > >
> >> > > > > > > >> > > > > I removed the space.
> >> > > > > > > >> > > > >
> >> > > > > > > >> > > > > [xinxia at chaos parm]$
> >> /D2/xinxia/METplus/MET/met-5.2
> >> > > > > > /bin/tc_stat
> >> > > > > > > >> -job
> >> > > > > > > >> > > > > filter -lookin
/D2/xinxia/METplus/MET/input/
> >> > > > tc_pairs/201412
> >> > > > > > > >> > -init_inc
> >> > > > > > > >> > > > > 20141201_00 -match_points true -dump_row
> >> > > > > > > >> /D2/xinxia/METplus/MET/out/
> >> > > > > > > >> > > > > extract_tiles/20141201_00/
> filter_20141201_00.tcst
> >> > > -basin
> >> > > > > ML
> >> > > > > > > >> > > > > -out_init_mask /D2/xinxia/METplus/MET/met-
5.
> >> > > > > > > >> > > 2/share/met/poly/CONUS.poly
> >> > > > > > > >> > > > >
> >> > > > > > > >> > > > > DEBUG 1: [Source 1] Lookin:
> >> > > /D2/xinxia/METplus/MET/input/
> >> > > > > > > >> > > tc_pairs/201412
> >> > > > > > > >> > > > >
> >> > > > > > > >> > > > > DEBUG 2:
> >> > > > > > > >> > > > >
> >> > > > > > > >> > > > > DEBUG 2: Processing Job 1: -job filter
-basin ML
> >> > > -init_inc
> >> > > > > > > >> > > > 20141201_000000
> >> > > > > > > >> > > > > -match_points true -out_init_mask
> >> > > > > > /D2/xinxia/METplus/MET/met-5.
> >> > > > > > > >> > > > 2/share/met/poly/CONUS.poly
> >> > > > > > > >> > > > > -dump_row /D2/xinxia/METplus/MET/out/ext
> >> > > > > > ract_tiles/20141201_00/
> >> > > > > > > >> > > > > filter_20141201_00.tcst
> >> > > > > > > >> > > > >
> >> > > > > > > >> > > > > DEBUG 1: Creating output dump file:
> >> > > > > > /D2/xinxia/METplus/MET/out/
> >> > > > > > > >> > > > > extract_tiles/20141201_00/
> filter_20141201_00.tcst
> >> > > > > > > >> > > > >
> >> > > > > > > >> > > > > FILTER: -job filter -basin ML -init_inc
> >> > 20141201_000000
> >> > > > > > > >> -match_points
> >> > > > > > > >> > > > true
> >> > > > > > > >> > > > > -out_init_mask /D2/xinxia/METplus/MET/met-
5.
> >> > > > > > > >> > > 2/share/met/poly/CONUS.poly
> >> > > > > > > >> > > > > -dump_row /D2/xinxia/METplus/MET/out/ext
> >> > > > > > ract_tiles/20141201_00/
> >> > > > > > > >> > > > > filter_20141201_00.tcst
> >> > > > > > > >> > > > >
> >> > > > > > > >> > > > >
> >> > > > > > > >> > > > > DEBUG 2: Job 1 used 0 out of 27292 lines
read.
> >> > > > > > > >> > > > >
> >> > > > > > > >> > > > >
> >> > > > > > > >> > > > > Because I don't have the right, I can't
find
> >> > > > > run_tc_pairs.py,
> >> > > > > > > but
> >> > > > > > > >> I
> >> > > > > > > >> > > know
> >> > > > > > > >> > > > > it's under
> >> > > > > > > >> > > > >
> >> > > > > > > >> > > > > /D2/xinxia/METplus/METplus/ush
> >> > > > > > > >> > > > >
> >> > > > > > > >> > > > >
> >> > > > > > > >> > > > > For Python,
> >> > > > > > > >> > > > >
> >> > > > > > > >> > > > > [xinxia at chaos ~]$ which python
> >> > > > > > > >> > > > >
> >> > > > > > > >> > > > > /usr/bin/python
> >> > > > > > > >> > > > >
> >> > > > > > > >> > > > >
> >> > > > > > > >> > > > > Xinxia
> >> > > > > > > >> > > > >
> >> > > > > > > >> > > > > ________________________________
> >> > > > > > > >> > > > > From: Julie Prestopnik via RT
<met_help at ucar.edu
> >
> >> > > > > > > >> > > > > Sent: Friday, February 24, 2017 8:30:01 AM
> >> > > > > > > >> > > > > To: Xinxia_Song at outlook.com
> >> > > > > > > >> > > > > Subject: Re: [rt.rap.ucar.edu #79605]
> >> ImportError: No
> >> > > > > module
> >> > > > > > > >> named
> >> > > > > > > >> > > > > constants_pdef
> >> > > > > > > >> > > > >
> >> > > > > > > >> > > > > Hi Xinxia.
> >> > > > > > > >> > > > >
> >> > > > > > > >> > > > > It looks like there is a space where there
should
> >> not
> >> > > be a
> >> > > > > > space
> >> > > > > > > >> > > (between
> >> > > > > > > >> > > > > /D2/xinxia/METplus/MET/out/ext
> >> ract_tiles/20141201_00/
> >> > > and
> >> > > > > > > >> > > > > filter_20141201_00.tcst after the
-dump_row
> >> option).
> >> > > > > > > >> > > > >
> >> > > > > > > >> > > > > Could you please try it again without the
space?
> >> > > > > > > >> > > > >
> >> > > > > > > >> > > > > /D2/xinxia/METplus/METplus/ush
> >> /run_tc_stat.py:tc_stat
> >> > > > from
> >> > > > > > > >> calling
> >> > > > > > > >> > MET
> >> > > > > > > >> > > > > TC-STAT with
command:/D2/xinxia/METplus/MET
> >> > > > > > /met-5.2/bin/tc_stat
> >> > > > > > > >> -job
> >> > > > > > > >> > > > > filter
> >> > > > > > > >> > > > > -lookin /D2/xinxia/METplus/MET/input/t
> >> c_pairs/201412
> >> > > > > > -init_inc
> >> > > > > > > >> > > > 20141201_00
> >> > > > > > > >> > > > > -match_points true -dump_row
> >> > /D2/xinxia/METplus/MET/out/
> >> > > > > > > >> > > > > extract_tiles/20141201_00/
> filter_20141201_00.tcst
> >> > > -basin
> >> > > > > ML
> >> > > > > > > >> > > > > -out_init_mask
> >> > > > > > > >> > > > > /D2/xinxia/METplus/MET/met-5.
> >> > > 2/share/met/poly/CONUS.poly
> >> > > > > > > >> > > > >
> >> > > > > > > >> > > > > Regarding the master_met_plus.py run,
please try
> >> > running
> >> > > > the
> >> > > > > > > >> > following
> >> > > > > > > >> > > > two
> >> > > > > > > >> > > > > commands and send me the output:
> >> > > > > > > >> > > > >
> >> > > > > > > >> > > > > which run_tc_pairs.py
> >> > > > > > > >> > > > >
> >> > > > > > > >> > > > > which python
> >> > > > > > > >> > > > >
> >> > > > > > > >> > > > > Thanks!
> >> > > > > > > >> > > > >
> >> > > > > > > >> > > > > Julie
> >> > > > > > > >> > > > >
> >> > > > > > > >> > > > > On Thu, Feb 23, 2017 at 11:06 AM, Xinxia
Song via
> >> RT <
> >> > > > > > > >> > > met_help at ucar.edu>
> >> > > > > > > >> > > > > wrote:
> >> > > > > > > >> > > > >
> >> > > > > > > >> > > > > >
> >> > > > > > > >> > > > > > <URL: https://rt.rap.ucar.edu/rt/Tic
> >> > > > > > ket/Display.html?id=79605
> >> > > > > > > >
> >> > > > > > > >> > > > > >
> >> > > > > > > >> > > > > > Hi Julie,
> >> > > > > > > >> > > > > >
> >> > > > > > > >> > > > > >
> >> > > > > > > >> > > > > > After I ran the long one line command:
> >> > > > > > > >> > > > > >
> >> > > > > > > >> > > > > > [xinxia at chaos parm]$
> >> /D2/xinxia/METplus/MET/met-5.
> >> > > > > > > 2/bin/tc_stat
> >> > > > > > > >> > -job
> >> > > > > > > >> > > > > > filter -lookin
/D2/xinxia/METplus/MET/input/
> >> > > > > tc_pairs/201412
> >> > > > > > > >> > > -init_inc
> >> > > > > > > >> > > > > > 20141201_00 -match_points true -dump_row
> >> > > > > > > >> > /D2/xinxia/METplus/MET/out/
> >> > > > > > > >> > > > > extract_tiles/20141201_00/
> >> > > > > > > >> > > > > > filter_20141201_00.tcst  -basin ML
> -out_init_mask
> >> > > > > > > >> > > > > > /D2/xinxia/METplus/MET/met-5.
> >> > > > 2/share/met/poly/CONUS.poly
> >> > > > > > > >> > > > > >
> >> > > > > > > >> > > > > >
> >> > > > > > > >> > > > > > DEBUG 1: [Source 1] Lookin:
> >> > > > /D2/xinxia/METplus/MET/input/
> >> > > > > > > >> > > > tc_pairs/201412
> >> > > > > > > >> > > > > >
> >> > > > > > > >> > > > > > ERROR  :
> >> > > > > > > >> > > > > >
> >> > > > > > > >> > > > > > ERROR  : TCStatJob
*TCStatJobFactory::new_tc_
> >> > > > > stat_job(const
> >> > > > > > > >> char
> >> > > > > > > >> > > > > > *jobstring) -> unsupported job command
options
> >> > > > > > > >> > > > "filter_20141201_00.tcst".
> >> > > > > > > >> > > > > >
> >> > > > > > > >> > > > > > ERROR  :
> >> > > > > > > >> > > > > >
> >> > > > > > > >> > > > > >
> >> > > > > > > >> > > > > > And for the master_met_plus.py, I got
the
> error:
> >> > > > > > > >> > > > > >
> >> > > > > > > >> > > > > > [xinxia at chaos ush]$ python
master_met_plus.py
> >> > > > > > > >> > > > > >
> >> > > > > > > >> > > > > > sh: run_tc_pairs.py: command not found
> >> > > > > > > >> > > > > >
> >> > > > > > > >> > > > > >
> >> > > > > > > >> > > > > > Thanks,
> >> > > > > > > >> > > > > >
> >> > > > > > > >> > > > > >
> >> > > > > > > >> > > > > > Xinxia
> >> > > > > > > >> > > > > >
> >> > > > > > > >> > > > > > ________________________________
> >> > > > > > > >> > > > > > From: Julie Prestopnik via RT <
> met_help at ucar.edu
> >> >
> >> > > > > > > >> > > > > > Sent: Friday, February 24, 2017 7:42:21
AM
> >> > > > > > > >> > > > > > To: Xinxia_Song at outlook.com
> >> > > > > > > >> > > > > > Subject: Re: [rt.rap.ucar.edu #79605]
> >> ImportError:
> >> > No
> >> > > > > > module
> >> > > > > > > >> named
> >> > > > > > > >> > > > > > constants_pdef
> >> > > > > > > >> > > > > >
> >> > > > > > > >> > > > > > My apologies, my response should have
said, "By
> >> > > default,
> >> > > > > MET
> >> > > > > > > >> > version
> >> > > > > > > >> > > > 5.2
> >> > > > > > > >> > > > > is
> >> > > > > > > >> > > > > > compiled using dynamic linking."  It's
true for
> >> > both,
> >> > > > but
> >> > > > > I
> >> > > > > > > see
> >> > > > > > > >> > > you're
> >> > > > > > > >> > > > > > using 5.2 and I inadvertently referred
to 5.1.
> >> > > > > > > >> > > > > >
> >> > > > > > > >> > > > > > On Thu, Feb 23, 2017 at 10:40 AM, Julie
> >> Prestopnik <
> >> > > > > > > >> > jpresto at ucar.edu
> >> > > > > > > >> > > >
> >> > > > > > > >> > > > > > wrote:
> >> > > > > > > >> > > > > >
> >> > > > > > > >> > > > > > > Hi Xinxia.  Regarding the error:
> >> > > > > > > >> > > > > > >
> >> > > > > > > >> > > > > > > /D2/xinxia/METplus/MET/met-
5.2/bin/tc_stat:
> >> error
> >> > > > while
> >> > > > > > > >> loading
> >> > > > > > > >> > > > shared
> >> > > > > > > >> > > > > > > libraries: libgsl.so.19: cannot open
shared
> >> object
> >> > > > file:
> >> > > > > > No
> >> > > > > > > >> such
> >> > > > > > > >> > > file
> >> > > > > > > >> > > > > or
> >> > > > > > > >> > > > > > > directory
> >> > > > > > > >> > > > > > >
> >> > > > > > > >> > > > > > > By default, MET version 5.1 is
compiled using
> >> > > dynamic
> >> > > > > > > linking.
> >> > > > > > > >> > > > Rather
> >> > > > > > > >> > > > > > > than compiling the external library
code in
> >> with
> >> > the
> >> > > > MET
> >> > > > > > > >> > > executables
> >> > > > > > > >> > > > > > (which
> >> > > > > > > >> > > > > > > is
> >> > > > > > > >> > > > > > > called static linking), it looks for
them at
> >> > > runtime.
> >> > > > > And
> >> > > > > > > >> it's
> >> > > > > > > >> > > > looking
> >> > > > > > > >> > > > > > > for those "shared object" (.so)
library
> files.
> >> > > > > > > >> > > > > > >
> >> > > > > > > >> > > > > > > This should be easy to fix. We just
need to
> >> tell
> >> > it
> >> > > > > where
> >> > > > > > to
> >> > > > > > > >> find
> >> > > > > > > >> > > > them,
> >> > > > > > > >> > > > > > > and we do that by setting (or adding
to the
> >> > > > > > > LD_LIBRARY_PATH).
> >> > > > > > > >> > Look
> >> > > > > > > >> > > > in
> >> > > > > > > >> > > > > > your
> >> > > > > > > >> > > > > > > ~/.bashrc file.  If LD_LIBRARY_PATH is
> already
> >> > > defined
> >> > > > > in
> >> > > > > > > >> there,
> >> > > > > > > >> > > add
> >> > > > > > > >> > > > > the
> >> > > > > > > >> > > > > > > path to the libgsl.so.19 to the end of
it.
> If
> >> > not,
> >> > > > add
> >> > > > > an
> >> > > > > > > >> > > > > > > LD_LIBRARY_PATH entry in your
~/.bashrc file.
> >> So,
> >> > > for
> >> > > > > > > >> example,
> >> > > > > > > >> > if
> >> > > > > > > >> > > > the
> >> > > > > > > >> > > > > > path
> >> > > > > > > >> > > > > > > to your libgsl.so.19 file is
> >> > > > > > /D2/xinxia/METplus/MET/externa
> >> > > > > > > >> > > > > > l_libs/GSL/gsl-1.16/lib
> >> > > > > > > >> > > > > > > you would add teh following to your
~/.bashrc
> >> > file:
> >> > > > > > > >> > > > > > >
> >> > > > > > > >> > > > > > >   export LD_LIBRARY_PATH=/D2/xinxia/
> >> > > > > > > >> > METplus/MET/external_libs/GSL/
> >> > > > > > > >> > > > > > > gsl-1.16/lib
> >> > > > > > > >> > > > > > >
> >> > > > > > > >> > > > > > > Then save the change and source that
file:
> >> > > > > > > >> > > > > > >
> >> > > > > > > >> > > > > > >   source ~/.bashrc
> >> > > > > > > >> > > > > > >
> >> > > > > > > >> > > > > > > Then, please try rerunning the command
> manually
> >> > and
> >> > > > let
> >> > > > > me
> >> > > > > > > >> know
> >> > > > > > > >> > if
> >> > > > > > > >> > > it
> >> > > > > > > >> > > > > > > works.
> >> > > > > > > >> > > > > > >
> >> > > > > > > >> > > > > > > I believe that this was the cause of
the
> >> initial
> >> > > error
> >> > > > > you
> >> > > > > > > >> > received
> >> > > > > > > >> > > > > from
> >> > > > > > > >> > > > > > > MET+:
> >> > > > > > > >> > > > > > >
> >> > > > > > > >> > > > > > > ERROR| /D2/xinxia/METplus/METplus/
> >> > > > > > > ush/run_tc_stat.py:tc_stat
> >> > > > > > > >> > from
> >> > > > > > > >> > > > > > calling
> >> > > > > > > >> > > > > > > MET TC-STAT with
command:/D2/xinxia/METplus/
> >> > > > > > > >> > > MET/met-5.2/bin/tc_stat
> >> > > > > > > >> > > > > -job
> >> > > > > > > >> > > > > > > filter -lookin
/D2/xinxia/METplus/MET/input/t
> >> > > > > > c_pairs/201412
> >> > > > > > > >> > > > -init_inc
> >> > > > > > > >> > > > > > > 20141201_00 -match_points true
-dump_row
> >> > > > > > > >> > > > /D2/xinxia/METplus/MET/out/ext
> >> > > > > > > >> > > > > > > ract_tiles/20141201_00/filter_
> 20141201_00.tcst
> >> > > > -basin
> >> > > > > ML
> >> > > > > > > >> > > > > -out_init_mask
> >> > > > > > > >> > > > > > > /D2/xinxia/METplus/MET/met-5.
> >> > > > > 2/share/met/poly/CONUS.poly
> >> > > > > > > >> > > > > > >
> >> > > > > > > >> > > > > > >
> >> > > > > > > >> > > > > > > Thanks,
> >> > > > > > > >> > > > > > > Julie
> >> > > > > > > >> > > > > > >
> >> > > > > > > >> > > > > > > On Thu, Feb 23, 2017 at 10:14 AM,
Xinxia Song
> >> via
> >> > > RT <
> >> > > > > > > >> > > > > met_help at ucar.edu>
> >> > > > > > > >> > > > > > > wrote:
> >> > > > > > > >> > > > > > >
> >> > > > > > > >> > > > > > >>
> >> > > > > > > >> > > > > > >> <URL: https://rt.rap.ucar.edu/rt/Tic
> >> > > > > > > >> ket/Display.html?id=79605 >
> >> > > > > > > >> > > > > > >>
> >> > > > > > > >> > > > > > >> Hi Julie,
> >> > > > > > > >> > > > > > >>
> >> > > > > > > >> > > > > > >>
> >> > > > > > > >> > > > > > >> [xinxia at chaos ush]$
> >> > /D2/xinxia/METplus/MET/met-5.2
> >> > > > > > > >> /bin/tc_stat
> >> > > > > > > >> > > -job
> >> > > > > > > >> > > > > > >> filter -lookin
/D2/xinxia/METplus/MET/input/
> >> > > > > > > tc_pairs/201412
> >> > > > > > > >> > > > -init_inc
> >> > > > > > > >> > > > > > >> 20141201_00 -match_points true
-dump_row
> >> > > > > > > >> > > > > /D2/xinxia/METplus/MET/out/ext
> >> > > > > > > >> > > > > > ract_tiles/20141201_00/
> >> > > > > > > >> > > > > > >> filter_20141201_00.tcst  -basin ML
> >> -out_init_mask
> >> > > > > > > >> > > > > > >> /D2/xinxia/METplus/MET/met-5.
> >> > > > > 2/share/met/poly/CONUS.poly
> >> > > > > > > >> > > > > > >>
> >> > > > > > > >> > > > > > >> /D2/xinxia/METplus/MET/met-
5.2/bin/tc_stat:
> >> > error
> >> > > > > while
> >> > > > > > > >> loading
> >> > > > > > > >> > > > > shared
> >> > > > > > > >> > > > > > >> libraries: libgsl.so.19: cannot open
shared
> >> > object
> >> > > > > file:
> >> > > > > > No
> >> > > > > > > >> such
> >> > > > > > > >> > > > file
> >> > > > > > > >> > > > > or
> >> > > > > > > >> > > > > > >> directory
> >> > > > > > > >> > > > > > >>
> >> > > > > > > >> > > > > > >>
> >> > > > > > > >> > > > > > >> And I uploaded the configuration file
> >> > > > > (constants_pdef.py)
> >> > > > > > > >> under
> >> > > > > > > >> > > > > > >> xinxia_data directory.
> >> > > > > > > >> > > > > > >>
> >> > > > > > > >> > > > > > >>
> >> > > > > > > >> > > > > > >> Thanks,
> >> > > > > > > >> > > > > > >>
> >> > > > > > > >> > > > > > >>
> >> > > > > > > >> > > > > > >> Xinxia
> >> > > > > > > >> > > > > > >>
> >> > > > > > > >> > > > > > >> ________________________________
> >> > > > > > > >> > > > > > >> From: Julie Prestopnik via RT <
> >> met_help at ucar.edu
> >> > >
> >> > > > > > > >> > > > > > >> Sent: Friday, February 24, 2017
6:15:57 AM
> >> > > > > > > >> > > > > > >> To: Xinxia_Song at outlook.com
> >> > > > > > > >> > > > > > >> Subject: Re: [rt.rap.ucar.edu #79605]
> >> > ImportError:
> >> > > > No
> >> > > > > > > module
> >> > > > > > > >> > > named
> >> > > > > > > >> > > > > > >> constants_pdef
> >> > > > > > > >> > > > > > >>
> >> > > > > > > >> > > > > > >> Hi Xinxia.
> >> > > > > > > >> > > > > > >>
> >> > > > > > > >> > > > > > >> I can see that your command, which
should
> have
> >> > been
> >> > > > all
> >> > > > > > on
> >> > > > > > > >> one
> >> > > > > > > >> > > line,
> >> > > > > > > >> > > > > was
> >> > > > > > > >> > > > > > >> broken up into several lines.  Please
try
> >> running
> >> > > the
> >> > > > > > > command
> >> > > > > > > >> > > again,
> >> > > > > > > >> > > > > > >> making
> >> > > > > > > >> > > > > > >> sure that the entire command is on
one line:
> >> > > > > > > >> > > > > > >>
> >> > > > > > > >> > > > > > >> /D2/xinxia/METplus/MET/met-
5.2/bin/tc_stat
> >> -job
> >> > > > filter
> >> > > > > > > >> -lookin
> >> > > > > > > >> > > > > > >> /D2/xinxia/METplus/MET/input/
> tc_pairs/201412
> >> > > > -init_inc
> >> > > > > > > >> > > 20141201_00
> >> > > > > > > >> > > > > > >> -match_points true -dump_row
> >> > > > > > > >> > > > > > >> /D2/xinxia/METplus/MET/out/
> >> > > > extract_tiles/20141201_00/
> >> > > > > > > >> > > > > > >> filter_20141201_00.tcst  -basin ML
> >> -out_init_mask
> >> > > > > > > >> > > > > > >> /D2/xinxia/METplus/MET/met-5.
> >> > > > > 2/share/met/poly/CONUS.poly
> >> > > > > > > >> > > > > > >>
> >> > > > > > > >> > > > > > >> Then, please send the output from
that
> >> command.
> >> > > > > > > >> > > > > > >>
> >> > > > > > > >> > > > > > >> Regarding, your error:
> >> > > > > > > >> > > > > > >>
> >> > > > > > > >> > > > > > >> sh: run_tc_pairs.py: command not
found
> >> > > > > > > >> > > > > > >>
> >> > > > > > > >> > > > > > >> It's strange that would only have
occurred
> >> after
> >> > > > having
> >> > > > > > > >> changed
> >> > > > > > > >> > > the
> >> > > > > > > >> > > > > > >> LOG_LEVEL.  Could you please send us
your
> >> > > > configuration
> >> > > > > > > file?
> >> > > > > > > >> > > > > > >>
> >> > > > > > > >> > > > > > >> Thanks!
> >> > > > > > > >> > > > > > >>
> >> > > > > > > >> > > > > > >> Julie
> >> > > > > > > >> > > > > > >>
> >> > > > > > > >> > > > > > >> On Wed, Feb 22, 2017 at 2:54 PM,
Xinxia Song
> >> via
> >> > > RT <
> >> > > > > > > >> > > > > met_help at ucar.edu>
> >> > > > > > > >> > > > > > >> wrote:
> >> > > > > > > >> > > > > > >>
> >> > > > > > > >> > > > > > >> >
> >> > > > > > > >> > > > > > >> > <URL:
https://rt.rap.ucar.edu/rt/Tic
> >> > > > > > > >> ket/Display.html?id=79605
> >> > > > > > > >> > >
> >> > > > > > > >> > > > > > >> >
> >> > > > > > > >> > > > > > >> > Hi Julie,
> >> > > > > > > >> > > > > > >> >
> >> > > > > > > >> > > > > > >> >
> >> > > > > > > >> > > > > > >> > [xinxia at chaos ush]$
> >> > > /D2/xinxia/METplus/MET/met-5.
> >> > > > > > > >> > 2/bin/tc_stat
> >> > > > > > > >> > > > -job
> >> > > > > > > >> > > > > > >> > filter -lookin
> >> > > > > > > >> > > > > > >> >
> >> > > > > > > >> > > > > > >> > /D2/xinxia/METplus/MET/met-5.
> 2/bin/tc_stat:
> >> > > error
> >> > > > > > while
> >> > > > > > > >> > loading
> >> > > > > > > >> > > > > > shared
> >> > > > > > > >> > > > > > >> > libraries: libgsl.so.19: cannot
open
> shared
> >> > > object
> >> > > > > > file:
> >> > > > > > > No
> >> > > > > > > >> > such
> >> > > > > > > >> > > > > file
> >> > > > > > > >> > > > > > or
> >> > > > > > > >> > > > > > >> > directory
> >> > > > > > > >> > > > > > >> >
> >> > > > > > > >> > > > > > >> >
> >> > > > > > > >> > > > > > >> > [xinxia at chaos ush]$
> >> > > /D2/xinxia/METplus/MET/input/
> >> > > > > > > >> > > tc_pairs/201412
> >> > > > > > > >> > > > > > >> > -init_inc 20141201_00 -match_points
true
> >> > > -dump_row
> >> > > > > > > >> > > > > > >> >
> >> > > > > > > >> > > > > > >> > -bash:
/D2/xinxia/METplus/MET/input/
> >> > > > tc_pairs/201412:
> >> > > > > > is
> >> > > > > > > a
> >> > > > > > > >> > > > directory
> >> > > > > > > >> > > > > > >> >
> >> > > > > > > >> > > > > > >> >
> >> > > > > > > >> > > > > > >> > [xinxia at chaos ush]$
> >> > > /D2/xinxia/METplus/MET/out/ext
> >> > > > > > > >> > > > > > >> ract_tiles/20141201_00/
> >> > > > > > > >> > > > > > >> > filter_20141201_00.tcst  -basin ML
> >> > -out_init_mask
> >> > > > > > > >> > > > > > >> > /D2/xinxia/METplus/MET/met-5.2
> >> > > > > > /share/met/poly/CONUS.poly
> >> > > > > > > >> > > > > > >> >
> >> > > > > > > >> > > > > > >> > -bash:
/D2/xinxia/METplus/MET/out/ext
> >> > > > > > > >> ract_tiles/20141201_00/:
> >> > > > > > > >> > > No
> >> > > > > > > >> > > > > such
> >> > > > > > > >> > > > > > >> > file or directory
> >> > > > > > > >> > > > > > >> >
> >> > > > > > > >> > > > > > >> >
> >> > > > > > > >> > > > > > >> > After I change the LOG_LEVEL, I ran
the
> >> > > > > > > >> master_met_plus.py, it
> >> > > > > > > >> > > > says:
> >> > > > > > > >> > > > > > >> >
> >> > > > > > > >> > > > > > >> > [xinxia at chaos ush]$ python
> >> master_met_plus.py
> >> > > > > > > >> > > > > > >> >
> >> > > > > > > >> > > > > > >> > sh: run_tc_pairs.py: command not
found
> >> > > > > > > >> > > > > > >> >
> >> > > > > > > >> > > > > > >> >
> >> > > > > > > >> > > > > > >> >
> >> > > > > > > >> > > > > > >> > Thanks,
> >> > > > > > > >> > > > > > >> >
> >> > > > > > > >> > > > > > >> >
> >> > > > > > > >> > > > > > >> > Xinxia
> >> > > > > > > >> > > > > > >> >
> >> > > > > > > >> > > > > > >> >
> >> > > > > > > >> > > > > > >> > ________________________________
> >> > > > > > > >> > > > > > >> > From: Julie Prestopnik via RT <
> >> > met_help at ucar.edu
> >> > > >
> >> > > > > > > >> > > > > > >> > Sent: Thursday, February 23, 2017
10:04:55
> >> AM
> >> > > > > > > >> > > > > > >> > To: Xinxia_Song at outlook.com
> >> > > > > > > >> > > > > > >> > Subject: Re: [rt.rap.ucar.edu
#79605]
> >> > > ImportError:
> >> > > > > No
> >> > > > > > > >> module
> >> > > > > > > >> > > > named
> >> > > > > > > >> > > > > > >> > constants_pdef
> >> > > > > > > >> > > > > > >> >
> >> > > > > > > >> > > > > > >> > Thank you.  Unfortunately, the
level of
> >> detail
> >> > in
> >> > > > the
> >> > > > > > log
> >> > > > > > > >> file
> >> > > > > > > >> > > > > wasn't
> >> > > > > > > >> > > > > > >> what
> >> > > > > > > >> > > > > > >> > I hoped for.  I'd like to have you
try two
> >> > > things.
> >> > > > > > > >> > > > > > >> >
> >> > > > > > > >> > > > > > >> > First, could you please send me
your
> output
> >> of
> >> > > your
> >> > > > > > > manual
> >> > > > > > > >> run
> >> > > > > > > >> > > of
> >> > > > > > > >> > > > > the
> >> > > > > > > >> > > > > > >> > following?
> >> > > > > > > >> > > > > > >> >
> >> > > > > > > >> > > > > > >> > "/D2/xinxia/METplus/MET/met-5.
> 2/bin/tc_stat
> >> > -job
> >> > > > > > filter
> >> > > > > > > >> > -lookin
> >> > > > > > > >> > > > > > >> > /D2/xinxia/METplus/MET/input/t
> >> c_pairs/201412
> >> > > > > -init_inc
> >> > > > > > > >> > > > 20141201_00
> >> > > > > > > >> > > > > > >> > -match_points true -dump_row
> >> > > > > > /D2/xinxia/METplus/MET/out/
> >> > > > > > > >> > > > > > >> > extract_tiles/20141201_00/
> >> > > filter_20141201_00.tcst
> >> > > > > > > -basin
> >> > > > > > > >> ML
> >> > > > > > > >> > > > > > >> > -out_init_mask
> >> > > > > > > >> > > > > > >> > /D2/xinxia/METplus/MET/met-5.
> >> > > > > > > 2/share/met/poly/CONUS.poly"
> >> > > > > > > >> > > > > > >> >
> >> > > > > > > >> > > > > > >> > Second, could you please change
your log
> >> level
> >> > in
> >> > > > > your
> >> > > > > > > >> > > > configuration
> >> > > > > > > >> > > > > > >> file
> >> > > > > > > >> > > > > > >> > from
> >> > > > > > > >> > > > > > >> >
> >> > > > > > > >> > > > > > >> > LOG_LEVEL = "INFO"
> >> > > > > > > >> > > > > > >> >
> >> > > > > > > >> > > > > > >> > to
> >> > > > > > > >> > > > > > >> >
> >> > > > > > > >> > > > > > >> > LOG_LEVEL = "DEBUG"
> >> > > > > > > >> > > > > > >> >
> >> > > > > > > >> > > > > > >> > then rerun and upload your log file
to our
> >> ftp
> >> > > > server
> >> > > > > > > >> again?
> >> > > > > > > >> > > > > > >> >
> >> > > > > > > >> > > > > > >> > Thank you!
> >> > > > > > > >> > > > > > >> >
> >> > > > > > > >> > > > > > >> > Julie
> >> > > > > > > >> > > > > > >> >
> >> > > > > > > >> > > > > > >> >
> >> > > > > > > >> > > > > > >> > On Wed, Feb 22, 2017 at 12:39 PM,
Xinxia
> >> Song
> >> > via
> >> > > > RT
> >> > > > > <
> >> > > > > > > >> > > > > > met_help at ucar.edu
> >> > > > > > > >> > > > > > >> >
> >> > > > > > > >> > > > > > >> > wrote:
> >> > > > > > > >> > > > > > >> >
> >> > > > > > > >> > > > > > >> > >
> >> > > > > > > >> > > > > > >> > > <URL: https://rt.rap.ucar.edu/rt/
> >> > > > > > > >> > Ticket/Display.html?id=79605
> >> > > > > > > >> > > >
> >> > > > > > > >> > > > > > >> > >
> >> > > > > > > >> > > > > > >> > > Hi Julie,
> >> > > > > > > >> > > > > > >> > >
> >> > > > > > > >> > > > > > >> > >
> >> > > > > > > >> > > > > > >> > > I uploaded the log file under
> xinxia_data
> >> > > > > directory.
> >> > > > > > > >> > > > > > >> > >
> >> > > > > > > >> > > > > > >> > >
> >> > > > > > > >> > > > > > >> > > Thanks,
> >> > > > > > > >> > > > > > >> > >
> >> > > > > > > >> > > > > > >> > >
> >> > > > > > > >> > > > > > >> > > Xinxia
> >> > > > > > > >> > > > > > >> > >
> >> > > > > > > >> > > > > > >> > >
> >> > > > > > > >> > > > > > >> > > ________________________________
> >> > > > > > > >> > > > > > >> > > From: Julie Prestopnik via RT <
> >> > > met_help at ucar.edu
> >> > > > >
> >> > > > > > > >> > > > > > >> > > Sent: Thursday, February 23, 2017
> 9:11:32
> >> AM
> >> > > > > > > >> > > > > > >> > > To: Xinxia_Song at outlook.com
> >> > > > > > > >> > > > > > >> > > Subject: Re: [rt.rap.ucar.edu
#79605]
> >> > > > ImportError:
> >> > > > > > No
> >> > > > > > > >> > module
> >> > > > > > > >> > > > > named
> >> > > > > > > >> > > > > > >> > > constants_pdef
> >> > > > > > > >> > > > > > >> > >
> >> > > > > > > >> > > > > > >> > > Hi Xinxia.
> >> > > > > > > >> > > > > > >> > >
> >> > > > > > > >> > > > > > >> > > I think it would be helpful if I
could
> >> take a
> >> > > > look
> >> > > > > at
> >> > > > > > > the
> >> > > > > > > >> > log
> >> > > > > > > >> > > > > file.
> >> > > > > > > >> > > > > > >> > Could
> >> > > > > > > >> > > > > > >> > > you please upload your file to
our
> >> anonymous
> >> > > ftp
> >> > > > > site
> >> > > > > > > as
> >> > > > > > > >> > > follows
> >> > > > > > > >> > > > > so
> >> > > > > > > >> > > > > > >> that
> >> > > > > > > >> > > > > > >> > I
> >> > > > > > > >> > > > > > >> > > can take a look?
> >> > > > > > > >> > > > > > >> > >
> >> > > > > > > >> > > > > > >> > >    http://www.dtcenter.org/met/
> >> > > > > > > >> > users/support/met_help.php#ftp
> >> > > > > > > >> > > > > > >> > >
> >> > > > > > > >> > > > > > >> > > Also, could you please try
running the
> >> > > following
> >> > > > > > > manually
> >> > > > > > > >> > and
> >> > > > > > > >> > > > send
> >> > > > > > > >> > > > > > the
> >> > > > > > > >> > > > > > >> > > output to me?
> >> > > > > > > >> > > > > > >> > >
> >> > > > > > > >> > > > > > >> > > "/D2/xinxia/METplus/MET/met-5.
> >> 2/bin/tc_stat
> >> > > -job
> >> > > > > > > filter
> >> > > > > > > >> > > -lookin
> >> > > > > > > >> > > > > > >> > > /D2/xinxia/METplus/MET/input/t
> >> c_pairs/201412
> >> > > > > > -init_inc
> >> > > > > > > >> > > > > 20141201_00
> >> > > > > > > >> > > > > > >> > > -match_points true -dump_row
> >> > > > > > > /D2/xinxia/METplus/MET/out/
> >> > > > > > > >> > > > > > >> > > extract_tiles/20141201_00/
> >> > > > filter_20141201_00.tcst
> >> > > > > > > >> -basin
> >> > > > > > > >> > ML
> >> > > > > > > >> > > > > > >> > > -out_init_mask
> >> > > > > > > >> > > > > > >> > > /D2/xinxia/METplus/MET/met-5.2
> >> > > > > > > >> /share/met/poly/CONUS.poly"
> >> > > > > > > >> > > > > > >> > >
> >> > > > > > > >> > > > > > >> > > Thank you!
> >> > > > > > > >> > > > > > >> > >
> >> > > > > > > >> > > > > > >> > > Julie
> >> > > > > > > >> > > > > > >> > >
> >> > > > > > > >> > > > > > >> > >
> >> > > > > > > >> > > > > > >> > >
> >> > > > > > > >> > > > > > >> > > On Wed, Feb 22, 2017 at 12:06 PM,
Xinxia
> >> Song
> >> > > via
> >> > > > > RT
> >> > > > > > <
> >> > > > > > > >> > > > > > >> met_help at ucar.edu>
> >> > > > > > > >> > > > > > >> > > wrote:
> >> > > > > > > >> > > > > > >> > >
> >> > > > > > > >> > > > > > >> > > >
> >> > > > > > > >> > > > > > >> > > > <URL:
https://rt.rap.ucar.edu/rt/
> >> > > > > > > >> > > Ticket/Display.html?id=79605
> >> > > > > > > >> > > > >
> >> > > > > > > >> > > > > > >> > > >
> >> > > > > > > >> > > > > > >> > > > Hi Julie,
> >> > > > > > > >> > > > > > >> > > >
> >> > > > > > > >> > > > > > >> > > >
> >> > > > > > > >> > > > > > >> > > > Now I can run the program, but
when I
> >> look
> >> > at
> >> > > > the
> >> > > > > > log
> >> > > > > > > >> file
> >> > > > > > > >> > > in
> >> > > > > > > >> > > > > the
> >> > > > > > > >> > > > > > >> > output,
> >> > > > > > > >> > > > > > >> > > > it shows error below:
> >> > > > > > > >> > > > > > >> > > >
> >> > > > > > > >> > > > > > >> > > >
> >> > > > > > > >> > > > > > >> > > > ERROR|
/D2/xinxia/METplus/METplus/
> >> > > > > > > >> > > ush/run_tc_stat.py:tc_stat
> >> > > > > > > >> > > > > from
> >> > > > > > > >> > > > > > >> > > calling
> >> > > > > > > >> > > > > > >> > > > MET TC-STAT with
> >> > > command:/D2/xinxia/METplus/MET
> >> > > > > > > >> > > > > > /met-5.2/bin/tc_stat
> >> > > > > > > >> > > > > > >> > -job
> >> > > > > > > >> > > > > > >> > > > filter -lookin
> >> > /D2/xinxia/METplus/MET/input/
> >> > > > > > > >> > tc_pairs/201412
> >> > > > > > > >> > > > > > >> -init_inc
> >> > > > > > > >> > > > > > >> > > > 20141201_00 -match_points true
> -dump_row
> >> > > > > > > >> > > > > > /D2/xinxia/METplus/MET/out/
> >> > > > > > > >> > > > > > >> > > > extract_tiles/20141201_00/
> >> > > > > filter_20141201_00.tcst
> >> > > > > > > >> -basin
> >> > > > > > > >> > > ML
> >> > > > > > > >> > > > > > >> > > > -out_init_mask
> >> > /D2/xinxia/METplus/MET/met-5.
> >> > > > > > > >> > > > > > >> > 2/share/met/poly/CONUS.poly
> >> > > > > > > >> > > > > > >> > > >
> >> > > > > > > >> > > > > > >> > > >
> >> > > > > > > >> > > > > > >> > > > How should I fix it?
> >> > > > > > > >> > > > > > >> > > >
> >> > > > > > > >> > > > > > >> > > >
> >> > > > > > > >> > > > > > >> > > > Thanks,
> >> > > > > > > >> > > > > > >> > > >
> >> > > > > > > >> > > > > > >> > > >
> >> > > > > > > >> > > > > > >> > > > Xinxia
> >> > > > > > > >> > > > > > >> > > >
> >> > > > > > > >> > > > > > >> > > >
________________________________
> >> > > > > > > >> > > > > > >> > > > From: Julie Prestopnik via RT <
> >> > > > met_help at ucar.edu
> >> > > > > >
> >> > > > > > > >> > > > > > >> > > > Sent: Thursday, February 23,
2017
> >> 7:30:06
> >> > AM
> >> > > > > > > >> > > > > > >> > > > To: Xinxia_Song at outlook.com
> >> > > > > > > >> > > > > > >> > > > Subject: Re: [rt.rap.ucar.edu
#79605]
> >> > > > > ImportError:
> >> > > > > > > No
> >> > > > > > > >> > > module
> >> > > > > > > >> > > > > > named
> >> > > > > > > >> > > > > > >> > > > constants_pdef
> >> > > > > > > >> > > > > > >> > > >
> >> > > > > > > >> > > > > > >> > > > Hi Xinxia.
> >> > > > > > > >> > > > > > >> > > >
> >> > > > > > > >> > > > > > >> > > > I believe that python doesn't
know how
> >> to
> >> > > find
> >> > > > > the
> >> > > > > > > >> module
> >> > > > > > > >> > > > > because
> >> > > > > > > >> > > > > > >> the
> >> > > > > > > >> > > > > > >> > ush
> >> > > > > > > >> > > > > > >> > > > directory is not in your
PYTHONPATH.
> >> Both
> >> > > the
> >> > > > > parm
> >> > > > > > > and
> >> > > > > > > >> > ush
> >> > > > > > > >> > > > > > >> directory
> >> > > > > > > >> > > > > > >> > > need
> >> > > > > > > >> > > > > > >> > > > to be specified in your
PYTHONPATH.
> >> Please
> >> > > add
> >> > > > > the
> >> > > > > > > ush
> >> > > > > > > >> > > > > directory
> >> > > > > > > >> > > > > > to
> >> > > > > > > >> > > > > > >> > your
> >> > > > > > > >> > > > > > >> > > > PYTHONPATH, source ~/.bashrc,
and let
> us
> >> > know
> >> > > > how
> >> > > > > > it
> >> > > > > > > >> goes.
> >> > > > > > > >> > > > > > >> > > >
> >> > > > > > > >> > > > > > >> > > > Thanks,
> >> > > > > > > >> > > > > > >> > > > Julie
> >> > > > > > > >> > > > > > >> > > >
> >> > > > > > > >> > > > > > >> > > > On Wed, Feb 22, 2017 at 10:24
AM,
> Xinxia
> >> > Song
> >> > > > via
> >> > > > > > RT
> >> > > > > > > <
> >> > > > > > > >> > > > > > >> > met_help at ucar.edu>
> >> > > > > > > >> > > > > > >> > > > wrote:
> >> > > > > > > >> > > > > > >> > > >
> >> > > > > > > >> > > > > > >> > > > >
> >> > > > > > > >> > > > > > >> > > > > <URL:
https://rt.rap.ucar.edu/rt/
> >> > > > > > > >> > > > Ticket/Display.html?id=79605
> >> > > > > > > >> > > > > >
> >> > > > > > > >> > > > > > >> > > > >
> >> > > > > > > >> > > > > > >> > > > > Hi Julie,
> >> > > > > > > >> > > > > > >> > > > >
> >> > > > > > > >> > > > > > >> > > > >
> >> > > > > > > >> > > > > > >> > > > > Since I don't have setenv, I
added
> >> these
> >> > 3
> >> > > > > > sentence
> >> > > > > > > >> into
> >> > > > > > > >> > > my
> >> > > > > > > >> > > > > > >> .bashrc
> >> > > > > > > >> > > > > > >> > > file:
> >> > > > > > > >> > > > > > >> > > > >
> >> > > > > > > >> > > > > > >> > > > >
> >> > > > > > > >> > > > > > >> > > > > export
PYTHONPATH="/D2/xinxia/
> >> > > > > > > METplus/METplus/parm"
> >> > > > > > > >> > > > > > >> > > > >
> >> > > > > > > >> > > > > > >> > > > >
> >> > > > > > > >> > > > > > >> > > > > export
USHROOT=/D2/xinxia/METplus/
> >> > > > METplus/ush
> >> > > > > > > >> > > > > > >> > > > >
> >> > > > > > > >> > > > > > >> > > > > export PATH=$USHROOT:$PATH
> >> > > > > > > >> > > > > > >> > > > >
> >> > > > > > > >> > > > > > >> > > > >
> >> > > > > > > >> > > > > > >> > > > > I sourced the ~/.bashrc, and
checked
> >> that
> >> > > the
> >> > > > > > > >> variables
> >> > > > > > > >> > > are
> >> > > > > > > >> > > > > set,
> >> > > > > > > >> > > > > > >> but
> >> > > > > > > >> > > > > > >> > > the
> >> > > > > > > >> > > > > > >> > > > > program still can't find the
module.
> >> > > > > > > >> > > > > > >> > > > >
> >> > > > > > > >> > > > > > >> > > > >
> >> > > > > > > >> > > > > > >> > > > > Thanks,
> >> > > > > > > >> > > > > > >> > > > >
> >> > > > > > > >> > > > > > >> > > > > Xinxia
> >> > > > > > > >> > > > > > >> > > > >
> >> > > > > > > >> > > > > > >> > > > >
________________________________
> >> > > > > > > >> > > > > > >> > > > > From: Julie Prestopnik via RT
<
> >> > > > > met_help at ucar.edu
> >> > > > > > >
> >> > > > > > > >> > > > > > >> > > > > Sent: Thursday, February 23,
2017
> >> 6:24:21
> >> > > AM
> >> > > > > > > >> > > > > > >> > > > > To: Xinxia_Song at outlook.com
> >> > > > > > > >> > > > > > >> > > > > Subject: Re: [rt.rap.ucar.edu
> #79605]
> >> > > > > > ImportError:
> >> > > > > > > >> No
> >> > > > > > > >> > > > module
> >> > > > > > > >> > > > > > >> named
> >> > > > > > > >> > > > > > >> > > > > constants_pdef
> >> > > > > > > >> > > > > > >> > > > >
> >> > > > > > > >> > > > > > >> > > > > Hi Xinxia.
> >> > > > > > > >> > > > > > >> > > > >
> >> > > > > > > >> > > > > > >> > > > > Could you please check to
make sure
> >> that
> >> > > the
> >> > > > > ush
> >> > > > > > > >> > directory
> >> > > > > > > >> > > > > with
> >> > > > > > > >> > > > > > >> > > > > constants_pdef.py is in your
> >> PYTHONPATH
> >> > in
> >> > > > your
> >> > > > > > > >> .cshrc
> >> > > > > > > >> > > file
> >> > > > > > > >> > > > > (or
> >> > > > > > > >> > > > > > >> > .bashrc
> >> > > > > > > >> > > > > > >> > > > or
> >> > > > > > > >> > > > > > >> > > > > similar file)?  The parm
directory
> >> should
> >> > > > also
> >> > > > > be
> >> > > > > > > in
> >> > > > > > > >> > your
> >> > > > > > > >> > > > > > >> PYTHONPATH.
> >> > > > > > > >> > > > > > >> > > > >
> >> > > > > > > >> > > > > > >> > > > > For example,
> >> > > > > > > >> > > > > > >> > > > >
> >> > > > > > > >> > > > > > >> > > > > setenv PYTHONPATH
> >> > > > /d1/jpresto/sbu/METplus/ush:/
> >> > > > > > > >> > > > > > >> > > > d1/jpresto/sbu/METplus/parm
> >> > > > > > > >> > > > > > >> > > > >
> >> > > > > > > >> > > > > > >> > > > > Please also check make sure
that the
> >> path
> >> > > to
> >> > > > > the
> >> > > > > > > ush
> >> > > > > > > >> > > > directory
> >> > > > > > > >> > > > > > is
> >> > > > > > > >> > > > > > >> > also
> >> > > > > > > >> > > > > > >> > > > > specified your your path
environment
> >> > > > variable.
> >> > > > > > For
> >> > > > > > > >> > > example,
> >> > > > > > > >> > > > > > >> > > > >
> >> > > > > > > >> > > > > > >> > > > > set path = (/usr/local/bin \
> >> > > > > > > >> > > > > > >> > > > >
> >> > > > /usr/local/python/bin/python \
> >> > > > > > > >> > > > > > >> > > > >
> >> > > /d1/jpresto/sbu/METplus/ush
> >> > > > )
> >> > > > > > > >> > > > > > >> > > > >
> >> > > > > > > >> > > > > > >> > > > > If they are not there, please
add
> them
> >> > and
> >> > > > then
> >> > > > > > > >> source
> >> > > > > > > >> > the
> >> > > > > > > >> > > > > file
> >> > > > > > > >> > > > > > >> (e.g.
> >> > > > > > > >> > > > > > >> > > run
> >> > > > > > > >> > > > > > >> > > > > "source ~/.cshrc").
> >> > > > > > > >> > > > > > >> > > > >
> >> > > > > > > >> > > > > > >> > > > > Thank you!  Please let us
know how
> it
> >> > goes.
> >> > > > > > > >> > > > > > >> > > > >
> >> > > > > > > >> > > > > > >> > > > > Julie
> >> > > > > > > >> > > > > > >> > > > >
> >> > > > > > > >> > > > > > >> > > > >
> >> > > > > > > >> > > > > > >> > > > >
> >> > > > > > > >> > > > > > >> > > > >
> >> > > > > > > >> > > > > > >> > > > > On Tue, Feb 21, 2017 at 4:49
PM,
> >> Xinxia
> >> > > Song
> >> > > > > via
> >> > > > > > > RT <
> >> > > > > > > >> > > > > > >> > met_help at ucar.edu
> >> > > > > > > >> > > > > > >> > > >
> >> > > > > > > >> > > > > > >> > > > > wrote:
> >> > > > > > > >> > > > > > >> > > > >
> >> > > > > > > >> > > > > > >> > > > > >
> >> > > > > > > >> > > > > > >> > > > > > Tue Feb 21 16:49:28 2017:
Request
> >> 79605
> >> > > was
> >> > > > > > acted
> >> > > > > > > >> > upon.
> >> > > > > > > >> > > > > > >> > > > > > Transaction: Ticket created
by
> >> > > > > > > >> > Xinxia_Song at outlook.com
> >> > > > > > > >> > > > > > >> > > > > >        Queue: met_help
> >> > > > > > > >> > > > > > >> > > > > >      Subject: ImportError:
No
> module
> >> > > named
> >> > > > > > > >> > > constants_pdef
> >> > > > > > > >> > > > > > >> > > > > >        Owner: Nobody
> >> > > > > > > >> > > > > > >> > > > > >   Requestors:
> >> Xinxia_Song at outlook.com
> >> > > > > > > >> > > > > > >> > > > > >       Status: new
> >> > > > > > > >> > > > > > >> > > > > >  Ticket <URL:
> >> > > https://rt.rap.ucar.edu/rt/
> >> > > > > > > >> > > > > > >> > > Ticket/Display.html?id=79605
> >> > > > > > > >> > > > > > >> > > > >
> >> > > > > > > >> > > > > > >> > > > > >
> >> > > > > > > >> > > > > > >> > > > > >
> >> > > > > > > >> > > > > > >> > > > > > Hi,
> >> > > > > > > >> > > > > > >> > > > > >
> >> > > > > > > >> > > > > > >> > > > > >
> >> > > > > > > >> > > > > > >> > > > > > When I ran the
mater_met_plus.py,
> it
> >> > > says:
> >> > > > > > > >> > > > > > >> > > > > >
> >> > > > > > > >> > > > > > >> > > > > >
> >> > > > > > > >> > > > > > >> > > > > > ImportError: No module
named
> >> > > constants_pdef
> >> > > > > > > >> > > > > > >> > > > > >
> >> > > > > > > >> > > > > > >> > > > > >
> >> > > > > > > >> > > > > > >> > > > > > Seems it doesn't recognize
> >> > constants_pdef
> >> > > > as
> >> > > > > > its
> >> > > > > > > >> > module.
> >> > > > > > > >> > > > > > >> > > > > >
> >> > > > > > > >> > > > > > >> > > > > >
> >> > > > > > > >> > > > > > >> > > > > > Thanks,
> >> > > > > > > >> > > > > > >> > > > > >
> >> > > > > > > >> > > > > > >> > > > > > Xinxia
> >> > > > > > > >> > > > > > >> > > > > >
> >> > > > > > > >> > > > > > >> > > > > >
> >> > > > > > > >> > > > > > >> > > > >
> >> > > > > > > >> > > > > > >> > > > >
> >> > > > > > > >> > > > > > >> > > > >
> >> > > > > > > >> > > > > > >> > > >
> >> > > > > > > >> > > > > > >> > > >
> >> > > > > > > >> > > > > > >> > > >
> >> > > > > > > >> > > > > > >> > >
> >> > > > > > > >> > > > > > >> > >
> >> > > > > > > >> > > > > > >> > >
> >> > > > > > > >> > > > > > >> >
> >> > > > > > > >> > > > > > >> >
> >> > > > > > > >> > > > > > >> >
> >> > > > > > > >> > > > > > >>
> >> > > > > > > >> > > > > > >>
> >> > > > > > > >> > > > > > >>
> >> > > > > > > >> > > > > > >
> >> > > > > > > >> > > > > >
> >> > > > > > > >> > > > > >
> >> > > > > > > >> > > > > >
> >> > > > > > > >> > > > >
> >> > > > > > > >> > > > >
> >> > > > > > > >> > > > >
> >> > > > > > > >> > > >
> >> > > > > > > >> > > >
> >> > > > > > > >> > > >
> >> > > > > > > >> > >
> >> > > > > > > >> > >
> >> > > > > > > >> > >
> >> > > > > > > >> >
> >> > > > > > > >> >
> >> > > > > > > >> >
> >> > > > > > > >>
> >> > > > > > > >>
> >> > > > > > > >>
> >> > > > > > > >
> >> > > > > > >
> >> > > > > > >
> >> > > > > > >
> >> > > > > >
> >> > > > > >
> >> > > > > >
> >> > > > >
> >> > > > >
> >> > > > >
> >> > > >
> >> > > >
> >> > > >
> >> > >
> >> > >
> >> > >
> >> >
> >> >
> >> >
> >>
> >>
> >>
> >
>
>
>


------------------------------------------------
Subject: ImportError: No module named constants_pdef
From: Julie Prestopnik
Time: Thu Mar 02 14:07:02 2017

Thank you, Xinxia.

When you ran master_met_plus.py, did you run "python
master_met_plus.py"?

Can you please run "echo $path" and send me the output?

Thanks,
Julie

On Thu, Mar 2, 2017 at 2:04 PM, Xinxia Song via RT <met_help at ucar.edu>
wrote:

>
> <URL: https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=79605 >
>
> Hi Julie,
>
>
> I followed your instruction and it doesn't work. I still got the
error:
>
> Traceback (most recent call last):
>
>   File "/D2/xinxia/METplus/METplus/ush/series_by_lead.py", line 945,
in
> <module>
>
>     analysis_by_lead_time()
>
>   File "/D2/xinxia/METplus/METplus/ush/series_by_lead.py", line 107,
in
> analysis_by_lead_time
>
>     util.apply_series_filters(tile_dir, init_times,
> series_lead_filtered_out_dir, p, logger)
>
>   File "/D2/xinxia/METplus/METplus/ush/met_util.py", line 1005, in
> apply_series_filters
>
>     tcs.tc_stat(p, logger, tc_cmd, series_output_dir)
>
>   File "/D2/xinxia/METplus/METplus/ush/run_tc_stat.py", line 69, in
> tc_stat
>
>     tc_stat_out = subprocess.check_output(tc_cmd,
> stderr=subprocess.STDOUT, shell=True )
>
> AttributeError: 'module' object has no attribute 'check_output'
>
>
> Thanks,
>
>
> Xinxia
>
> ________________________________
> From: Julie Prestopnik via RT <met_help at ucar.edu>
> Sent: Thursday, March 2, 2017 11:57:54 AM
> To: Xinxia_Song at outlook.com
> Subject: Re: [rt.rap.ucar.edu #79605] ImportError: No module named
> constants_pdef
>
> Hi Xinxia.  I apologize for the delay in responding.  I was out of
the
> office.  I'm so glad to hear that you were able to get a successful
run
> from series_by_lead.py!
>
> Could you please open master_met_plus.py in the editor of your
choice (vi,
> emacs, etc.) and change the first line from:
>
> #!/usr/bin/python
>
> to
>
> #!/usr/bin/env python
>
> Then, please delete master_met_plus.pyc  (Note the ".pyc"
extension).
> Please also do the same for met_util.py, changing the top line and
also
> removing a .pyc file if one exists.
>
> Then, please change your PROCESS_LIST in constants_pdef.py to only
have
> series_by_lead.py in the list, since the other processes have run
> successfully via master_met_plus.py.
>
> Then, please rerun master_met_plus.py and let me know how it goes.
>
> I still suspect that somehow Python 2.6 is being used because this
error:
>
> AttributeError: 'module' object has no attribute 'check_output'
>
> indicates that subprocess does not have a "check_output" attribute,
which
> is true for Python 2.6, but not for 2.7.  Hopefully, these changes
will
> take care of the problem in the environment.  If not, we'll try
something
> else.  Thank you for your patience and help in testing our alpha
version.
>
> Julie
>
> On Thu, Mar 2, 2017 at 8:07 AM, Xinxia Song via RT
<met_help at ucar.edu>
> wrote:
>
> >
> > <URL: https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=79605 >
> >
> > Hi Julie,
> >
> >
> > I ran the master_met_plus.py again and still got the error:
> >
> >
> > Traceback (most recent call last):
> >
> >   File "/D2/xinxia/METplus/METplus/ush/series_by_lead.py", line
945, in
> > <module>
> >
> >     analysis_by_lead_time()
> >
> >   File "/D2/xinxia/METplus/METplus/ush/series_by_lead.py", line
107, in
> > analysis_by_lead_time
> >
> >     util.apply_series_filters(tile_dir, init_times,
> > series_lead_filtered_out_dir, p, logger)
> >
> >   File "/D2/xinxia/METplus/METplus/ush/met_util.py", line 1005, in
> > apply_series_filters
> >
> >     tcs.tc_stat(p, logger, tc_cmd, series_output_dir)
> >
> >   File "/D2/xinxia/METplus/METplus/ush/run_tc_stat.py", line 69,
in
> > tc_stat
> >
> >     tc_stat_out = subprocess.check_output(tc_cmd,
> > stderr=subprocess.STDOUT, shell=True )
> >
> > AttributeError: 'module' object has no attribute 'check_output'
> >
> >
> >
> > Thanks,
> >
> >
> > Xinxia
> >
> > ________________________________
> > From: Xinxia Song
> > Sent: Tuesday, February 28, 2017 5:07:13 PM
> > To: met_help at ucar.edu
> > Subject: Re: [rt.rap.ucar.edu #79605] ImportError: No module named
> > constants_pdef
> >
> >
> > Hi Julie,
> >
> >
> > I correct these paths and I could successfully run
series_by_lead.py but
> > have errors for the master_met_plus.py. I get the errors:
> >
> > Traceback (most recent call last):
> >
> >   File "/D2/xinxia/METplus/METplus/ush/series_by_lead.py", line
945, in
> > <module>
> >
> >     analysis_by_lead_time()
> >
> >   File "/D2/xinxia/METplus/METplus/ush/series_by_lead.py", line
107, in
> > analysis_by_lead_time
> >
> >     util.apply_series_filters(tile_dir, init_times,
> > series_lead_filtered_out_dir, p, logger)
> >
> >   File "/D2/xinxia/METplus/METplus/ush/met_util.py", line 1005, in
> > apply_series_filters
> >
> >     tcs.tc_stat(p, logger, tc_cmd, series_output_dir)
> >
> >   File "/D2/xinxia/METplus/METplus/ush/run_tc_stat.py", line 69,
in
> > tc_stat
> >
> >     tc_stat_out = subprocess.check_output(tc_cmd,
> > stderr=subprocess.STDOUT, shell=True )
> >
> > AttributeError: 'module' object has no attribute 'check_output'
> >
> >
> > Thanks,
> >
> >
> > Xinxia
> >
> > ________________________________
> > From: Julie Prestopnik via RT <met_help at ucar.edu>
> > Sent: Tuesday, February 28, 2017 2:50:58 PM
> > To: Xinxia_Song at outlook.com
> > Subject: Re: [rt.rap.ucar.edu #79605] ImportError: No module named
> > constants_pdef
> >
> > Hi Xinxia.  I also thought I would mention that, as indicated in
the
> README
> > file that came with the distribution, in addition to ncap2 and
ncdump,
> the
> > following are also required for MET+:
> >
> >   - convert utility (part of ImageMagick)
> >     - https://www.imagemagick.org/script/binary-releases.php
> >   - wgrib2 utility
> >     - http://www.cpc.noaa.gov/products/wesley/wgrib2/
> > compile_questions.html
> >   - egrep utility
> >     - http://directory.fsf.org/wiki/Grep
> >
> > If you do not have these installed. Please install them and set up
their
> > paths in the constants_pdef.py file.
> >
> > Thanks,
> > Julie
> >
> > On Tue, Feb 28, 2017 at 12:45 PM, Julie Prestopnik
<jpresto at ucar.edu>
> > wrote:
> >
> > > Hi Xinxia.
> > >
> > > You will also need to have the ncdump command installed, with
the
> > location
> > > to the executable listed in NCDUMP_EXE in constants_pdef.py.
Please
> have
> > > ncdump installed, update your constants_pdef.py file and rerun.
> > >
> > > Thanks!
> > >
> > > Julie
> > >
> > > On Tue, Feb 28, 2017 at 12:18 PM, Xinxia Song via RT <
> met_help at ucar.edu>
> > > wrote:
> > >
> > >>
> > >> <URL: https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=79605 >
> > >>
> > >> Hi Julie,
> > >>
> > >>
> > >> Before I was running master_met_plus.py and now I ran the
> > >> series_by_lead.py and got the following results:
> > >>
> > >> [xinxia at chaos ush]$ python series_by_lead.py
> > >>
> > >> Traceback (most recent call last):
> > >>
> > >>   File "series_by_lead.py", line 945, in <module>
> > >>
> > >>     analysis_by_lead_time()
> > >>
> > >>   File "series_by_lead.py", line 326, in analysis_by_lead_time
> > >>
> > >>     vmin, vmax = get_netcdf_min_max(nc_var_list, cur_stat, p,
logger)
> > >>
> > >>   File "series_by_lead.py", line 638, in get_netcdf_min_max
> > >>
> > >>     shell=True)
> > >>
> > >>   File "/home/xinxia/anaconda2/lib/python2.7/subprocess.py",
line
> 219,
> > >> in check_output
> > >>
> > >>     raise CalledProcessError(retcode, cmd, output=output)
> > >>
> > >> subprocess.CalledProcessError: Command '/usr/local/bin/ncdump
> > >>
/D2/xinxia/METplus/MET/out/series_analysis_lead/series_F042/min.nc >
> > >>
/D2/xinxia/METplus/MET/out/series_analysis_lead/series_F042/min.txt'
> > >> returned non-zero exit status 127
> > >>
> > >>
> > >> Thanks,
> > >>
> > >>
> > >> Xinxia
> > >>
> > >> ________________________________
> > >> From: Julie Prestopnik via RT <met_help at ucar.edu>
> > >> Sent: Tuesday, February 28, 2017 2:11:19 PM
> > >> To: Xinxia_Song at outlook.com
> > >> Subject: Re: [rt.rap.ucar.edu #79605] ImportError: No module
named
> > >> constants_pdef
> > >>
> > >> Hi Xinxia.  Did you run series_by_lead.py on its own or via
> > >> master_met_plus.py?
> > >>
> > >> Thanks,
> > >> Julie
> > >>
> > >> On Tue, Feb 28, 2017 at 11:11 AM, Xinxia Song via RT <
> met_help at ucar.edu
> > >
> > >> wrote:
> > >>
> > >> >
> > >> > <URL: https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=79605
>
> > >> >
> > >> > Hi Julie,
> > >> >
> > >> >
> > >> > I checked it's 2.7.13. It seems the error doesn't coming from
it.
> > >> >
> > >> >
> > >> > Thanks,
> > >> >
> > >> >
> > >> > Xinxia
> > >> >
> > >> >
> > >> > ________________________________
> > >> > From: Julie Prestopnik via RT <met_help at ucar.edu>
> > >> > Sent: Tuesday, February 28, 2017 10:49:29 AM
> > >> > To: Xinxia_Song at outlook.com
> > >> > Subject: Re: [rt.rap.ucar.edu #79605] ImportError: No module
named
> > >> > constants_pdef
> > >> >
> > >> > I think perhaps your environment is using Python 2.6 again.
> > >> >
> > >> > Please try running:
> > >> >
> > >> > python --version
> > >> >
> > >> > on the command line.
> > >> >
> > >> > If you see "Python 2..6.6", please add the path for Python
2.7 to
> the
> > >> front
> > >> > of your path in your ~/.bashrc file.  Then, source your
~/.bashrc
> file
> > >> and
> > >> > try rerunning
> > >> >
> > >> > python --version
> > >> >
> > >> > on the command line.  Hopefully, then you will see the new
version.
> > >> Then,
> > >> > please try rerunning master_met_plus.py.
> > >> >
> > >> > I hope this helps!  Thanks!
> > >> >
> > >> > Julie
> > >> >
> > >> > On Mon, Feb 27, 2017 at 8:14 PM, Xinxia Song via RT <
> > met_help at ucar.edu>
> > >> > wrote:
> > >> >
> > >> > >
> > >> > > <URL:
https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=79605 >
> > >> > >
> > >> > > Hi Julie,
> > >> > >
> > >> > >
> > >> > > after I update the NCAP2 path in constants_pdef.py and ran
the
> > >> > > master_met_plus.py, I got the error:
> > >> > >
> > >> > > 2017-02-28 02:49:40,659 : ERROR | [master_met_plus.py:main]
|
> > Problem
> > >> > > executing: series_by_lead.py
> > >> > >
> > >> > > and message:
> > >> > >
> > >> > > Traceback (most recent call last):
> > >> > >
> > >> > >   File "/D2/xinxia/METplus/METplus/ush/series_by_lead.py",
line
> > 945,
> > >> in
> > >> > > <module>
> > >> > >
> > >> > >     analysis_by_lead_time()
> > >> > >
> > >> > >   File "/D2/xinxia/METplus/METplus/ush/series_by_lead.py",
line
> > 107,
> > >> in
> > >> > > analysis_by_lead_time
> > >> > >
> > >> > >     util.apply_series_filters(tile_dir, init_times,
> > >> > > series_lead_filtered_out_dir, p, logger)
> > >> > >
> > >> > >   File "/D2/xinxia/METplus/METplus/ush/met_util.py", line
1005,
> in
> > >> > > apply_series_filters
> > >> > >
> > >> > >     tcs.tc_stat(p, logger, tc_cmd, series_output_dir)
> > >> > >
> > >> > >   File "/D2/xinxia/METplus/METplus/ush/run_tc_stat.py",
line 69,
> in
> > >> > > tc_stat
> > >> > >
> > >> > >     tc_stat_out = subprocess.check_output(tc_cmd,
> > >> > > stderr=subprocess.STDOUT, shell=True )
> > >> > >
> > >> > > AttributeError: 'module' object has no attribute
'check_output'
> > >> > >
> > >> > >
> > >> > > Thanks,
> > >> > >
> > >> > >
> > >> > > Xinxia
> > >> > >
> > >> > > ________________________________
> > >> > > From: Julie Prestopnik via RT <met_help at ucar.edu>
> > >> > > Sent: Monday, February 27, 2017 5:15:59 PM
> > >> > > To: Xinxia_Song at outlook.com
> > >> > > Subject: Re: [rt.rap.ucar.edu #79605] ImportError: No
module
> named
> > >> > > constants_pdef
> > >> > >
> > >> > > Please install ncap2 and update the location to the
executable in
> > the
> > >> > > NCAP2_EXE field of the constants_pdef.py file and trying
rerunning
> > the
> > >> > MET+
> > >> > > code.  Please let us know how it goes.
> > >> > >
> > >> > > Thanks,
> > >> > > Julie
> > >> > >
> > >> > > On Mon, Feb 27, 2017 at 3:10 PM, Xinxia Song via RT <
> > >> met_help at ucar.edu>
> > >> > > wrote:
> > >> > >
> > >> > > >
> > >> > > > <URL:
https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=79605 >
> > >> > > >
> > >> > > > Hi Julie,
> > >> > > >
> > >> > > >
> > >> > > > The result is :
> > >> > > >
> > >> > > > -bash: /usr/local/nco/bin/ncap2: No such file or
directory
> > >> > > >
> > >> > > > I think we don't have it installed.
> > >> > > >
> > >> > > >
> > >> > > > Thanks,
> > >> > > >
> > >> > > > Xinxia
> > >> > > >
> > >> > > > ________________________________
> > >> > > > From: Julie Prestopnik via RT <met_help at ucar.edu>
> > >> > > > Sent: Monday, February 27, 2017 5:08:48 PM
> > >> > > > To: Xinxia_Song at outlook.com
> > >> > > > Subject: Re: [rt.rap.ucar.edu #79605] ImportError: No
module
> > named
> > >> > > > constants_pdef
> > >> > > >
> > >> > > > Hi Xinxia. I believe that error code refers to "Command
not
> > found".
> > >> > Can
> > >> > > > you please run the following and send me the output?
> > >> > > >
> > >> > > > /usr/local/nco/bin/ncap2 --version
> > >> > > >
> > >> > > > Thanks!
> > >> > > >
> > >> > > > Julie
> > >> > > >
> > >> > > >
> > >> > > > On Mon, Feb 27, 2017 at 2:55 PM, Xinxia Song via RT <
> > >> met_help at ucar.edu
> > >> > >
> > >> > > > wrote:
> > >> > > >
> > >> > > > >
> > >> > > > > <URL:
https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=79605
> >
> > >> > > > >
> > >> > > > > Hi Julie,
> > >> > > > >
> > >> > > > >
> > >> > > > > The error is:
> > >> > > > >
> > >> > > > > Traceback (most recent call last):
> > >> > > > >
> > >> > > > >   File "series_by_lead.py", line 945, in <module>
> > >> > > > >
> > >> > > > >     analysis_by_lead_time()
> > >> > > > >
> > >> > > > >   File "series_by_lead.py", line 326, in
analysis_by_lead_time
> > >> > > > >
> > >> > > > >     vmin, vmax = get_netcdf_min_max(nc_var_list,
cur_stat, p,
> > >> > logger)
> > >> > > > >
> > >> > > > >   File "series_by_lead.py", line 605, in
get_netcdf_min_max
> > >> > > > >
> > >> > > > >     shell=True)
> > >> > > > >
> > >> > > > >   File
"/home/xinxia/anaconda2/lib/python2.7/subprocess.py",
> > line
> > >> > 219,
> > >> > > > in
> > >> > > > > check_output
> > >> > > > >
> > >> > > > >     raise CalledProcessError(retcode, cmd,
output=output)
> > >> > > > >
> > >> > > > > subprocess.CalledProcessError: Command
> '/usr/local/nco/bin/ncap2
> > >> -v
> > >> > -s
> > >> > > > > "min=min(series_cnt_TOTAL)" /D2/xinxia/METplus/MET/out/
> > >> > > > >
series_analysis_lead/series_F042/series_F042_HGT_P500.nc
> > >> > > > >
/D2/xinxia/METplus/MET/out/series_analysis_lead/series_F042/
> > >> min.nc'
> > >> > > > > returned non-zero exit status 127
> > >> > > > >
> > >> > > > >
> > >> > > > > Thanks,
> > >> > > > >
> > >> > > > >
> > >> > > > > Xinxia
> > >> > > > >
> > >> > > > > ________________________________
> > >> > > > > From: Julie Prestopnik via RT <met_help at ucar.edu>
> > >> > > > > Sent: Tuesday, February 28, 2017 9:18:55 AM
> > >> > > > > To: Xinxia_Song at outlook.com
> > >> > > > > Subject: Re: [rt.rap.ucar.edu #79605] ImportError: No
module
> > >> named
> > >> > > > > constants_pdef
> > >> > > > >
> > >> > > > > Thank you, Xinxia.
> > >> > > > >
> > >> > > > > Unfortunately, the "DEBUG" log level did not provide
much
> > >> information
> > >> > > for
> > >> > > > > this task:
> > >> > > > >
> > >> > > > > 2017-02-26 21:30:28,041 : INFO |
[master_met_plus.py:main] |
> > >> Running:
> > >> > > > > series_by_lead.py
> > >> > > > > 2017-02-26 21:30:28,212 : ERROR |
[master_met_plus.py:main] |
> > >> Problem
> > >> > > > > executing: series_by_lead.py
> > >> > > > >
> > >> > > > > Could you please try running series_by_lead.py in the
ush
> > >> directory?
> > >> > > > > Please let me know what the output is from that run -
it may
> > >> still be
> > >> > > > > contained in your log file.
> > >> > > > >
> > >> > > > > Thanks!
> > >> > > > >
> > >> > > > > Julie
> > >> > > > >
> > >> > > > >
> > >> > > > > On Mon, Feb 27, 2017 at 11:17 AM, Xinxia Song via RT <
> > >> > > met_help at ucar.edu>
> > >> > > > > wrote:
> > >> > > > >
> > >> > > > > >
> > >> > > > > > <URL: https://rt.rap.ucar.edu/rt/
> Ticket/Display.html?id=79605
> > >
> > >> > > > > >
> > >> > > > > > Hi Julie,
> > >> > > > > >
> > >> > > > > >
> > >> > > > > > I uploaded the constants_pdef.py and
> > >> master_met_plus.20170226.log.
> > >> > > > > >
> > >> > > > > >
> > >> > > > > > Thanks,
> > >> > > > > >
> > >> > > > > >
> > >> > > > > > Xinxia
> > >> > > > > >
> > >> > > > > > ________________________________
> > >> > > > > > From: Julie Prestopnik via RT <met_help at ucar.edu>
> > >> > > > > > Sent: Tuesday, February 28, 2017 5:46:37 AM
> > >> > > > > > To: Xinxia_Song at outlook.com
> > >> > > > > > Subject: Re: [rt.rap.ucar.edu #79605] ImportError: No
> module
> > >> named
> > >> > > > > > constants_pdef
> > >> > > > > >
> > >> > > > > > Hi Xinxia.  Can you please upload the configuration
file
> that
> > >> you
> > >> > > used
> > >> > > > > and
> > >> > > > > > the log file from that run to our ftp server so that
we can
> > >> take a
> > >> > > > look?
> > >> > > > > >
> > >> > > > > > Thanks!
> > >> > > > > >
> > >> > > > > > Julie
> > >> > > > > >
> > >> > > > > > On Sun, Feb 26, 2017 at 2:35 PM, Xinxia Song via RT <
> > >> > > met_help at ucar.edu
> > >> > > > >
> > >> > > > > > wrote:
> > >> > > > > >
> > >> > > > > > >
> > >> > > > > > > <URL: https://rt.rap.ucar.edu/rt/
> > Ticket/Display.html?id=79605
> > >> >
> > >> > > > > > >
> > >> > > > > > > Hi Julie,
> > >> > > > > > >
> > >> > > > > > >
> > >> > > > > > > I ran the mater_met_plus.py and in the end in the
log file
> > it
> > >> > gave
> > >> > > me
> > >> > > > > an
> > >> > > > > > > error:
> > >> > > > > > >
> > >> > > > > > > 2017-02-26 21:30:28,212 : ERROR |
> [master_met_plus.py:main]
> > |
> > >> > > Problem
> > >> > > > > > > executing: series_by_lead.py
> > >> > > > > > >
> > >> > > > > > >
> > >> > > > > > > Thanks,
> > >> > > > > > >
> > >> > > > > > > Xinxia
> > >> > > > > > >
> > >> > > > > > > ________________________________
> > >> > > > > > > From: Julie Prestopnik via RT <met_help at ucar.edu>
> > >> > > > > > > Sent: Saturday, February 25, 2017 6:49:56 AM
> > >> > > > > > > To: Xinxia_Song at outlook.com
> > >> > > > > > > Subject: Re: [rt.rap.ucar.edu #79605] ImportError:
No
> > module
> > >> > named
> > >> > > > > > > constants_pdef
> > >> > > > > > >
> > >> > > > > > > You could also run "tail -f
</path/to/logfile/logfile_
> > name>"
> > >> > > > replacing
> > >> > > > > > > </path/to/logfile/logfile_name> with the logfile
path and
> > >> name
> > >> > > > > > information
> > >> > > > > > > to see how the run is coming along.  I hope that
helps!
> > >> > > > > > >
> > >> > > > > > > Julie
> > >> > > > > > >
> > >> > > > > > > On Fri, Feb 24, 2017 at 9:42 AM, Julie Prestopnik <
> > >> > > jpresto at ucar.edu>
> > >> > > > > > > wrote:
> > >> > > > > > >
> > >> > > > > > > > Hi Xinxia.  Running the entire three months of
data
> could
> > >> > > certainly
> > >> > > > > > take
> > >> > > > > > > a
> > >> > > > > > > > long time.  I am hoping to get an estimate on how
long
> it
> > >> took
> > >> > to
> > >> > > > run
> > >> > > > > > the
> > >> > > > > > > > three month data set here, but have not been able
to
> > obtain
> > >> > that
> > >> > > > > number
> > >> > > > > > > > yet.   It sounds the code was running
successfully for
> > >> you.  If
> > >> > > > > you're
> > >> > > > > > > > eager to take a lot at some output, I would
suggest
> > running
> > >> a
> > >> > > > smaller
> > >> > > > > > > > subset of the data, or perhaps you could set up
the
> whole
> > >> three
> > >> > > > month
> > >> > > > > > to
> > >> > > > > > > > run over the weekend.  I would suggest letting
the code
> > run
> > >> to
> > >> > > > > > completion
> > >> > > > > > > > for either a smaller subset or for the entire
subset and
> > >> then
> > >> > > > > checking
> > >> > > > > > > the
> > >> > > > > > > > log file for errors.  I hope that helps.  Please
let me
> > >> know if
> > >> > > you
> > >> > > > > > have
> > >> > > > > > > > any questions or encounter any issues.
> > >> > > > > > > >
> > >> > > > > > > > Thanks,
> > >> > > > > > > > Julie
> > >> > > > > > > >
> > >> > > > > > > >
> > >> > > > > > > > On Thu, Feb 23, 2017 at 4:28 PM, Xinxia Song via
RT <
> > >> > > > > met_help at ucar.edu
> > >> > > > > > >
> > >> > > > > > > > wrote:
> > >> > > > > > > >
> > >> > > > > > > >>
> > >> > > > > > > >> <URL: https://rt.rap.ucar.edu/rt/Tic
> > >> ket/Display.html?id=79605
> > >> > >
> > >> > > > > > > >>
> > >> > > > > > > >> Hi Julie,
> > >> > > > > > > >>
> > >> > > > > > > >>
> > >> > > > > > > >> The version is set to be 2.7+. When I ran
> > >> master_met_plus.py,
> > >> > it
> > >> > > > > seems
> > >> > > > > > > it
> > >> > > > > > > >> will run forever. So I killed it, and got the
> following:
> > >> > > > > > > >>
> > >> > > > > > > >> [xinxia at chaos ush]$ python master_met_plus.py
> > >> > > > > > > >>
> > >> > > > > > > >> ^CTraceback (most recent call last):
> > >> > > > > > > >>
> > >> > > > > > > >>   File "/D2/xinxia/METplus/METplus/
> > ush/extract_tiles.py",
> > >> > line
> > >> > > > 157,
> > >> > > > > > in
> > >> > > > > > > >> <module>
> > >> > > > > > > >>
> > >> > > > > > > >>     main()
> > >> > > > > > > >>
> > >> > > > > > > >>   File "/D2/xinxia/METplus/METplus/
> > ush/extract_tiles.py",
> > >> > line
> > >> > > > 100,
> > >> > > > > > in
> > >> > > > > > > >> main
> > >> > > > > > > >>
> > >> > > > > > > >>     filtered_out_dir)
> > >> > > > > > > >>
> > >> > > > > > > >>   File "/D2/xinxia/METplus/METplus/
> ush/run_tc_stat.py",
> > >> line
> > >> > > 69,
> > >> > > > in
> > >> > > > > > > >> tc_stat
> > >> > > > > > > >>
> > >> > > > > > > >>     tc_stat_out =
subprocess.check_output(tc_cmd,
> > >> > > > > > > >> stderr=subprocess.STDOUT, shell=True )
> > >> > > > > > > >>
> > >> > > > > > > >>   File "/home/xinxia/anaconda2/lib/py
> > >> thon2.7/subprocess.py",
> > >> > > line
> > >> > > > > > 213,
> > >> > > > > > > >> in check_output
> > >> > > > > > > >>
> > >> > > > > > > >>     output, unused_err = process.communicate()
> > >> > > > > > > >>
> > >> > > > > > > >>   File "/home/xinxia/anaconda2/lib/py
> > >> thon2.7/subprocess.py",
> > >> > > line
> > >> > > > > > 471,
> > >> > > > > > > >> in communicate
> > >> > > > > > > >>
> > >> > > > > > > >>     stdout = _eintr_retry_call(self.stdout.read)
> > >> > > > > > > >>
> > >> > > > > > > >>   File "/home/xinxia/anaconda2/lib/py
> > >> thon2.7/subprocess.py",
> > >> > > line
> > >> > > > > > 121,
> > >> > > > > > > >> in _eintr_retry_call
> > >> > > > > > > >>
> > >> > > > > > > >>     return func(*args)
> > >> > > > > > > >>
> > >> > > > > > > >> KeyboardInterrupt
> > >> > > > > > > >>
> > >> > > > > > > >>
> > >> > > > > > > >> Thanks,
> > >> > > > > > > >>
> > >> > > > > > > >>
> > >> > > > > > > >> Xinxia
> > >> > > > > > > >>
> > >> > > > > > > >> ________________________________
> > >> > > > > > > >> From: Julie Prestopnik via RT
<met_help at ucar.edu>
> > >> > > > > > > >> Sent: Friday, February 24, 2017 12:02:21 PM
> > >> > > > > > > >> To: Xinxia_Song at outlook.com
> > >> > > > > > > >> Subject: Re: [rt.rap.ucar.edu #79605]
ImportError: No
> > >> module
> > >> > > > named
> > >> > > > > > > >> constants_pdef
> > >> > > > > > > >>
> > >> > > > > > > >> Hi Xinxia.  I suspect that even though you
installed
> > Python
> > >> > 2.7
> > >> > > > that
> > >> > > > > > > >> Python
> > >> > > > > > > >> 2.6.6 is still being used.
> > >> > > > > > > >>
> > >> > > > > > > >> Please try running:
> > >> > > > > > > >>
> > >> > > > > > > >> python --version
> > >> > > > > > > >>
> > >> > > > > > > >> on the command line.
> > >> > > > > > > >>
> > >> > > > > > > >> If you see "Python 2..6.6", please add the path
for
> > Python
> > >> 2.7
> > >> > > to
> > >> > > > > the
> > >> > > > > > > >> front
> > >> > > > > > > >> of your path in your ~/.bashrc file.  Then,
source your
> > >> > > ~/.bashrc
> > >> > > > > file
> > >> > > > > > > and
> > >> > > > > > > >> try rerunning
> > >> > > > > > > >>
> > >> > > > > > > >> python --version
> > >> > > > > > > >>
> > >> > > > > > > >> on the command line.  Hopefully, then you will
see the
> > new
> > >> > > > version.
> > >> > > > > > > Then,
> > >> > > > > > > >> please try rerunning master_met_plus.py.
> > >> > > > > > > >>
> > >> > > > > > > >> I hope this helps!  Thanks!
> > >> > > > > > > >>
> > >> > > > > > > >> Julie
> > >> > > > > > > >>
> > >> > > > > > > >> On Thu, Feb 23, 2017 at 1:51 PM, Xinxia Song via
RT <
> > >> > > > > > met_help at ucar.edu>
> > >> > > > > > > >> wrote:
> > >> > > > > > > >>
> > >> > > > > > > >> >
> > >> > > > > > > >> > <URL: https://rt.rap.ucar.edu/rt/Tic
> > >> > ket/Display.html?id=79605
> > >> > > >
> > >> > > > > > > >> >
> > >> > > > > > > >> > Hi Julie,
> > >> > > > > > > >> >
> > >> > > > > > > >> >
> > >> > > > > > > >> > I installed myself the 2.7 python, it still
got the
> > error
> > >> > when
> > >> > > > > > > running:
> > >> > > > > > > >> >
> > >> > > > > > > >> > Traceback (most recent call last):
> > >> > > > > > > >> >
> > >> > > > > > > >> >   File "/D2/xinxia/METplus/METplus/us
> > >> h/series_by_lead.py",
> > >> > > line
> > >> > > > > > 945,
> > >> > > > > > > in
> > >> > > > > > > >> > <module>
> > >> > > > > > > >> >
> > >> > > > > > > >> >     analysis_by_lead_time()
> > >> > > > > > > >> >
> > >> > > > > > > >> >   File "/D2/xinxia/METplus/METplus/us
> > >> h/series_by_lead.py",
> > >> > > line
> > >> > > > > > 107,
> > >> > > > > > > in
> > >> > > > > > > >> > analysis_by_lead_time
> > >> > > > > > > >> >
> > >> > > > > > > >> >     util.apply_series_filters(tile_dir,
init_times,
> > >> > > > > > > >> > series_lead_filtered_out_dir, p, logger)
> > >> > > > > > > >> >
> > >> > > > > > > >> >   File
"/D2/xinxia/METplus/METplus/ush/met_util.py",
> > >> line
> > >> > > 1005,
> > >> > > > > in
> > >> > > > > > > >> > apply_series_filters
> > >> > > > > > > >> >
> > >> > > > > > > >> >     tcs.tc_stat(p, logger, tc_cmd,
series_output_dir)
> > >> > > > > > > >> >
> > >> > > > > > > >> >   File "/D2/xinxia/METplus/METplus/
> > ush/run_tc_stat.py",
> > >> > line
> > >> > > > 69,
> > >> > > > > in
> > >> > > > > > > >> > tc_stat
> > >> > > > > > > >> >
> > >> > > > > > > >> >     tc_stat_out =
subprocess.check_output(tc_cmd,
> > >> > > > > > > >> > stderr=subprocess.STDOUT, shell=True )
> > >> > > > > > > >> >
> > >> > > > > > > >> > AttributeError: 'module' object has no
attribute
> > >> > > 'check_output'
> > >> > > > > > > >> >
> > >> > > > > > > >> >
> > >> > > > > > > >> > Thanks,
> > >> > > > > > > >> >
> > >> > > > > > > >> >
> > >> > > > > > > >> > Xinxia
> > >> > > > > > > >> >
> > >> > > > > > > >> > ________________________________
> > >> > > > > > > >> > From: Julie Prestopnik via RT
<met_help at ucar.edu>
> > >> > > > > > > >> > Sent: Friday, February 24, 2017 9:37:53 AM
> > >> > > > > > > >> > To: Xinxia_Song at outlook.com
> > >> > > > > > > >> > Subject: Re: [rt.rap.ucar.edu #79605]
ImportError:
> No
> > >> > module
> > >> > > > > named
> > >> > > > > > > >> > constants_pdef
> > >> > > > > > > >> >
> > >> > > > > > > >> > Can you please tell me which version of Python
you
> are
> > >> > using?
> > >> > > > > > > >> check_output
> > >> > > > > > > >> > for subprocess was introduced in Python 2.7.
Do
> you
> > >> have
> > >> > > > access
> > >> > > > > > to
> > >> > > > > > > >> > Python version 2.7 or higher?
> > >> > > > > > > >> >
> > >> > > > > > > >> > Thanks,
> > >> > > > > > > >> > Julie
> > >> > > > > > > >> >
> > >> > > > > > > >> > On Thu, Feb 23, 2017 at 12:11 PM, Xinxia Song
via RT
> <
> > >> > > > > > > met_help at ucar.edu
> > >> > > > > > > >> >
> > >> > > > > > > >> > wrote:
> > >> > > > > > > >> >
> > >> > > > > > > >> > >
> > >> > > > > > > >> > > <URL: https://rt.rap.ucar.edu/rt/
> > >> > > Ticket/Display.html?id=79605
> > >> > > > >
> > >> > > > > > > >> > >
> > >> > > > > > > >> > > Hi Julie,
> > >> > > > > > > >> > >
> > >> > > > > > > >> > >
> > >> > > > > > > >> > > I added it to the $PATH and ran the
> > >> master_met_python.py:
> > >> > > > > > > >> > >
> > >> > > > > > > >> > > [xinxia at chaos ush]$ python
master_met_plus.py
> > >> > > > > > > >> > >
> > >> > > > > > > >> > > Traceback (most recent call last):
> > >> > > > > > > >> > >
> > >> > > > > > > >> > >   File "/D2/xinxia/METplus/METplus/us
> > >> h/extract_tiles.py",
> > >> > > > line
> > >> > > > > > 157,
> > >> > > > > > > >> in
> > >> > > > > > > >> > > <module>
> > >> > > > > > > >> > >
> > >> > > > > > > >> > >     main()
> > >> > > > > > > >> > >
> > >> > > > > > > >> > >   File "/D2/xinxia/METplus/METplus/us
> > >> h/extract_tiles.py",
> > >> > > > line
> > >> > > > > > 100,
> > >> > > > > > > >> in
> > >> > > > > > > >> > > main
> > >> > > > > > > >> > >
> > >> > > > > > > >> > >     filtered_out_dir)
> > >> > > > > > > >> > >
> > >> > > > > > > >> > >   File "/D2/xinxia/METplus/METplus/us
> > >> h/run_tc_stat.py",
> > >> > > line
> > >> > > > > 69,
> > >> > > > > > in
> > >> > > > > > > >> > > tc_stat
> > >> > > > > > > >> > >
> > >> > > > > > > >> > >     tc_stat_out =
subprocess.check_output(tc_cmd,
> > >> > > > > > > >> > > stderr=subprocess.STDOUT, shell=True )
> > >> > > > > > > >> > >
> > >> > > > > > > >> > > AttributeError: 'module' object has no
attribute
> > >> > > > 'check_output'
> > >> > > > > > > >> > >
> > >> > > > > > > >> > >
> > >> > > > > > > >> > > Thanks,
> > >> > > > > > > >> > >
> > >> > > > > > > >> > >
> > >> > > > > > > >> > > Xinxia
> > >> > > > > > > >> > >
> > >> > > > > > > >> > > ________________________________
> > >> > > > > > > >> > > From: Julie Prestopnik via RT
<met_help at ucar.edu>
> > >> > > > > > > >> > > Sent: Friday, February 24, 2017 9:07:40 AM
> > >> > > > > > > >> > > To: Xinxia_Song at outlook.com
> > >> > > > > > > >> > > Subject: Re: [rt.rap.ucar.edu #79605]
ImportError:
> > No
> > >> > > module
> > >> > > > > > named
> > >> > > > > > > >> > > constants_pdef
> > >> > > > > > > >> > >
> > >> > > > > > > >> > > Unfortunately, your environment does not
know where
> > to
> > >> > find
> > >> > > > > > > >> > > run_tc_pairs.py.  Please try adding the
directory
> > with
> > >> > > > > > > run_tc_pairs.py
> > >> > > > > > > >> > > (/D2/xinxia/METplus/METplus/ush) to your
path in
> > your
> > >> > > > ~/.bashrc
> > >> > > > > > > file,
> > >> > > > > > > >> > then
> > >> > > > > > > >> > > run "source ~/.bashrc", then trying
rerunning.
> > Please
> > >> let
> > >> > > me
> > >> > > > > know
> > >> > > > > > > how
> > >> > > > > > > >> > that
> > >> > > > > > > >> > > goes.
> > >> > > > > > > >> > >
> > >> > > > > > > >> > > Thanks!
> > >> > > > > > > >> > >
> > >> > > > > > > >> > > Julie
> > >> > > > > > > >> > >
> > >> > > > > > > >> > > On Thu, Feb 23, 2017 at 11:55 AM, Xinxia
Song via
> RT
> > <
> > >> > > > > > > >> met_help at ucar.edu>
> > >> > > > > > > >> > > wrote:
> > >> > > > > > > >> > >
> > >> > > > > > > >> > > >
> > >> > > > > > > >> > > > <URL: https://rt.rap.ucar.edu/rt/
> > >> > > > Ticket/Display.html?id=79605
> > >> > > > > >
> > >> > > > > > > >> > > >
> > >> > > > > > > >> > > > Hi Julie,
> > >> > > > > > > >> > > >
> > >> > > > > > > >> > > >
> > >> > > > > > > >> > > > I'm running met in a machine that's owned
by our
> > >> > > > department, I
> > >> > > > > > > don't
> > >> > > > > > > >> > have
> > >> > > > > > > >> > > > sudo right, so when I type which
run_tc_pairs.py,
> > it
> > >> > says
> > >> > > > > > couldn't
> > >> > > > > > > >> find
> > >> > > > > > > >> > > it.
> > >> > > > > > > >> > > >
> > >> > > > > > > >> > > > no run_tc_pairs.py in
> > (/opt/ncl/bin:/opt/intel-soft/
> > >> > > > > > > >> > > > bin:/opt/ncl/bin:/opt/ncl/bin:
> > >> > > /opt/intel-soft/bin:/opt/ncl/
> > >> > > > > > > >> > > > bin:/home/xinxia/anaconda/bin:
> > >> > /home/xinxia/anaconda/bin:/
> > >> > > > > > > >> > > > opt/ncl/bin:/opt/intel-soft/bi
> > >> > n:/opt/ncl/bin:/usr/lib64/
> > >> > > > > > > >> > > > qt-3.3/bin:/usr/local/bin:/bin
> > >> > :/usr/bin:/usr/local/sbin:/
> > >> > > > > > > >> > > >
usr/sbin:/sbin:/sbin:/usr/sbin:/cm/local/apps/
> > >> > > > > > > >> > > environment-modules/3.2.10/
> > >> > > > > > > >> > > > bin:/home/xinxia/bin:/opt/ncl-621/bin)
> > >> > > > > > > >> > > >
> > >> > > > > > > >> > > >
> > >> > > > > > > >> > > > But I could find it manually in that
directory.
> > >> > > > > > > >> > > >
> > >> > > > > > > >> > > >
> > >> > > > > > > >> > > > Thanks,
> > >> > > > > > > >> > > >
> > >> > > > > > > >> > > >
> > >> > > > > > > >> > > > Xinxia
> > >> > > > > > > >> > > >
> > >> > > > > > > >> > > > ________________________________
> > >> > > > > > > >> > > > From: Julie Prestopnik via RT
<met_help at ucar.edu
> >
> > >> > > > > > > >> > > > Sent: Friday, February 24, 2017 8:52:16 AM
> > >> > > > > > > >> > > > To: Xinxia_Song at outlook.com
> > >> > > > > > > >> > > > Subject: Re: [rt.rap.ucar.edu #79605]
> ImportError:
> > >> No
> > >> > > > module
> > >> > > > > > > named
> > >> > > > > > > >> > > > constants_pdef
> > >> > > > > > > >> > > >
> > >> > > > > > > >> > > > Hi Xinxia.
> > >> > > > > > > >> > > >
> > >> > > > > > > >> > > > It looks like you got a successful run of
> tc_stat -
> > >> > that's
> > >> > > > > great
> > >> > > > > > > >> news!
> > >> > > > > > > >> > > >
> > >> > > > > > > >> > > > I'm not sure what you mean by "Because I
don't
> have
> > >> the
> > >> > > > > right, I
> > >> > > > > > > >> can't
> > >> > > > > > > >> > > find
> > >> > > > > > > >> > > > run_tc_pairs.py, but I know it's under
> > >> > > > > > > >> > > >
> > >> > > > > > > >> > > > /D2/xinxia/METplus/METplus/ush".
> > >> > > > > > > >> > > >
> > >> > > > > > > >> > > > Can you please explain?  What happened
when you
> ran
> > >> > "which
> > >> > > > > > > >> > > > run_tc_pairs.py"?
> > >> > > > > > > >> > > >
> > >> > > > > > > >> > > > Thanks,
> > >> > > > > > > >> > > > Julie
> > >> > > > > > > >> > > >
> > >> > > > > > > >> > > >
> > >> > > > > > > >> > > >
> > >> > > > > > > >> > > >
> > >> > > > > > > >> > > >
> > >> > > > > > > >> > > >
> > >> > > > > > > >> > > > On Thu, Feb 23, 2017 at 11:44 AM, Xinxia
Song via
> > RT
> > >> <
> > >> > > > > > > >> > met_help at ucar.edu>
> > >> > > > > > > >> > > > wrote:
> > >> > > > > > > >> > > >
> > >> > > > > > > >> > > > >
> > >> > > > > > > >> > > > > <URL: https://rt.rap.ucar.edu/rt/
> > >> > > > > Ticket/Display.html?id=79605
> > >> > > > > > >
> > >> > > > > > > >> > > > >
> > >> > > > > > > >> > > > > Hi Julie,
> > >> > > > > > > >> > > > >
> > >> > > > > > > >> > > > >
> > >> > > > > > > >> > > > > I removed the space.
> > >> > > > > > > >> > > > >
> > >> > > > > > > >> > > > > [xinxia at chaos parm]$
> > >> /D2/xinxia/METplus/MET/met-5.2
> > >> > > > > > /bin/tc_stat
> > >> > > > > > > >> -job
> > >> > > > > > > >> > > > > filter -lookin
/D2/xinxia/METplus/MET/input/
> > >> > > > tc_pairs/201412
> > >> > > > > > > >> > -init_inc
> > >> > > > > > > >> > > > > 20141201_00 -match_points true -dump_row
> > >> > > > > > > >> /D2/xinxia/METplus/MET/out/
> > >> > > > > > > >> > > > > extract_tiles/20141201_00/
> > filter_20141201_00.tcst
> > >> > > -basin
> > >> > > > > ML
> > >> > > > > > > >> > > > > -out_init_mask
/D2/xinxia/METplus/MET/met-5.
> > >> > > > > > > >> > > 2/share/met/poly/CONUS.poly
> > >> > > > > > > >> > > > >
> > >> > > > > > > >> > > > > DEBUG 1: [Source 1] Lookin:
> > >> > > /D2/xinxia/METplus/MET/input/
> > >> > > > > > > >> > > tc_pairs/201412
> > >> > > > > > > >> > > > >
> > >> > > > > > > >> > > > > DEBUG 2:
> > >> > > > > > > >> > > > >
> > >> > > > > > > >> > > > > DEBUG 2: Processing Job 1: -job filter
-basin
> ML
> > >> > > -init_inc
> > >> > > > > > > >> > > > 20141201_000000
> > >> > > > > > > >> > > > > -match_points true -out_init_mask
> > >> > > > > > /D2/xinxia/METplus/MET/met-5.
> > >> > > > > > > >> > > > 2/share/met/poly/CONUS.poly
> > >> > > > > > > >> > > > > -dump_row /D2/xinxia/METplus/MET/out/ext
> > >> > > > > > ract_tiles/20141201_00/
> > >> > > > > > > >> > > > > filter_20141201_00.tcst
> > >> > > > > > > >> > > > >
> > >> > > > > > > >> > > > > DEBUG 1: Creating output dump file:
> > >> > > > > > /D2/xinxia/METplus/MET/out/
> > >> > > > > > > >> > > > > extract_tiles/20141201_00/
> > filter_20141201_00.tcst
> > >> > > > > > > >> > > > >
> > >> > > > > > > >> > > > > FILTER: -job filter -basin ML -init_inc
> > >> > 20141201_000000
> > >> > > > > > > >> -match_points
> > >> > > > > > > >> > > > true
> > >> > > > > > > >> > > > > -out_init_mask
/D2/xinxia/METplus/MET/met-5.
> > >> > > > > > > >> > > 2/share/met/poly/CONUS.poly
> > >> > > > > > > >> > > > > -dump_row /D2/xinxia/METplus/MET/out/ext
> > >> > > > > > ract_tiles/20141201_00/
> > >> > > > > > > >> > > > > filter_20141201_00.tcst
> > >> > > > > > > >> > > > >
> > >> > > > > > > >> > > > >
> > >> > > > > > > >> > > > > DEBUG 2: Job 1 used 0 out of 27292 lines
read.
> > >> > > > > > > >> > > > >
> > >> > > > > > > >> > > > >
> > >> > > > > > > >> > > > > Because I don't have the right, I can't
find
> > >> > > > > run_tc_pairs.py,
> > >> > > > > > > but
> > >> > > > > > > >> I
> > >> > > > > > > >> > > know
> > >> > > > > > > >> > > > > it's under
> > >> > > > > > > >> > > > >
> > >> > > > > > > >> > > > > /D2/xinxia/METplus/METplus/ush
> > >> > > > > > > >> > > > >
> > >> > > > > > > >> > > > >
> > >> > > > > > > >> > > > > For Python,
> > >> > > > > > > >> > > > >
> > >> > > > > > > >> > > > > [xinxia at chaos ~]$ which python
> > >> > > > > > > >> > > > >
> > >> > > > > > > >> > > > > /usr/bin/python
> > >> > > > > > > >> > > > >
> > >> > > > > > > >> > > > >
> > >> > > > > > > >> > > > > Xinxia
> > >> > > > > > > >> > > > >
> > >> > > > > > > >> > > > > ________________________________
> > >> > > > > > > >> > > > > From: Julie Prestopnik via RT <
> met_help at ucar.edu
> > >
> > >> > > > > > > >> > > > > Sent: Friday, February 24, 2017 8:30:01
AM
> > >> > > > > > > >> > > > > To: Xinxia_Song at outlook.com
> > >> > > > > > > >> > > > > Subject: Re: [rt.rap.ucar.edu #79605]
> > >> ImportError: No
> > >> > > > > module
> > >> > > > > > > >> named
> > >> > > > > > > >> > > > > constants_pdef
> > >> > > > > > > >> > > > >
> > >> > > > > > > >> > > > > Hi Xinxia.
> > >> > > > > > > >> > > > >
> > >> > > > > > > >> > > > > It looks like there is a space where
there
> should
> > >> not
> > >> > > be a
> > >> > > > > > space
> > >> > > > > > > >> > > (between
> > >> > > > > > > >> > > > > /D2/xinxia/METplus/MET/out/ext
> > >> ract_tiles/20141201_00/
> > >> > > and
> > >> > > > > > > >> > > > > filter_20141201_00.tcst after the
-dump_row
> > >> option).
> > >> > > > > > > >> > > > >
> > >> > > > > > > >> > > > > Could you please try it again without
the
> space?
> > >> > > > > > > >> > > > >
> > >> > > > > > > >> > > > > /D2/xinxia/METplus/METplus/ush
> > >> /run_tc_stat.py:tc_stat
> > >> > > > from
> > >> > > > > > > >> calling
> > >> > > > > > > >> > MET
> > >> > > > > > > >> > > > > TC-STAT with
command:/D2/xinxia/METplus/MET
> > >> > > > > > /met-5.2/bin/tc_stat
> > >> > > > > > > >> -job
> > >> > > > > > > >> > > > > filter
> > >> > > > > > > >> > > > > -lookin /D2/xinxia/METplus/MET/input/t
> > >> c_pairs/201412
> > >> > > > > > -init_inc
> > >> > > > > > > >> > > > 20141201_00
> > >> > > > > > > >> > > > > -match_points true -dump_row
> > >> > /D2/xinxia/METplus/MET/out/
> > >> > > > > > > >> > > > > extract_tiles/20141201_00/
> > filter_20141201_00.tcst
> > >> > > -basin
> > >> > > > > ML
> > >> > > > > > > >> > > > > -out_init_mask
> > >> > > > > > > >> > > > > /D2/xinxia/METplus/MET/met-5.
> > >> > > 2/share/met/poly/CONUS.poly
> > >> > > > > > > >> > > > >
> > >> > > > > > > >> > > > > Regarding the master_met_plus.py run,
please
> try
> > >> > running
> > >> > > > the
> > >> > > > > > > >> > following
> > >> > > > > > > >> > > > two
> > >> > > > > > > >> > > > > commands and send me the output:
> > >> > > > > > > >> > > > >
> > >> > > > > > > >> > > > > which run_tc_pairs.py
> > >> > > > > > > >> > > > >
> > >> > > > > > > >> > > > > which python
> > >> > > > > > > >> > > > >
> > >> > > > > > > >> > > > > Thanks!
> > >> > > > > > > >> > > > >
> > >> > > > > > > >> > > > > Julie
> > >> > > > > > > >> > > > >
> > >> > > > > > > >> > > > > On Thu, Feb 23, 2017 at 11:06 AM, Xinxia
Song
> via
> > >> RT <
> > >> > > > > > > >> > > met_help at ucar.edu>
> > >> > > > > > > >> > > > > wrote:
> > >> > > > > > > >> > > > >
> > >> > > > > > > >> > > > > >
> > >> > > > > > > >> > > > > > <URL: https://rt.rap.ucar.edu/rt/Tic
> > >> > > > > > ket/Display.html?id=79605
> > >> > > > > > > >
> > >> > > > > > > >> > > > > >
> > >> > > > > > > >> > > > > > Hi Julie,
> > >> > > > > > > >> > > > > >
> > >> > > > > > > >> > > > > >
> > >> > > > > > > >> > > > > > After I ran the long one line command:
> > >> > > > > > > >> > > > > >
> > >> > > > > > > >> > > > > > [xinxia at chaos parm]$
> > >> /D2/xinxia/METplus/MET/met-5.
> > >> > > > > > > 2/bin/tc_stat
> > >> > > > > > > >> > -job
> > >> > > > > > > >> > > > > > filter -lookin
/D2/xinxia/METplus/MET/input/
> > >> > > > > tc_pairs/201412
> > >> > > > > > > >> > > -init_inc
> > >> > > > > > > >> > > > > > 20141201_00 -match_points true
-dump_row
> > >> > > > > > > >> > /D2/xinxia/METplus/MET/out/
> > >> > > > > > > >> > > > > extract_tiles/20141201_00/
> > >> > > > > > > >> > > > > > filter_20141201_00.tcst  -basin ML
> > -out_init_mask
> > >> > > > > > > >> > > > > > /D2/xinxia/METplus/MET/met-5.
> > >> > > > 2/share/met/poly/CONUS.poly
> > >> > > > > > > >> > > > > >
> > >> > > > > > > >> > > > > >
> > >> > > > > > > >> > > > > > DEBUG 1: [Source 1] Lookin:
> > >> > > > /D2/xinxia/METplus/MET/input/
> > >> > > > > > > >> > > > tc_pairs/201412
> > >> > > > > > > >> > > > > >
> > >> > > > > > > >> > > > > > ERROR  :
> > >> > > > > > > >> > > > > >
> > >> > > > > > > >> > > > > > ERROR  : TCStatJob
*TCStatJobFactory::new_tc_
> > >> > > > > stat_job(const
> > >> > > > > > > >> char
> > >> > > > > > > >> > > > > > *jobstring) -> unsupported job command
> options
> > >> > > > > > > >> > > > "filter_20141201_00.tcst".
> > >> > > > > > > >> > > > > >
> > >> > > > > > > >> > > > > > ERROR  :
> > >> > > > > > > >> > > > > >
> > >> > > > > > > >> > > > > >
> > >> > > > > > > >> > > > > > And for the master_met_plus.py, I got
the
> > error:
> > >> > > > > > > >> > > > > >
> > >> > > > > > > >> > > > > > [xinxia at chaos ush]$ python
> master_met_plus.py
> > >> > > > > > > >> > > > > >
> > >> > > > > > > >> > > > > > sh: run_tc_pairs.py: command not found
> > >> > > > > > > >> > > > > >
> > >> > > > > > > >> > > > > >
> > >> > > > > > > >> > > > > > Thanks,
> > >> > > > > > > >> > > > > >
> > >> > > > > > > >> > > > > >
> > >> > > > > > > >> > > > > > Xinxia
> > >> > > > > > > >> > > > > >
> > >> > > > > > > >> > > > > > ________________________________
> > >> > > > > > > >> > > > > > From: Julie Prestopnik via RT <
> > met_help at ucar.edu
> > >> >
> > >> > > > > > > >> > > > > > Sent: Friday, February 24, 2017
7:42:21 AM
> > >> > > > > > > >> > > > > > To: Xinxia_Song at outlook.com
> > >> > > > > > > >> > > > > > Subject: Re: [rt.rap.ucar.edu #79605]
> > >> ImportError:
> > >> > No
> > >> > > > > > module
> > >> > > > > > > >> named
> > >> > > > > > > >> > > > > > constants_pdef
> > >> > > > > > > >> > > > > >
> > >> > > > > > > >> > > > > > My apologies, my response should have
said,
> "By
> > >> > > default,
> > >> > > > > MET
> > >> > > > > > > >> > version
> > >> > > > > > > >> > > > 5.2
> > >> > > > > > > >> > > > > is
> > >> > > > > > > >> > > > > > compiled using dynamic linking."  It's
true
> for
> > >> > both,
> > >> > > > but
> > >> > > > > I
> > >> > > > > > > see
> > >> > > > > > > >> > > you're
> > >> > > > > > > >> > > > > > using 5.2 and I inadvertently referred
to
> 5.1.
> > >> > > > > > > >> > > > > >
> > >> > > > > > > >> > > > > > On Thu, Feb 23, 2017 at 10:40 AM,
Julie
> > >> Prestopnik <
> > >> > > > > > > >> > jpresto at ucar.edu
> > >> > > > > > > >> > > >
> > >> > > > > > > >> > > > > > wrote:
> > >> > > > > > > >> > > > > >
> > >> > > > > > > >> > > > > > > Hi Xinxia.  Regarding the error:
> > >> > > > > > > >> > > > > > >
> > >> > > > > > > >> > > > > > > /D2/xinxia/METplus/MET/met-5.
> 2/bin/tc_stat:
> > >> error
> > >> > > > while
> > >> > > > > > > >> loading
> > >> > > > > > > >> > > > shared
> > >> > > > > > > >> > > > > > > libraries: libgsl.so.19: cannot open
shared
> > >> object
> > >> > > > file:
> > >> > > > > > No
> > >> > > > > > > >> such
> > >> > > > > > > >> > > file
> > >> > > > > > > >> > > > > or
> > >> > > > > > > >> > > > > > > directory
> > >> > > > > > > >> > > > > > >
> > >> > > > > > > >> > > > > > > By default, MET version 5.1 is
compiled
> using
> > >> > > dynamic
> > >> > > > > > > linking.
> > >> > > > > > > >> > > > Rather
> > >> > > > > > > >> > > > > > > than compiling the external library
code in
> > >> with
> > >> > the
> > >> > > > MET
> > >> > > > > > > >> > > executables
> > >> > > > > > > >> > > > > > (which
> > >> > > > > > > >> > > > > > > is
> > >> > > > > > > >> > > > > > > called static linking), it looks for
them
> at
> > >> > > runtime.
> > >> > > > > And
> > >> > > > > > > >> it's
> > >> > > > > > > >> > > > looking
> > >> > > > > > > >> > > > > > > for those "shared object" (.so)
library
> > files.
> > >> > > > > > > >> > > > > > >
> > >> > > > > > > >> > > > > > > This should be easy to fix. We just
need to
> > >> tell
> > >> > it
> > >> > > > > where
> > >> > > > > > to
> > >> > > > > > > >> find
> > >> > > > > > > >> > > > them,
> > >> > > > > > > >> > > > > > > and we do that by setting (or adding
to the
> > >> > > > > > > LD_LIBRARY_PATH).
> > >> > > > > > > >> > Look
> > >> > > > > > > >> > > > in
> > >> > > > > > > >> > > > > > your
> > >> > > > > > > >> > > > > > > ~/.bashrc file.  If LD_LIBRARY_PATH
is
> > already
> > >> > > defined
> > >> > > > > in
> > >> > > > > > > >> there,
> > >> > > > > > > >> > > add
> > >> > > > > > > >> > > > > the
> > >> > > > > > > >> > > > > > > path to the libgsl.so.19 to the end
of it.
> > If
> > >> > not,
> > >> > > > add
> > >> > > > > an
> > >> > > > > > > >> > > > > > > LD_LIBRARY_PATH entry in your
~/.bashrc
> file.
> > >> So,
> > >> > > for
> > >> > > > > > > >> example,
> > >> > > > > > > >> > if
> > >> > > > > > > >> > > > the
> > >> > > > > > > >> > > > > > path
> > >> > > > > > > >> > > > > > > to your libgsl.so.19 file is
> > >> > > > > > /D2/xinxia/METplus/MET/externa
> > >> > > > > > > >> > > > > > l_libs/GSL/gsl-1.16/lib
> > >> > > > > > > >> > > > > > > you would add teh following to your
> ~/.bashrc
> > >> > file:
> > >> > > > > > > >> > > > > > >
> > >> > > > > > > >> > > > > > >   export LD_LIBRARY_PATH=/D2/xinxia/
> > >> > > > > > > >> > METplus/MET/external_libs/GSL/
> > >> > > > > > > >> > > > > > > gsl-1.16/lib
> > >> > > > > > > >> > > > > > >
> > >> > > > > > > >> > > > > > > Then save the change and source that
file:
> > >> > > > > > > >> > > > > > >
> > >> > > > > > > >> > > > > > >   source ~/.bashrc
> > >> > > > > > > >> > > > > > >
> > >> > > > > > > >> > > > > > > Then, please try rerunning the
command
> > manually
> > >> > and
> > >> > > > let
> > >> > > > > me
> > >> > > > > > > >> know
> > >> > > > > > > >> > if
> > >> > > > > > > >> > > it
> > >> > > > > > > >> > > > > > > works.
> > >> > > > > > > >> > > > > > >
> > >> > > > > > > >> > > > > > > I believe that this was the cause of
the
> > >> initial
> > >> > > error
> > >> > > > > you
> > >> > > > > > > >> > received
> > >> > > > > > > >> > > > > from
> > >> > > > > > > >> > > > > > > MET+:
> > >> > > > > > > >> > > > > > >
> > >> > > > > > > >> > > > > > > ERROR| /D2/xinxia/METplus/METplus/
> > >> > > > > > > ush/run_tc_stat.py:tc_stat
> > >> > > > > > > >> > from
> > >> > > > > > > >> > > > > > calling
> > >> > > > > > > >> > > > > > > MET TC-STAT with
> command:/D2/xinxia/METplus/
> > >> > > > > > > >> > > MET/met-5.2/bin/tc_stat
> > >> > > > > > > >> > > > > -job
> > >> > > > > > > >> > > > > > > filter -lookin
> /D2/xinxia/METplus/MET/input/t
> > >> > > > > > c_pairs/201412
> > >> > > > > > > >> > > > -init_inc
> > >> > > > > > > >> > > > > > > 20141201_00 -match_points true
-dump_row
> > >> > > > > > > >> > > > /D2/xinxia/METplus/MET/out/ext
> > >> > > > > > > >> > > > > > > ract_tiles/20141201_00/filter_
> > 20141201_00.tcst
> > >> > > > -basin
> > >> > > > > ML
> > >> > > > > > > >> > > > > -out_init_mask
> > >> > > > > > > >> > > > > > > /D2/xinxia/METplus/MET/met-5.
> > >> > > > > 2/share/met/poly/CONUS.poly
> > >> > > > > > > >> > > > > > >
> > >> > > > > > > >> > > > > > >
> > >> > > > > > > >> > > > > > > Thanks,
> > >> > > > > > > >> > > > > > > Julie
> > >> > > > > > > >> > > > > > >
> > >> > > > > > > >> > > > > > > On Thu, Feb 23, 2017 at 10:14 AM,
Xinxia
> Song
> > >> via
> > >> > > RT <
> > >> > > > > > > >> > > > > met_help at ucar.edu>
> > >> > > > > > > >> > > > > > > wrote:
> > >> > > > > > > >> > > > > > >
> > >> > > > > > > >> > > > > > >>
> > >> > > > > > > >> > > > > > >> <URL:
https://rt.rap.ucar.edu/rt/Tic
> > >> > > > > > > >> ket/Display.html?id=79605 >
> > >> > > > > > > >> > > > > > >>
> > >> > > > > > > >> > > > > > >> Hi Julie,
> > >> > > > > > > >> > > > > > >>
> > >> > > > > > > >> > > > > > >>
> > >> > > > > > > >> > > > > > >> [xinxia at chaos ush]$
> > >> > /D2/xinxia/METplus/MET/met-5.2
> > >> > > > > > > >> /bin/tc_stat
> > >> > > > > > > >> > > -job
> > >> > > > > > > >> > > > > > >> filter -lookin
> /D2/xinxia/METplus/MET/input/
> > >> > > > > > > tc_pairs/201412
> > >> > > > > > > >> > > > -init_inc
> > >> > > > > > > >> > > > > > >> 20141201_00 -match_points true
-dump_row
> > >> > > > > > > >> > > > > /D2/xinxia/METplus/MET/out/ext
> > >> > > > > > > >> > > > > > ract_tiles/20141201_00/
> > >> > > > > > > >> > > > > > >> filter_20141201_00.tcst  -basin ML
> > >> -out_init_mask
> > >> > > > > > > >> > > > > > >> /D2/xinxia/METplus/MET/met-5.
> > >> > > > > 2/share/met/poly/CONUS.poly
> > >> > > > > > > >> > > > > > >>
> > >> > > > > > > >> > > > > > >> /D2/xinxia/METplus/MET/met-5.
> 2/bin/tc_stat:
> > >> > error
> > >> > > > > while
> > >> > > > > > > >> loading
> > >> > > > > > > >> > > > > shared
> > >> > > > > > > >> > > > > > >> libraries: libgsl.so.19: cannot
open
> shared
> > >> > object
> > >> > > > > file:
> > >> > > > > > No
> > >> > > > > > > >> such
> > >> > > > > > > >> > > > file
> > >> > > > > > > >> > > > > or
> > >> > > > > > > >> > > > > > >> directory
> > >> > > > > > > >> > > > > > >>
> > >> > > > > > > >> > > > > > >>
> > >> > > > > > > >> > > > > > >> And I uploaded the configuration
file
> > >> > > > > (constants_pdef.py)
> > >> > > > > > > >> under
> > >> > > > > > > >> > > > > > >> xinxia_data directory.
> > >> > > > > > > >> > > > > > >>
> > >> > > > > > > >> > > > > > >>
> > >> > > > > > > >> > > > > > >> Thanks,
> > >> > > > > > > >> > > > > > >>
> > >> > > > > > > >> > > > > > >>
> > >> > > > > > > >> > > > > > >> Xinxia
> > >> > > > > > > >> > > > > > >>
> > >> > > > > > > >> > > > > > >> ________________________________
> > >> > > > > > > >> > > > > > >> From: Julie Prestopnik via RT <
> > >> met_help at ucar.edu
> > >> > >
> > >> > > > > > > >> > > > > > >> Sent: Friday, February 24, 2017
6:15:57 AM
> > >> > > > > > > >> > > > > > >> To: Xinxia_Song at outlook.com
> > >> > > > > > > >> > > > > > >> Subject: Re: [rt.rap.ucar.edu
#79605]
> > >> > ImportError:
> > >> > > > No
> > >> > > > > > > module
> > >> > > > > > > >> > > named
> > >> > > > > > > >> > > > > > >> constants_pdef
> > >> > > > > > > >> > > > > > >>
> > >> > > > > > > >> > > > > > >> Hi Xinxia.
> > >> > > > > > > >> > > > > > >>
> > >> > > > > > > >> > > > > > >> I can see that your command, which
should
> > have
> > >> > been
> > >> > > > all
> > >> > > > > > on
> > >> > > > > > > >> one
> > >> > > > > > > >> > > line,
> > >> > > > > > > >> > > > > was
> > >> > > > > > > >> > > > > > >> broken up into several lines.
Please try
> > >> running
> > >> > > the
> > >> > > > > > > command
> > >> > > > > > > >> > > again,
> > >> > > > > > > >> > > > > > >> making
> > >> > > > > > > >> > > > > > >> sure that the entire command is on
one
> line:
> > >> > > > > > > >> > > > > > >>
> > >> > > > > > > >> > > > > > >> /D2/xinxia/METplus/MET/met-5.
> 2/bin/tc_stat
> > >> -job
> > >> > > > filter
> > >> > > > > > > >> -lookin
> > >> > > > > > > >> > > > > > >> /D2/xinxia/METplus/MET/input/
> > tc_pairs/201412
> > >> > > > -init_inc
> > >> > > > > > > >> > > 20141201_00
> > >> > > > > > > >> > > > > > >> -match_points true -dump_row
> > >> > > > > > > >> > > > > > >> /D2/xinxia/METplus/MET/out/
> > >> > > > extract_tiles/20141201_00/
> > >> > > > > > > >> > > > > > >> filter_20141201_00.tcst  -basin ML
> > >> -out_init_mask
> > >> > > > > > > >> > > > > > >> /D2/xinxia/METplus/MET/met-5.
> > >> > > > > 2/share/met/poly/CONUS.poly
> > >> > > > > > > >> > > > > > >>
> > >> > > > > > > >> > > > > > >> Then, please send the output from
that
> > >> command.
> > >> > > > > > > >> > > > > > >>
> > >> > > > > > > >> > > > > > >> Regarding, your error:
> > >> > > > > > > >> > > > > > >>
> > >> > > > > > > >> > > > > > >> sh: run_tc_pairs.py: command not
found
> > >> > > > > > > >> > > > > > >>
> > >> > > > > > > >> > > > > > >> It's strange that would only have
occurred
> > >> after
> > >> > > > having
> > >> > > > > > > >> changed
> > >> > > > > > > >> > > the
> > >> > > > > > > >> > > > > > >> LOG_LEVEL.  Could you please send
us your
> > >> > > > configuration
> > >> > > > > > > file?
> > >> > > > > > > >> > > > > > >>
> > >> > > > > > > >> > > > > > >> Thanks!
> > >> > > > > > > >> > > > > > >>
> > >> > > > > > > >> > > > > > >> Julie
> > >> > > > > > > >> > > > > > >>
> > >> > > > > > > >> > > > > > >> On Wed, Feb 22, 2017 at 2:54 PM,
Xinxia
> Song
> > >> via
> > >> > > RT <
> > >> > > > > > > >> > > > > met_help at ucar.edu>
> > >> > > > > > > >> > > > > > >> wrote:
> > >> > > > > > > >> > > > > > >>
> > >> > > > > > > >> > > > > > >> >
> > >> > > > > > > >> > > > > > >> > <URL:
https://rt.rap.ucar.edu/rt/Tic
> > >> > > > > > > >> ket/Display.html?id=79605
> > >> > > > > > > >> > >
> > >> > > > > > > >> > > > > > >> >
> > >> > > > > > > >> > > > > > >> > Hi Julie,
> > >> > > > > > > >> > > > > > >> >
> > >> > > > > > > >> > > > > > >> >
> > >> > > > > > > >> > > > > > >> > [xinxia at chaos ush]$
> > >> > > /D2/xinxia/METplus/MET/met-5.
> > >> > > > > > > >> > 2/bin/tc_stat
> > >> > > > > > > >> > > > -job
> > >> > > > > > > >> > > > > > >> > filter -lookin
> > >> > > > > > > >> > > > > > >> >
> > >> > > > > > > >> > > > > > >> > /D2/xinxia/METplus/MET/met-5.
> > 2/bin/tc_stat:
> > >> > > error
> > >> > > > > > while
> > >> > > > > > > >> > loading
> > >> > > > > > > >> > > > > > shared
> > >> > > > > > > >> > > > > > >> > libraries: libgsl.so.19: cannot
open
> > shared
> > >> > > object
> > >> > > > > > file:
> > >> > > > > > > No
> > >> > > > > > > >> > such
> > >> > > > > > > >> > > > > file
> > >> > > > > > > >> > > > > > or
> > >> > > > > > > >> > > > > > >> > directory
> > >> > > > > > > >> > > > > > >> >
> > >> > > > > > > >> > > > > > >> >
> > >> > > > > > > >> > > > > > >> > [xinxia at chaos ush]$
> > >> > > /D2/xinxia/METplus/MET/input/
> > >> > > > > > > >> > > tc_pairs/201412
> > >> > > > > > > >> > > > > > >> > -init_inc 20141201_00
-match_points true
> > >> > > -dump_row
> > >> > > > > > > >> > > > > > >> >
> > >> > > > > > > >> > > > > > >> > -bash:
/D2/xinxia/METplus/MET/input/
> > >> > > > tc_pairs/201412:
> > >> > > > > > is
> > >> > > > > > > a
> > >> > > > > > > >> > > > directory
> > >> > > > > > > >> > > > > > >> >
> > >> > > > > > > >> > > > > > >> >
> > >> > > > > > > >> > > > > > >> > [xinxia at chaos ush]$
> > >> > > /D2/xinxia/METplus/MET/out/ext
> > >> > > > > > > >> > > > > > >> ract_tiles/20141201_00/
> > >> > > > > > > >> > > > > > >> > filter_20141201_00.tcst  -basin
ML
> > >> > -out_init_mask
> > >> > > > > > > >> > > > > > >> > /D2/xinxia/METplus/MET/met-5.2
> > >> > > > > > /share/met/poly/CONUS.poly
> > >> > > > > > > >> > > > > > >> >
> > >> > > > > > > >> > > > > > >> > -bash:
/D2/xinxia/METplus/MET/out/ext
> > >> > > > > > > >> ract_tiles/20141201_00/:
> > >> > > > > > > >> > > No
> > >> > > > > > > >> > > > > such
> > >> > > > > > > >> > > > > > >> > file or directory
> > >> > > > > > > >> > > > > > >> >
> > >> > > > > > > >> > > > > > >> >
> > >> > > > > > > >> > > > > > >> > After I change the LOG_LEVEL, I
ran the
> > >> > > > > > > >> master_met_plus.py, it
> > >> > > > > > > >> > > > says:
> > >> > > > > > > >> > > > > > >> >
> > >> > > > > > > >> > > > > > >> > [xinxia at chaos ush]$ python
> > >> master_met_plus.py
> > >> > > > > > > >> > > > > > >> >
> > >> > > > > > > >> > > > > > >> > sh: run_tc_pairs.py: command not
found
> > >> > > > > > > >> > > > > > >> >
> > >> > > > > > > >> > > > > > >> >
> > >> > > > > > > >> > > > > > >> >
> > >> > > > > > > >> > > > > > >> > Thanks,
> > >> > > > > > > >> > > > > > >> >
> > >> > > > > > > >> > > > > > >> >
> > >> > > > > > > >> > > > > > >> > Xinxia
> > >> > > > > > > >> > > > > > >> >
> > >> > > > > > > >> > > > > > >> >
> > >> > > > > > > >> > > > > > >> > ________________________________
> > >> > > > > > > >> > > > > > >> > From: Julie Prestopnik via RT <
> > >> > met_help at ucar.edu
> > >> > > >
> > >> > > > > > > >> > > > > > >> > Sent: Thursday, February 23, 2017
> 10:04:55
> > >> AM
> > >> > > > > > > >> > > > > > >> > To: Xinxia_Song at outlook.com
> > >> > > > > > > >> > > > > > >> > Subject: Re: [rt.rap.ucar.edu
#79605]
> > >> > > ImportError:
> > >> > > > > No
> > >> > > > > > > >> module
> > >> > > > > > > >> > > > named
> > >> > > > > > > >> > > > > > >> > constants_pdef
> > >> > > > > > > >> > > > > > >> >
> > >> > > > > > > >> > > > > > >> > Thank you.  Unfortunately, the
level of
> > >> detail
> > >> > in
> > >> > > > the
> > >> > > > > > log
> > >> > > > > > > >> file
> > >> > > > > > > >> > > > > wasn't
> > >> > > > > > > >> > > > > > >> what
> > >> > > > > > > >> > > > > > >> > I hoped for.  I'd like to have
you try
> two
> > >> > > things.
> > >> > > > > > > >> > > > > > >> >
> > >> > > > > > > >> > > > > > >> > First, could you please send me
your
> > output
> > >> of
> > >> > > your
> > >> > > > > > > manual
> > >> > > > > > > >> run
> > >> > > > > > > >> > > of
> > >> > > > > > > >> > > > > the
> > >> > > > > > > >> > > > > > >> > following?
> > >> > > > > > > >> > > > > > >> >
> > >> > > > > > > >> > > > > > >> > "/D2/xinxia/METplus/MET/met-5.
> > 2/bin/tc_stat
> > >> > -job
> > >> > > > > > filter
> > >> > > > > > > >> > -lookin
> > >> > > > > > > >> > > > > > >> > /D2/xinxia/METplus/MET/input/t
> > >> c_pairs/201412
> > >> > > > > -init_inc
> > >> > > > > > > >> > > > 20141201_00
> > >> > > > > > > >> > > > > > >> > -match_points true -dump_row
> > >> > > > > > /D2/xinxia/METplus/MET/out/
> > >> > > > > > > >> > > > > > >> > extract_tiles/20141201_00/
> > >> > > filter_20141201_00.tcst
> > >> > > > > > > -basin
> > >> > > > > > > >> ML
> > >> > > > > > > >> > > > > > >> > -out_init_mask
> > >> > > > > > > >> > > > > > >> > /D2/xinxia/METplus/MET/met-5.
> > >> > > > > > > 2/share/met/poly/CONUS.poly"
> > >> > > > > > > >> > > > > > >> >
> > >> > > > > > > >> > > > > > >> > Second, could you please change
your log
> > >> level
> > >> > in
> > >> > > > > your
> > >> > > > > > > >> > > > configuration
> > >> > > > > > > >> > > > > > >> file
> > >> > > > > > > >> > > > > > >> > from
> > >> > > > > > > >> > > > > > >> >
> > >> > > > > > > >> > > > > > >> > LOG_LEVEL = "INFO"
> > >> > > > > > > >> > > > > > >> >
> > >> > > > > > > >> > > > > > >> > to
> > >> > > > > > > >> > > > > > >> >
> > >> > > > > > > >> > > > > > >> > LOG_LEVEL = "DEBUG"
> > >> > > > > > > >> > > > > > >> >
> > >> > > > > > > >> > > > > > >> > then rerun and upload your log
file to
> our
> > >> ftp
> > >> > > > server
> > >> > > > > > > >> again?
> > >> > > > > > > >> > > > > > >> >
> > >> > > > > > > >> > > > > > >> > Thank you!
> > >> > > > > > > >> > > > > > >> >
> > >> > > > > > > >> > > > > > >> > Julie
> > >> > > > > > > >> > > > > > >> >
> > >> > > > > > > >> > > > > > >> >
> > >> > > > > > > >> > > > > > >> > On Wed, Feb 22, 2017 at 12:39 PM,
Xinxia
> > >> Song
> > >> > via
> > >> > > > RT
> > >> > > > > <
> > >> > > > > > > >> > > > > > met_help at ucar.edu
> > >> > > > > > > >> > > > > > >> >
> > >> > > > > > > >> > > > > > >> > wrote:
> > >> > > > > > > >> > > > > > >> >
> > >> > > > > > > >> > > > > > >> > >
> > >> > > > > > > >> > > > > > >> > > <URL:
https://rt.rap.ucar.edu/rt/
> > >> > > > > > > >> > Ticket/Display.html?id=79605
> > >> > > > > > > >> > > >
> > >> > > > > > > >> > > > > > >> > >
> > >> > > > > > > >> > > > > > >> > > Hi Julie,
> > >> > > > > > > >> > > > > > >> > >
> > >> > > > > > > >> > > > > > >> > >
> > >> > > > > > > >> > > > > > >> > > I uploaded the log file under
> > xinxia_data
> > >> > > > > directory.
> > >> > > > > > > >> > > > > > >> > >
> > >> > > > > > > >> > > > > > >> > >
> > >> > > > > > > >> > > > > > >> > > Thanks,
> > >> > > > > > > >> > > > > > >> > >
> > >> > > > > > > >> > > > > > >> > >
> > >> > > > > > > >> > > > > > >> > > Xinxia
> > >> > > > > > > >> > > > > > >> > >
> > >> > > > > > > >> > > > > > >> > >
> > >> > > > > > > >> > > > > > >> > >
________________________________
> > >> > > > > > > >> > > > > > >> > > From: Julie Prestopnik via RT <
> > >> > > met_help at ucar.edu
> > >> > > > >
> > >> > > > > > > >> > > > > > >> > > Sent: Thursday, February 23,
2017
> > 9:11:32
> > >> AM
> > >> > > > > > > >> > > > > > >> > > To: Xinxia_Song at outlook.com
> > >> > > > > > > >> > > > > > >> > > Subject: Re: [rt.rap.ucar.edu
#79605]
> > >> > > > ImportError:
> > >> > > > > > No
> > >> > > > > > > >> > module
> > >> > > > > > > >> > > > > named
> > >> > > > > > > >> > > > > > >> > > constants_pdef
> > >> > > > > > > >> > > > > > >> > >
> > >> > > > > > > >> > > > > > >> > > Hi Xinxia.
> > >> > > > > > > >> > > > > > >> > >
> > >> > > > > > > >> > > > > > >> > > I think it would be helpful if
I could
> > >> take a
> > >> > > > look
> > >> > > > > at
> > >> > > > > > > the
> > >> > > > > > > >> > log
> > >> > > > > > > >> > > > > file.
> > >> > > > > > > >> > > > > > >> > Could
> > >> > > > > > > >> > > > > > >> > > you please upload your file to
our
> > >> anonymous
> > >> > > ftp
> > >> > > > > site
> > >> > > > > > > as
> > >> > > > > > > >> > > follows
> > >> > > > > > > >> > > > > so
> > >> > > > > > > >> > > > > > >> that
> > >> > > > > > > >> > > > > > >> > I
> > >> > > > > > > >> > > > > > >> > > can take a look?
> > >> > > > > > > >> > > > > > >> > >
> > >> > > > > > > >> > > > > > >> > >    http://www.dtcenter.org/met/
> > >> > > > > > > >> > users/support/met_help.php#ftp
> > >> > > > > > > >> > > > > > >> > >
> > >> > > > > > > >> > > > > > >> > > Also, could you please try
running the
> > >> > > following
> > >> > > > > > > manually
> > >> > > > > > > >> > and
> > >> > > > > > > >> > > > send
> > >> > > > > > > >> > > > > > the
> > >> > > > > > > >> > > > > > >> > > output to me?
> > >> > > > > > > >> > > > > > >> > >
> > >> > > > > > > >> > > > > > >> > > "/D2/xinxia/METplus/MET/met-5.
> > >> 2/bin/tc_stat
> > >> > > -job
> > >> > > > > > > filter
> > >> > > > > > > >> > > -lookin
> > >> > > > > > > >> > > > > > >> > > /D2/xinxia/METplus/MET/input/t
> > >> c_pairs/201412
> > >> > > > > > -init_inc
> > >> > > > > > > >> > > > > 20141201_00
> > >> > > > > > > >> > > > > > >> > > -match_points true -dump_row
> > >> > > > > > > /D2/xinxia/METplus/MET/out/
> > >> > > > > > > >> > > > > > >> > > extract_tiles/20141201_00/
> > >> > > > filter_20141201_00.tcst
> > >> > > > > > > >> -basin
> > >> > > > > > > >> > ML
> > >> > > > > > > >> > > > > > >> > > -out_init_mask
> > >> > > > > > > >> > > > > > >> > > /D2/xinxia/METplus/MET/met-5.2
> > >> > > > > > > >> /share/met/poly/CONUS.poly"
> > >> > > > > > > >> > > > > > >> > >
> > >> > > > > > > >> > > > > > >> > > Thank you!
> > >> > > > > > > >> > > > > > >> > >
> > >> > > > > > > >> > > > > > >> > > Julie
> > >> > > > > > > >> > > > > > >> > >
> > >> > > > > > > >> > > > > > >> > >
> > >> > > > > > > >> > > > > > >> > >
> > >> > > > > > > >> > > > > > >> > > On Wed, Feb 22, 2017 at 12:06
PM,
> Xinxia
> > >> Song
> > >> > > via
> > >> > > > > RT
> > >> > > > > > <
> > >> > > > > > > >> > > > > > >> met_help at ucar.edu>
> > >> > > > > > > >> > > > > > >> > > wrote:
> > >> > > > > > > >> > > > > > >> > >
> > >> > > > > > > >> > > > > > >> > > >
> > >> > > > > > > >> > > > > > >> > > > <URL:
https://rt.rap.ucar.edu/rt/
> > >> > > > > > > >> > > Ticket/Display.html?id=79605
> > >> > > > > > > >> > > > >
> > >> > > > > > > >> > > > > > >> > > >
> > >> > > > > > > >> > > > > > >> > > > Hi Julie,
> > >> > > > > > > >> > > > > > >> > > >
> > >> > > > > > > >> > > > > > >> > > >
> > >> > > > > > > >> > > > > > >> > > > Now I can run the program,
but when
> I
> > >> look
> > >> > at
> > >> > > > the
> > >> > > > > > log
> > >> > > > > > > >> file
> > >> > > > > > > >> > > in
> > >> > > > > > > >> > > > > the
> > >> > > > > > > >> > > > > > >> > output,
> > >> > > > > > > >> > > > > > >> > > > it shows error below:
> > >> > > > > > > >> > > > > > >> > > >
> > >> > > > > > > >> > > > > > >> > > >
> > >> > > > > > > >> > > > > > >> > > > ERROR|
/D2/xinxia/METplus/METplus/
> > >> > > > > > > >> > > ush/run_tc_stat.py:tc_stat
> > >> > > > > > > >> > > > > from
> > >> > > > > > > >> > > > > > >> > > calling
> > >> > > > > > > >> > > > > > >> > > > MET TC-STAT with
> > >> > > command:/D2/xinxia/METplus/MET
> > >> > > > > > > >> > > > > > /met-5.2/bin/tc_stat
> > >> > > > > > > >> > > > > > >> > -job
> > >> > > > > > > >> > > > > > >> > > > filter -lookin
> > >> > /D2/xinxia/METplus/MET/input/
> > >> > > > > > > >> > tc_pairs/201412
> > >> > > > > > > >> > > > > > >> -init_inc
> > >> > > > > > > >> > > > > > >> > > > 20141201_00 -match_points
true
> > -dump_row
> > >> > > > > > > >> > > > > > /D2/xinxia/METplus/MET/out/
> > >> > > > > > > >> > > > > > >> > > > extract_tiles/20141201_00/
> > >> > > > > filter_20141201_00.tcst
> > >> > > > > > > >> -basin
> > >> > > > > > > >> > > ML
> > >> > > > > > > >> > > > > > >> > > > -out_init_mask
> > >> > /D2/xinxia/METplus/MET/met-5.
> > >> > > > > > > >> > > > > > >> > 2/share/met/poly/CONUS.poly
> > >> > > > > > > >> > > > > > >> > > >
> > >> > > > > > > >> > > > > > >> > > >
> > >> > > > > > > >> > > > > > >> > > > How should I fix it?
> > >> > > > > > > >> > > > > > >> > > >
> > >> > > > > > > >> > > > > > >> > > >
> > >> > > > > > > >> > > > > > >> > > > Thanks,
> > >> > > > > > > >> > > > > > >> > > >
> > >> > > > > > > >> > > > > > >> > > >
> > >> > > > > > > >> > > > > > >> > > > Xinxia
> > >> > > > > > > >> > > > > > >> > > >
> > >> > > > > > > >> > > > > > >> > > >
________________________________
> > >> > > > > > > >> > > > > > >> > > > From: Julie Prestopnik via RT
<
> > >> > > > met_help at ucar.edu
> > >> > > > > >
> > >> > > > > > > >> > > > > > >> > > > Sent: Thursday, February 23,
2017
> > >> 7:30:06
> > >> > AM
> > >> > > > > > > >> > > > > > >> > > > To: Xinxia_Song at outlook.com
> > >> > > > > > > >> > > > > > >> > > > Subject: Re: [rt.rap.ucar.edu
> #79605]
> > >> > > > > ImportError:
> > >> > > > > > > No
> > >> > > > > > > >> > > module
> > >> > > > > > > >> > > > > > named
> > >> > > > > > > >> > > > > > >> > > > constants_pdef
> > >> > > > > > > >> > > > > > >> > > >
> > >> > > > > > > >> > > > > > >> > > > Hi Xinxia.
> > >> > > > > > > >> > > > > > >> > > >
> > >> > > > > > > >> > > > > > >> > > > I believe that python doesn't
know
> how
> > >> to
> > >> > > find
> > >> > > > > the
> > >> > > > > > > >> module
> > >> > > > > > > >> > > > > because
> > >> > > > > > > >> > > > > > >> the
> > >> > > > > > > >> > > > > > >> > ush
> > >> > > > > > > >> > > > > > >> > > > directory is not in your
PYTHONPATH.
> > >> Both
> > >> > > the
> > >> > > > > parm
> > >> > > > > > > and
> > >> > > > > > > >> > ush
> > >> > > > > > > >> > > > > > >> directory
> > >> > > > > > > >> > > > > > >> > > need
> > >> > > > > > > >> > > > > > >> > > > to be specified in your
PYTHONPATH.
> > >> Please
> > >> > > add
> > >> > > > > the
> > >> > > > > > > ush
> > >> > > > > > > >> > > > > directory
> > >> > > > > > > >> > > > > > to
> > >> > > > > > > >> > > > > > >> > your
> > >> > > > > > > >> > > > > > >> > > > PYTHONPATH, source ~/.bashrc,
and
> let
> > us
> > >> > know
> > >> > > > how
> > >> > > > > > it
> > >> > > > > > > >> goes.
> > >> > > > > > > >> > > > > > >> > > >
> > >> > > > > > > >> > > > > > >> > > > Thanks,
> > >> > > > > > > >> > > > > > >> > > > Julie
> > >> > > > > > > >> > > > > > >> > > >
> > >> > > > > > > >> > > > > > >> > > > On Wed, Feb 22, 2017 at 10:24
AM,
> > Xinxia
> > >> > Song
> > >> > > > via
> > >> > > > > > RT
> > >> > > > > > > <
> > >> > > > > > > >> > > > > > >> > met_help at ucar.edu>
> > >> > > > > > > >> > > > > > >> > > > wrote:
> > >> > > > > > > >> > > > > > >> > > >
> > >> > > > > > > >> > > > > > >> > > > >
> > >> > > > > > > >> > > > > > >> > > > > <URL:
https://rt.rap.ucar.edu/rt/
> > >> > > > > > > >> > > > Ticket/Display.html?id=79605
> > >> > > > > > > >> > > > > >
> > >> > > > > > > >> > > > > > >> > > > >
> > >> > > > > > > >> > > > > > >> > > > > Hi Julie,
> > >> > > > > > > >> > > > > > >> > > > >
> > >> > > > > > > >> > > > > > >> > > > >
> > >> > > > > > > >> > > > > > >> > > > > Since I don't have setenv,
I added
> > >> these
> > >> > 3
> > >> > > > > > sentence
> > >> > > > > > > >> into
> > >> > > > > > > >> > > my
> > >> > > > > > > >> > > > > > >> .bashrc
> > >> > > > > > > >> > > > > > >> > > file:
> > >> > > > > > > >> > > > > > >> > > > >
> > >> > > > > > > >> > > > > > >> > > > >
> > >> > > > > > > >> > > > > > >> > > > > export
PYTHONPATH="/D2/xinxia/
> > >> > > > > > > METplus/METplus/parm"
> > >> > > > > > > >> > > > > > >> > > > >
> > >> > > > > > > >> > > > > > >> > > > >
> > >> > > > > > > >> > > > > > >> > > > > export
USHROOT=/D2/xinxia/METplus/
> > >> > > > METplus/ush
> > >> > > > > > > >> > > > > > >> > > > >
> > >> > > > > > > >> > > > > > >> > > > > export PATH=$USHROOT:$PATH
> > >> > > > > > > >> > > > > > >> > > > >
> > >> > > > > > > >> > > > > > >> > > > >
> > >> > > > > > > >> > > > > > >> > > > > I sourced the ~/.bashrc,
and
> checked
> > >> that
> > >> > > the
> > >> > > > > > > >> variables
> > >> > > > > > > >> > > are
> > >> > > > > > > >> > > > > set,
> > >> > > > > > > >> > > > > > >> but
> > >> > > > > > > >> > > > > > >> > > the
> > >> > > > > > > >> > > > > > >> > > > > program still can't find
the
> module.
> > >> > > > > > > >> > > > > > >> > > > >
> > >> > > > > > > >> > > > > > >> > > > >
> > >> > > > > > > >> > > > > > >> > > > > Thanks,
> > >> > > > > > > >> > > > > > >> > > > >
> > >> > > > > > > >> > > > > > >> > > > > Xinxia
> > >> > > > > > > >> > > > > > >> > > > >
> > >> > > > > > > >> > > > > > >> > > > >
________________________________
> > >> > > > > > > >> > > > > > >> > > > > From: Julie Prestopnik via
RT <
> > >> > > > > met_help at ucar.edu
> > >> > > > > > >
> > >> > > > > > > >> > > > > > >> > > > > Sent: Thursday, February
23, 2017
> > >> 6:24:21
> > >> > > AM
> > >> > > > > > > >> > > > > > >> > > > > To: Xinxia_Song at outlook.com
> > >> > > > > > > >> > > > > > >> > > > > Subject: Re:
[rt.rap.ucar.edu
> > #79605]
> > >> > > > > > ImportError:
> > >> > > > > > > >> No
> > >> > > > > > > >> > > > module
> > >> > > > > > > >> > > > > > >> named
> > >> > > > > > > >> > > > > > >> > > > > constants_pdef
> > >> > > > > > > >> > > > > > >> > > > >
> > >> > > > > > > >> > > > > > >> > > > > Hi Xinxia.
> > >> > > > > > > >> > > > > > >> > > > >
> > >> > > > > > > >> > > > > > >> > > > > Could you please check to
make
> sure
> > >> that
> > >> > > the
> > >> > > > > ush
> > >> > > > > > > >> > directory
> > >> > > > > > > >> > > > > with
> > >> > > > > > > >> > > > > > >> > > > > constants_pdef.py is in
your
> > >> PYTHONPATH
> > >> > in
> > >> > > > your
> > >> > > > > > > >> .cshrc
> > >> > > > > > > >> > > file
> > >> > > > > > > >> > > > > (or
> > >> > > > > > > >> > > > > > >> > .bashrc
> > >> > > > > > > >> > > > > > >> > > > or
> > >> > > > > > > >> > > > > > >> > > > > similar file)?  The parm
directory
> > >> should
> > >> > > > also
> > >> > > > > be
> > >> > > > > > > in
> > >> > > > > > > >> > your
> > >> > > > > > > >> > > > > > >> PYTHONPATH.
> > >> > > > > > > >> > > > > > >> > > > >
> > >> > > > > > > >> > > > > > >> > > > > For example,
> > >> > > > > > > >> > > > > > >> > > > >
> > >> > > > > > > >> > > > > > >> > > > > setenv PYTHONPATH
> > >> > > > /d1/jpresto/sbu/METplus/ush:/
> > >> > > > > > > >> > > > > > >> > > > d1/jpresto/sbu/METplus/parm
> > >> > > > > > > >> > > > > > >> > > > >
> > >> > > > > > > >> > > > > > >> > > > > Please also check make sure
that
> the
> > >> path
> > >> > > to
> > >> > > > > the
> > >> > > > > > > ush
> > >> > > > > > > >> > > > directory
> > >> > > > > > > >> > > > > > is
> > >> > > > > > > >> > > > > > >> > also
> > >> > > > > > > >> > > > > > >> > > > > specified your your path
> environment
> > >> > > > variable.
> > >> > > > > > For
> > >> > > > > > > >> > > example,
> > >> > > > > > > >> > > > > > >> > > > >
> > >> > > > > > > >> > > > > > >> > > > > set path = (/usr/local/bin
\
> > >> > > > > > > >> > > > > > >> > > > >
> > >> > > > /usr/local/python/bin/python \
> > >> > > > > > > >> > > > > > >> > > > >
> > >> > > /d1/jpresto/sbu/METplus/ush
> > >> > > > )
> > >> > > > > > > >> > > > > > >> > > > >
> > >> > > > > > > >> > > > > > >> > > > > If they are not there,
please add
> > them
> > >> > and
> > >> > > > then
> > >> > > > > > > >> source
> > >> > > > > > > >> > the
> > >> > > > > > > >> > > > > file
> > >> > > > > > > >> > > > > > >> (e.g.
> > >> > > > > > > >> > > > > > >> > > run
> > >> > > > > > > >> > > > > > >> > > > > "source ~/.cshrc").
> > >> > > > > > > >> > > > > > >> > > > >
> > >> > > > > > > >> > > > > > >> > > > > Thank you!  Please let us
know how
> > it
> > >> > goes.
> > >> > > > > > > >> > > > > > >> > > > >
> > >> > > > > > > >> > > > > > >> > > > > Julie
> > >> > > > > > > >> > > > > > >> > > > >
> > >> > > > > > > >> > > > > > >> > > > >
> > >> > > > > > > >> > > > > > >> > > > >
> > >> > > > > > > >> > > > > > >> > > > >
> > >> > > > > > > >> > > > > > >> > > > > On Tue, Feb 21, 2017 at
4:49 PM,
> > >> Xinxia
> > >> > > Song
> > >> > > > > via
> > >> > > > > > > RT <
> > >> > > > > > > >> > > > > > >> > met_help at ucar.edu
> > >> > > > > > > >> > > > > > >> > > >
> > >> > > > > > > >> > > > > > >> > > > > wrote:
> > >> > > > > > > >> > > > > > >> > > > >
> > >> > > > > > > >> > > > > > >> > > > > >
> > >> > > > > > > >> > > > > > >> > > > > > Tue Feb 21 16:49:28 2017:
> Request
> > >> 79605
> > >> > > was
> > >> > > > > > acted
> > >> > > > > > > >> > upon.
> > >> > > > > > > >> > > > > > >> > > > > > Transaction: Ticket
created by
> > >> > > > > > > >> > Xinxia_Song at outlook.com
> > >> > > > > > > >> > > > > > >> > > > > >        Queue: met_help
> > >> > > > > > > >> > > > > > >> > > > > >      Subject:
ImportError: No
> > module
> > >> > > named
> > >> > > > > > > >> > > constants_pdef
> > >> > > > > > > >> > > > > > >> > > > > >        Owner: Nobody
> > >> > > > > > > >> > > > > > >> > > > > >   Requestors:
> > >> Xinxia_Song at outlook.com
> > >> > > > > > > >> > > > > > >> > > > > >       Status: new
> > >> > > > > > > >> > > > > > >> > > > > >  Ticket <URL:
> > >> > > https://rt.rap.ucar.edu/rt/
> > >> > > > > > > >> > > > > > >> > > Ticket/Display.html?id=79605
> > >> > > > > > > >> > > > > > >> > > > >
> > >> > > > > > > >> > > > > > >> > > > > >
> > >> > > > > > > >> > > > > > >> > > > > >
> > >> > > > > > > >> > > > > > >> > > > > > Hi,
> > >> > > > > > > >> > > > > > >> > > > > >
> > >> > > > > > > >> > > > > > >> > > > > >
> > >> > > > > > > >> > > > > > >> > > > > > When I ran the
> mater_met_plus.py,
> > it
> > >> > > says:
> > >> > > > > > > >> > > > > > >> > > > > >
> > >> > > > > > > >> > > > > > >> > > > > >
> > >> > > > > > > >> > > > > > >> > > > > > ImportError: No module
named
> > >> > > constants_pdef
> > >> > > > > > > >> > > > > > >> > > > > >
> > >> > > > > > > >> > > > > > >> > > > > >
> > >> > > > > > > >> > > > > > >> > > > > > Seems it doesn't
recognize
> > >> > constants_pdef
> > >> > > > as
> > >> > > > > > its
> > >> > > > > > > >> > module.
> > >> > > > > > > >> > > > > > >> > > > > >
> > >> > > > > > > >> > > > > > >> > > > > >
> > >> > > > > > > >> > > > > > >> > > > > > Thanks,
> > >> > > > > > > >> > > > > > >> > > > > >
> > >> > > > > > > >> > > > > > >> > > > > > Xinxia
> > >> > > > > > > >> > > > > > >> > > > > >
> > >> > > > > > > >> > > > > > >> > > > > >
> > >> > > > > > > >> > > > > > >> > > > >
> > >> > > > > > > >> > > > > > >> > > > >
> > >> > > > > > > >> > > > > > >> > > > >
> > >> > > > > > > >> > > > > > >> > > >
> > >> > > > > > > >> > > > > > >> > > >
> > >> > > > > > > >> > > > > > >> > > >
> > >> > > > > > > >> > > > > > >> > >
> > >> > > > > > > >> > > > > > >> > >
> > >> > > > > > > >> > > > > > >> > >
> > >> > > > > > > >> > > > > > >> >
> > >> > > > > > > >> > > > > > >> >
> > >> > > > > > > >> > > > > > >> >
> > >> > > > > > > >> > > > > > >>
> > >> > > > > > > >> > > > > > >>
> > >> > > > > > > >> > > > > > >>
> > >> > > > > > > >> > > > > > >
> > >> > > > > > > >> > > > > >
> > >> > > > > > > >> > > > > >
> > >> > > > > > > >> > > > > >
> > >> > > > > > > >> > > > >
> > >> > > > > > > >> > > > >
> > >> > > > > > > >> > > > >
> > >> > > > > > > >> > > >
> > >> > > > > > > >> > > >
> > >> > > > > > > >> > > >
> > >> > > > > > > >> > >
> > >> > > > > > > >> > >
> > >> > > > > > > >> > >
> > >> > > > > > > >> >
> > >> > > > > > > >> >
> > >> > > > > > > >> >
> > >> > > > > > > >>
> > >> > > > > > > >>
> > >> > > > > > > >>
> > >> > > > > > > >
> > >> > > > > > >
> > >> > > > > > >
> > >> > > > > > >
> > >> > > > > >
> > >> > > > > >
> > >> > > > > >
> > >> > > > >
> > >> > > > >
> > >> > > > >
> > >> > > >
> > >> > > >
> > >> > > >
> > >> > >
> > >> > >
> > >> > >
> > >> >
> > >> >
> > >> >
> > >>
> > >>
> > >>
> > >
> >
> >
> >
>
>
>

------------------------------------------------
Subject: ImportError: No module named constants_pdef
From: Xinxia Song
Time: Thu Mar 02 14:41:45 2017

Hi Julie,

The path is :

/home/xinxia/anaconda2/bin:/D2/xinxia/METplus/METplus/ush:/opt/ncl/bin:/opt/intel-
soft/bin:/opt/ncl/bin:/home/xinxia/anaconda/bin:/home/xinxia/anaconda2/bin:/D2/xinxia/METplus/METplus/ush:/opt/ncl/bin:/opt/intel-
soft/bin:/opt/ncl/bin:/usr/lib64/qt-
3.3/bin:/usr/local/bin:/bin:/usr/bin:/usr/local/sbin:/usr/sbin:/sbin:/sbin:/usr/sbin:/cm/local/apps/environment-
modules/3.2.10/bin:/home/xinxia/bin:/opt/ncl-621/bin


Thanks,

Xinxia

________________________________
From: Julie Prestopnik via RT <met_help at ucar.edu>
Sent: Thursday, March 2, 2017 4:07:02 PM
To: Xinxia_Song at outlook.com
Subject: Re: [rt.rap.ucar.edu #79605] ImportError: No module named
constants_pdef

Thank you, Xinxia.

When you ran master_met_plus.py, did you run "python
master_met_plus.py"?

Can you please run "echo $path" and send me the output?

Thanks,
Julie

On Thu, Mar 2, 2017 at 2:04 PM, Xinxia Song via RT <met_help at ucar.edu>
wrote:

>
> <URL: https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=79605 >
>
> Hi Julie,
>
>
> I followed your instruction and it doesn't work. I still got the
error:
>
> Traceback (most recent call last):
>
>   File "/D2/xinxia/METplus/METplus/ush/series_by_lead.py", line 945,
in
> <module>
>
>     analysis_by_lead_time()
>
>   File "/D2/xinxia/METplus/METplus/ush/series_by_lead.py", line 107,
in
> analysis_by_lead_time
>
>     util.apply_series_filters(tile_dir, init_times,
> series_lead_filtered_out_dir, p, logger)
>
>   File "/D2/xinxia/METplus/METplus/ush/met_util.py", line 1005, in
> apply_series_filters
>
>     tcs.tc_stat(p, logger, tc_cmd, series_output_dir)
>
>   File "/D2/xinxia/METplus/METplus/ush/run_tc_stat.py", line 69, in
> tc_stat
>
>     tc_stat_out = subprocess.check_output(tc_cmd,
> stderr=subprocess.STDOUT, shell=True )
>
> AttributeError: 'module' object has no attribute 'check_output'
>
>
> Thanks,
>
>
> Xinxia
>
> ________________________________
> From: Julie Prestopnik via RT <met_help at ucar.edu>
> Sent: Thursday, March 2, 2017 11:57:54 AM
> To: Xinxia_Song at outlook.com
> Subject: Re: [rt.rap.ucar.edu #79605] ImportError: No module named
> constants_pdef
>
> Hi Xinxia.  I apologize for the delay in responding.  I was out of
the
> office.  I'm so glad to hear that you were able to get a successful
run
> from series_by_lead.py!
>
> Could you please open master_met_plus.py in the editor of your
choice (vi,
> emacs, etc.) and change the first line from:
>
> #!/usr/bin/python
>
> to
>
> #!/usr/bin/env python
>
> Then, please delete master_met_plus.pyc  (Note the ".pyc"
extension).
> Please also do the same for met_util.py, changing the top line and
also
> removing a .pyc file if one exists.
>
> Then, please change your PROCESS_LIST in constants_pdef.py to only
have
> series_by_lead.py in the list, since the other processes have run
> successfully via master_met_plus.py.
>
> Then, please rerun master_met_plus.py and let me know how it goes.
>
> I still suspect that somehow Python 2.6 is being used because this
error:
>
> AttributeError: 'module' object has no attribute 'check_output'
>
> indicates that subprocess does not have a "check_output" attribute,
which
> is true for Python 2.6, but not for 2.7.  Hopefully, these changes
will
> take care of the problem in the environment.  If not, we'll try
something
> else.  Thank you for your patience and help in testing our alpha
version.
>
> Julie
>
> On Thu, Mar 2, 2017 at 8:07 AM, Xinxia Song via RT
<met_help at ucar.edu>
> wrote:
>
> >
> > <URL: https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=79605 >
> >
> > Hi Julie,
> >
> >
> > I ran the master_met_plus.py again and still got the error:
> >
> >
> > Traceback (most recent call last):
> >
> >   File "/D2/xinxia/METplus/METplus/ush/series_by_lead.py", line
945, in
> > <module>
> >
> >     analysis_by_lead_time()
> >
> >   File "/D2/xinxia/METplus/METplus/ush/series_by_lead.py", line
107, in
> > analysis_by_lead_time
> >
> >     util.apply_series_filters(tile_dir, init_times,
> > series_lead_filtered_out_dir, p, logger)
> >
> >   File "/D2/xinxia/METplus/METplus/ush/met_util.py", line 1005, in
> > apply_series_filters
> >
> >     tcs.tc_stat(p, logger, tc_cmd, series_output_dir)
> >
> >   File "/D2/xinxia/METplus/METplus/ush/run_tc_stat.py", line 69,
in
> > tc_stat
> >
> >     tc_stat_out = subprocess.check_output(tc_cmd,
> > stderr=subprocess.STDOUT, shell=True )
> >
> > AttributeError: 'module' object has no attribute 'check_output'
> >
> >
> >
> > Thanks,
> >
> >
> > Xinxia
> >
> > ________________________________
> > From: Xinxia Song
> > Sent: Tuesday, February 28, 2017 5:07:13 PM
> > To: met_help at ucar.edu
> > Subject: Re: [rt.rap.ucar.edu #79605] ImportError: No module named
> > constants_pdef
> >
> >
> > Hi Julie,
> >
> >
> > I correct these paths and I could successfully run
series_by_lead.py but
> > have errors for the master_met_plus.py. I get the errors:
> >
> > Traceback (most recent call last):
> >
> >   File "/D2/xinxia/METplus/METplus/ush/series_by_lead.py", line
945, in
> > <module>
> >
> >     analysis_by_lead_time()
> >
> >   File "/D2/xinxia/METplus/METplus/ush/series_by_lead.py", line
107, in
> > analysis_by_lead_time
> >
> >     util.apply_series_filters(tile_dir, init_times,
> > series_lead_filtered_out_dir, p, logger)
> >
> >   File "/D2/xinxia/METplus/METplus/ush/met_util.py", line 1005, in
> > apply_series_filters
> >
> >     tcs.tc_stat(p, logger, tc_cmd, series_output_dir)
> >
> >   File "/D2/xinxia/METplus/METplus/ush/run_tc_stat.py", line 69,
in
> > tc_stat
> >
> >     tc_stat_out = subprocess.check_output(tc_cmd,
> > stderr=subprocess.STDOUT, shell=True )
> >
> > AttributeError: 'module' object has no attribute 'check_output'
> >
> >
> > Thanks,
> >
> >
> > Xinxia
> >
> > ________________________________
> > From: Julie Prestopnik via RT <met_help at ucar.edu>
> > Sent: Tuesday, February 28, 2017 2:50:58 PM
> > To: Xinxia_Song at outlook.com
> > Subject: Re: [rt.rap.ucar.edu #79605] ImportError: No module named
> > constants_pdef
> >
> > Hi Xinxia.  I also thought I would mention that, as indicated in
the
> README
> > file that came with the distribution, in addition to ncap2 and
ncdump,
> the
> > following are also required for MET+:
> >
> >   - convert utility (part of ImageMagick)
> >     - https://www.imagemagick.org/script/binary-releases.php
> >   - wgrib2 utility
> >     - http://www.cpc.noaa.gov/products/wesley/wgrib2/
> > compile_questions.html
> >   - egrep utility
> >     - http://directory.fsf.org/wiki/Grep
> >
> > If you do not have these installed. Please install them and set up
their
> > paths in the constants_pdef.py file.
> >
> > Thanks,
> > Julie
> >
> > On Tue, Feb 28, 2017 at 12:45 PM, Julie Prestopnik
<jpresto at ucar.edu>
> > wrote:
> >
> > > Hi Xinxia.
> > >
> > > You will also need to have the ncdump command installed, with
the
> > location
> > > to the executable listed in NCDUMP_EXE in constants_pdef.py.
Please
> have
> > > ncdump installed, update your constants_pdef.py file and rerun.
> > >
> > > Thanks!
> > >
> > > Julie
> > >
> > > On Tue, Feb 28, 2017 at 12:18 PM, Xinxia Song via RT <
> met_help at ucar.edu>
> > > wrote:
> > >
> > >>
> > >> <URL: https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=79605 >
> > >>
> > >> Hi Julie,
> > >>
> > >>
> > >> Before I was running master_met_plus.py and now I ran the
> > >> series_by_lead.py and got the following results:
> > >>
> > >> [xinxia at chaos ush]$ python series_by_lead.py
> > >>
> > >> Traceback (most recent call last):
> > >>
> > >>   File "series_by_lead.py", line 945, in <module>
> > >>
> > >>     analysis_by_lead_time()
> > >>
> > >>   File "series_by_lead.py", line 326, in analysis_by_lead_time
> > >>
> > >>     vmin, vmax = get_netcdf_min_max(nc_var_list, cur_stat, p,
logger)
> > >>
> > >>   File "series_by_lead.py", line 638, in get_netcdf_min_max
> > >>
> > >>     shell=True)
> > >>
> > >>   File "/home/xinxia/anaconda2/lib/python2.7/subprocess.py",
line
> 219,
> > >> in check_output
> > >>
> > >>     raise CalledProcessError(retcode, cmd, output=output)
> > >>
> > >> subprocess.CalledProcessError: Command '/usr/local/bin/ncdump
> > >>
/D2/xinxia/METplus/MET/out/series_analysis_lead/series_F042/min.nc >
> > >>
/D2/xinxia/METplus/MET/out/series_analysis_lead/series_F042/min.txt'
> > >> returned non-zero exit status 127
> > >>
> > >>
> > >> Thanks,
> > >>
> > >>
> > >> Xinxia
> > >>
> > >> ________________________________
> > >> From: Julie Prestopnik via RT <met_help at ucar.edu>
> > >> Sent: Tuesday, February 28, 2017 2:11:19 PM
> > >> To: Xinxia_Song at outlook.com
> > >> Subject: Re: [rt.rap.ucar.edu #79605] ImportError: No module
named
> > >> constants_pdef
> > >>
> > >> Hi Xinxia.  Did you run series_by_lead.py on its own or via
> > >> master_met_plus.py?
> > >>
> > >> Thanks,
> > >> Julie
> > >>
> > >> On Tue, Feb 28, 2017 at 11:11 AM, Xinxia Song via RT <
> met_help at ucar.edu
> > >
> > >> wrote:
> > >>
> > >> >
> > >> > <URL: https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=79605
>
> > >> >
> > >> > Hi Julie,
> > >> >
> > >> >
> > >> > I checked it's 2.7.13. It seems the error doesn't coming from
it.
> > >> >
> > >> >
> > >> > Thanks,
> > >> >
> > >> >
> > >> > Xinxia
> > >> >
> > >> >
> > >> > ________________________________
> > >> > From: Julie Prestopnik via RT <met_help at ucar.edu>
> > >> > Sent: Tuesday, February 28, 2017 10:49:29 AM
> > >> > To: Xinxia_Song at outlook.com
> > >> > Subject: Re: [rt.rap.ucar.edu #79605] ImportError: No module
named
> > >> > constants_pdef
> > >> >
> > >> > I think perhaps your environment is using Python 2.6 again.
> > >> >
> > >> > Please try running:
> > >> >
> > >> > python --version
> > >> >
> > >> > on the command line.
> > >> >
> > >> > If you see "Python 2..6.6", please add the path for Python
2.7 to
> the
> > >> front
> > >> > of your path in your ~/.bashrc file.  Then, source your
~/.bashrc
> file
> > >> and
> > >> > try rerunning
> > >> >
> > >> > python --version
> > >> >
> > >> > on the command line.  Hopefully, then you will see the new
version.
> > >> Then,
> > >> > please try rerunning master_met_plus.py.
> > >> >
> > >> > I hope this helps!  Thanks!
> > >> >
> > >> > Julie
> > >> >
> > >> > On Mon, Feb 27, 2017 at 8:14 PM, Xinxia Song via RT <
> > met_help at ucar.edu>
> > >> > wrote:
> > >> >
> > >> > >
> > >> > > <URL:
https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=79605 >
> > >> > >
> > >> > > Hi Julie,
> > >> > >
> > >> > >
> > >> > > after I update the NCAP2 path in constants_pdef.py and ran
the
> > >> > > master_met_plus.py, I got the error:
> > >> > >
> > >> > > 2017-02-28 02:49:40,659 : ERROR | [master_met_plus.py:main]
|
> > Problem
> > >> > > executing: series_by_lead.py
> > >> > >
> > >> > > and message:
> > >> > >
> > >> > > Traceback (most recent call last):
> > >> > >
> > >> > >   File "/D2/xinxia/METplus/METplus/ush/series_by_lead.py",
line
> > 945,
> > >> in
> > >> > > <module>
> > >> > >
> > >> > >     analysis_by_lead_time()
> > >> > >
> > >> > >   File "/D2/xinxia/METplus/METplus/ush/series_by_lead.py",
line
> > 107,
> > >> in
> > >> > > analysis_by_lead_time
> > >> > >
> > >> > >     util.apply_series_filters(tile_dir, init_times,
> > >> > > series_lead_filtered_out_dir, p, logger)
> > >> > >
> > >> > >   File "/D2/xinxia/METplus/METplus/ush/met_util.py", line
1005,
> in
> > >> > > apply_series_filters
> > >> > >
> > >> > >     tcs.tc_stat(p, logger, tc_cmd, series_output_dir)
> > >> > >
> > >> > >   File "/D2/xinxia/METplus/METplus/ush/run_tc_stat.py",
line 69,
> in
> > >> > > tc_stat
> > >> > >
> > >> > >     tc_stat_out = subprocess.check_output(tc_cmd,
> > >> > > stderr=subprocess.STDOUT, shell=True )
> > >> > >
> > >> > > AttributeError: 'module' object has no attribute
'check_output'
> > >> > >
> > >> > >
> > >> > > Thanks,
> > >> > >
> > >> > >
> > >> > > Xinxia
> > >> > >
> > >> > > ________________________________
> > >> > > From: Julie Prestopnik via RT <met_help at ucar.edu>
> > >> > > Sent: Monday, February 27, 2017 5:15:59 PM
> > >> > > To: Xinxia_Song at outlook.com
> > >> > > Subject: Re: [rt.rap.ucar.edu #79605] ImportError: No
module
> named
> > >> > > constants_pdef
> > >> > >
> > >> > > Please install ncap2 and update the location to the
executable in
> > the
> > >> > > NCAP2_EXE field of the constants_pdef.py file and trying
rerunning
> > the
> > >> > MET+
> > >> > > code.  Please let us know how it goes.
> > >> > >
> > >> > > Thanks,
> > >> > > Julie
> > >> > >
> > >> > > On Mon, Feb 27, 2017 at 3:10 PM, Xinxia Song via RT <
> > >> met_help at ucar.edu>
> > >> > > wrote:
> > >> > >
> > >> > > >
> > >> > > > <URL:
https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=79605 >
> > >> > > >
> > >> > > > Hi Julie,
> > >> > > >
> > >> > > >
> > >> > > > The result is :
> > >> > > >
> > >> > > > -bash: /usr/local/nco/bin/ncap2: No such file or
directory
> > >> > > >
> > >> > > > I think we don't have it installed.
> > >> > > >
> > >> > > >
> > >> > > > Thanks,
> > >> > > >
> > >> > > > Xinxia
> > >> > > >
> > >> > > > ________________________________
> > >> > > > From: Julie Prestopnik via RT <met_help at ucar.edu>
> > >> > > > Sent: Monday, February 27, 2017 5:08:48 PM
> > >> > > > To: Xinxia_Song at outlook.com
> > >> > > > Subject: Re: [rt.rap.ucar.edu #79605] ImportError: No
module
> > named
> > >> > > > constants_pdef
> > >> > > >
> > >> > > > Hi Xinxia. I believe that error code refers to "Command
not
> > found".
> > >> > Can
> > >> > > > you please run the following and send me the output?
> > >> > > >
> > >> > > > /usr/local/nco/bin/ncap2 --version
> > >> > > >
> > >> > > > Thanks!
> > >> > > >
> > >> > > > Julie
> > >> > > >
> > >> > > >
> > >> > > > On Mon, Feb 27, 2017 at 2:55 PM, Xinxia Song via RT <
> > >> met_help at ucar.edu
> > >> > >
> > >> > > > wrote:
> > >> > > >
> > >> > > > >
> > >> > > > > <URL:
https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=79605
> >
> > >> > > > >
> > >> > > > > Hi Julie,
> > >> > > > >
> > >> > > > >
> > >> > > > > The error is:
> > >> > > > >
> > >> > > > > Traceback (most recent call last):
> > >> > > > >
> > >> > > > >   File "series_by_lead.py", line 945, in <module>
> > >> > > > >
> > >> > > > >     analysis_by_lead_time()
> > >> > > > >
> > >> > > > >   File "series_by_lead.py", line 326, in
analysis_by_lead_time
> > >> > > > >
> > >> > > > >     vmin, vmax = get_netcdf_min_max(nc_var_list,
cur_stat, p,
> > >> > logger)
> > >> > > > >
> > >> > > > >   File "series_by_lead.py", line 605, in
get_netcdf_min_max
> > >> > > > >
> > >> > > > >     shell=True)
> > >> > > > >
> > >> > > > >   File
"/home/xinxia/anaconda2/lib/python2.7/subprocess.py",
> > line
> > >> > 219,
> > >> > > > in
> > >> > > > > check_output
> > >> > > > >
> > >> > > > >     raise CalledProcessError(retcode, cmd,
output=output)
> > >> > > > >
> > >> > > > > subprocess.CalledProcessError: Command
> '/usr/local/nco/bin/ncap2
> > >> -v
> > >> > -s
> > >> > > > > "min=min(series_cnt_TOTAL)" /D2/xinxia/METplus/MET/out/
> > >> > > > >
series_analysis_lead/series_F042/series_F042_HGT_P500.nc
> > >> > > > >
/D2/xinxia/METplus/MET/out/series_analysis_lead/series_F042/
> > >> min.nc'
> > >> > > > > returned non-zero exit status 127
> > >> > > > >
> > >> > > > >
> > >> > > > > Thanks,
> > >> > > > >
> > >> > > > >
> > >> > > > > Xinxia
> > >> > > > >
> > >> > > > > ________________________________
> > >> > > > > From: Julie Prestopnik via RT <met_help at ucar.edu>
> > >> > > > > Sent: Tuesday, February 28, 2017 9:18:55 AM
> > >> > > > > To: Xinxia_Song at outlook.com
> > >> > > > > Subject: Re: [rt.rap.ucar.edu #79605] ImportError: No
module
> > >> named
> > >> > > > > constants_pdef
> > >> > > > >
> > >> > > > > Thank you, Xinxia.
> > >> > > > >
> > >> > > > > Unfortunately, the "DEBUG" log level did not provide
much
> > >> information
> > >> > > for
> > >> > > > > this task:
> > >> > > > >
> > >> > > > > 2017-02-26 21:30:28,041 : INFO |
[master_met_plus.py:main] |
> > >> Running:
> > >> > > > > series_by_lead.py
> > >> > > > > 2017-02-26 21:30:28,212 : ERROR |
[master_met_plus.py:main] |
> > >> Problem
> > >> > > > > executing: series_by_lead.py
> > >> > > > >
> > >> > > > > Could you please try running series_by_lead.py in the
ush
> > >> directory?
> > >> > > > > Please let me know what the output is from that run -
it may
> > >> still be
> > >> > > > > contained in your log file.
> > >> > > > >
> > >> > > > > Thanks!
> > >> > > > >
> > >> > > > > Julie
> > >> > > > >
> > >> > > > >
> > >> > > > > On Mon, Feb 27, 2017 at 11:17 AM, Xinxia Song via RT <
> > >> > > met_help at ucar.edu>
> > >> > > > > wrote:
> > >> > > > >
> > >> > > > > >
> > >> > > > > > <URL: https://rt.rap.ucar.edu/rt/
> Ticket/Display.html?id=79605
> > >
> > >> > > > > >
> > >> > > > > > Hi Julie,
> > >> > > > > >
> > >> > > > > >
> > >> > > > > > I uploaded the constants_pdef.py and
> > >> master_met_plus.20170226.log.
> > >> > > > > >
> > >> > > > > >
> > >> > > > > > Thanks,
> > >> > > > > >
> > >> > > > > >
> > >> > > > > > Xinxia
> > >> > > > > >
> > >> > > > > > ________________________________
> > >> > > > > > From: Julie Prestopnik via RT <met_help at ucar.edu>
> > >> > > > > > Sent: Tuesday, February 28, 2017 5:46:37 AM
> > >> > > > > > To: Xinxia_Song at outlook.com
> > >> > > > > > Subject: Re: [rt.rap.ucar.edu #79605] ImportError: No
> module
> > >> named
> > >> > > > > > constants_pdef
> > >> > > > > >
> > >> > > > > > Hi Xinxia.  Can you please upload the configuration
file
> that
> > >> you
> > >> > > used
> > >> > > > > and
> > >> > > > > > the log file from that run to our ftp server so that
we can
> > >> take a
> > >> > > > look?
> > >> > > > > >
> > >> > > > > > Thanks!
> > >> > > > > >
> > >> > > > > > Julie
> > >> > > > > >
> > >> > > > > > On Sun, Feb 26, 2017 at 2:35 PM, Xinxia Song via RT <
> > >> > > met_help at ucar.edu
> > >> > > > >
> > >> > > > > > wrote:
> > >> > > > > >
> > >> > > > > > >
> > >> > > > > > > <URL: https://rt.rap.ucar.edu/rt/
> > Ticket/Display.html?id=79605
> > >> >
> > >> > > > > > >
> > >> > > > > > > Hi Julie,
> > >> > > > > > >
> > >> > > > > > >
> > >> > > > > > > I ran the mater_met_plus.py and in the end in the
log file
> > it
> > >> > gave
> > >> > > me
> > >> > > > > an
> > >> > > > > > > error:
> > >> > > > > > >
> > >> > > > > > > 2017-02-26 21:30:28,212 : ERROR |
> [master_met_plus.py:main]
> > |
> > >> > > Problem
> > >> > > > > > > executing: series_by_lead.py
> > >> > > > > > >
> > >> > > > > > >
> > >> > > > > > > Thanks,
> > >> > > > > > >
> > >> > > > > > > Xinxia
> > >> > > > > > >
> > >> > > > > > > ________________________________
> > >> > > > > > > From: Julie Prestopnik via RT <met_help at ucar.edu>
> > >> > > > > > > Sent: Saturday, February 25, 2017 6:49:56 AM
> > >> > > > > > > To: Xinxia_Song at outlook.com
> > >> > > > > > > Subject: Re: [rt.rap.ucar.edu #79605] ImportError:
No
> > module
> > >> > named
> > >> > > > > > > constants_pdef
> > >> > > > > > >
> > >> > > > > > > You could also run "tail -f
</path/to/logfile/logfile_
> > name>"
> > >> > > > replacing
> > >> > > > > > > </path/to/logfile/logfile_name> with the logfile
path and
> > >> name
> > >> > > > > > information
> > >> > > > > > > to see how the run is coming along.  I hope that
helps!
> > >> > > > > > >
> > >> > > > > > > Julie
> > >> > > > > > >
> > >> > > > > > > On Fri, Feb 24, 2017 at 9:42 AM, Julie Prestopnik <
> > >> > > jpresto at ucar.edu>
> > >> > > > > > > wrote:
> > >> > > > > > >
> > >> > > > > > > > Hi Xinxia.  Running the entire three months of
data
> could
> > >> > > certainly
> > >> > > > > > take
> > >> > > > > > > a
> > >> > > > > > > > long time.  I am hoping to get an estimate on how
long
> it
> > >> took
> > >> > to
> > >> > > > run
> > >> > > > > > the
> > >> > > > > > > > three month data set here, but have not been able
to
> > obtain
> > >> > that
> > >> > > > > number
> > >> > > > > > > > yet.   It sounds the code was running
successfully for
> > >> you.  If
> > >> > > > > you're
> > >> > > > > > > > eager to take a lot at some output, I would
suggest
> > running
> > >> a
> > >> > > > smaller
> > >> > > > > > > > subset of the data, or perhaps you could set up
the
> whole
> > >> three
> > >> > > > month
> > >> > > > > > to
> > >> > > > > > > > run over the weekend.  I would suggest letting
the code
> > run
> > >> to
> > >> > > > > > completion
> > >> > > > > > > > for either a smaller subset or for the entire
subset and
> > >> then
> > >> > > > > checking
> > >> > > > > > > the
> > >> > > > > > > > log file for errors.  I hope that helps.  Please
let me
> > >> know if
> > >> > > you
> > >> > > > > > have
> > >> > > > > > > > any questions or encounter any issues.
> > >> > > > > > > >
> > >> > > > > > > > Thanks,
> > >> > > > > > > > Julie
> > >> > > > > > > >
> > >> > > > > > > >
> > >> > > > > > > > On Thu, Feb 23, 2017 at 4:28 PM, Xinxia Song via
RT <
> > >> > > > > met_help at ucar.edu
> > >> > > > > > >
> > >> > > > > > > > wrote:
> > >> > > > > > > >
> > >> > > > > > > >>
> > >> > > > > > > >> <URL: https://rt.rap.ucar.edu/rt/Tic
> > >> ket/Display.html?id=79605
> > >> > >
> > >> > > > > > > >>
> > >> > > > > > > >> Hi Julie,
> > >> > > > > > > >>
> > >> > > > > > > >>
> > >> > > > > > > >> The version is set to be 2.7+. When I ran
> > >> master_met_plus.py,
> > >> > it
> > >> > > > > seems
> > >> > > > > > > it
> > >> > > > > > > >> will run forever. So I killed it, and got the
> following:
> > >> > > > > > > >>
> > >> > > > > > > >> [xinxia at chaos ush]$ python master_met_plus.py
> > >> > > > > > > >>
> > >> > > > > > > >> ^CTraceback (most recent call last):
> > >> > > > > > > >>
> > >> > > > > > > >>   File "/D2/xinxia/METplus/METplus/
> > ush/extract_tiles.py",
> > >> > line
> > >> > > > 157,
> > >> > > > > > in
> > >> > > > > > > >> <module>
> > >> > > > > > > >>
> > >> > > > > > > >>     main()
> > >> > > > > > > >>
> > >> > > > > > > >>   File "/D2/xinxia/METplus/METplus/
> > ush/extract_tiles.py",
> > >> > line
> > >> > > > 100,
> > >> > > > > > in
> > >> > > > > > > >> main
> > >> > > > > > > >>
> > >> > > > > > > >>     filtered_out_dir)
> > >> > > > > > > >>
> > >> > > > > > > >>   File "/D2/xinxia/METplus/METplus/
> ush/run_tc_stat.py",
> > >> line
> > >> > > 69,
> > >> > > > in
> > >> > > > > > > >> tc_stat
> > >> > > > > > > >>
> > >> > > > > > > >>     tc_stat_out =
subprocess.check_output(tc_cmd,
> > >> > > > > > > >> stderr=subprocess.STDOUT, shell=True )
> > >> > > > > > > >>
> > >> > > > > > > >>   File "/home/xinxia/anaconda2/lib/py
> > >> thon2.7/subprocess.py",
> > >> > > line
> > >> > > > > > 213,
> > >> > > > > > > >> in check_output
> > >> > > > > > > >>
> > >> > > > > > > >>     output, unused_err = process.communicate()
> > >> > > > > > > >>
> > >> > > > > > > >>   File "/home/xinxia/anaconda2/lib/py
> > >> thon2.7/subprocess.py",
> > >> > > line
> > >> > > > > > 471,
> > >> > > > > > > >> in communicate
> > >> > > > > > > >>
> > >> > > > > > > >>     stdout = _eintr_retry_call(self.stdout.read)
> > >> > > > > > > >>
> > >> > > > > > > >>   File "/home/xinxia/anaconda2/lib/py
> > >> thon2.7/subprocess.py",
> > >> > > line
> > >> > > > > > 121,
> > >> > > > > > > >> in _eintr_retry_call
> > >> > > > > > > >>
> > >> > > > > > > >>     return func(*args)
> > >> > > > > > > >>
> > >> > > > > > > >> KeyboardInterrupt
> > >> > > > > > > >>
> > >> > > > > > > >>
> > >> > > > > > > >> Thanks,
> > >> > > > > > > >>
> > >> > > > > > > >>
> > >> > > > > > > >> Xinxia
> > >> > > > > > > >>
> > >> > > > > > > >> ________________________________
> > >> > > > > > > >> From: Julie Prestopnik via RT
<met_help at ucar.edu>
> > >> > > > > > > >> Sent: Friday, February 24, 2017 12:02:21 PM
> > >> > > > > > > >> To: Xinxia_Song at outlook.com
> > >> > > > > > > >> Subject: Re: [rt.rap.ucar.edu #79605]
ImportError: No
> > >> module
> > >> > > > named
> > >> > > > > > > >> constants_pdef
> > >> > > > > > > >>
> > >> > > > > > > >> Hi Xinxia.  I suspect that even though you
installed
> > Python
> > >> > 2.7
> > >> > > > that
> > >> > > > > > > >> Python
> > >> > > > > > > >> 2.6.6 is still being used.
> > >> > > > > > > >>
> > >> > > > > > > >> Please try running:
> > >> > > > > > > >>
> > >> > > > > > > >> python --version
> > >> > > > > > > >>
> > >> > > > > > > >> on the command line.
> > >> > > > > > > >>
> > >> > > > > > > >> If you see "Python 2..6.6", please add the path
for
> > Python
> > >> 2.7
> > >> > > to
> > >> > > > > the
> > >> > > > > > > >> front
> > >> > > > > > > >> of your path in your ~/.bashrc file.  Then,
source your
> > >> > > ~/.bashrc
> > >> > > > > file
> > >> > > > > > > and
> > >> > > > > > > >> try rerunning
> > >> > > > > > > >>
> > >> > > > > > > >> python --version
> > >> > > > > > > >>
> > >> > > > > > > >> on the command line.  Hopefully, then you will
see the
> > new
> > >> > > > version.
> > >> > > > > > > Then,
> > >> > > > > > > >> please try rerunning master_met_plus.py.
> > >> > > > > > > >>
> > >> > > > > > > >> I hope this helps!  Thanks!
> > >> > > > > > > >>
> > >> > > > > > > >> Julie
> > >> > > > > > > >>
> > >> > > > > > > >> On Thu, Feb 23, 2017 at 1:51 PM, Xinxia Song via
RT <
> > >> > > > > > met_help at ucar.edu>
> > >> > > > > > > >> wrote:
> > >> > > > > > > >>
> > >> > > > > > > >> >
> > >> > > > > > > >> > <URL: https://rt.rap.ucar.edu/rt/Tic
> > >> > ket/Display.html?id=79605
> > >> > > >
> > >> > > > > > > >> >
> > >> > > > > > > >> > Hi Julie,
> > >> > > > > > > >> >
> > >> > > > > > > >> >
> > >> > > > > > > >> > I installed myself the 2.7 python, it still
got the
> > error
> > >> > when
> > >> > > > > > > running:
> > >> > > > > > > >> >
> > >> > > > > > > >> > Traceback (most recent call last):
> > >> > > > > > > >> >
> > >> > > > > > > >> >   File "/D2/xinxia/METplus/METplus/us
> > >> h/series_by_lead.py",
> > >> > > line
> > >> > > > > > 945,
> > >> > > > > > > in
> > >> > > > > > > >> > <module>
> > >> > > > > > > >> >
> > >> > > > > > > >> >     analysis_by_lead_time()
> > >> > > > > > > >> >
> > >> > > > > > > >> >   File "/D2/xinxia/METplus/METplus/us
> > >> h/series_by_lead.py",
> > >> > > line
> > >> > > > > > 107,
> > >> > > > > > > in
> > >> > > > > > > >> > analysis_by_lead_time
> > >> > > > > > > >> >
> > >> > > > > > > >> >     util.apply_series_filters(tile_dir,
init_times,
> > >> > > > > > > >> > series_lead_filtered_out_dir, p, logger)
> > >> > > > > > > >> >
> > >> > > > > > > >> >   File
"/D2/xinxia/METplus/METplus/ush/met_util.py",
> > >> line
> > >> > > 1005,
> > >> > > > > in
> > >> > > > > > > >> > apply_series_filters
> > >> > > > > > > >> >
> > >> > > > > > > >> >     tcs.tc_stat(p, logger, tc_cmd,
series_output_dir)
> > >> > > > > > > >> >
> > >> > > > > > > >> >   File "/D2/xinxia/METplus/METplus/
> > ush/run_tc_stat.py",
> > >> > line
> > >> > > > 69,
> > >> > > > > in
> > >> > > > > > > >> > tc_stat
> > >> > > > > > > >> >
> > >> > > > > > > >> >     tc_stat_out =
subprocess.check_output(tc_cmd,
> > >> > > > > > > >> > stderr=subprocess.STDOUT, shell=True )
> > >> > > > > > > >> >
> > >> > > > > > > >> > AttributeError: 'module' object has no
attribute
> > >> > > 'check_output'
> > >> > > > > > > >> >
> > >> > > > > > > >> >
> > >> > > > > > > >> > Thanks,
> > >> > > > > > > >> >
> > >> > > > > > > >> >
> > >> > > > > > > >> > Xinxia
> > >> > > > > > > >> >
> > >> > > > > > > >> > ________________________________
> > >> > > > > > > >> > From: Julie Prestopnik via RT
<met_help at ucar.edu>
> > >> > > > > > > >> > Sent: Friday, February 24, 2017 9:37:53 AM
> > >> > > > > > > >> > To: Xinxia_Song at outlook.com
> > >> > > > > > > >> > Subject: Re: [rt.rap.ucar.edu #79605]
ImportError:
> No
> > >> > module
> > >> > > > > named
> > >> > > > > > > >> > constants_pdef
> > >> > > > > > > >> >
> > >> > > > > > > >> > Can you please tell me which version of Python
you
> are
> > >> > using?
> > >> > > > > > > >> check_output
> > >> > > > > > > >> > for subprocess was introduced in Python 2.7.
Do
> you
> > >> have
> > >> > > > access
> > >> > > > > > to
> > >> > > > > > > >> > Python version 2.7 or higher?
> > >> > > > > > > >> >
> > >> > > > > > > >> > Thanks,
> > >> > > > > > > >> > Julie
> > >> > > > > > > >> >
> > >> > > > > > > >> > On Thu, Feb 23, 2017 at 12:11 PM, Xinxia Song
via RT
> <
> > >> > > > > > > met_help at ucar.edu
> > >> > > > > > > >> >
> > >> > > > > > > >> > wrote:
> > >> > > > > > > >> >
> > >> > > > > > > >> > >
> > >> > > > > > > >> > > <URL: https://rt.rap.ucar.edu/rt/
> > >> > > Ticket/Display.html?id=79605
> > >> > > > >
> > >> > > > > > > >> > >
> > >> > > > > > > >> > > Hi Julie,
> > >> > > > > > > >> > >
> > >> > > > > > > >> > >
> > >> > > > > > > >> > > I added it to the $PATH and ran the
> > >> master_met_python.py:
> > >> > > > > > > >> > >
> > >> > > > > > > >> > > [xinxia at chaos ush]$ python
master_met_plus.py
> > >> > > > > > > >> > >
> > >> > > > > > > >> > > Traceback (most recent call last):
> > >> > > > > > > >> > >
> > >> > > > > > > >> > >   File "/D2/xinxia/METplus/METplus/us
> > >> h/extract_tiles.py",
> > >> > > > line
> > >> > > > > > 157,
> > >> > > > > > > >> in
> > >> > > > > > > >> > > <module>
> > >> > > > > > > >> > >
> > >> > > > > > > >> > >     main()
> > >> > > > > > > >> > >
> > >> > > > > > > >> > >   File "/D2/xinxia/METplus/METplus/us
> > >> h/extract_tiles.py",
> > >> > > > line
> > >> > > > > > 100,
> > >> > > > > > > >> in
> > >> > > > > > > >> > > main
> > >> > > > > > > >> > >
> > >> > > > > > > >> > >     filtered_out_dir)
> > >> > > > > > > >> > >
> > >> > > > > > > >> > >   File "/D2/xinxia/METplus/METplus/us
> > >> h/run_tc_stat.py",
> > >> > > line
> > >> > > > > 69,
> > >> > > > > > in
> > >> > > > > > > >> > > tc_stat
> > >> > > > > > > >> > >
> > >> > > > > > > >> > >     tc_stat_out =
subprocess.check_output(tc_cmd,
> > >> > > > > > > >> > > stderr=subprocess.STDOUT, shell=True )
> > >> > > > > > > >> > >
> > >> > > > > > > >> > > AttributeError: 'module' object has no
attribute
> > >> > > > 'check_output'
> > >> > > > > > > >> > >
> > >> > > > > > > >> > >
> > >> > > > > > > >> > > Thanks,
> > >> > > > > > > >> > >
> > >> > > > > > > >> > >
> > >> > > > > > > >> > > Xinxia
> > >> > > > > > > >> > >
> > >> > > > > > > >> > > ________________________________
> > >> > > > > > > >> > > From: Julie Prestopnik via RT
<met_help at ucar.edu>
> > >> > > > > > > >> > > Sent: Friday, February 24, 2017 9:07:40 AM
> > >> > > > > > > >> > > To: Xinxia_Song at outlook.com
> > >> > > > > > > >> > > Subject: Re: [rt.rap.ucar.edu #79605]
ImportError:
> > No
> > >> > > module
> > >> > > > > > named
> > >> > > > > > > >> > > constants_pdef
> > >> > > > > > > >> > >
> > >> > > > > > > >> > > Unfortunately, your environment does not
know where
> > to
> > >> > find
> > >> > > > > > > >> > > run_tc_pairs.py.  Please try adding the
directory
> > with
> > >> > > > > > > run_tc_pairs.py
> > >> > > > > > > >> > > (/D2/xinxia/METplus/METplus/ush) to your
path in
> > your
> > >> > > > ~/.bashrc
> > >> > > > > > > file,
> > >> > > > > > > >> > then
> > >> > > > > > > >> > > run "source ~/.bashrc", then trying
rerunning.
> > Please
> > >> let
> > >> > > me
> > >> > > > > know
> > >> > > > > > > how
> > >> > > > > > > >> > that
> > >> > > > > > > >> > > goes.
> > >> > > > > > > >> > >
> > >> > > > > > > >> > > Thanks!
> > >> > > > > > > >> > >
> > >> > > > > > > >> > > Julie
> > >> > > > > > > >> > >
> > >> > > > > > > >> > > On Thu, Feb 23, 2017 at 11:55 AM, Xinxia
Song via
> RT
> > <
> > >> > > > > > > >> met_help at ucar.edu>
> > >> > > > > > > >> > > wrote:
> > >> > > > > > > >> > >
> > >> > > > > > > >> > > >
> > >> > > > > > > >> > > > <URL: https://rt.rap.ucar.edu/rt/
> > >> > > > Ticket/Display.html?id=79605
> > >> > > > > >
> > >> > > > > > > >> > > >
> > >> > > > > > > >> > > > Hi Julie,
> > >> > > > > > > >> > > >
> > >> > > > > > > >> > > >
> > >> > > > > > > >> > > > I'm running met in a machine that's owned
by our
> > >> > > > department, I
> > >> > > > > > > don't
> > >> > > > > > > >> > have
> > >> > > > > > > >> > > > sudo right, so when I type which
run_tc_pairs.py,
> > it
> > >> > says
> > >> > > > > > couldn't
> > >> > > > > > > >> find
> > >> > > > > > > >> > > it.
> > >> > > > > > > >> > > >
> > >> > > > > > > >> > > > no run_tc_pairs.py in
> > (/opt/ncl/bin:/opt/intel-soft/
> > >> > > > > > > >> > > > bin:/opt/ncl/bin:/opt/ncl/bin:
> > >> > > /opt/intel-soft/bin:/opt/ncl/
> > >> > > > > > > >> > > > bin:/home/xinxia/anaconda/bin:
> > >> > /home/xinxia/anaconda/bin:/
> > >> > > > > > > >> > > > opt/ncl/bin:/opt/intel-soft/bi
> > >> > n:/opt/ncl/bin:/usr/lib64/
> > >> > > > > > > >> > > > qt-3.3/bin:/usr/local/bin:/bin
> > >> > :/usr/bin:/usr/local/sbin:/
> > >> > > > > > > >> > > >
usr/sbin:/sbin:/sbin:/usr/sbin:/cm/local/apps/
> > >> > > > > > > >> > > environment-modules/3.2.10/
> > >> > > > > > > >> > > > bin:/home/xinxia/bin:/opt/ncl-621/bin)
> > >> > > > > > > >> > > >
> > >> > > > > > > >> > > >
> > >> > > > > > > >> > > > But I could find it manually in that
directory.
> > >> > > > > > > >> > > >
> > >> > > > > > > >> > > >
> > >> > > > > > > >> > > > Thanks,
> > >> > > > > > > >> > > >
> > >> > > > > > > >> > > >
> > >> > > > > > > >> > > > Xinxia
> > >> > > > > > > >> > > >
> > >> > > > > > > >> > > > ________________________________
> > >> > > > > > > >> > > > From: Julie Prestopnik via RT
<met_help at ucar.edu
> >
> > >> > > > > > > >> > > > Sent: Friday, February 24, 2017 8:52:16 AM
> > >> > > > > > > >> > > > To: Xinxia_Song at outlook.com
> > >> > > > > > > >> > > > Subject: Re: [rt.rap.ucar.edu #79605]
> ImportError:
> > >> No
> > >> > > > module
> > >> > > > > > > named
> > >> > > > > > > >> > > > constants_pdef
> > >> > > > > > > >> > > >
> > >> > > > > > > >> > > > Hi Xinxia.
> > >> > > > > > > >> > > >
> > >> > > > > > > >> > > > It looks like you got a successful run of
> tc_stat -
> > >> > that's
> > >> > > > > great
> > >> > > > > > > >> news!
> > >> > > > > > > >> > > >
> > >> > > > > > > >> > > > I'm not sure what you mean by "Because I
don't
> have
> > >> the
> > >> > > > > right, I
> > >> > > > > > > >> can't
> > >> > > > > > > >> > > find
> > >> > > > > > > >> > > > run_tc_pairs.py, but I know it's under
> > >> > > > > > > >> > > >
> > >> > > > > > > >> > > > /D2/xinxia/METplus/METplus/ush".
> > >> > > > > > > >> > > >
> > >> > > > > > > >> > > > Can you please explain?  What happened
when you
> ran
> > >> > "which
> > >> > > > > > > >> > > > run_tc_pairs.py"?
> > >> > > > > > > >> > > >
> > >> > > > > > > >> > > > Thanks,
> > >> > > > > > > >> > > > Julie
> > >> > > > > > > >> > > >
> > >> > > > > > > >> > > >
> > >> > > > > > > >> > > >
> > >> > > > > > > >> > > >
> > >> > > > > > > >> > > >
> > >> > > > > > > >> > > >
> > >> > > > > > > >> > > > On Thu, Feb 23, 2017 at 11:44 AM, Xinxia
Song via
> > RT
> > >> <
> > >> > > > > > > >> > met_help at ucar.edu>
> > >> > > > > > > >> > > > wrote:
> > >> > > > > > > >> > > >
> > >> > > > > > > >> > > > >
> > >> > > > > > > >> > > > > <URL: https://rt.rap.ucar.edu/rt/
> > >> > > > > Ticket/Display.html?id=79605
> > >> > > > > > >
> > >> > > > > > > >> > > > >
> > >> > > > > > > >> > > > > Hi Julie,
> > >> > > > > > > >> > > > >
> > >> > > > > > > >> > > > >
> > >> > > > > > > >> > > > > I removed the space.
> > >> > > > > > > >> > > > >
> > >> > > > > > > >> > > > > [xinxia at chaos parm]$
> > >> /D2/xinxia/METplus/MET/met-5.2
> > >> > > > > > /bin/tc_stat
> > >> > > > > > > >> -job
> > >> > > > > > > >> > > > > filter -lookin
/D2/xinxia/METplus/MET/input/
> > >> > > > tc_pairs/201412
> > >> > > > > > > >> > -init_inc
> > >> > > > > > > >> > > > > 20141201_00 -match_points true -dump_row
> > >> > > > > > > >> /D2/xinxia/METplus/MET/out/
> > >> > > > > > > >> > > > > extract_tiles/20141201_00/
> > filter_20141201_00.tcst
> > >> > > -basin
> > >> > > > > ML
> > >> > > > > > > >> > > > > -out_init_mask
/D2/xinxia/METplus/MET/met-5.
> > >> > > > > > > >> > > 2/share/met/poly/CONUS.poly
> > >> > > > > > > >> > > > >
> > >> > > > > > > >> > > > > DEBUG 1: [Source 1] Lookin:
> > >> > > /D2/xinxia/METplus/MET/input/
> > >> > > > > > > >> > > tc_pairs/201412
> > >> > > > > > > >> > > > >
> > >> > > > > > > >> > > > > DEBUG 2:
> > >> > > > > > > >> > > > >
> > >> > > > > > > >> > > > > DEBUG 2: Processing Job 1: -job filter
-basin
> ML
> > >> > > -init_inc
> > >> > > > > > > >> > > > 20141201_000000
> > >> > > > > > > >> > > > > -match_points true -out_init_mask
> > >> > > > > > /D2/xinxia/METplus/MET/met-5.
> > >> > > > > > > >> > > > 2/share/met/poly/CONUS.poly
> > >> > > > > > > >> > > > > -dump_row /D2/xinxia/METplus/MET/out/ext
> > >> > > > > > ract_tiles/20141201_00/
> > >> > > > > > > >> > > > > filter_20141201_00.tcst
> > >> > > > > > > >> > > > >
> > >> > > > > > > >> > > > > DEBUG 1: Creating output dump file:
> > >> > > > > > /D2/xinxia/METplus/MET/out/
> > >> > > > > > > >> > > > > extract_tiles/20141201_00/
> > filter_20141201_00.tcst
> > >> > > > > > > >> > > > >
> > >> > > > > > > >> > > > > FILTER: -job filter -basin ML -init_inc
> > >> > 20141201_000000
> > >> > > > > > > >> -match_points
> > >> > > > > > > >> > > > true
> > >> > > > > > > >> > > > > -out_init_mask
/D2/xinxia/METplus/MET/met-5.
> > >> > > > > > > >> > > 2/share/met/poly/CONUS.poly
> > >> > > > > > > >> > > > > -dump_row /D2/xinxia/METplus/MET/out/ext
> > >> > > > > > ract_tiles/20141201_00/
> > >> > > > > > > >> > > > > filter_20141201_00.tcst
> > >> > > > > > > >> > > > >
> > >> > > > > > > >> > > > >
> > >> > > > > > > >> > > > > DEBUG 2: Job 1 used 0 out of 27292 lines
read.
> > >> > > > > > > >> > > > >
> > >> > > > > > > >> > > > >
> > >> > > > > > > >> > > > > Because I don't have the right, I can't
find
> > >> > > > > run_tc_pairs.py,
> > >> > > > > > > but
> > >> > > > > > > >> I
> > >> > > > > > > >> > > know
> > >> > > > > > > >> > > > > it's under
> > >> > > > > > > >> > > > >
> > >> > > > > > > >> > > > > /D2/xinxia/METplus/METplus/ush
> > >> > > > > > > >> > > > >
> > >> > > > > > > >> > > > >
> > >> > > > > > > >> > > > > For Python,
> > >> > > > > > > >> > > > >
> > >> > > > > > > >> > > > > [xinxia at chaos ~]$ which python
> > >> > > > > > > >> > > > >
> > >> > > > > > > >> > > > > /usr/bin/python
> > >> > > > > > > >> > > > >
> > >> > > > > > > >> > > > >
> > >> > > > > > > >> > > > > Xinxia
> > >> > > > > > > >> > > > >
> > >> > > > > > > >> > > > > ________________________________
> > >> > > > > > > >> > > > > From: Julie Prestopnik via RT <
> met_help at ucar.edu
> > >
> > >> > > > > > > >> > > > > Sent: Friday, February 24, 2017 8:30:01
AM
> > >> > > > > > > >> > > > > To: Xinxia_Song at outlook.com
> > >> > > > > > > >> > > > > Subject: Re: [rt.rap.ucar.edu #79605]
> > >> ImportError: No
> > >> > > > > module
> > >> > > > > > > >> named
> > >> > > > > > > >> > > > > constants_pdef
> > >> > > > > > > >> > > > >
> > >> > > > > > > >> > > > > Hi Xinxia.
> > >> > > > > > > >> > > > >
> > >> > > > > > > >> > > > > It looks like there is a space where
there
> should
> > >> not
> > >> > > be a
> > >> > > > > > space
> > >> > > > > > > >> > > (between
> > >> > > > > > > >> > > > > /D2/xinxia/METplus/MET/out/ext
> > >> ract_tiles/20141201_00/
> > >> > > and
> > >> > > > > > > >> > > > > filter_20141201_00.tcst after the
-dump_row
> > >> option).
> > >> > > > > > > >> > > > >
> > >> > > > > > > >> > > > > Could you please try it again without
the
> space?
> > >> > > > > > > >> > > > >
> > >> > > > > > > >> > > > > /D2/xinxia/METplus/METplus/ush
> > >> /run_tc_stat.py:tc_stat
> > >> > > > from
> > >> > > > > > > >> calling
> > >> > > > > > > >> > MET
> > >> > > > > > > >> > > > > TC-STAT with
command:/D2/xinxia/METplus/MET
> > >> > > > > > /met-5.2/bin/tc_stat
> > >> > > > > > > >> -job
> > >> > > > > > > >> > > > > filter
> > >> > > > > > > >> > > > > -lookin /D2/xinxia/METplus/MET/input/t
> > >> c_pairs/201412
> > >> > > > > > -init_inc
> > >> > > > > > > >> > > > 20141201_00
> > >> > > > > > > >> > > > > -match_points true -dump_row
> > >> > /D2/xinxia/METplus/MET/out/
> > >> > > > > > > >> > > > > extract_tiles/20141201_00/
> > filter_20141201_00.tcst
> > >> > > -basin
> > >> > > > > ML
> > >> > > > > > > >> > > > > -out_init_mask
> > >> > > > > > > >> > > > > /D2/xinxia/METplus/MET/met-5.
> > >> > > 2/share/met/poly/CONUS.poly
> > >> > > > > > > >> > > > >
> > >> > > > > > > >> > > > > Regarding the master_met_plus.py run,
please
> try
> > >> > running
> > >> > > > the
> > >> > > > > > > >> > following
> > >> > > > > > > >> > > > two
> > >> > > > > > > >> > > > > commands and send me the output:
> > >> > > > > > > >> > > > >
> > >> > > > > > > >> > > > > which run_tc_pairs.py
> > >> > > > > > > >> > > > >
> > >> > > > > > > >> > > > > which python
> > >> > > > > > > >> > > > >
> > >> > > > > > > >> > > > > Thanks!
> > >> > > > > > > >> > > > >
> > >> > > > > > > >> > > > > Julie
> > >> > > > > > > >> > > > >
> > >> > > > > > > >> > > > > On Thu, Feb 23, 2017 at 11:06 AM, Xinxia
Song
> via
> > >> RT <
> > >> > > > > > > >> > > met_help at ucar.edu>
> > >> > > > > > > >> > > > > wrote:
> > >> > > > > > > >> > > > >
> > >> > > > > > > >> > > > > >
> > >> > > > > > > >> > > > > > <URL: https://rt.rap.ucar.edu/rt/Tic
> > >> > > > > > ket/Display.html?id=79605
> > >> > > > > > > >
> > >> > > > > > > >> > > > > >
> > >> > > > > > > >> > > > > > Hi Julie,
> > >> > > > > > > >> > > > > >
> > >> > > > > > > >> > > > > >
> > >> > > > > > > >> > > > > > After I ran the long one line command:
> > >> > > > > > > >> > > > > >
> > >> > > > > > > >> > > > > > [xinxia at chaos parm]$
> > >> /D2/xinxia/METplus/MET/met-5.
> > >> > > > > > > 2/bin/tc_stat
> > >> > > > > > > >> > -job
> > >> > > > > > > >> > > > > > filter -lookin
/D2/xinxia/METplus/MET/input/
> > >> > > > > tc_pairs/201412
> > >> > > > > > > >> > > -init_inc
> > >> > > > > > > >> > > > > > 20141201_00 -match_points true
-dump_row
> > >> > > > > > > >> > /D2/xinxia/METplus/MET/out/
> > >> > > > > > > >> > > > > extract_tiles/20141201_00/
> > >> > > > > > > >> > > > > > filter_20141201_00.tcst  -basin ML
> > -out_init_mask
> > >> > > > > > > >> > > > > > /D2/xinxia/METplus/MET/met-5.
> > >> > > > 2/share/met/poly/CONUS.poly
> > >> > > > > > > >> > > > > >
> > >> > > > > > > >> > > > > >
> > >> > > > > > > >> > > > > > DEBUG 1: [Source 1] Lookin:
> > >> > > > /D2/xinxia/METplus/MET/input/
> > >> > > > > > > >> > > > tc_pairs/201412
> > >> > > > > > > >> > > > > >
> > >> > > > > > > >> > > > > > ERROR  :
> > >> > > > > > > >> > > > > >
> > >> > > > > > > >> > > > > > ERROR  : TCStatJob
*TCStatJobFactory::new_tc_
> > >> > > > > stat_job(const
> > >> > > > > > > >> char
> > >> > > > > > > >> > > > > > *jobstring) -> unsupported job command
> options
> > >> > > > > > > >> > > > "filter_20141201_00.tcst".
> > >> > > > > > > >> > > > > >
> > >> > > > > > > >> > > > > > ERROR  :
> > >> > > > > > > >> > > > > >
> > >> > > > > > > >> > > > > >
> > >> > > > > > > >> > > > > > And for the master_met_plus.py, I got
the
> > error:
> > >> > > > > > > >> > > > > >
> > >> > > > > > > >> > > > > > [xinxia at chaos ush]$ python
> master_met_plus.py
> > >> > > > > > > >> > > > > >
> > >> > > > > > > >> > > > > > sh: run_tc_pairs.py: command not found
> > >> > > > > > > >> > > > > >
> > >> > > > > > > >> > > > > >
> > >> > > > > > > >> > > > > > Thanks,
> > >> > > > > > > >> > > > > >
> > >> > > > > > > >> > > > > >
> > >> > > > > > > >> > > > > > Xinxia
> > >> > > > > > > >> > > > > >
> > >> > > > > > > >> > > > > > ________________________________
> > >> > > > > > > >> > > > > > From: Julie Prestopnik via RT <
> > met_help at ucar.edu
> > >> >
> > >> > > > > > > >> > > > > > Sent: Friday, February 24, 2017
7:42:21 AM
> > >> > > > > > > >> > > > > > To: Xinxia_Song at outlook.com
> > >> > > > > > > >> > > > > > Subject: Re: [rt.rap.ucar.edu #79605]
> > >> ImportError:
> > >> > No
> > >> > > > > > module
> > >> > > > > > > >> named
> > >> > > > > > > >> > > > > > constants_pdef
> > >> > > > > > > >> > > > > >
> > >> > > > > > > >> > > > > > My apologies, my response should have
said,
> "By
> > >> > > default,
> > >> > > > > MET
> > >> > > > > > > >> > version
> > >> > > > > > > >> > > > 5.2
> > >> > > > > > > >> > > > > is
> > >> > > > > > > >> > > > > > compiled using dynamic linking."  It's
true
> for
> > >> > both,
> > >> > > > but
> > >> > > > > I
> > >> > > > > > > see
> > >> > > > > > > >> > > you're
> > >> > > > > > > >> > > > > > using 5.2 and I inadvertently referred
to
> 5.1.
> > >> > > > > > > >> > > > > >
> > >> > > > > > > >> > > > > > On Thu, Feb 23, 2017 at 10:40 AM,
Julie
> > >> Prestopnik <
> > >> > > > > > > >> > jpresto at ucar.edu
> > >> > > > > > > >> > > >
> > >> > > > > > > >> > > > > > wrote:
> > >> > > > > > > >> > > > > >
> > >> > > > > > > >> > > > > > > Hi Xinxia.  Regarding the error:
> > >> > > > > > > >> > > > > > >
> > >> > > > > > > >> > > > > > > /D2/xinxia/METplus/MET/met-5.
> 2/bin/tc_stat:
> > >> error
> > >> > > > while
> > >> > > > > > > >> loading
> > >> > > > > > > >> > > > shared
> > >> > > > > > > >> > > > > > > libraries: libgsl.so.19: cannot open
shared
> > >> object
> > >> > > > file:
> > >> > > > > > No
> > >> > > > > > > >> such
> > >> > > > > > > >> > > file
> > >> > > > > > > >> > > > > or
> > >> > > > > > > >> > > > > > > directory
> > >> > > > > > > >> > > > > > >
> > >> > > > > > > >> > > > > > > By default, MET version 5.1 is
compiled
> using
> > >> > > dynamic
> > >> > > > > > > linking.
> > >> > > > > > > >> > > > Rather
> > >> > > > > > > >> > > > > > > than compiling the external library
code in
> > >> with
> > >> > the
> > >> > > > MET
> > >> > > > > > > >> > > executables
> > >> > > > > > > >> > > > > > (which
> > >> > > > > > > >> > > > > > > is
> > >> > > > > > > >> > > > > > > called static linking), it looks for
them
> at
> > >> > > runtime.
> > >> > > > > And
> > >> > > > > > > >> it's
> > >> > > > > > > >> > > > looking
> > >> > > > > > > >> > > > > > > for those "shared object" (.so)
library
> > files.
> > >> > > > > > > >> > > > > > >
> > >> > > > > > > >> > > > > > > This should be easy to fix. We just
need to
> > >> tell
> > >> > it
> > >> > > > > where
> > >> > > > > > to
> > >> > > > > > > >> find
> > >> > > > > > > >> > > > them,
> > >> > > > > > > >> > > > > > > and we do that by setting (or adding
to the
> > >> > > > > > > LD_LIBRARY_PATH).
> > >> > > > > > > >> > Look
> > >> > > > > > > >> > > > in
> > >> > > > > > > >> > > > > > your
> > >> > > > > > > >> > > > > > > ~/.bashrc file.  If LD_LIBRARY_PATH
is
> > already
> > >> > > defined
> > >> > > > > in
> > >> > > > > > > >> there,
> > >> > > > > > > >> > > add
> > >> > > > > > > >> > > > > the
> > >> > > > > > > >> > > > > > > path to the libgsl.so.19 to the end
of it.
> > If
> > >> > not,
> > >> > > > add
> > >> > > > > an
> > >> > > > > > > >> > > > > > > LD_LIBRARY_PATH entry in your
~/.bashrc
> file.
> > >> So,
> > >> > > for
> > >> > > > > > > >> example,
> > >> > > > > > > >> > if
> > >> > > > > > > >> > > > the
> > >> > > > > > > >> > > > > > path
> > >> > > > > > > >> > > > > > > to your libgsl.so.19 file is
> > >> > > > > > /D2/xinxia/METplus/MET/externa
> > >> > > > > > > >> > > > > > l_libs/GSL/gsl-1.16/lib
> > >> > > > > > > >> > > > > > > you would add teh following to your
> ~/.bashrc
> > >> > file:
> > >> > > > > > > >> > > > > > >
> > >> > > > > > > >> > > > > > >   export LD_LIBRARY_PATH=/D2/xinxia/
> > >> > > > > > > >> > METplus/MET/external_libs/GSL/
> > >> > > > > > > >> > > > > > > gsl-1.16/lib
> > >> > > > > > > >> > > > > > >
> > >> > > > > > > >> > > > > > > Then save the change and source that
file:
> > >> > > > > > > >> > > > > > >
> > >> > > > > > > >> > > > > > >   source ~/.bashrc
> > >> > > > > > > >> > > > > > >
> > >> > > > > > > >> > > > > > > Then, please try rerunning the
command
> > manually
> > >> > and
> > >> > > > let
> > >> > > > > me
> > >> > > > > > > >> know
> > >> > > > > > > >> > if
> > >> > > > > > > >> > > it
> > >> > > > > > > >> > > > > > > works.
> > >> > > > > > > >> > > > > > >
> > >> > > > > > > >> > > > > > > I believe that this was the cause of
the
> > >> initial
> > >> > > error
> > >> > > > > you
> > >> > > > > > > >> > received
> > >> > > > > > > >> > > > > from
> > >> > > > > > > >> > > > > > > MET+:
> > >> > > > > > > >> > > > > > >
> > >> > > > > > > >> > > > > > > ERROR| /D2/xinxia/METplus/METplus/
> > >> > > > > > > ush/run_tc_stat.py:tc_stat
> > >> > > > > > > >> > from
> > >> > > > > > > >> > > > > > calling
> > >> > > > > > > >> > > > > > > MET TC-STAT with
> command:/D2/xinxia/METplus/
> > >> > > > > > > >> > > MET/met-5.2/bin/tc_stat
> > >> > > > > > > >> > > > > -job
> > >> > > > > > > >> > > > > > > filter -lookin
> /D2/xinxia/METplus/MET/input/t
> > >> > > > > > c_pairs/201412
> > >> > > > > > > >> > > > -init_inc
> > >> > > > > > > >> > > > > > > 20141201_00 -match_points true
-dump_row
> > >> > > > > > > >> > > > /D2/xinxia/METplus/MET/out/ext
> > >> > > > > > > >> > > > > > > ract_tiles/20141201_00/filter_
> > 20141201_00.tcst
> > >> > > > -basin
> > >> > > > > ML
> > >> > > > > > > >> > > > > -out_init_mask
> > >> > > > > > > >> > > > > > > /D2/xinxia/METplus/MET/met-5.
> > >> > > > > 2/share/met/poly/CONUS.poly
> > >> > > > > > > >> > > > > > >
> > >> > > > > > > >> > > > > > >
> > >> > > > > > > >> > > > > > > Thanks,
> > >> > > > > > > >> > > > > > > Julie
> > >> > > > > > > >> > > > > > >
> > >> > > > > > > >> > > > > > > On Thu, Feb 23, 2017 at 10:14 AM,
Xinxia
> Song
> > >> via
> > >> > > RT <
> > >> > > > > > > >> > > > > met_help at ucar.edu>
> > >> > > > > > > >> > > > > > > wrote:
> > >> > > > > > > >> > > > > > >
> > >> > > > > > > >> > > > > > >>
> > >> > > > > > > >> > > > > > >> <URL:
https://rt.rap.ucar.edu/rt/Tic
> > >> > > > > > > >> ket/Display.html?id=79605 >
> > >> > > > > > > >> > > > > > >>
> > >> > > > > > > >> > > > > > >> Hi Julie,
> > >> > > > > > > >> > > > > > >>
> > >> > > > > > > >> > > > > > >>
> > >> > > > > > > >> > > > > > >> [xinxia at chaos ush]$
> > >> > /D2/xinxia/METplus/MET/met-5.2
> > >> > > > > > > >> /bin/tc_stat
> > >> > > > > > > >> > > -job
> > >> > > > > > > >> > > > > > >> filter -lookin
> /D2/xinxia/METplus/MET/input/
> > >> > > > > > > tc_pairs/201412
> > >> > > > > > > >> > > > -init_inc
> > >> > > > > > > >> > > > > > >> 20141201_00 -match_points true
-dump_row
> > >> > > > > > > >> > > > > /D2/xinxia/METplus/MET/out/ext
> > >> > > > > > > >> > > > > > ract_tiles/20141201_00/
> > >> > > > > > > >> > > > > > >> filter_20141201_00.tcst  -basin ML
> > >> -out_init_mask
> > >> > > > > > > >> > > > > > >> /D2/xinxia/METplus/MET/met-5.
> > >> > > > > 2/share/met/poly/CONUS.poly
> > >> > > > > > > >> > > > > > >>
> > >> > > > > > > >> > > > > > >> /D2/xinxia/METplus/MET/met-5.
> 2/bin/tc_stat:
> > >> > error
> > >> > > > > while
> > >> > > > > > > >> loading
> > >> > > > > > > >> > > > > shared
> > >> > > > > > > >> > > > > > >> libraries: libgsl.so.19: cannot
open
> shared
> > >> > object
> > >> > > > > file:
> > >> > > > > > No
> > >> > > > > > > >> such
> > >> > > > > > > >> > > > file
> > >> > > > > > > >> > > > > or
> > >> > > > > > > >> > > > > > >> directory
> > >> > > > > > > >> > > > > > >>
> > >> > > > > > > >> > > > > > >>
> > >> > > > > > > >> > > > > > >> And I uploaded the configuration
file
> > >> > > > > (constants_pdef.py)
> > >> > > > > > > >> under
> > >> > > > > > > >> > > > > > >> xinxia_data directory.
> > >> > > > > > > >> > > > > > >>
> > >> > > > > > > >> > > > > > >>
> > >> > > > > > > >> > > > > > >> Thanks,
> > >> > > > > > > >> > > > > > >>
> > >> > > > > > > >> > > > > > >>
> > >> > > > > > > >> > > > > > >> Xinxia
> > >> > > > > > > >> > > > > > >>
> > >> > > > > > > >> > > > > > >> ________________________________
> > >> > > > > > > >> > > > > > >> From: Julie Prestopnik via RT <
> > >> met_help at ucar.edu
> > >> > >
> > >> > > > > > > >> > > > > > >> Sent: Friday, February 24, 2017
6:15:57 AM
> > >> > > > > > > >> > > > > > >> To: Xinxia_Song at outlook.com
> > >> > > > > > > >> > > > > > >> Subject: Re: [rt.rap.ucar.edu
#79605]
> > >> > ImportError:
> > >> > > > No
> > >> > > > > > > module
> > >> > > > > > > >> > > named
> > >> > > > > > > >> > > > > > >> constants_pdef
> > >> > > > > > > >> > > > > > >>
> > >> > > > > > > >> > > > > > >> Hi Xinxia.
> > >> > > > > > > >> > > > > > >>
> > >> > > > > > > >> > > > > > >> I can see that your command, which
should
> > have
> > >> > been
> > >> > > > all
> > >> > > > > > on
> > >> > > > > > > >> one
> > >> > > > > > > >> > > line,
> > >> > > > > > > >> > > > > was
> > >> > > > > > > >> > > > > > >> broken up into several lines.
Please try
> > >> running
> > >> > > the
> > >> > > > > > > command
> > >> > > > > > > >> > > again,
> > >> > > > > > > >> > > > > > >> making
> > >> > > > > > > >> > > > > > >> sure that the entire command is on
one
> line:
> > >> > > > > > > >> > > > > > >>
> > >> > > > > > > >> > > > > > >> /D2/xinxia/METplus/MET/met-5.
> 2/bin/tc_stat
> > >> -job
> > >> > > > filter
> > >> > > > > > > >> -lookin
> > >> > > > > > > >> > > > > > >> /D2/xinxia/METplus/MET/input/
> > tc_pairs/201412
> > >> > > > -init_inc
> > >> > > > > > > >> > > 20141201_00
> > >> > > > > > > >> > > > > > >> -match_points true -dump_row
> > >> > > > > > > >> > > > > > >> /D2/xinxia/METplus/MET/out/
> > >> > > > extract_tiles/20141201_00/
> > >> > > > > > > >> > > > > > >> filter_20141201_00.tcst  -basin ML
> > >> -out_init_mask
> > >> > > > > > > >> > > > > > >> /D2/xinxia/METplus/MET/met-5.
> > >> > > > > 2/share/met/poly/CONUS.poly
> > >> > > > > > > >> > > > > > >>
> > >> > > > > > > >> > > > > > >> Then, please send the output from
that
> > >> command.
> > >> > > > > > > >> > > > > > >>
> > >> > > > > > > >> > > > > > >> Regarding, your error:
> > >> > > > > > > >> > > > > > >>
> > >> > > > > > > >> > > > > > >> sh: run_tc_pairs.py: command not
found
> > >> > > > > > > >> > > > > > >>
> > >> > > > > > > >> > > > > > >> It's strange that would only have
occurred
> > >> after
> > >> > > > having
> > >> > > > > > > >> changed
> > >> > > > > > > >> > > the
> > >> > > > > > > >> > > > > > >> LOG_LEVEL.  Could you please send
us your
> > >> > > > configuration
> > >> > > > > > > file?
> > >> > > > > > > >> > > > > > >>
> > >> > > > > > > >> > > > > > >> Thanks!
> > >> > > > > > > >> > > > > > >>
> > >> > > > > > > >> > > > > > >> Julie
> > >> > > > > > > >> > > > > > >>
> > >> > > > > > > >> > > > > > >> On Wed, Feb 22, 2017 at 2:54 PM,
Xinxia
> Song
> > >> via
> > >> > > RT <
> > >> > > > > > > >> > > > > met_help at ucar.edu>
> > >> > > > > > > >> > > > > > >> wrote:
> > >> > > > > > > >> > > > > > >>
> > >> > > > > > > >> > > > > > >> >
> > >> > > > > > > >> > > > > > >> > <URL:
https://rt.rap.ucar.edu/rt/Tic
> > >> > > > > > > >> ket/Display.html?id=79605
> > >> > > > > > > >> > >
> > >> > > > > > > >> > > > > > >> >
> > >> > > > > > > >> > > > > > >> > Hi Julie,
> > >> > > > > > > >> > > > > > >> >
> > >> > > > > > > >> > > > > > >> >
> > >> > > > > > > >> > > > > > >> > [xinxia at chaos ush]$
> > >> > > /D2/xinxia/METplus/MET/met-5.
> > >> > > > > > > >> > 2/bin/tc_stat
> > >> > > > > > > >> > > > -job
> > >> > > > > > > >> > > > > > >> > filter -lookin
> > >> > > > > > > >> > > > > > >> >
> > >> > > > > > > >> > > > > > >> > /D2/xinxia/METplus/MET/met-5.
> > 2/bin/tc_stat:
> > >> > > error
> > >> > > > > > while
> > >> > > > > > > >> > loading
> > >> > > > > > > >> > > > > > shared
> > >> > > > > > > >> > > > > > >> > libraries: libgsl.so.19: cannot
open
> > shared
> > >> > > object
> > >> > > > > > file:
> > >> > > > > > > No
> > >> > > > > > > >> > such
> > >> > > > > > > >> > > > > file
> > >> > > > > > > >> > > > > > or
> > >> > > > > > > >> > > > > > >> > directory
> > >> > > > > > > >> > > > > > >> >
> > >> > > > > > > >> > > > > > >> >
> > >> > > > > > > >> > > > > > >> > [xinxia at chaos ush]$
> > >> > > /D2/xinxia/METplus/MET/input/
> > >> > > > > > > >> > > tc_pairs/201412
> > >> > > > > > > >> > > > > > >> > -init_inc 20141201_00
-match_points true
> > >> > > -dump_row
> > >> > > > > > > >> > > > > > >> >
> > >> > > > > > > >> > > > > > >> > -bash:
/D2/xinxia/METplus/MET/input/
> > >> > > > tc_pairs/201412:
> > >> > > > > > is
> > >> > > > > > > a
> > >> > > > > > > >> > > > directory
> > >> > > > > > > >> > > > > > >> >
> > >> > > > > > > >> > > > > > >> >
> > >> > > > > > > >> > > > > > >> > [xinxia at chaos ush]$
> > >> > > /D2/xinxia/METplus/MET/out/ext
> > >> > > > > > > >> > > > > > >> ract_tiles/20141201_00/
> > >> > > > > > > >> > > > > > >> > filter_20141201_00.tcst  -basin
ML
> > >> > -out_init_mask
> > >> > > > > > > >> > > > > > >> > /D2/xinxia/METplus/MET/met-5.2
> > >> > > > > > /share/met/poly/CONUS.poly
> > >> > > > > > > >> > > > > > >> >
> > >> > > > > > > >> > > > > > >> > -bash:
/D2/xinxia/METplus/MET/out/ext
> > >> > > > > > > >> ract_tiles/20141201_00/:
> > >> > > > > > > >> > > No
> > >> > > > > > > >> > > > > such
> > >> > > > > > > >> > > > > > >> > file or directory
> > >> > > > > > > >> > > > > > >> >
> > >> > > > > > > >> > > > > > >> >
> > >> > > > > > > >> > > > > > >> > After I change the LOG_LEVEL, I
ran the
> > >> > > > > > > >> master_met_plus.py, it
> > >> > > > > > > >> > > > says:
> > >> > > > > > > >> > > > > > >> >
> > >> > > > > > > >> > > > > > >> > [xinxia at chaos ush]$ python
> > >> master_met_plus.py
> > >> > > > > > > >> > > > > > >> >
> > >> > > > > > > >> > > > > > >> > sh: run_tc_pairs.py: command not
found
> > >> > > > > > > >> > > > > > >> >
> > >> > > > > > > >> > > > > > >> >
> > >> > > > > > > >> > > > > > >> >
> > >> > > > > > > >> > > > > > >> > Thanks,
> > >> > > > > > > >> > > > > > >> >
> > >> > > > > > > >> > > > > > >> >
> > >> > > > > > > >> > > > > > >> > Xinxia
> > >> > > > > > > >> > > > > > >> >
> > >> > > > > > > >> > > > > > >> >
> > >> > > > > > > >> > > > > > >> > ________________________________
> > >> > > > > > > >> > > > > > >> > From: Julie Prestopnik via RT <
> > >> > met_help at ucar.edu
> > >> > > >
> > >> > > > > > > >> > > > > > >> > Sent: Thursday, February 23, 2017
> 10:04:55
> > >> AM
> > >> > > > > > > >> > > > > > >> > To: Xinxia_Song at outlook.com
> > >> > > > > > > >> > > > > > >> > Subject: Re: [rt.rap.ucar.edu
#79605]
> > >> > > ImportError:
> > >> > > > > No
> > >> > > > > > > >> module
> > >> > > > > > > >> > > > named
> > >> > > > > > > >> > > > > > >> > constants_pdef
> > >> > > > > > > >> > > > > > >> >
> > >> > > > > > > >> > > > > > >> > Thank you.  Unfortunately, the
level of
> > >> detail
> > >> > in
> > >> > > > the
> > >> > > > > > log
> > >> > > > > > > >> file
> > >> > > > > > > >> > > > > wasn't
> > >> > > > > > > >> > > > > > >> what
> > >> > > > > > > >> > > > > > >> > I hoped for.  I'd like to have
you try
> two
> > >> > > things.
> > >> > > > > > > >> > > > > > >> >
> > >> > > > > > > >> > > > > > >> > First, could you please send me
your
> > output
> > >> of
> > >> > > your
> > >> > > > > > > manual
> > >> > > > > > > >> run
> > >> > > > > > > >> > > of
> > >> > > > > > > >> > > > > the
> > >> > > > > > > >> > > > > > >> > following?
> > >> > > > > > > >> > > > > > >> >
> > >> > > > > > > >> > > > > > >> > "/D2/xinxia/METplus/MET/met-5.
> > 2/bin/tc_stat
> > >> > -job
> > >> > > > > > filter
> > >> > > > > > > >> > -lookin
> > >> > > > > > > >> > > > > > >> > /D2/xinxia/METplus/MET/input/t
> > >> c_pairs/201412
> > >> > > > > -init_inc
> > >> > > > > > > >> > > > 20141201_00
> > >> > > > > > > >> > > > > > >> > -match_points true -dump_row
> > >> > > > > > /D2/xinxia/METplus/MET/out/
> > >> > > > > > > >> > > > > > >> > extract_tiles/20141201_00/
> > >> > > filter_20141201_00.tcst
> > >> > > > > > > -basin
> > >> > > > > > > >> ML
> > >> > > > > > > >> > > > > > >> > -out_init_mask
> > >> > > > > > > >> > > > > > >> > /D2/xinxia/METplus/MET/met-5.
> > >> > > > > > > 2/share/met/poly/CONUS.poly"
> > >> > > > > > > >> > > > > > >> >
> > >> > > > > > > >> > > > > > >> > Second, could you please change
your log
> > >> level
> > >> > in
> > >> > > > > your
> > >> > > > > > > >> > > > configuration
> > >> > > > > > > >> > > > > > >> file
> > >> > > > > > > >> > > > > > >> > from
> > >> > > > > > > >> > > > > > >> >
> > >> > > > > > > >> > > > > > >> > LOG_LEVEL = "INFO"
> > >> > > > > > > >> > > > > > >> >
> > >> > > > > > > >> > > > > > >> > to
> > >> > > > > > > >> > > > > > >> >
> > >> > > > > > > >> > > > > > >> > LOG_LEVEL = "DEBUG"
> > >> > > > > > > >> > > > > > >> >
> > >> > > > > > > >> > > > > > >> > then rerun and upload your log
file to
> our
> > >> ftp
> > >> > > > server
> > >> > > > > > > >> again?
> > >> > > > > > > >> > > > > > >> >
> > >> > > > > > > >> > > > > > >> > Thank you!
> > >> > > > > > > >> > > > > > >> >
> > >> > > > > > > >> > > > > > >> > Julie
> > >> > > > > > > >> > > > > > >> >
> > >> > > > > > > >> > > > > > >> >
> > >> > > > > > > >> > > > > > >> > On Wed, Feb 22, 2017 at 12:39 PM,
Xinxia
> > >> Song
> > >> > via
> > >> > > > RT
> > >> > > > > <
> > >> > > > > > > >> > > > > > met_help at ucar.edu
> > >> > > > > > > >> > > > > > >> >
> > >> > > > > > > >> > > > > > >> > wrote:
> > >> > > > > > > >> > > > > > >> >
> > >> > > > > > > >> > > > > > >> > >
> > >> > > > > > > >> > > > > > >> > > <URL:
https://rt.rap.ucar.edu/rt/
> > >> > > > > > > >> > Ticket/Display.html?id=79605
> > >> > > > > > > >> > > >
> > >> > > > > > > >> > > > > > >> > >
> > >> > > > > > > >> > > > > > >> > > Hi Julie,
> > >> > > > > > > >> > > > > > >> > >
> > >> > > > > > > >> > > > > > >> > >
> > >> > > > > > > >> > > > > > >> > > I uploaded the log file under
> > xinxia_data
> > >> > > > > directory.
> > >> > > > > > > >> > > > > > >> > >
> > >> > > > > > > >> > > > > > >> > >
> > >> > > > > > > >> > > > > > >> > > Thanks,
> > >> > > > > > > >> > > > > > >> > >
> > >> > > > > > > >> > > > > > >> > >
> > >> > > > > > > >> > > > > > >> > > Xinxia
> > >> > > > > > > >> > > > > > >> > >
> > >> > > > > > > >> > > > > > >> > >
> > >> > > > > > > >> > > > > > >> > >
________________________________
> > >> > > > > > > >> > > > > > >> > > From: Julie Prestopnik via RT <
> > >> > > met_help at ucar.edu
> > >> > > > >
> > >> > > > > > > >> > > > > > >> > > Sent: Thursday, February 23,
2017
> > 9:11:32
> > >> AM
> > >> > > > > > > >> > > > > > >> > > To: Xinxia_Song at outlook.com
> > >> > > > > > > >> > > > > > >> > > Subject: Re: [rt.rap.ucar.edu
#79605]
> > >> > > > ImportError:
> > >> > > > > > No
> > >> > > > > > > >> > module
> > >> > > > > > > >> > > > > named
> > >> > > > > > > >> > > > > > >> > > constants_pdef
> > >> > > > > > > >> > > > > > >> > >
> > >> > > > > > > >> > > > > > >> > > Hi Xinxia.
> > >> > > > > > > >> > > > > > >> > >
> > >> > > > > > > >> > > > > > >> > > I think it would be helpful if
I could
> > >> take a
> > >> > > > look
> > >> > > > > at
> > >> > > > > > > the
> > >> > > > > > > >> > log
> > >> > > > > > > >> > > > > file.
> > >> > > > > > > >> > > > > > >> > Could
> > >> > > > > > > >> > > > > > >> > > you please upload your file to
our
> > >> anonymous
> > >> > > ftp
> > >> > > > > site
> > >> > > > > > > as
> > >> > > > > > > >> > > follows
> > >> > > > > > > >> > > > > so
> > >> > > > > > > >> > > > > > >> that
> > >> > > > > > > >> > > > > > >> > I
> > >> > > > > > > >> > > > > > >> > > can take a look?
> > >> > > > > > > >> > > > > > >> > >
> > >> > > > > > > >> > > > > > >> > >    http://www.dtcenter.org/met/
> > >> > > > > > > >> > users/support/met_help.php#ftp
> > >> > > > > > > >> > > > > > >> > >
> > >> > > > > > > >> > > > > > >> > > Also, could you please try
running the
> > >> > > following
> > >> > > > > > > manually
> > >> > > > > > > >> > and
> > >> > > > > > > >> > > > send
> > >> > > > > > > >> > > > > > the
> > >> > > > > > > >> > > > > > >> > > output to me?
> > >> > > > > > > >> > > > > > >> > >
> > >> > > > > > > >> > > > > > >> > > "/D2/xinxia/METplus/MET/met-5.
> > >> 2/bin/tc_stat
> > >> > > -job
> > >> > > > > > > filter
> > >> > > > > > > >> > > -lookin
> > >> > > > > > > >> > > > > > >> > > /D2/xinxia/METplus/MET/input/t
> > >> c_pairs/201412
> > >> > > > > > -init_inc
> > >> > > > > > > >> > > > > 20141201_00
> > >> > > > > > > >> > > > > > >> > > -match_points true -dump_row
> > >> > > > > > > /D2/xinxia/METplus/MET/out/
> > >> > > > > > > >> > > > > > >> > > extract_tiles/20141201_00/
> > >> > > > filter_20141201_00.tcst
> > >> > > > > > > >> -basin
> > >> > > > > > > >> > ML
> > >> > > > > > > >> > > > > > >> > > -out_init_mask
> > >> > > > > > > >> > > > > > >> > > /D2/xinxia/METplus/MET/met-5.2
> > >> > > > > > > >> /share/met/poly/CONUS.poly"
> > >> > > > > > > >> > > > > > >> > >
> > >> > > > > > > >> > > > > > >> > > Thank you!
> > >> > > > > > > >> > > > > > >> > >
> > >> > > > > > > >> > > > > > >> > > Julie
> > >> > > > > > > >> > > > > > >> > >
> > >> > > > > > > >> > > > > > >> > >
> > >> > > > > > > >> > > > > > >> > >
> > >> > > > > > > >> > > > > > >> > > On Wed, Feb 22, 2017 at 12:06
PM,
> Xinxia
> > >> Song
> > >> > > via
> > >> > > > > RT
> > >> > > > > > <
> > >> > > > > > > >> > > > > > >> met_help at ucar.edu>
> > >> > > > > > > >> > > > > > >> > > wrote:
> > >> > > > > > > >> > > > > > >> > >
> > >> > > > > > > >> > > > > > >> > > >
> > >> > > > > > > >> > > > > > >> > > > <URL:
https://rt.rap.ucar.edu/rt/
> > >> > > > > > > >> > > Ticket/Display.html?id=79605
> > >> > > > > > > >> > > > >
> > >> > > > > > > >> > > > > > >> > > >
> > >> > > > > > > >> > > > > > >> > > > Hi Julie,
> > >> > > > > > > >> > > > > > >> > > >
> > >> > > > > > > >> > > > > > >> > > >
> > >> > > > > > > >> > > > > > >> > > > Now I can run the program,
but when
> I
> > >> look
> > >> > at
> > >> > > > the
> > >> > > > > > log
> > >> > > > > > > >> file
> > >> > > > > > > >> > > in
> > >> > > > > > > >> > > > > the
> > >> > > > > > > >> > > > > > >> > output,
> > >> > > > > > > >> > > > > > >> > > > it shows error below:
> > >> > > > > > > >> > > > > > >> > > >
> > >> > > > > > > >> > > > > > >> > > >
> > >> > > > > > > >> > > > > > >> > > > ERROR|
/D2/xinxia/METplus/METplus/
> > >> > > > > > > >> > > ush/run_tc_stat.py:tc_stat
> > >> > > > > > > >> > > > > from
> > >> > > > > > > >> > > > > > >> > > calling
> > >> > > > > > > >> > > > > > >> > > > MET TC-STAT with
> > >> > > command:/D2/xinxia/METplus/MET
> > >> > > > > > > >> > > > > > /met-5.2/bin/tc_stat
> > >> > > > > > > >> > > > > > >> > -job
> > >> > > > > > > >> > > > > > >> > > > filter -lookin
> > >> > /D2/xinxia/METplus/MET/input/
> > >> > > > > > > >> > tc_pairs/201412
> > >> > > > > > > >> > > > > > >> -init_inc
> > >> > > > > > > >> > > > > > >> > > > 20141201_00 -match_points
true
> > -dump_row
> > >> > > > > > > >> > > > > > /D2/xinxia/METplus/MET/out/
> > >> > > > > > > >> > > > > > >> > > > extract_tiles/20141201_00/
> > >> > > > > filter_20141201_00.tcst
> > >> > > > > > > >> -basin
> > >> > > > > > > >> > > ML
> > >> > > > > > > >> > > > > > >> > > > -out_init_mask
> > >> > /D2/xinxia/METplus/MET/met-5.
> > >> > > > > > > >> > > > > > >> > 2/share/met/poly/CONUS.poly
> > >> > > > > > > >> > > > > > >> > > >
> > >> > > > > > > >> > > > > > >> > > >
> > >> > > > > > > >> > > > > > >> > > > How should I fix it?
> > >> > > > > > > >> > > > > > >> > > >
> > >> > > > > > > >> > > > > > >> > > >
> > >> > > > > > > >> > > > > > >> > > > Thanks,
> > >> > > > > > > >> > > > > > >> > > >
> > >> > > > > > > >> > > > > > >> > > >
> > >> > > > > > > >> > > > > > >> > > > Xinxia
> > >> > > > > > > >> > > > > > >> > > >
> > >> > > > > > > >> > > > > > >> > > >
________________________________
> > >> > > > > > > >> > > > > > >> > > > From: Julie Prestopnik via RT
<
> > >> > > > met_help at ucar.edu
> > >> > > > > >
> > >> > > > > > > >> > > > > > >> > > > Sent: Thursday, February 23,
2017
> > >> 7:30:06
> > >> > AM
> > >> > > > > > > >> > > > > > >> > > > To: Xinxia_Song at outlook.com
> > >> > > > > > > >> > > > > > >> > > > Subject: Re: [rt.rap.ucar.edu
> #79605]
> > >> > > > > ImportError:
> > >> > > > > > > No
> > >> > > > > > > >> > > module
> > >> > > > > > > >> > > > > > named
> > >> > > > > > > >> > > > > > >> > > > constants_pdef
> > >> > > > > > > >> > > > > > >> > > >
> > >> > > > > > > >> > > > > > >> > > > Hi Xinxia.
> > >> > > > > > > >> > > > > > >> > > >
> > >> > > > > > > >> > > > > > >> > > > I believe that python doesn't
know
> how
> > >> to
> > >> > > find
> > >> > > > > the
> > >> > > > > > > >> module
> > >> > > > > > > >> > > > > because
> > >> > > > > > > >> > > > > > >> the
> > >> > > > > > > >> > > > > > >> > ush
> > >> > > > > > > >> > > > > > >> > > > directory is not in your
PYTHONPATH.
> > >> Both
> > >> > > the
> > >> > > > > parm
> > >> > > > > > > and
> > >> > > > > > > >> > ush
> > >> > > > > > > >> > > > > > >> directory
> > >> > > > > > > >> > > > > > >> > > need
> > >> > > > > > > >> > > > > > >> > > > to be specified in your
PYTHONPATH.
> > >> Please
> > >> > > add
> > >> > > > > the
> > >> > > > > > > ush
> > >> > > > > > > >> > > > > directory
> > >> > > > > > > >> > > > > > to
> > >> > > > > > > >> > > > > > >> > your
> > >> > > > > > > >> > > > > > >> > > > PYTHONPATH, source ~/.bashrc,
and
> let
> > us
> > >> > know
> > >> > > > how
> > >> > > > > > it
> > >> > > > > > > >> goes.
> > >> > > > > > > >> > > > > > >> > > >
> > >> > > > > > > >> > > > > > >> > > > Thanks,
> > >> > > > > > > >> > > > > > >> > > > Julie
> > >> > > > > > > >> > > > > > >> > > >
> > >> > > > > > > >> > > > > > >> > > > On Wed, Feb 22, 2017 at 10:24
AM,
> > Xinxia
> > >> > Song
> > >> > > > via
> > >> > > > > > RT
> > >> > > > > > > <
> > >> > > > > > > >> > > > > > >> > met_help at ucar.edu>
> > >> > > > > > > >> > > > > > >> > > > wrote:
> > >> > > > > > > >> > > > > > >> > > >
> > >> > > > > > > >> > > > > > >> > > > >
> > >> > > > > > > >> > > > > > >> > > > > <URL:
https://rt.rap.ucar.edu/rt/
> > >> > > > > > > >> > > > Ticket/Display.html?id=79605
> > >> > > > > > > >> > > > > >
> > >> > > > > > > >> > > > > > >> > > > >
> > >> > > > > > > >> > > > > > >> > > > > Hi Julie,
> > >> > > > > > > >> > > > > > >> > > > >
> > >> > > > > > > >> > > > > > >> > > > >
> > >> > > > > > > >> > > > > > >> > > > > Since I don't have setenv,
I added
> > >> these
> > >> > 3
> > >> > > > > > sentence
> > >> > > > > > > >> into
> > >> > > > > > > >> > > my
> > >> > > > > > > >> > > > > > >> .bashrc
> > >> > > > > > > >> > > > > > >> > > file:
> > >> > > > > > > >> > > > > > >> > > > >
> > >> > > > > > > >> > > > > > >> > > > >
> > >> > > > > > > >> > > > > > >> > > > > export
PYTHONPATH="/D2/xinxia/
> > >> > > > > > > METplus/METplus/parm"
> > >> > > > > > > >> > > > > > >> > > > >
> > >> > > > > > > >> > > > > > >> > > > >
> > >> > > > > > > >> > > > > > >> > > > > export
USHROOT=/D2/xinxia/METplus/
> > >> > > > METplus/ush
> > >> > > > > > > >> > > > > > >> > > > >
> > >> > > > > > > >> > > > > > >> > > > > export PATH=$USHROOT:$PATH
> > >> > > > > > > >> > > > > > >> > > > >
> > >> > > > > > > >> > > > > > >> > > > >
> > >> > > > > > > >> > > > > > >> > > > > I sourced the ~/.bashrc,
and
> checked
> > >> that
> > >> > > the
> > >> > > > > > > >> variables
> > >> > > > > > > >> > > are
> > >> > > > > > > >> > > > > set,
> > >> > > > > > > >> > > > > > >> but
> > >> > > > > > > >> > > > > > >> > > the
> > >> > > > > > > >> > > > > > >> > > > > program still can't find
the
> module.
> > >> > > > > > > >> > > > > > >> > > > >
> > >> > > > > > > >> > > > > > >> > > > >
> > >> > > > > > > >> > > > > > >> > > > > Thanks,
> > >> > > > > > > >> > > > > > >> > > > >
> > >> > > > > > > >> > > > > > >> > > > > Xinxia
> > >> > > > > > > >> > > > > > >> > > > >
> > >> > > > > > > >> > > > > > >> > > > >
________________________________
> > >> > > > > > > >> > > > > > >> > > > > From: Julie Prestopnik via
RT <
> > >> > > > > met_help at ucar.edu
> > >> > > > > > >
> > >> > > > > > > >> > > > > > >> > > > > Sent: Thursday, February
23, 2017
> > >> 6:24:21
> > >> > > AM
> > >> > > > > > > >> > > > > > >> > > > > To: Xinxia_Song at outlook.com
> > >> > > > > > > >> > > > > > >> > > > > Subject: Re:
[rt.rap.ucar.edu
> > #79605]
> > >> > > > > > ImportError:
> > >> > > > > > > >> No
> > >> > > > > > > >> > > > module
> > >> > > > > > > >> > > > > > >> named
> > >> > > > > > > >> > > > > > >> > > > > constants_pdef
> > >> > > > > > > >> > > > > > >> > > > >
> > >> > > > > > > >> > > > > > >> > > > > Hi Xinxia.
> > >> > > > > > > >> > > > > > >> > > > >
> > >> > > > > > > >> > > > > > >> > > > > Could you please check to
make
> sure
> > >> that
> > >> > > the
> > >> > > > > ush
> > >> > > > > > > >> > directory
> > >> > > > > > > >> > > > > with
> > >> > > > > > > >> > > > > > >> > > > > constants_pdef.py is in
your
> > >> PYTHONPATH
> > >> > in
> > >> > > > your
> > >> > > > > > > >> .cshrc
> > >> > > > > > > >> > > file
> > >> > > > > > > >> > > > > (or
> > >> > > > > > > >> > > > > > >> > .bashrc
> > >> > > > > > > >> > > > > > >> > > > or
> > >> > > > > > > >> > > > > > >> > > > > similar file)?  The parm
directory
> > >> should
> > >> > > > also
> > >> > > > > be
> > >> > > > > > > in
> > >> > > > > > > >> > your
> > >> > > > > > > >> > > > > > >> PYTHONPATH.
> > >> > > > > > > >> > > > > > >> > > > >
> > >> > > > > > > >> > > > > > >> > > > > For example,
> > >> > > > > > > >> > > > > > >> > > > >
> > >> > > > > > > >> > > > > > >> > > > > setenv PYTHONPATH
> > >> > > > /d1/jpresto/sbu/METplus/ush:/
> > >> > > > > > > >> > > > > > >> > > > d1/jpresto/sbu/METplus/parm
> > >> > > > > > > >> > > > > > >> > > > >
> > >> > > > > > > >> > > > > > >> > > > > Please also check make sure
that
> the
> > >> path
> > >> > > to
> > >> > > > > the
> > >> > > > > > > ush
> > >> > > > > > > >> > > > directory
> > >> > > > > > > >> > > > > > is
> > >> > > > > > > >> > > > > > >> > also
> > >> > > > > > > >> > > > > > >> > > > > specified your your path
> environment
> > >> > > > variable.
> > >> > > > > > For
> > >> > > > > > > >> > > example,
> > >> > > > > > > >> > > > > > >> > > > >
> > >> > > > > > > >> > > > > > >> > > > > set path = (/usr/local/bin
\
> > >> > > > > > > >> > > > > > >> > > > >
> > >> > > > /usr/local/python/bin/python \
> > >> > > > > > > >> > > > > > >> > > > >
> > >> > > /d1/jpresto/sbu/METplus/ush
> > >> > > > )
> > >> > > > > > > >> > > > > > >> > > > >
> > >> > > > > > > >> > > > > > >> > > > > If they are not there,
please add
> > them
> > >> > and
> > >> > > > then
> > >> > > > > > > >> source
> > >> > > > > > > >> > the
> > >> > > > > > > >> > > > > file
> > >> > > > > > > >> > > > > > >> (e.g.
> > >> > > > > > > >> > > > > > >> > > run
> > >> > > > > > > >> > > > > > >> > > > > "source ~/.cshrc").
> > >> > > > > > > >> > > > > > >> > > > >
> > >> > > > > > > >> > > > > > >> > > > > Thank you!  Please let us
know how
> > it
> > >> > goes.
> > >> > > > > > > >> > > > > > >> > > > >
> > >> > > > > > > >> > > > > > >> > > > > Julie
> > >> > > > > > > >> > > > > > >> > > > >
> > >> > > > > > > >> > > > > > >> > > > >
> > >> > > > > > > >> > > > > > >> > > > >
> > >> > > > > > > >> > > > > > >> > > > >
> > >> > > > > > > >> > > > > > >> > > > > On Tue, Feb 21, 2017 at
4:49 PM,
> > >> Xinxia
> > >> > > Song
> > >> > > > > via
> > >> > > > > > > RT <
> > >> > > > > > > >> > > > > > >> > met_help at ucar.edu
> > >> > > > > > > >> > > > > > >> > > >
> > >> > > > > > > >> > > > > > >> > > > > wrote:
> > >> > > > > > > >> > > > > > >> > > > >
> > >> > > > > > > >> > > > > > >> > > > > >
> > >> > > > > > > >> > > > > > >> > > > > > Tue Feb 21 16:49:28 2017:
> Request
> > >> 79605
> > >> > > was
> > >> > > > > > acted
> > >> > > > > > > >> > upon.
> > >> > > > > > > >> > > > > > >> > > > > > Transaction: Ticket
created by
> > >> > > > > > > >> > Xinxia_Song at outlook.com
> > >> > > > > > > >> > > > > > >> > > > > >        Queue: met_help
> > >> > > > > > > >> > > > > > >> > > > > >      Subject:
ImportError: No
> > module
> > >> > > named
> > >> > > > > > > >> > > constants_pdef
> > >> > > > > > > >> > > > > > >> > > > > >        Owner: Nobody
> > >> > > > > > > >> > > > > > >> > > > > >   Requestors:
> > >> Xinxia_Song at outlook.com
> > >> > > > > > > >> > > > > > >> > > > > >       Status: new
> > >> > > > > > > >> > > > > > >> > > > > >  Ticket <URL:
> > >> > > https://rt.rap.ucar.edu/rt/
> > >> > > > > > > >> > > > > > >> > > Ticket/Display.html?id=79605
> > >> > > > > > > >> > > > > > >> > > > >
> > >> > > > > > > >> > > > > > >> > > > > >
> > >> > > > > > > >> > > > > > >> > > > > >
> > >> > > > > > > >> > > > > > >> > > > > > Hi,
> > >> > > > > > > >> > > > > > >> > > > > >
> > >> > > > > > > >> > > > > > >> > > > > >
> > >> > > > > > > >> > > > > > >> > > > > > When I ran the
> mater_met_plus.py,
> > it
> > >> > > says:
> > >> > > > > > > >> > > > > > >> > > > > >
> > >> > > > > > > >> > > > > > >> > > > > >
> > >> > > > > > > >> > > > > > >> > > > > > ImportError: No module
named
> > >> > > constants_pdef
> > >> > > > > > > >> > > > > > >> > > > > >
> > >> > > > > > > >> > > > > > >> > > > > >
> > >> > > > > > > >> > > > > > >> > > > > > Seems it doesn't
recognize
> > >> > constants_pdef
> > >> > > > as
> > >> > > > > > its
> > >> > > > > > > >> > module.
> > >> > > > > > > >> > > > > > >> > > > > >
> > >> > > > > > > >> > > > > > >> > > > > >
> > >> > > > > > > >> > > > > > >> > > > > > Thanks,
> > >> > > > > > > >> > > > > > >> > > > > >
> > >> > > > > > > >> > > > > > >> > > > > > Xinxia
> > >> > > > > > > >> > > > > > >> > > > > >
> > >> > > > > > > >> > > > > > >> > > > > >
> > >> > > > > > > >> > > > > > >> > > > >
> > >> > > > > > > >> > > > > > >> > > > >
> > >> > > > > > > >> > > > > > >> > > > >
> > >> > > > > > > >> > > > > > >> > > >
> > >> > > > > > > >> > > > > > >> > > >
> > >> > > > > > > >> > > > > > >> > > >
> > >> > > > > > > >> > > > > > >> > >
> > >> > > > > > > >> > > > > > >> > >
> > >> > > > > > > >> > > > > > >> > >
> > >> > > > > > > >> > > > > > >> >
> > >> > > > > > > >> > > > > > >> >
> > >> > > > > > > >> > > > > > >> >
> > >> > > > > > > >> > > > > > >>
> > >> > > > > > > >> > > > > > >>
> > >> > > > > > > >> > > > > > >>
> > >> > > > > > > >> > > > > > >
> > >> > > > > > > >> > > > > >
> > >> > > > > > > >> > > > > >
> > >> > > > > > > >> > > > > >
> > >> > > > > > > >> > > > >
> > >> > > > > > > >> > > > >
> > >> > > > > > > >> > > > >
> > >> > > > > > > >> > > >
> > >> > > > > > > >> > > >
> > >> > > > > > > >> > > >
> > >> > > > > > > >> > >
> > >> > > > > > > >> > >
> > >> > > > > > > >> > >
> > >> > > > > > > >> >
> > >> > > > > > > >> >
> > >> > > > > > > >> >
> > >> > > > > > > >>
> > >> > > > > > > >>
> > >> > > > > > > >>
> > >> > > > > > > >
> > >> > > > > > >
> > >> > > > > > >
> > >> > > > > > >
> > >> > > > > >
> > >> > > > > >
> > >> > > > > >
> > >> > > > >
> > >> > > > >
> > >> > > > >
> > >> > > >
> > >> > > >
> > >> > > >
> > >> > >
> > >> > >
> > >> > >
> > >> >
> > >> >
> > >> >
> > >>
> > >>
> > >>
> > >
> >
> >
> >
>
>
>


------------------------------------------------
Subject: ImportError: No module named constants_pdef
From: Julie Prestopnik
Time: Thu Mar 02 14:52:33 2017

Thank you, Xinxia.

When you ran master_met_plus.py, did you run "python
master_met_plus.py"?

I'd like to have you try something else.

Could you please edit master_met_plus.py? Please insert the following
line

    print(sys.version_info)

below:

    logger = util.get_logger(p)

and above:

    # Get the list of processes to call

Then save the file, rerun master_met_plus.py and set me the output.

Thanks,
Julie


On Thu, Mar 2, 2017 at 2:41 PM, Xinxia Song via RT <met_help at ucar.edu>
wrote:

>
> <URL: https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=79605 >
>
> Hi Julie,
>
> The path is :
>
> /home/xinxia/anaconda2/bin:/D2/xinxia/METplus/METplus/ush:/
> opt/ncl/bin:/opt/intel-soft/bin:/opt/ncl/bin:/home/xinxia/an
> aconda/bin:/home/xinxia/anaconda2/bin:/D2/xinxia/METplus/
> METplus/ush:/opt/ncl/bin:/opt/intel-soft/bin:/opt/ncl/bin:/
> usr/lib64/qt-3.3/bin:/usr/local/bin:/bin:/usr/bin:/usr/
> local/sbin:/usr/sbin:/sbin:/sbin:/usr/sbin:/cm/local/apps/
> environment-modules/3.2.10/bin:/home/xinxia/bin:/opt/ncl-621/bin
>
>
> Thanks,
>
> Xinxia
>
> ________________________________
> From: Julie Prestopnik via RT <met_help at ucar.edu>
> Sent: Thursday, March 2, 2017 4:07:02 PM
> To: Xinxia_Song at outlook.com
> Subject: Re: [rt.rap.ucar.edu #79605] ImportError: No module named
> constants_pdef
>
> Thank you, Xinxia.
>
> When you ran master_met_plus.py, did you run "python
master_met_plus.py"?
>
> Can you please run "echo $path" and send me the output?
>
> Thanks,
> Julie
>
> On Thu, Mar 2, 2017 at 2:04 PM, Xinxia Song via RT
<met_help at ucar.edu>
> wrote:
>
> >
> > <URL: https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=79605 >
> >
> > Hi Julie,
> >
> >
> > I followed your instruction and it doesn't work. I still got the
error:
> >
> > Traceback (most recent call last):
> >
> >   File "/D2/xinxia/METplus/METplus/ush/series_by_lead.py", line
945, in
> > <module>
> >
> >     analysis_by_lead_time()
> >
> >   File "/D2/xinxia/METplus/METplus/ush/series_by_lead.py", line
107, in
> > analysis_by_lead_time
> >
> >     util.apply_series_filters(tile_dir, init_times,
> > series_lead_filtered_out_dir, p, logger)
> >
> >   File "/D2/xinxia/METplus/METplus/ush/met_util.py", line 1005, in
> > apply_series_filters
> >
> >     tcs.tc_stat(p, logger, tc_cmd, series_output_dir)
> >
> >   File "/D2/xinxia/METplus/METplus/ush/run_tc_stat.py", line 69,
in
> > tc_stat
> >
> >     tc_stat_out = subprocess.check_output(tc_cmd,
> > stderr=subprocess.STDOUT, shell=True )
> >
> > AttributeError: 'module' object has no attribute 'check_output'
> >
> >
> > Thanks,
> >
> >
> > Xinxia
> >
> > ________________________________
> > From: Julie Prestopnik via RT <met_help at ucar.edu>
> > Sent: Thursday, March 2, 2017 11:57:54 AM
> > To: Xinxia_Song at outlook.com
> > Subject: Re: [rt.rap.ucar.edu #79605] ImportError: No module named
> > constants_pdef
> >
> > Hi Xinxia.  I apologize for the delay in responding.  I was out of
the
> > office.  I'm so glad to hear that you were able to get a
successful run
> > from series_by_lead.py!
> >
> > Could you please open master_met_plus.py in the editor of your
choice
> (vi,
> > emacs, etc.) and change the first line from:
> >
> > #!/usr/bin/python
> >
> > to
> >
> > #!/usr/bin/env python
> >
> > Then, please delete master_met_plus.pyc  (Note the ".pyc"
extension).
> > Please also do the same for met_util.py, changing the top line and
also
> > removing a .pyc file if one exists.
> >
> > Then, please change your PROCESS_LIST in constants_pdef.py to only
have
> > series_by_lead.py in the list, since the other processes have run
> > successfully via master_met_plus.py.
> >
> > Then, please rerun master_met_plus.py and let me know how it goes.
> >
> > I still suspect that somehow Python 2.6 is being used because this
error:
> >
> > AttributeError: 'module' object has no attribute 'check_output'
> >
> > indicates that subprocess does not have a "check_output"
attribute, which
> > is true for Python 2.6, but not for 2.7.  Hopefully, these changes
will
> > take care of the problem in the environment.  If not, we'll try
something
> > else.  Thank you for your patience and help in testing our alpha
version.
> >
> > Julie
> >
> > On Thu, Mar 2, 2017 at 8:07 AM, Xinxia Song via RT
<met_help at ucar.edu>
> > wrote:
> >
> > >
> > > <URL: https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=79605 >
> > >
> > > Hi Julie,
> > >
> > >
> > > I ran the master_met_plus.py again and still got the error:
> > >
> > >
> > > Traceback (most recent call last):
> > >
> > >   File "/D2/xinxia/METplus/METplus/ush/series_by_lead.py", line
945,
> in
> > > <module>
> > >
> > >     analysis_by_lead_time()
> > >
> > >   File "/D2/xinxia/METplus/METplus/ush/series_by_lead.py", line
107,
> in
> > > analysis_by_lead_time
> > >
> > >     util.apply_series_filters(tile_dir, init_times,
> > > series_lead_filtered_out_dir, p, logger)
> > >
> > >   File "/D2/xinxia/METplus/METplus/ush/met_util.py", line 1005,
in
> > > apply_series_filters
> > >
> > >     tcs.tc_stat(p, logger, tc_cmd, series_output_dir)
> > >
> > >   File "/D2/xinxia/METplus/METplus/ush/run_tc_stat.py", line 69,
in
> > > tc_stat
> > >
> > >     tc_stat_out = subprocess.check_output(tc_cmd,
> > > stderr=subprocess.STDOUT, shell=True )
> > >
> > > AttributeError: 'module' object has no attribute 'check_output'
> > >
> > >
> > >
> > > Thanks,
> > >
> > >
> > > Xinxia
> > >
> > > ________________________________
> > > From: Xinxia Song
> > > Sent: Tuesday, February 28, 2017 5:07:13 PM
> > > To: met_help at ucar.edu
> > > Subject: Re: [rt.rap.ucar.edu #79605] ImportError: No module
named
> > > constants_pdef
> > >
> > >
> > > Hi Julie,
> > >
> > >
> > > I correct these paths and I could successfully run
series_by_lead.py
> but
> > > have errors for the master_met_plus.py. I get the errors:
> > >
> > > Traceback (most recent call last):
> > >
> > >   File "/D2/xinxia/METplus/METplus/ush/series_by_lead.py", line
945,
> in
> > > <module>
> > >
> > >     analysis_by_lead_time()
> > >
> > >   File "/D2/xinxia/METplus/METplus/ush/series_by_lead.py", line
107,
> in
> > > analysis_by_lead_time
> > >
> > >     util.apply_series_filters(tile_dir, init_times,
> > > series_lead_filtered_out_dir, p, logger)
> > >
> > >   File "/D2/xinxia/METplus/METplus/ush/met_util.py", line 1005,
in
> > > apply_series_filters
> > >
> > >     tcs.tc_stat(p, logger, tc_cmd, series_output_dir)
> > >
> > >   File "/D2/xinxia/METplus/METplus/ush/run_tc_stat.py", line 69,
in
> > > tc_stat
> > >
> > >     tc_stat_out = subprocess.check_output(tc_cmd,
> > > stderr=subprocess.STDOUT, shell=True )
> > >
> > > AttributeError: 'module' object has no attribute 'check_output'
> > >
> > >
> > > Thanks,
> > >
> > >
> > > Xinxia
> > >
> > > ________________________________
> > > From: Julie Prestopnik via RT <met_help at ucar.edu>
> > > Sent: Tuesday, February 28, 2017 2:50:58 PM
> > > To: Xinxia_Song at outlook.com
> > > Subject: Re: [rt.rap.ucar.edu #79605] ImportError: No module
named
> > > constants_pdef
> > >
> > > Hi Xinxia.  I also thought I would mention that, as indicated in
the
> > README
> > > file that came with the distribution, in addition to ncap2 and
ncdump,
> > the
> > > following are also required for MET+:
> > >
> > >   - convert utility (part of ImageMagick)
> > >     - https://www.imagemagick.org/script/binary-releases.php
> > >   - wgrib2 utility
> > >     - http://www.cpc.noaa.gov/products/wesley/wgrib2/
> > > compile_questions.html
> > >   - egrep utility
> > >     - http://directory.fsf.org/wiki/Grep
> > >
> > > If you do not have these installed. Please install them and set
up
> their
> > > paths in the constants_pdef.py file.
> > >
> > > Thanks,
> > > Julie
> > >
> > > On Tue, Feb 28, 2017 at 12:45 PM, Julie Prestopnik
<jpresto at ucar.edu>
> > > wrote:
> > >
> > > > Hi Xinxia.
> > > >
> > > > You will also need to have the ncdump command installed, with
the
> > > location
> > > > to the executable listed in NCDUMP_EXE in constants_pdef.py.
Please
> > have
> > > > ncdump installed, update your constants_pdef.py file and
rerun.
> > > >
> > > > Thanks!
> > > >
> > > > Julie
> > > >
> > > > On Tue, Feb 28, 2017 at 12:18 PM, Xinxia Song via RT <
> > met_help at ucar.edu>
> > > > wrote:
> > > >
> > > >>
> > > >> <URL: https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=79605
>
> > > >>
> > > >> Hi Julie,
> > > >>
> > > >>
> > > >> Before I was running master_met_plus.py and now I ran the
> > > >> series_by_lead.py and got the following results:
> > > >>
> > > >> [xinxia at chaos ush]$ python series_by_lead.py
> > > >>
> > > >> Traceback (most recent call last):
> > > >>
> > > >>   File "series_by_lead.py", line 945, in <module>
> > > >>
> > > >>     analysis_by_lead_time()
> > > >>
> > > >>   File "series_by_lead.py", line 326, in
analysis_by_lead_time
> > > >>
> > > >>     vmin, vmax = get_netcdf_min_max(nc_var_list, cur_stat, p,
> logger)
> > > >>
> > > >>   File "series_by_lead.py", line 638, in get_netcdf_min_max
> > > >>
> > > >>     shell=True)
> > > >>
> > > >>   File "/home/xinxia/anaconda2/lib/python2.7/subprocess.py",
line
> > 219,
> > > >> in check_output
> > > >>
> > > >>     raise CalledProcessError(retcode, cmd, output=output)
> > > >>
> > > >> subprocess.CalledProcessError: Command '/usr/local/bin/ncdump
> > > >>
/D2/xinxia/METplus/MET/out/series_analysis_lead/series_F042/min.nc
> >
> > > >> /D2/xinxia/METplus/MET/out/series_analysis_lead/series_F042/
> min.txt'
> > > >> returned non-zero exit status 127
> > > >>
> > > >>
> > > >> Thanks,
> > > >>
> > > >>
> > > >> Xinxia
> > > >>
> > > >> ________________________________
> > > >> From: Julie Prestopnik via RT <met_help at ucar.edu>
> > > >> Sent: Tuesday, February 28, 2017 2:11:19 PM
> > > >> To: Xinxia_Song at outlook.com
> > > >> Subject: Re: [rt.rap.ucar.edu #79605] ImportError: No module
named
> > > >> constants_pdef
> > > >>
> > > >> Hi Xinxia.  Did you run series_by_lead.py on its own or via
> > > >> master_met_plus.py?
> > > >>
> > > >> Thanks,
> > > >> Julie
> > > >>
> > > >> On Tue, Feb 28, 2017 at 11:11 AM, Xinxia Song via RT <
> > met_help at ucar.edu
> > > >
> > > >> wrote:
> > > >>
> > > >> >
> > > >> > <URL:
https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=79605 >
> > > >> >
> > > >> > Hi Julie,
> > > >> >
> > > >> >
> > > >> > I checked it's 2.7.13. It seems the error doesn't coming
from it.
> > > >> >
> > > >> >
> > > >> > Thanks,
> > > >> >
> > > >> >
> > > >> > Xinxia
> > > >> >
> > > >> >
> > > >> > ________________________________
> > > >> > From: Julie Prestopnik via RT <met_help at ucar.edu>
> > > >> > Sent: Tuesday, February 28, 2017 10:49:29 AM
> > > >> > To: Xinxia_Song at outlook.com
> > > >> > Subject: Re: [rt.rap.ucar.edu #79605] ImportError: No
module
> named
> > > >> > constants_pdef
> > > >> >
> > > >> > I think perhaps your environment is using Python 2.6 again.
> > > >> >
> > > >> > Please try running:
> > > >> >
> > > >> > python --version
> > > >> >
> > > >> > on the command line.
> > > >> >
> > > >> > If you see "Python 2..6.6", please add the path for Python
2.7 to
> > the
> > > >> front
> > > >> > of your path in your ~/.bashrc file.  Then, source your
~/.bashrc
> > file
> > > >> and
> > > >> > try rerunning
> > > >> >
> > > >> > python --version
> > > >> >
> > > >> > on the command line.  Hopefully, then you will see the new
> version.
> > > >> Then,
> > > >> > please try rerunning master_met_plus.py.
> > > >> >
> > > >> > I hope this helps!  Thanks!
> > > >> >
> > > >> > Julie
> > > >> >
> > > >> > On Mon, Feb 27, 2017 at 8:14 PM, Xinxia Song via RT <
> > > met_help at ucar.edu>
> > > >> > wrote:
> > > >> >
> > > >> > >
> > > >> > > <URL:
https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=79605 >
> > > >> > >
> > > >> > > Hi Julie,
> > > >> > >
> > > >> > >
> > > >> > > after I update the NCAP2 path in constants_pdef.py and
ran the
> > > >> > > master_met_plus.py, I got the error:
> > > >> > >
> > > >> > > 2017-02-28 02:49:40,659 : ERROR |
[master_met_plus.py:main] |
> > > Problem
> > > >> > > executing: series_by_lead.py
> > > >> > >
> > > >> > > and message:
> > > >> > >
> > > >> > > Traceback (most recent call last):
> > > >> > >
> > > >> > >   File
"/D2/xinxia/METplus/METplus/ush/series_by_lead.py", line
> > > 945,
> > > >> in
> > > >> > > <module>
> > > >> > >
> > > >> > >     analysis_by_lead_time()
> > > >> > >
> > > >> > >   File
"/D2/xinxia/METplus/METplus/ush/series_by_lead.py", line
> > > 107,
> > > >> in
> > > >> > > analysis_by_lead_time
> > > >> > >
> > > >> > >     util.apply_series_filters(tile_dir, init_times,
> > > >> > > series_lead_filtered_out_dir, p, logger)
> > > >> > >
> > > >> > >   File "/D2/xinxia/METplus/METplus/ush/met_util.py", line
1005,
> > in
> > > >> > > apply_series_filters
> > > >> > >
> > > >> > >     tcs.tc_stat(p, logger, tc_cmd, series_output_dir)
> > > >> > >
> > > >> > >   File "/D2/xinxia/METplus/METplus/ush/run_tc_stat.py",
line
> 69,
> > in
> > > >> > > tc_stat
> > > >> > >
> > > >> > >     tc_stat_out = subprocess.check_output(tc_cmd,
> > > >> > > stderr=subprocess.STDOUT, shell=True )
> > > >> > >
> > > >> > > AttributeError: 'module' object has no attribute
'check_output'
> > > >> > >
> > > >> > >
> > > >> > > Thanks,
> > > >> > >
> > > >> > >
> > > >> > > Xinxia
> > > >> > >
> > > >> > > ________________________________
> > > >> > > From: Julie Prestopnik via RT <met_help at ucar.edu>
> > > >> > > Sent: Monday, February 27, 2017 5:15:59 PM
> > > >> > > To: Xinxia_Song at outlook.com
> > > >> > > Subject: Re: [rt.rap.ucar.edu #79605] ImportError: No
module
> > named
> > > >> > > constants_pdef
> > > >> > >
> > > >> > > Please install ncap2 and update the location to the
executable
> in
> > > the
> > > >> > > NCAP2_EXE field of the constants_pdef.py file and trying
> rerunning
> > > the
> > > >> > MET+
> > > >> > > code.  Please let us know how it goes.
> > > >> > >
> > > >> > > Thanks,
> > > >> > > Julie
> > > >> > >
> > > >> > > On Mon, Feb 27, 2017 at 3:10 PM, Xinxia Song via RT <
> > > >> met_help at ucar.edu>
> > > >> > > wrote:
> > > >> > >
> > > >> > > >
> > > >> > > > <URL:
https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=79605
> >
> > > >> > > >
> > > >> > > > Hi Julie,
> > > >> > > >
> > > >> > > >
> > > >> > > > The result is :
> > > >> > > >
> > > >> > > > -bash: /usr/local/nco/bin/ncap2: No such file or
directory
> > > >> > > >
> > > >> > > > I think we don't have it installed.
> > > >> > > >
> > > >> > > >
> > > >> > > > Thanks,
> > > >> > > >
> > > >> > > > Xinxia
> > > >> > > >
> > > >> > > > ________________________________
> > > >> > > > From: Julie Prestopnik via RT <met_help at ucar.edu>
> > > >> > > > Sent: Monday, February 27, 2017 5:08:48 PM
> > > >> > > > To: Xinxia_Song at outlook.com
> > > >> > > > Subject: Re: [rt.rap.ucar.edu #79605] ImportError: No
module
> > > named
> > > >> > > > constants_pdef
> > > >> > > >
> > > >> > > > Hi Xinxia. I believe that error code refers to "Command
not
> > > found".
> > > >> > Can
> > > >> > > > you please run the following and send me the output?
> > > >> > > >
> > > >> > > > /usr/local/nco/bin/ncap2 --version
> > > >> > > >
> > > >> > > > Thanks!
> > > >> > > >
> > > >> > > > Julie
> > > >> > > >
> > > >> > > >
> > > >> > > > On Mon, Feb 27, 2017 at 2:55 PM, Xinxia Song via RT <
> > > >> met_help at ucar.edu
> > > >> > >
> > > >> > > > wrote:
> > > >> > > >
> > > >> > > > >
> > > >> > > > > <URL: https://rt.rap.ucar.edu/rt/Tic
> ket/Display.html?id=79605
> > >
> > > >> > > > >
> > > >> > > > > Hi Julie,
> > > >> > > > >
> > > >> > > > >
> > > >> > > > > The error is:
> > > >> > > > >
> > > >> > > > > Traceback (most recent call last):
> > > >> > > > >
> > > >> > > > >   File "series_by_lead.py", line 945, in <module>
> > > >> > > > >
> > > >> > > > >     analysis_by_lead_time()
> > > >> > > > >
> > > >> > > > >   File "series_by_lead.py", line 326, in
> analysis_by_lead_time
> > > >> > > > >
> > > >> > > > >     vmin, vmax = get_netcdf_min_max(nc_var_list,
cur_stat,
> p,
> > > >> > logger)
> > > >> > > > >
> > > >> > > > >   File "series_by_lead.py", line 605, in
get_netcdf_min_max
> > > >> > > > >
> > > >> > > > >     shell=True)
> > > >> > > > >
> > > >> > > > >   File "/home/xinxia/anaconda2/lib/py
> thon2.7/subprocess.py",
> > > line
> > > >> > 219,
> > > >> > > > in
> > > >> > > > > check_output
> > > >> > > > >
> > > >> > > > >     raise CalledProcessError(retcode, cmd,
output=output)
> > > >> > > > >
> > > >> > > > > subprocess.CalledProcessError: Command
> > '/usr/local/nco/bin/ncap2
> > > >> -v
> > > >> > -s
> > > >> > > > > "min=min(series_cnt_TOTAL)"
/D2/xinxia/METplus/MET/out/
> > > >> > > > >
series_analysis_lead/series_F042/series_F042_HGT_P500.nc
> > > >> > > > > /D2/xinxia/METplus/MET/out/ser
> ies_analysis_lead/series_F042/
> > > >> min.nc'
> > > >> > > > > returned non-zero exit status 127
> > > >> > > > >
> > > >> > > > >
> > > >> > > > > Thanks,
> > > >> > > > >
> > > >> > > > >
> > > >> > > > > Xinxia
> > > >> > > > >
> > > >> > > > > ________________________________
> > > >> > > > > From: Julie Prestopnik via RT <met_help at ucar.edu>
> > > >> > > > > Sent: Tuesday, February 28, 2017 9:18:55 AM
> > > >> > > > > To: Xinxia_Song at outlook.com
> > > >> > > > > Subject: Re: [rt.rap.ucar.edu #79605] ImportError: No
> module
> > > >> named
> > > >> > > > > constants_pdef
> > > >> > > > >
> > > >> > > > > Thank you, Xinxia.
> > > >> > > > >
> > > >> > > > > Unfortunately, the "DEBUG" log level did not provide
much
> > > >> information
> > > >> > > for
> > > >> > > > > this task:
> > > >> > > > >
> > > >> > > > > 2017-02-26 21:30:28,041 : INFO |
[master_met_plus.py:main] |
> > > >> Running:
> > > >> > > > > series_by_lead.py
> > > >> > > > > 2017-02-26 21:30:28,212 : ERROR |
[master_met_plus.py:main]
> |
> > > >> Problem
> > > >> > > > > executing: series_by_lead.py
> > > >> > > > >
> > > >> > > > > Could you please try running series_by_lead.py in the
ush
> > > >> directory?
> > > >> > > > > Please let me know what the output is from that run -
it may
> > > >> still be
> > > >> > > > > contained in your log file.
> > > >> > > > >
> > > >> > > > > Thanks!
> > > >> > > > >
> > > >> > > > > Julie
> > > >> > > > >
> > > >> > > > >
> > > >> > > > > On Mon, Feb 27, 2017 at 11:17 AM, Xinxia Song via RT
<
> > > >> > > met_help at ucar.edu>
> > > >> > > > > wrote:
> > > >> > > > >
> > > >> > > > > >
> > > >> > > > > > <URL: https://rt.rap.ucar.edu/rt/
> > Ticket/Display.html?id=79605
> > > >
> > > >> > > > > >
> > > >> > > > > > Hi Julie,
> > > >> > > > > >
> > > >> > > > > >
> > > >> > > > > > I uploaded the constants_pdef.py and
> > > >> master_met_plus.20170226.log.
> > > >> > > > > >
> > > >> > > > > >
> > > >> > > > > > Thanks,
> > > >> > > > > >
> > > >> > > > > >
> > > >> > > > > > Xinxia
> > > >> > > > > >
> > > >> > > > > > ________________________________
> > > >> > > > > > From: Julie Prestopnik via RT <met_help at ucar.edu>
> > > >> > > > > > Sent: Tuesday, February 28, 2017 5:46:37 AM
> > > >> > > > > > To: Xinxia_Song at outlook.com
> > > >> > > > > > Subject: Re: [rt.rap.ucar.edu #79605] ImportError:
No
> > module
> > > >> named
> > > >> > > > > > constants_pdef
> > > >> > > > > >
> > > >> > > > > > Hi Xinxia.  Can you please upload the configuration
file
> > that
> > > >> you
> > > >> > > used
> > > >> > > > > and
> > > >> > > > > > the log file from that run to our ftp server so
that we
> can
> > > >> take a
> > > >> > > > look?
> > > >> > > > > >
> > > >> > > > > > Thanks!
> > > >> > > > > >
> > > >> > > > > > Julie
> > > >> > > > > >
> > > >> > > > > > On Sun, Feb 26, 2017 at 2:35 PM, Xinxia Song via RT
<
> > > >> > > met_help at ucar.edu
> > > >> > > > >
> > > >> > > > > > wrote:
> > > >> > > > > >
> > > >> > > > > > >
> > > >> > > > > > > <URL: https://rt.rap.ucar.edu/rt/
> > > Ticket/Display.html?id=79605
> > > >> >
> > > >> > > > > > >
> > > >> > > > > > > Hi Julie,
> > > >> > > > > > >
> > > >> > > > > > >
> > > >> > > > > > > I ran the mater_met_plus.py and in the end in the
log
> file
> > > it
> > > >> > gave
> > > >> > > me
> > > >> > > > > an
> > > >> > > > > > > error:
> > > >> > > > > > >
> > > >> > > > > > > 2017-02-26 21:30:28,212 : ERROR |
> > [master_met_plus.py:main]
> > > |
> > > >> > > Problem
> > > >> > > > > > > executing: series_by_lead.py
> > > >> > > > > > >
> > > >> > > > > > >
> > > >> > > > > > > Thanks,
> > > >> > > > > > >
> > > >> > > > > > > Xinxia
> > > >> > > > > > >
> > > >> > > > > > > ________________________________
> > > >> > > > > > > From: Julie Prestopnik via RT <met_help at ucar.edu>
> > > >> > > > > > > Sent: Saturday, February 25, 2017 6:49:56 AM
> > > >> > > > > > > To: Xinxia_Song at outlook.com
> > > >> > > > > > > Subject: Re: [rt.rap.ucar.edu #79605]
ImportError: No
> > > module
> > > >> > named
> > > >> > > > > > > constants_pdef
> > > >> > > > > > >
> > > >> > > > > > > You could also run "tail -f
</path/to/logfile/logfile_
> > > name>"
> > > >> > > > replacing
> > > >> > > > > > > </path/to/logfile/logfile_name> with the logfile
path
> and
> > > >> name
> > > >> > > > > > information
> > > >> > > > > > > to see how the run is coming along.  I hope that
helps!
> > > >> > > > > > >
> > > >> > > > > > > Julie
> > > >> > > > > > >
> > > >> > > > > > > On Fri, Feb 24, 2017 at 9:42 AM, Julie Prestopnik
<
> > > >> > > jpresto at ucar.edu>
> > > >> > > > > > > wrote:
> > > >> > > > > > >
> > > >> > > > > > > > Hi Xinxia.  Running the entire three months of
data
> > could
> > > >> > > certainly
> > > >> > > > > > take
> > > >> > > > > > > a
> > > >> > > > > > > > long time.  I am hoping to get an estimate on
how long
> > it
> > > >> took
> > > >> > to
> > > >> > > > run
> > > >> > > > > > the
> > > >> > > > > > > > three month data set here, but have not been
able to
> > > obtain
> > > >> > that
> > > >> > > > > number
> > > >> > > > > > > > yet.   It sounds the code was running
successfully for
> > > >> you.  If
> > > >> > > > > you're
> > > >> > > > > > > > eager to take a lot at some output, I would
suggest
> > > running
> > > >> a
> > > >> > > > smaller
> > > >> > > > > > > > subset of the data, or perhaps you could set up
the
> > whole
> > > >> three
> > > >> > > > month
> > > >> > > > > > to
> > > >> > > > > > > > run over the weekend.  I would suggest letting
the
> code
> > > run
> > > >> to
> > > >> > > > > > completion
> > > >> > > > > > > > for either a smaller subset or for the entire
subset
> and
> > > >> then
> > > >> > > > > checking
> > > >> > > > > > > the
> > > >> > > > > > > > log file for errors.  I hope that helps.
Please let
> me
> > > >> know if
> > > >> > > you
> > > >> > > > > > have
> > > >> > > > > > > > any questions or encounter any issues.
> > > >> > > > > > > >
> > > >> > > > > > > > Thanks,
> > > >> > > > > > > > Julie
> > > >> > > > > > > >
> > > >> > > > > > > >
> > > >> > > > > > > > On Thu, Feb 23, 2017 at 4:28 PM, Xinxia Song
via RT <
> > > >> > > > > met_help at ucar.edu
> > > >> > > > > > >
> > > >> > > > > > > > wrote:
> > > >> > > > > > > >
> > > >> > > > > > > >>
> > > >> > > > > > > >> <URL: https://rt.rap.ucar.edu/rt/Tic
> > > >> ket/Display.html?id=79605
> > > >> > >
> > > >> > > > > > > >>
> > > >> > > > > > > >> Hi Julie,
> > > >> > > > > > > >>
> > > >> > > > > > > >>
> > > >> > > > > > > >> The version is set to be 2.7+. When I ran
> > > >> master_met_plus.py,
> > > >> > it
> > > >> > > > > seems
> > > >> > > > > > > it
> > > >> > > > > > > >> will run forever. So I killed it, and got the
> > following:
> > > >> > > > > > > >>
> > > >> > > > > > > >> [xinxia at chaos ush]$ python master_met_plus.py
> > > >> > > > > > > >>
> > > >> > > > > > > >> ^CTraceback (most recent call last):
> > > >> > > > > > > >>
> > > >> > > > > > > >>   File "/D2/xinxia/METplus/METplus/
> > > ush/extract_tiles.py",
> > > >> > line
> > > >> > > > 157,
> > > >> > > > > > in
> > > >> > > > > > > >> <module>
> > > >> > > > > > > >>
> > > >> > > > > > > >>     main()
> > > >> > > > > > > >>
> > > >> > > > > > > >>   File "/D2/xinxia/METplus/METplus/
> > > ush/extract_tiles.py",
> > > >> > line
> > > >> > > > 100,
> > > >> > > > > > in
> > > >> > > > > > > >> main
> > > >> > > > > > > >>
> > > >> > > > > > > >>     filtered_out_dir)
> > > >> > > > > > > >>
> > > >> > > > > > > >>   File "/D2/xinxia/METplus/METplus/
> > ush/run_tc_stat.py",
> > > >> line
> > > >> > > 69,
> > > >> > > > in
> > > >> > > > > > > >> tc_stat
> > > >> > > > > > > >>
> > > >> > > > > > > >>     tc_stat_out =
subprocess.check_output(tc_cmd,
> > > >> > > > > > > >> stderr=subprocess.STDOUT, shell=True )
> > > >> > > > > > > >>
> > > >> > > > > > > >>   File "/home/xinxia/anaconda2/lib/py
> > > >> thon2.7/subprocess.py",
> > > >> > > line
> > > >> > > > > > 213,
> > > >> > > > > > > >> in check_output
> > > >> > > > > > > >>
> > > >> > > > > > > >>     output, unused_err = process.communicate()
> > > >> > > > > > > >>
> > > >> > > > > > > >>   File "/home/xinxia/anaconda2/lib/py
> > > >> thon2.7/subprocess.py",
> > > >> > > line
> > > >> > > > > > 471,
> > > >> > > > > > > >> in communicate
> > > >> > > > > > > >>
> > > >> > > > > > > >>     stdout =
_eintr_retry_call(self.stdout.read)
> > > >> > > > > > > >>
> > > >> > > > > > > >>   File "/home/xinxia/anaconda2/lib/py
> > > >> thon2.7/subprocess.py",
> > > >> > > line
> > > >> > > > > > 121,
> > > >> > > > > > > >> in _eintr_retry_call
> > > >> > > > > > > >>
> > > >> > > > > > > >>     return func(*args)
> > > >> > > > > > > >>
> > > >> > > > > > > >> KeyboardInterrupt
> > > >> > > > > > > >>
> > > >> > > > > > > >>
> > > >> > > > > > > >> Thanks,
> > > >> > > > > > > >>
> > > >> > > > > > > >>
> > > >> > > > > > > >> Xinxia
> > > >> > > > > > > >>
> > > >> > > > > > > >> ________________________________
> > > >> > > > > > > >> From: Julie Prestopnik via RT
<met_help at ucar.edu>
> > > >> > > > > > > >> Sent: Friday, February 24, 2017 12:02:21 PM
> > > >> > > > > > > >> To: Xinxia_Song at outlook.com
> > > >> > > > > > > >> Subject: Re: [rt.rap.ucar.edu #79605]
ImportError:
> No
> > > >> module
> > > >> > > > named
> > > >> > > > > > > >> constants_pdef
> > > >> > > > > > > >>
> > > >> > > > > > > >> Hi Xinxia.  I suspect that even though you
installed
> > > Python
> > > >> > 2.7
> > > >> > > > that
> > > >> > > > > > > >> Python
> > > >> > > > > > > >> 2.6.6 is still being used.
> > > >> > > > > > > >>
> > > >> > > > > > > >> Please try running:
> > > >> > > > > > > >>
> > > >> > > > > > > >> python --version
> > > >> > > > > > > >>
> > > >> > > > > > > >> on the command line.
> > > >> > > > > > > >>
> > > >> > > > > > > >> If you see "Python 2..6.6", please add the
path for
> > > Python
> > > >> 2.7
> > > >> > > to
> > > >> > > > > the
> > > >> > > > > > > >> front
> > > >> > > > > > > >> of your path in your ~/.bashrc file.  Then,
source
> your
> > > >> > > ~/.bashrc
> > > >> > > > > file
> > > >> > > > > > > and
> > > >> > > > > > > >> try rerunning
> > > >> > > > > > > >>
> > > >> > > > > > > >> python --version
> > > >> > > > > > > >>
> > > >> > > > > > > >> on the command line.  Hopefully, then you will
see
> the
> > > new
> > > >> > > > version.
> > > >> > > > > > > Then,
> > > >> > > > > > > >> please try rerunning master_met_plus.py.
> > > >> > > > > > > >>
> > > >> > > > > > > >> I hope this helps!  Thanks!
> > > >> > > > > > > >>
> > > >> > > > > > > >> Julie
> > > >> > > > > > > >>
> > > >> > > > > > > >> On Thu, Feb 23, 2017 at 1:51 PM, Xinxia Song
via RT <
> > > >> > > > > > met_help at ucar.edu>
> > > >> > > > > > > >> wrote:
> > > >> > > > > > > >>
> > > >> > > > > > > >> >
> > > >> > > > > > > >> > <URL: https://rt.rap.ucar.edu/rt/Tic
> > > >> > ket/Display.html?id=79605
> > > >> > > >
> > > >> > > > > > > >> >
> > > >> > > > > > > >> > Hi Julie,
> > > >> > > > > > > >> >
> > > >> > > > > > > >> >
> > > >> > > > > > > >> > I installed myself the 2.7 python, it still
got the
> > > error
> > > >> > when
> > > >> > > > > > > running:
> > > >> > > > > > > >> >
> > > >> > > > > > > >> > Traceback (most recent call last):
> > > >> > > > > > > >> >
> > > >> > > > > > > >> >   File "/D2/xinxia/METplus/METplus/us
> > > >> h/series_by_lead.py",
> > > >> > > line
> > > >> > > > > > 945,
> > > >> > > > > > > in
> > > >> > > > > > > >> > <module>
> > > >> > > > > > > >> >
> > > >> > > > > > > >> >     analysis_by_lead_time()
> > > >> > > > > > > >> >
> > > >> > > > > > > >> >   File "/D2/xinxia/METplus/METplus/us
> > > >> h/series_by_lead.py",
> > > >> > > line
> > > >> > > > > > 107,
> > > >> > > > > > > in
> > > >> > > > > > > >> > analysis_by_lead_time
> > > >> > > > > > > >> >
> > > >> > > > > > > >> >     util.apply_series_filters(tile_dir,
> init_times,
> > > >> > > > > > > >> > series_lead_filtered_out_dir, p, logger)
> > > >> > > > > > > >> >
> > > >> > > > > > > >> >   File "/D2/xinxia/METplus/METplus/us
> h/met_util.py",
> > > >> line
> > > >> > > 1005,
> > > >> > > > > in
> > > >> > > > > > > >> > apply_series_filters
> > > >> > > > > > > >> >
> > > >> > > > > > > >> >     tcs.tc_stat(p, logger, tc_cmd,
> series_output_dir)
> > > >> > > > > > > >> >
> > > >> > > > > > > >> >   File "/D2/xinxia/METplus/METplus/
> > > ush/run_tc_stat.py",
> > > >> > line
> > > >> > > > 69,
> > > >> > > > > in
> > > >> > > > > > > >> > tc_stat
> > > >> > > > > > > >> >
> > > >> > > > > > > >> >     tc_stat_out =
subprocess.check_output(tc_cmd,
> > > >> > > > > > > >> > stderr=subprocess.STDOUT, shell=True )
> > > >> > > > > > > >> >
> > > >> > > > > > > >> > AttributeError: 'module' object has no
attribute
> > > >> > > 'check_output'
> > > >> > > > > > > >> >
> > > >> > > > > > > >> >
> > > >> > > > > > > >> > Thanks,
> > > >> > > > > > > >> >
> > > >> > > > > > > >> >
> > > >> > > > > > > >> > Xinxia
> > > >> > > > > > > >> >
> > > >> > > > > > > >> > ________________________________
> > > >> > > > > > > >> > From: Julie Prestopnik via RT
<met_help at ucar.edu>
> > > >> > > > > > > >> > Sent: Friday, February 24, 2017 9:37:53 AM
> > > >> > > > > > > >> > To: Xinxia_Song at outlook.com
> > > >> > > > > > > >> > Subject: Re: [rt.rap.ucar.edu #79605]
ImportError:
> > No
> > > >> > module
> > > >> > > > > named
> > > >> > > > > > > >> > constants_pdef
> > > >> > > > > > > >> >
> > > >> > > > > > > >> > Can you please tell me which version of
Python you
> > are
> > > >> > using?
> > > >> > > > > > > >> check_output
> > > >> > > > > > > >> > for subprocess was introduced in Python 2.7.
Do
> > you
> > > >> have
> > > >> > > > access
> > > >> > > > > > to
> > > >> > > > > > > >> > Python version 2.7 or higher?
> > > >> > > > > > > >> >
> > > >> > > > > > > >> > Thanks,
> > > >> > > > > > > >> > Julie
> > > >> > > > > > > >> >
> > > >> > > > > > > >> > On Thu, Feb 23, 2017 at 12:11 PM, Xinxia
Song via
> RT
> > <
> > > >> > > > > > > met_help at ucar.edu
> > > >> > > > > > > >> >
> > > >> > > > > > > >> > wrote:
> > > >> > > > > > > >> >
> > > >> > > > > > > >> > >
> > > >> > > > > > > >> > > <URL: https://rt.rap.ucar.edu/rt/
> > > >> > > Ticket/Display.html?id=79605
> > > >> > > > >
> > > >> > > > > > > >> > >
> > > >> > > > > > > >> > > Hi Julie,
> > > >> > > > > > > >> > >
> > > >> > > > > > > >> > >
> > > >> > > > > > > >> > > I added it to the $PATH and ran the
> > > >> master_met_python.py:
> > > >> > > > > > > >> > >
> > > >> > > > > > > >> > > [xinxia at chaos ush]$ python
master_met_plus.py
> > > >> > > > > > > >> > >
> > > >> > > > > > > >> > > Traceback (most recent call last):
> > > >> > > > > > > >> > >
> > > >> > > > > > > >> > >   File "/D2/xinxia/METplus/METplus/us
> > > >> h/extract_tiles.py",
> > > >> > > > line
> > > >> > > > > > 157,
> > > >> > > > > > > >> in
> > > >> > > > > > > >> > > <module>
> > > >> > > > > > > >> > >
> > > >> > > > > > > >> > >     main()
> > > >> > > > > > > >> > >
> > > >> > > > > > > >> > >   File "/D2/xinxia/METplus/METplus/us
> > > >> h/extract_tiles.py",
> > > >> > > > line
> > > >> > > > > > 100,
> > > >> > > > > > > >> in
> > > >> > > > > > > >> > > main
> > > >> > > > > > > >> > >
> > > >> > > > > > > >> > >     filtered_out_dir)
> > > >> > > > > > > >> > >
> > > >> > > > > > > >> > >   File "/D2/xinxia/METplus/METplus/us
> > > >> h/run_tc_stat.py",
> > > >> > > line
> > > >> > > > > 69,
> > > >> > > > > > in
> > > >> > > > > > > >> > > tc_stat
> > > >> > > > > > > >> > >
> > > >> > > > > > > >> > >     tc_stat_out =
subprocess.check_output(tc_cmd
> ,
> > > >> > > > > > > >> > > stderr=subprocess.STDOUT, shell=True )
> > > >> > > > > > > >> > >
> > > >> > > > > > > >> > > AttributeError: 'module' object has no
attribute
> > > >> > > > 'check_output'
> > > >> > > > > > > >> > >
> > > >> > > > > > > >> > >
> > > >> > > > > > > >> > > Thanks,
> > > >> > > > > > > >> > >
> > > >> > > > > > > >> > >
> > > >> > > > > > > >> > > Xinxia
> > > >> > > > > > > >> > >
> > > >> > > > > > > >> > > ________________________________
> > > >> > > > > > > >> > > From: Julie Prestopnik via RT
<met_help at ucar.edu
> >
> > > >> > > > > > > >> > > Sent: Friday, February 24, 2017 9:07:40 AM
> > > >> > > > > > > >> > > To: Xinxia_Song at outlook.com
> > > >> > > > > > > >> > > Subject: Re: [rt.rap.ucar.edu #79605]
> ImportError:
> > > No
> > > >> > > module
> > > >> > > > > > named
> > > >> > > > > > > >> > > constants_pdef
> > > >> > > > > > > >> > >
> > > >> > > > > > > >> > > Unfortunately, your environment does not
know
> where
> > > to
> > > >> > find
> > > >> > > > > > > >> > > run_tc_pairs.py.  Please try adding the
directory
> > > with
> > > >> > > > > > > run_tc_pairs.py
> > > >> > > > > > > >> > > (/D2/xinxia/METplus/METplus/ush) to your
path in
> > > your
> > > >> > > > ~/.bashrc
> > > >> > > > > > > file,
> > > >> > > > > > > >> > then
> > > >> > > > > > > >> > > run "source ~/.bashrc", then trying
rerunning.
> > > Please
> > > >> let
> > > >> > > me
> > > >> > > > > know
> > > >> > > > > > > how
> > > >> > > > > > > >> > that
> > > >> > > > > > > >> > > goes.
> > > >> > > > > > > >> > >
> > > >> > > > > > > >> > > Thanks!
> > > >> > > > > > > >> > >
> > > >> > > > > > > >> > > Julie
> > > >> > > > > > > >> > >
> > > >> > > > > > > >> > > On Thu, Feb 23, 2017 at 11:55 AM, Xinxia
Song via
> > RT
> > > <
> > > >> > > > > > > >> met_help at ucar.edu>
> > > >> > > > > > > >> > > wrote:
> > > >> > > > > > > >> > >
> > > >> > > > > > > >> > > >
> > > >> > > > > > > >> > > > <URL: https://rt.rap.ucar.edu/rt/
> > > >> > > > Ticket/Display.html?id=79605
> > > >> > > > > >
> > > >> > > > > > > >> > > >
> > > >> > > > > > > >> > > > Hi Julie,
> > > >> > > > > > > >> > > >
> > > >> > > > > > > >> > > >
> > > >> > > > > > > >> > > > I'm running met in a machine that's
owned by
> our
> > > >> > > > department, I
> > > >> > > > > > > don't
> > > >> > > > > > > >> > have
> > > >> > > > > > > >> > > > sudo right, so when I type which
> run_tc_pairs.py,
> > > it
> > > >> > says
> > > >> > > > > > couldn't
> > > >> > > > > > > >> find
> > > >> > > > > > > >> > > it.
> > > >> > > > > > > >> > > >
> > > >> > > > > > > >> > > > no run_tc_pairs.py in
> > > (/opt/ncl/bin:/opt/intel-soft/
> > > >> > > > > > > >> > > > bin:/opt/ncl/bin:/opt/ncl/bin:
> > > >> > > /opt/intel-soft/bin:/opt/ncl/
> > > >> > > > > > > >> > > > bin:/home/xinxia/anaconda/bin:
> > > >> > /home/xinxia/anaconda/bin:/
> > > >> > > > > > > >> > > > opt/ncl/bin:/opt/intel-soft/bi
> > > >> > n:/opt/ncl/bin:/usr/lib64/
> > > >> > > > > > > >> > > > qt-3.3/bin:/usr/local/bin:/bin
> > > >> > :/usr/bin:/usr/local/sbin:/
> > > >> > > > > > > >> > > >
usr/sbin:/sbin:/sbin:/usr/sbin:/cm/local/apps/
> > > >> > > > > > > >> > > environment-modules/3.2.10/
> > > >> > > > > > > >> > > > bin:/home/xinxia/bin:/opt/ncl-621/bin)
> > > >> > > > > > > >> > > >
> > > >> > > > > > > >> > > >
> > > >> > > > > > > >> > > > But I could find it manually in that
directory.
> > > >> > > > > > > >> > > >
> > > >> > > > > > > >> > > >
> > > >> > > > > > > >> > > > Thanks,
> > > >> > > > > > > >> > > >
> > > >> > > > > > > >> > > >
> > > >> > > > > > > >> > > > Xinxia
> > > >> > > > > > > >> > > >
> > > >> > > > > > > >> > > > ________________________________
> > > >> > > > > > > >> > > > From: Julie Prestopnik via RT <
> met_help at ucar.edu
> > >
> > > >> > > > > > > >> > > > Sent: Friday, February 24, 2017 8:52:16
AM
> > > >> > > > > > > >> > > > To: Xinxia_Song at outlook.com
> > > >> > > > > > > >> > > > Subject: Re: [rt.rap.ucar.edu #79605]
> > ImportError:
> > > >> No
> > > >> > > > module
> > > >> > > > > > > named
> > > >> > > > > > > >> > > > constants_pdef
> > > >> > > > > > > >> > > >
> > > >> > > > > > > >> > > > Hi Xinxia.
> > > >> > > > > > > >> > > >
> > > >> > > > > > > >> > > > It looks like you got a successful run
of
> > tc_stat -
> > > >> > that's
> > > >> > > > > great
> > > >> > > > > > > >> news!
> > > >> > > > > > > >> > > >
> > > >> > > > > > > >> > > > I'm not sure what you mean by "Because I
don't
> > have
> > > >> the
> > > >> > > > > right, I
> > > >> > > > > > > >> can't
> > > >> > > > > > > >> > > find
> > > >> > > > > > > >> > > > run_tc_pairs.py, but I know it's under
> > > >> > > > > > > >> > > >
> > > >> > > > > > > >> > > > /D2/xinxia/METplus/METplus/ush".
> > > >> > > > > > > >> > > >
> > > >> > > > > > > >> > > > Can you please explain?  What happened
when you
> > ran
> > > >> > "which
> > > >> > > > > > > >> > > > run_tc_pairs.py"?
> > > >> > > > > > > >> > > >
> > > >> > > > > > > >> > > > Thanks,
> > > >> > > > > > > >> > > > Julie
> > > >> > > > > > > >> > > >
> > > >> > > > > > > >> > > >
> > > >> > > > > > > >> > > >
> > > >> > > > > > > >> > > >
> > > >> > > > > > > >> > > >
> > > >> > > > > > > >> > > >
> > > >> > > > > > > >> > > > On Thu, Feb 23, 2017 at 11:44 AM, Xinxia
Song
> via
> > > RT
> > > >> <
> > > >> > > > > > > >> > met_help at ucar.edu>
> > > >> > > > > > > >> > > > wrote:
> > > >> > > > > > > >> > > >
> > > >> > > > > > > >> > > > >
> > > >> > > > > > > >> > > > > <URL: https://rt.rap.ucar.edu/rt/
> > > >> > > > > Ticket/Display.html?id=79605
> > > >> > > > > > >
> > > >> > > > > > > >> > > > >
> > > >> > > > > > > >> > > > > Hi Julie,
> > > >> > > > > > > >> > > > >
> > > >> > > > > > > >> > > > >
> > > >> > > > > > > >> > > > > I removed the space.
> > > >> > > > > > > >> > > > >
> > > >> > > > > > > >> > > > > [xinxia at chaos parm]$
> > > >> /D2/xinxia/METplus/MET/met-5.2
> > > >> > > > > > /bin/tc_stat
> > > >> > > > > > > >> -job
> > > >> > > > > > > >> > > > > filter -lookin
/D2/xinxia/METplus/MET/input/
> > > >> > > > tc_pairs/201412
> > > >> > > > > > > >> > -init_inc
> > > >> > > > > > > >> > > > > 20141201_00 -match_points true
-dump_row
> > > >> > > > > > > >> /D2/xinxia/METplus/MET/out/
> > > >> > > > > > > >> > > > > extract_tiles/20141201_00/
> > > filter_20141201_00.tcst
> > > >> > > -basin
> > > >> > > > > ML
> > > >> > > > > > > >> > > > > -out_init_mask
/D2/xinxia/METplus/MET/met-5.
> > > >> > > > > > > >> > > 2/share/met/poly/CONUS.poly
> > > >> > > > > > > >> > > > >
> > > >> > > > > > > >> > > > > DEBUG 1: [Source 1] Lookin:
> > > >> > > /D2/xinxia/METplus/MET/input/
> > > >> > > > > > > >> > > tc_pairs/201412
> > > >> > > > > > > >> > > > >
> > > >> > > > > > > >> > > > > DEBUG 2:
> > > >> > > > > > > >> > > > >
> > > >> > > > > > > >> > > > > DEBUG 2: Processing Job 1: -job filter
-basin
> > ML
> > > >> > > -init_inc
> > > >> > > > > > > >> > > > 20141201_000000
> > > >> > > > > > > >> > > > > -match_points true -out_init_mask
> > > >> > > > > > /D2/xinxia/METplus/MET/met-5.
> > > >> > > > > > > >> > > > 2/share/met/poly/CONUS.poly
> > > >> > > > > > > >> > > > > -dump_row
/D2/xinxia/METplus/MET/out/ext
> > > >> > > > > > ract_tiles/20141201_00/
> > > >> > > > > > > >> > > > > filter_20141201_00.tcst
> > > >> > > > > > > >> > > > >
> > > >> > > > > > > >> > > > > DEBUG 1: Creating output dump file:
> > > >> > > > > > /D2/xinxia/METplus/MET/out/
> > > >> > > > > > > >> > > > > extract_tiles/20141201_00/
> > > filter_20141201_00.tcst
> > > >> > > > > > > >> > > > >
> > > >> > > > > > > >> > > > > FILTER: -job filter -basin ML
-init_inc
> > > >> > 20141201_000000
> > > >> > > > > > > >> -match_points
> > > >> > > > > > > >> > > > true
> > > >> > > > > > > >> > > > > -out_init_mask
/D2/xinxia/METplus/MET/met-5.
> > > >> > > > > > > >> > > 2/share/met/poly/CONUS.poly
> > > >> > > > > > > >> > > > > -dump_row
/D2/xinxia/METplus/MET/out/ext
> > > >> > > > > > ract_tiles/20141201_00/
> > > >> > > > > > > >> > > > > filter_20141201_00.tcst
> > > >> > > > > > > >> > > > >
> > > >> > > > > > > >> > > > >
> > > >> > > > > > > >> > > > > DEBUG 2: Job 1 used 0 out of 27292
lines
> read.
> > > >> > > > > > > >> > > > >
> > > >> > > > > > > >> > > > >
> > > >> > > > > > > >> > > > > Because I don't have the right, I
can't find
> > > >> > > > > run_tc_pairs.py,
> > > >> > > > > > > but
> > > >> > > > > > > >> I
> > > >> > > > > > > >> > > know
> > > >> > > > > > > >> > > > > it's under
> > > >> > > > > > > >> > > > >
> > > >> > > > > > > >> > > > > /D2/xinxia/METplus/METplus/ush
> > > >> > > > > > > >> > > > >
> > > >> > > > > > > >> > > > >
> > > >> > > > > > > >> > > > > For Python,
> > > >> > > > > > > >> > > > >
> > > >> > > > > > > >> > > > > [xinxia at chaos ~]$ which python
> > > >> > > > > > > >> > > > >
> > > >> > > > > > > >> > > > > /usr/bin/python
> > > >> > > > > > > >> > > > >
> > > >> > > > > > > >> > > > >
> > > >> > > > > > > >> > > > > Xinxia
> > > >> > > > > > > >> > > > >
> > > >> > > > > > > >> > > > > ________________________________
> > > >> > > > > > > >> > > > > From: Julie Prestopnik via RT <
> > met_help at ucar.edu
> > > >
> > > >> > > > > > > >> > > > > Sent: Friday, February 24, 2017
8:30:01 AM
> > > >> > > > > > > >> > > > > To: Xinxia_Song at outlook.com
> > > >> > > > > > > >> > > > > Subject: Re: [rt.rap.ucar.edu #79605]
> > > >> ImportError: No
> > > >> > > > > module
> > > >> > > > > > > >> named
> > > >> > > > > > > >> > > > > constants_pdef
> > > >> > > > > > > >> > > > >
> > > >> > > > > > > >> > > > > Hi Xinxia.
> > > >> > > > > > > >> > > > >
> > > >> > > > > > > >> > > > > It looks like there is a space where
there
> > should
> > > >> not
> > > >> > > be a
> > > >> > > > > > space
> > > >> > > > > > > >> > > (between
> > > >> > > > > > > >> > > > > /D2/xinxia/METplus/MET/out/ext
> > > >> ract_tiles/20141201_00/
> > > >> > > and
> > > >> > > > > > > >> > > > > filter_20141201_00.tcst after the
-dump_row
> > > >> option).
> > > >> > > > > > > >> > > > >
> > > >> > > > > > > >> > > > > Could you please try it again without
the
> > space?
> > > >> > > > > > > >> > > > >
> > > >> > > > > > > >> > > > > /D2/xinxia/METplus/METplus/ush
> > > >> /run_tc_stat.py:tc_stat
> > > >> > > > from
> > > >> > > > > > > >> calling
> > > >> > > > > > > >> > MET
> > > >> > > > > > > >> > > > > TC-STAT with
command:/D2/xinxia/METplus/MET
> > > >> > > > > > /met-5.2/bin/tc_stat
> > > >> > > > > > > >> -job
> > > >> > > > > > > >> > > > > filter
> > > >> > > > > > > >> > > > > -lookin /D2/xinxia/METplus/MET/input/t
> > > >> c_pairs/201412
> > > >> > > > > > -init_inc
> > > >> > > > > > > >> > > > 20141201_00
> > > >> > > > > > > >> > > > > -match_points true -dump_row
> > > >> > /D2/xinxia/METplus/MET/out/
> > > >> > > > > > > >> > > > > extract_tiles/20141201_00/
> > > filter_20141201_00.tcst
> > > >> > > -basin
> > > >> > > > > ML
> > > >> > > > > > > >> > > > > -out_init_mask
> > > >> > > > > > > >> > > > > /D2/xinxia/METplus/MET/met-5.
> > > >> > > 2/share/met/poly/CONUS.poly
> > > >> > > > > > > >> > > > >
> > > >> > > > > > > >> > > > > Regarding the master_met_plus.py run,
please
> > try
> > > >> > running
> > > >> > > > the
> > > >> > > > > > > >> > following
> > > >> > > > > > > >> > > > two
> > > >> > > > > > > >> > > > > commands and send me the output:
> > > >> > > > > > > >> > > > >
> > > >> > > > > > > >> > > > > which run_tc_pairs.py
> > > >> > > > > > > >> > > > >
> > > >> > > > > > > >> > > > > which python
> > > >> > > > > > > >> > > > >
> > > >> > > > > > > >> > > > > Thanks!
> > > >> > > > > > > >> > > > >
> > > >> > > > > > > >> > > > > Julie
> > > >> > > > > > > >> > > > >
> > > >> > > > > > > >> > > > > On Thu, Feb 23, 2017 at 11:06 AM,
Xinxia Song
> > via
> > > >> RT <
> > > >> > > > > > > >> > > met_help at ucar.edu>
> > > >> > > > > > > >> > > > > wrote:
> > > >> > > > > > > >> > > > >
> > > >> > > > > > > >> > > > > >
> > > >> > > > > > > >> > > > > > <URL: https://rt.rap.ucar.edu/rt/Tic
> > > >> > > > > > ket/Display.html?id=79605
> > > >> > > > > > > >
> > > >> > > > > > > >> > > > > >
> > > >> > > > > > > >> > > > > > Hi Julie,
> > > >> > > > > > > >> > > > > >
> > > >> > > > > > > >> > > > > >
> > > >> > > > > > > >> > > > > > After I ran the long one line
command:
> > > >> > > > > > > >> > > > > >
> > > >> > > > > > > >> > > > > > [xinxia at chaos parm]$
> > > >> /D2/xinxia/METplus/MET/met-5.
> > > >> > > > > > > 2/bin/tc_stat
> > > >> > > > > > > >> > -job
> > > >> > > > > > > >> > > > > > filter -lookin
> /D2/xinxia/METplus/MET/input/
> > > >> > > > > tc_pairs/201412
> > > >> > > > > > > >> > > -init_inc
> > > >> > > > > > > >> > > > > > 20141201_00 -match_points true
-dump_row
> > > >> > > > > > > >> > /D2/xinxia/METplus/MET/out/
> > > >> > > > > > > >> > > > > extract_tiles/20141201_00/
> > > >> > > > > > > >> > > > > > filter_20141201_00.tcst  -basin ML
> > > -out_init_mask
> > > >> > > > > > > >> > > > > > /D2/xinxia/METplus/MET/met-5.
> > > >> > > > 2/share/met/poly/CONUS.poly
> > > >> > > > > > > >> > > > > >
> > > >> > > > > > > >> > > > > >
> > > >> > > > > > > >> > > > > > DEBUG 1: [Source 1] Lookin:
> > > >> > > > /D2/xinxia/METplus/MET/input/
> > > >> > > > > > > >> > > > tc_pairs/201412
> > > >> > > > > > > >> > > > > >
> > > >> > > > > > > >> > > > > > ERROR  :
> > > >> > > > > > > >> > > > > >
> > > >> > > > > > > >> > > > > > ERROR  : TCStatJob
> *TCStatJobFactory::new_tc_
> > > >> > > > > stat_job(const
> > > >> > > > > > > >> char
> > > >> > > > > > > >> > > > > > *jobstring) -> unsupported job
command
> > options
> > > >> > > > > > > >> > > > "filter_20141201_00.tcst".
> > > >> > > > > > > >> > > > > >
> > > >> > > > > > > >> > > > > > ERROR  :
> > > >> > > > > > > >> > > > > >
> > > >> > > > > > > >> > > > > >
> > > >> > > > > > > >> > > > > > And for the master_met_plus.py, I
got the
> > > error:
> > > >> > > > > > > >> > > > > >
> > > >> > > > > > > >> > > > > > [xinxia at chaos ush]$ python
> > master_met_plus.py
> > > >> > > > > > > >> > > > > >
> > > >> > > > > > > >> > > > > > sh: run_tc_pairs.py: command not
found
> > > >> > > > > > > >> > > > > >
> > > >> > > > > > > >> > > > > >
> > > >> > > > > > > >> > > > > > Thanks,
> > > >> > > > > > > >> > > > > >
> > > >> > > > > > > >> > > > > >
> > > >> > > > > > > >> > > > > > Xinxia
> > > >> > > > > > > >> > > > > >
> > > >> > > > > > > >> > > > > > ________________________________
> > > >> > > > > > > >> > > > > > From: Julie Prestopnik via RT <
> > > met_help at ucar.edu
> > > >> >
> > > >> > > > > > > >> > > > > > Sent: Friday, February 24, 2017
7:42:21 AM
> > > >> > > > > > > >> > > > > > To: Xinxia_Song at outlook.com
> > > >> > > > > > > >> > > > > > Subject: Re: [rt.rap.ucar.edu
#79605]
> > > >> ImportError:
> > > >> > No
> > > >> > > > > > module
> > > >> > > > > > > >> named
> > > >> > > > > > > >> > > > > > constants_pdef
> > > >> > > > > > > >> > > > > >
> > > >> > > > > > > >> > > > > > My apologies, my response should
have said,
> > "By
> > > >> > > default,
> > > >> > > > > MET
> > > >> > > > > > > >> > version
> > > >> > > > > > > >> > > > 5.2
> > > >> > > > > > > >> > > > > is
> > > >> > > > > > > >> > > > > > compiled using dynamic linking."
It's true
> > for
> > > >> > both,
> > > >> > > > but
> > > >> > > > > I
> > > >> > > > > > > see
> > > >> > > > > > > >> > > you're
> > > >> > > > > > > >> > > > > > using 5.2 and I inadvertently
referred to
> > 5.1.
> > > >> > > > > > > >> > > > > >
> > > >> > > > > > > >> > > > > > On Thu, Feb 23, 2017 at 10:40 AM,
Julie
> > > >> Prestopnik <
> > > >> > > > > > > >> > jpresto at ucar.edu
> > > >> > > > > > > >> > > >
> > > >> > > > > > > >> > > > > > wrote:
> > > >> > > > > > > >> > > > > >
> > > >> > > > > > > >> > > > > > > Hi Xinxia.  Regarding the error:
> > > >> > > > > > > >> > > > > > >
> > > >> > > > > > > >> > > > > > > /D2/xinxia/METplus/MET/met-5.
> > 2/bin/tc_stat:
> > > >> error
> > > >> > > > while
> > > >> > > > > > > >> loading
> > > >> > > > > > > >> > > > shared
> > > >> > > > > > > >> > > > > > > libraries: libgsl.so.19: cannot
open
> shared
> > > >> object
> > > >> > > > file:
> > > >> > > > > > No
> > > >> > > > > > > >> such
> > > >> > > > > > > >> > > file
> > > >> > > > > > > >> > > > > or
> > > >> > > > > > > >> > > > > > > directory
> > > >> > > > > > > >> > > > > > >
> > > >> > > > > > > >> > > > > > > By default, MET version 5.1 is
compiled
> > using
> > > >> > > dynamic
> > > >> > > > > > > linking.
> > > >> > > > > > > >> > > > Rather
> > > >> > > > > > > >> > > > > > > than compiling the external
library code
> in
> > > >> with
> > > >> > the
> > > >> > > > MET
> > > >> > > > > > > >> > > executables
> > > >> > > > > > > >> > > > > > (which
> > > >> > > > > > > >> > > > > > > is
> > > >> > > > > > > >> > > > > > > called static linking), it looks
for them
> > at
> > > >> > > runtime.
> > > >> > > > > And
> > > >> > > > > > > >> it's
> > > >> > > > > > > >> > > > looking
> > > >> > > > > > > >> > > > > > > for those "shared object" (.so)
library
> > > files.
> > > >> > > > > > > >> > > > > > >
> > > >> > > > > > > >> > > > > > > This should be easy to fix. We
just need
> to
> > > >> tell
> > > >> > it
> > > >> > > > > where
> > > >> > > > > > to
> > > >> > > > > > > >> find
> > > >> > > > > > > >> > > > them,
> > > >> > > > > > > >> > > > > > > and we do that by setting (or
adding to
> the
> > > >> > > > > > > LD_LIBRARY_PATH).
> > > >> > > > > > > >> > Look
> > > >> > > > > > > >> > > > in
> > > >> > > > > > > >> > > > > > your
> > > >> > > > > > > >> > > > > > > ~/.bashrc file.  If
LD_LIBRARY_PATH is
> > > already
> > > >> > > defined
> > > >> > > > > in
> > > >> > > > > > > >> there,
> > > >> > > > > > > >> > > add
> > > >> > > > > > > >> > > > > the
> > > >> > > > > > > >> > > > > > > path to the libgsl.so.19 to the
end of
> it.
> > > If
> > > >> > not,
> > > >> > > > add
> > > >> > > > > an
> > > >> > > > > > > >> > > > > > > LD_LIBRARY_PATH entry in your
~/.bashrc
> > file.
> > > >> So,
> > > >> > > for
> > > >> > > > > > > >> example,
> > > >> > > > > > > >> > if
> > > >> > > > > > > >> > > > the
> > > >> > > > > > > >> > > > > > path
> > > >> > > > > > > >> > > > > > > to your libgsl.so.19 file is
> > > >> > > > > > /D2/xinxia/METplus/MET/externa
> > > >> > > > > > > >> > > > > > l_libs/GSL/gsl-1.16/lib
> > > >> > > > > > > >> > > > > > > you would add teh following to
your
> > ~/.bashrc
> > > >> > file:
> > > >> > > > > > > >> > > > > > >
> > > >> > > > > > > >> > > > > > >   export
LD_LIBRARY_PATH=/D2/xinxia/
> > > >> > > > > > > >> > METplus/MET/external_libs/GSL/
> > > >> > > > > > > >> > > > > > > gsl-1.16/lib
> > > >> > > > > > > >> > > > > > >
> > > >> > > > > > > >> > > > > > > Then save the change and source
that
> file:
> > > >> > > > > > > >> > > > > > >
> > > >> > > > > > > >> > > > > > >   source ~/.bashrc
> > > >> > > > > > > >> > > > > > >
> > > >> > > > > > > >> > > > > > > Then, please try rerunning the
command
> > > manually
> > > >> > and
> > > >> > > > let
> > > >> > > > > me
> > > >> > > > > > > >> know
> > > >> > > > > > > >> > if
> > > >> > > > > > > >> > > it
> > > >> > > > > > > >> > > > > > > works.
> > > >> > > > > > > >> > > > > > >
> > > >> > > > > > > >> > > > > > > I believe that this was the cause
of the
> > > >> initial
> > > >> > > error
> > > >> > > > > you
> > > >> > > > > > > >> > received
> > > >> > > > > > > >> > > > > from
> > > >> > > > > > > >> > > > > > > MET+:
> > > >> > > > > > > >> > > > > > >
> > > >> > > > > > > >> > > > > > > ERROR| /D2/xinxia/METplus/METplus/
> > > >> > > > > > > ush/run_tc_stat.py:tc_stat
> > > >> > > > > > > >> > from
> > > >> > > > > > > >> > > > > > calling
> > > >> > > > > > > >> > > > > > > MET TC-STAT with
> > command:/D2/xinxia/METplus/
> > > >> > > > > > > >> > > MET/met-5.2/bin/tc_stat
> > > >> > > > > > > >> > > > > -job
> > > >> > > > > > > >> > > > > > > filter -lookin
> > /D2/xinxia/METplus/MET/input/t
> > > >> > > > > > c_pairs/201412
> > > >> > > > > > > >> > > > -init_inc
> > > >> > > > > > > >> > > > > > > 20141201_00 -match_points true
-dump_row
> > > >> > > > > > > >> > > > /D2/xinxia/METplus/MET/out/ext
> > > >> > > > > > > >> > > > > > > ract_tiles/20141201_00/filter_
> > > 20141201_00.tcst
> > > >> > > > -basin
> > > >> > > > > ML
> > > >> > > > > > > >> > > > > -out_init_mask
> > > >> > > > > > > >> > > > > > > /D2/xinxia/METplus/MET/met-5.
> > > >> > > > > 2/share/met/poly/CONUS.poly
> > > >> > > > > > > >> > > > > > >
> > > >> > > > > > > >> > > > > > >
> > > >> > > > > > > >> > > > > > > Thanks,
> > > >> > > > > > > >> > > > > > > Julie
> > > >> > > > > > > >> > > > > > >
> > > >> > > > > > > >> > > > > > > On Thu, Feb 23, 2017 at 10:14 AM,
Xinxia
> > Song
> > > >> via
> > > >> > > RT <
> > > >> > > > > > > >> > > > > met_help at ucar.edu>
> > > >> > > > > > > >> > > > > > > wrote:
> > > >> > > > > > > >> > > > > > >
> > > >> > > > > > > >> > > > > > >>
> > > >> > > > > > > >> > > > > > >> <URL:
https://rt.rap.ucar.edu/rt/Tic
> > > >> > > > > > > >> ket/Display.html?id=79605 >
> > > >> > > > > > > >> > > > > > >>
> > > >> > > > > > > >> > > > > > >> Hi Julie,
> > > >> > > > > > > >> > > > > > >>
> > > >> > > > > > > >> > > > > > >>
> > > >> > > > > > > >> > > > > > >> [xinxia at chaos ush]$
> > > >> > /D2/xinxia/METplus/MET/met-5.2
> > > >> > > > > > > >> /bin/tc_stat
> > > >> > > > > > > >> > > -job
> > > >> > > > > > > >> > > > > > >> filter -lookin
> > /D2/xinxia/METplus/MET/input/
> > > >> > > > > > > tc_pairs/201412
> > > >> > > > > > > >> > > > -init_inc
> > > >> > > > > > > >> > > > > > >> 20141201_00 -match_points true
-dump_row
> > > >> > > > > > > >> > > > > /D2/xinxia/METplus/MET/out/ext
> > > >> > > > > > > >> > > > > > ract_tiles/20141201_00/
> > > >> > > > > > > >> > > > > > >> filter_20141201_00.tcst  -basin
ML
> > > >> -out_init_mask
> > > >> > > > > > > >> > > > > > >> /D2/xinxia/METplus/MET/met-5.
> > > >> > > > > 2/share/met/poly/CONUS.poly
> > > >> > > > > > > >> > > > > > >>
> > > >> > > > > > > >> > > > > > >> /D2/xinxia/METplus/MET/met-5.
> > 2/bin/tc_stat:
> > > >> > error
> > > >> > > > > while
> > > >> > > > > > > >> loading
> > > >> > > > > > > >> > > > > shared
> > > >> > > > > > > >> > > > > > >> libraries: libgsl.so.19: cannot
open
> > shared
> > > >> > object
> > > >> > > > > file:
> > > >> > > > > > No
> > > >> > > > > > > >> such
> > > >> > > > > > > >> > > > file
> > > >> > > > > > > >> > > > > or
> > > >> > > > > > > >> > > > > > >> directory
> > > >> > > > > > > >> > > > > > >>
> > > >> > > > > > > >> > > > > > >>
> > > >> > > > > > > >> > > > > > >> And I uploaded the configuration
file
> > > >> > > > > (constants_pdef.py)
> > > >> > > > > > > >> under
> > > >> > > > > > > >> > > > > > >> xinxia_data directory.
> > > >> > > > > > > >> > > > > > >>
> > > >> > > > > > > >> > > > > > >>
> > > >> > > > > > > >> > > > > > >> Thanks,
> > > >> > > > > > > >> > > > > > >>
> > > >> > > > > > > >> > > > > > >>
> > > >> > > > > > > >> > > > > > >> Xinxia
> > > >> > > > > > > >> > > > > > >>
> > > >> > > > > > > >> > > > > > >> ________________________________
> > > >> > > > > > > >> > > > > > >> From: Julie Prestopnik via RT <
> > > >> met_help at ucar.edu
> > > >> > >
> > > >> > > > > > > >> > > > > > >> Sent: Friday, February 24, 2017
6:15:57
> AM
> > > >> > > > > > > >> > > > > > >> To: Xinxia_Song at outlook.com
> > > >> > > > > > > >> > > > > > >> Subject: Re: [rt.rap.ucar.edu
#79605]
> > > >> > ImportError:
> > > >> > > > No
> > > >> > > > > > > module
> > > >> > > > > > > >> > > named
> > > >> > > > > > > >> > > > > > >> constants_pdef
> > > >> > > > > > > >> > > > > > >>
> > > >> > > > > > > >> > > > > > >> Hi Xinxia.
> > > >> > > > > > > >> > > > > > >>
> > > >> > > > > > > >> > > > > > >> I can see that your command,
which
> should
> > > have
> > > >> > been
> > > >> > > > all
> > > >> > > > > > on
> > > >> > > > > > > >> one
> > > >> > > > > > > >> > > line,
> > > >> > > > > > > >> > > > > was
> > > >> > > > > > > >> > > > > > >> broken up into several lines.
Please
> try
> > > >> running
> > > >> > > the
> > > >> > > > > > > command
> > > >> > > > > > > >> > > again,
> > > >> > > > > > > >> > > > > > >> making
> > > >> > > > > > > >> > > > > > >> sure that the entire command is
on one
> > line:
> > > >> > > > > > > >> > > > > > >>
> > > >> > > > > > > >> > > > > > >> /D2/xinxia/METplus/MET/met-5.
> > 2/bin/tc_stat
> > > >> -job
> > > >> > > > filter
> > > >> > > > > > > >> -lookin
> > > >> > > > > > > >> > > > > > >> /D2/xinxia/METplus/MET/input/
> > > tc_pairs/201412
> > > >> > > > -init_inc
> > > >> > > > > > > >> > > 20141201_00
> > > >> > > > > > > >> > > > > > >> -match_points true -dump_row
> > > >> > > > > > > >> > > > > > >> /D2/xinxia/METplus/MET/out/
> > > >> > > > extract_tiles/20141201_00/
> > > >> > > > > > > >> > > > > > >> filter_20141201_00.tcst  -basin
ML
> > > >> -out_init_mask
> > > >> > > > > > > >> > > > > > >> /D2/xinxia/METplus/MET/met-5.
> > > >> > > > > 2/share/met/poly/CONUS.poly
> > > >> > > > > > > >> > > > > > >>
> > > >> > > > > > > >> > > > > > >> Then, please send the output from
that
> > > >> command.
> > > >> > > > > > > >> > > > > > >>
> > > >> > > > > > > >> > > > > > >> Regarding, your error:
> > > >> > > > > > > >> > > > > > >>
> > > >> > > > > > > >> > > > > > >> sh: run_tc_pairs.py: command not
found
> > > >> > > > > > > >> > > > > > >>
> > > >> > > > > > > >> > > > > > >> It's strange that would only have
> occurred
> > > >> after
> > > >> > > > having
> > > >> > > > > > > >> changed
> > > >> > > > > > > >> > > the
> > > >> > > > > > > >> > > > > > >> LOG_LEVEL.  Could you please send
us
> your
> > > >> > > > configuration
> > > >> > > > > > > file?
> > > >> > > > > > > >> > > > > > >>
> > > >> > > > > > > >> > > > > > >> Thanks!
> > > >> > > > > > > >> > > > > > >>
> > > >> > > > > > > >> > > > > > >> Julie
> > > >> > > > > > > >> > > > > > >>
> > > >> > > > > > > >> > > > > > >> On Wed, Feb 22, 2017 at 2:54 PM,
Xinxia
> > Song
> > > >> via
> > > >> > > RT <
> > > >> > > > > > > >> > > > > met_help at ucar.edu>
> > > >> > > > > > > >> > > > > > >> wrote:
> > > >> > > > > > > >> > > > > > >>
> > > >> > > > > > > >> > > > > > >> >
> > > >> > > > > > > >> > > > > > >> > <URL:
https://rt.rap.ucar.edu/rt/Tic
> > > >> > > > > > > >> ket/Display.html?id=79605
> > > >> > > > > > > >> > >
> > > >> > > > > > > >> > > > > > >> >
> > > >> > > > > > > >> > > > > > >> > Hi Julie,
> > > >> > > > > > > >> > > > > > >> >
> > > >> > > > > > > >> > > > > > >> >
> > > >> > > > > > > >> > > > > > >> > [xinxia at chaos ush]$
> > > >> > > /D2/xinxia/METplus/MET/met-5.
> > > >> > > > > > > >> > 2/bin/tc_stat
> > > >> > > > > > > >> > > > -job
> > > >> > > > > > > >> > > > > > >> > filter -lookin
> > > >> > > > > > > >> > > > > > >> >
> > > >> > > > > > > >> > > > > > >> > /D2/xinxia/METplus/MET/met-5.
> > > 2/bin/tc_stat:
> > > >> > > error
> > > >> > > > > > while
> > > >> > > > > > > >> > loading
> > > >> > > > > > > >> > > > > > shared
> > > >> > > > > > > >> > > > > > >> > libraries: libgsl.so.19: cannot
open
> > > shared
> > > >> > > object
> > > >> > > > > > file:
> > > >> > > > > > > No
> > > >> > > > > > > >> > such
> > > >> > > > > > > >> > > > > file
> > > >> > > > > > > >> > > > > > or
> > > >> > > > > > > >> > > > > > >> > directory
> > > >> > > > > > > >> > > > > > >> >
> > > >> > > > > > > >> > > > > > >> >
> > > >> > > > > > > >> > > > > > >> > [xinxia at chaos ush]$
> > > >> > > /D2/xinxia/METplus/MET/input/
> > > >> > > > > > > >> > > tc_pairs/201412
> > > >> > > > > > > >> > > > > > >> > -init_inc 20141201_00
-match_points
> true
> > > >> > > -dump_row
> > > >> > > > > > > >> > > > > > >> >
> > > >> > > > > > > >> > > > > > >> > -bash:
/D2/xinxia/METplus/MET/input/
> > > >> > > > tc_pairs/201412:
> > > >> > > > > > is
> > > >> > > > > > > a
> > > >> > > > > > > >> > > > directory
> > > >> > > > > > > >> > > > > > >> >
> > > >> > > > > > > >> > > > > > >> >
> > > >> > > > > > > >> > > > > > >> > [xinxia at chaos ush]$
> > > >> > > /D2/xinxia/METplus/MET/out/ext
> > > >> > > > > > > >> > > > > > >> ract_tiles/20141201_00/
> > > >> > > > > > > >> > > > > > >> > filter_20141201_00.tcst  -basin
ML
> > > >> > -out_init_mask
> > > >> > > > > > > >> > > > > > >> > /D2/xinxia/METplus/MET/met-5.2
> > > >> > > > > > /share/met/poly/CONUS.poly
> > > >> > > > > > > >> > > > > > >> >
> > > >> > > > > > > >> > > > > > >> > -bash:
/D2/xinxia/METplus/MET/out/ext
> > > >> > > > > > > >> ract_tiles/20141201_00/:
> > > >> > > > > > > >> > > No
> > > >> > > > > > > >> > > > > such
> > > >> > > > > > > >> > > > > > >> > file or directory
> > > >> > > > > > > >> > > > > > >> >
> > > >> > > > > > > >> > > > > > >> >
> > > >> > > > > > > >> > > > > > >> > After I change the LOG_LEVEL, I
ran
> the
> > > >> > > > > > > >> master_met_plus.py, it
> > > >> > > > > > > >> > > > says:
> > > >> > > > > > > >> > > > > > >> >
> > > >> > > > > > > >> > > > > > >> > [xinxia at chaos ush]$ python
> > > >> master_met_plus.py
> > > >> > > > > > > >> > > > > > >> >
> > > >> > > > > > > >> > > > > > >> > sh: run_tc_pairs.py: command
not found
> > > >> > > > > > > >> > > > > > >> >
> > > >> > > > > > > >> > > > > > >> >
> > > >> > > > > > > >> > > > > > >> >
> > > >> > > > > > > >> > > > > > >> > Thanks,
> > > >> > > > > > > >> > > > > > >> >
> > > >> > > > > > > >> > > > > > >> >
> > > >> > > > > > > >> > > > > > >> > Xinxia
> > > >> > > > > > > >> > > > > > >> >
> > > >> > > > > > > >> > > > > > >> >
> > > >> > > > > > > >> > > > > > >> >
________________________________
> > > >> > > > > > > >> > > > > > >> > From: Julie Prestopnik via RT <
> > > >> > met_help at ucar.edu
> > > >> > > >
> > > >> > > > > > > >> > > > > > >> > Sent: Thursday, February 23,
2017
> > 10:04:55
> > > >> AM
> > > >> > > > > > > >> > > > > > >> > To: Xinxia_Song at outlook.com
> > > >> > > > > > > >> > > > > > >> > Subject: Re: [rt.rap.ucar.edu
#79605]
> > > >> > > ImportError:
> > > >> > > > > No
> > > >> > > > > > > >> module
> > > >> > > > > > > >> > > > named
> > > >> > > > > > > >> > > > > > >> > constants_pdef
> > > >> > > > > > > >> > > > > > >> >
> > > >> > > > > > > >> > > > > > >> > Thank you.  Unfortunately, the
level
> of
> > > >> detail
> > > >> > in
> > > >> > > > the
> > > >> > > > > > log
> > > >> > > > > > > >> file
> > > >> > > > > > > >> > > > > wasn't
> > > >> > > > > > > >> > > > > > >> what
> > > >> > > > > > > >> > > > > > >> > I hoped for.  I'd like to have
you try
> > two
> > > >> > > things.
> > > >> > > > > > > >> > > > > > >> >
> > > >> > > > > > > >> > > > > > >> > First, could you please send me
your
> > > output
> > > >> of
> > > >> > > your
> > > >> > > > > > > manual
> > > >> > > > > > > >> run
> > > >> > > > > > > >> > > of
> > > >> > > > > > > >> > > > > the
> > > >> > > > > > > >> > > > > > >> > following?
> > > >> > > > > > > >> > > > > > >> >
> > > >> > > > > > > >> > > > > > >> > "/D2/xinxia/METplus/MET/met-5.
> > > 2/bin/tc_stat
> > > >> > -job
> > > >> > > > > > filter
> > > >> > > > > > > >> > -lookin
> > > >> > > > > > > >> > > > > > >> > /D2/xinxia/METplus/MET/input/t
> > > >> c_pairs/201412
> > > >> > > > > -init_inc
> > > >> > > > > > > >> > > > 20141201_00
> > > >> > > > > > > >> > > > > > >> > -match_points true -dump_row
> > > >> > > > > > /D2/xinxia/METplus/MET/out/
> > > >> > > > > > > >> > > > > > >> > extract_tiles/20141201_00/
> > > >> > > filter_20141201_00.tcst
> > > >> > > > > > > -basin
> > > >> > > > > > > >> ML
> > > >> > > > > > > >> > > > > > >> > -out_init_mask
> > > >> > > > > > > >> > > > > > >> > /D2/xinxia/METplus/MET/met-5.
> > > >> > > > > > > 2/share/met/poly/CONUS.poly"
> > > >> > > > > > > >> > > > > > >> >
> > > >> > > > > > > >> > > > > > >> > Second, could you please change
your
> log
> > > >> level
> > > >> > in
> > > >> > > > > your
> > > >> > > > > > > >> > > > configuration
> > > >> > > > > > > >> > > > > > >> file
> > > >> > > > > > > >> > > > > > >> > from
> > > >> > > > > > > >> > > > > > >> >
> > > >> > > > > > > >> > > > > > >> > LOG_LEVEL = "INFO"
> > > >> > > > > > > >> > > > > > >> >
> > > >> > > > > > > >> > > > > > >> > to
> > > >> > > > > > > >> > > > > > >> >
> > > >> > > > > > > >> > > > > > >> > LOG_LEVEL = "DEBUG"
> > > >> > > > > > > >> > > > > > >> >
> > > >> > > > > > > >> > > > > > >> > then rerun and upload your log
file to
> > our
> > > >> ftp
> > > >> > > > server
> > > >> > > > > > > >> again?
> > > >> > > > > > > >> > > > > > >> >
> > > >> > > > > > > >> > > > > > >> > Thank you!
> > > >> > > > > > > >> > > > > > >> >
> > > >> > > > > > > >> > > > > > >> > Julie
> > > >> > > > > > > >> > > > > > >> >
> > > >> > > > > > > >> > > > > > >> >
> > > >> > > > > > > >> > > > > > >> > On Wed, Feb 22, 2017 at 12:39
PM,
> Xinxia
> > > >> Song
> > > >> > via
> > > >> > > > RT
> > > >> > > > > <
> > > >> > > > > > > >> > > > > > met_help at ucar.edu
> > > >> > > > > > > >> > > > > > >> >
> > > >> > > > > > > >> > > > > > >> > wrote:
> > > >> > > > > > > >> > > > > > >> >
> > > >> > > > > > > >> > > > > > >> > >
> > > >> > > > > > > >> > > > > > >> > > <URL:
https://rt.rap.ucar.edu/rt/
> > > >> > > > > > > >> > Ticket/Display.html?id=79605
> > > >> > > > > > > >> > > >
> > > >> > > > > > > >> > > > > > >> > >
> > > >> > > > > > > >> > > > > > >> > > Hi Julie,
> > > >> > > > > > > >> > > > > > >> > >
> > > >> > > > > > > >> > > > > > >> > >
> > > >> > > > > > > >> > > > > > >> > > I uploaded the log file under
> > > xinxia_data
> > > >> > > > > directory.
> > > >> > > > > > > >> > > > > > >> > >
> > > >> > > > > > > >> > > > > > >> > >
> > > >> > > > > > > >> > > > > > >> > > Thanks,
> > > >> > > > > > > >> > > > > > >> > >
> > > >> > > > > > > >> > > > > > >> > >
> > > >> > > > > > > >> > > > > > >> > > Xinxia
> > > >> > > > > > > >> > > > > > >> > >
> > > >> > > > > > > >> > > > > > >> > >
> > > >> > > > > > > >> > > > > > >> > >
________________________________
> > > >> > > > > > > >> > > > > > >> > > From: Julie Prestopnik via RT
<
> > > >> > > met_help at ucar.edu
> > > >> > > > >
> > > >> > > > > > > >> > > > > > >> > > Sent: Thursday, February 23,
2017
> > > 9:11:32
> > > >> AM
> > > >> > > > > > > >> > > > > > >> > > To: Xinxia_Song at outlook.com
> > > >> > > > > > > >> > > > > > >> > > Subject: Re: [rt.rap.ucar.edu
> #79605]
> > > >> > > > ImportError:
> > > >> > > > > > No
> > > >> > > > > > > >> > module
> > > >> > > > > > > >> > > > > named
> > > >> > > > > > > >> > > > > > >> > > constants_pdef
> > > >> > > > > > > >> > > > > > >> > >
> > > >> > > > > > > >> > > > > > >> > > Hi Xinxia.
> > > >> > > > > > > >> > > > > > >> > >
> > > >> > > > > > > >> > > > > > >> > > I think it would be helpful
if I
> could
> > > >> take a
> > > >> > > > look
> > > >> > > > > at
> > > >> > > > > > > the
> > > >> > > > > > > >> > log
> > > >> > > > > > > >> > > > > file.
> > > >> > > > > > > >> > > > > > >> > Could
> > > >> > > > > > > >> > > > > > >> > > you please upload your file
to our
> > > >> anonymous
> > > >> > > ftp
> > > >> > > > > site
> > > >> > > > > > > as
> > > >> > > > > > > >> > > follows
> > > >> > > > > > > >> > > > > so
> > > >> > > > > > > >> > > > > > >> that
> > > >> > > > > > > >> > > > > > >> > I
> > > >> > > > > > > >> > > > > > >> > > can take a look?
> > > >> > > > > > > >> > > > > > >> > >
> > > >> > > > > > > >> > > > > > >> > >
http://www.dtcenter.org/met/
> > > >> > > > > > > >> > users/support/met_help.php#ftp
> > > >> > > > > > > >> > > > > > >> > >
> > > >> > > > > > > >> > > > > > >> > > Also, could you please try
running
> the
> > > >> > > following
> > > >> > > > > > > manually
> > > >> > > > > > > >> > and
> > > >> > > > > > > >> > > > send
> > > >> > > > > > > >> > > > > > the
> > > >> > > > > > > >> > > > > > >> > > output to me?
> > > >> > > > > > > >> > > > > > >> > >
> > > >> > > > > > > >> > > > > > >> > > "/D2/xinxia/METplus/MET/met-
5.
> > > >> 2/bin/tc_stat
> > > >> > > -job
> > > >> > > > > > > filter
> > > >> > > > > > > >> > > -lookin
> > > >> > > > > > > >> > > > > > >> > >
/D2/xinxia/METplus/MET/input/t
> > > >> c_pairs/201412
> > > >> > > > > > -init_inc
> > > >> > > > > > > >> > > > > 20141201_00
> > > >> > > > > > > >> > > > > > >> > > -match_points true -dump_row
> > > >> > > > > > > /D2/xinxia/METplus/MET/out/
> > > >> > > > > > > >> > > > > > >> > > extract_tiles/20141201_00/
> > > >> > > > filter_20141201_00.tcst
> > > >> > > > > > > >> -basin
> > > >> > > > > > > >> > ML
> > > >> > > > > > > >> > > > > > >> > > -out_init_mask
> > > >> > > > > > > >> > > > > > >> > > /D2/xinxia/METplus/MET/met-
5.2
> > > >> > > > > > > >> /share/met/poly/CONUS.poly"
> > > >> > > > > > > >> > > > > > >> > >
> > > >> > > > > > > >> > > > > > >> > > Thank you!
> > > >> > > > > > > >> > > > > > >> > >
> > > >> > > > > > > >> > > > > > >> > > Julie
> > > >> > > > > > > >> > > > > > >> > >
> > > >> > > > > > > >> > > > > > >> > >
> > > >> > > > > > > >> > > > > > >> > >
> > > >> > > > > > > >> > > > > > >> > > On Wed, Feb 22, 2017 at 12:06
PM,
> > Xinxia
> > > >> Song
> > > >> > > via
> > > >> > > > > RT
> > > >> > > > > > <
> > > >> > > > > > > >> > > > > > >> met_help at ucar.edu>
> > > >> > > > > > > >> > > > > > >> > > wrote:
> > > >> > > > > > > >> > > > > > >> > >
> > > >> > > > > > > >> > > > > > >> > > >
> > > >> > > > > > > >> > > > > > >> > > > <URL:
https://rt.rap.ucar.edu/rt/
> > > >> > > > > > > >> > > Ticket/Display.html?id=79605
> > > >> > > > > > > >> > > > >
> > > >> > > > > > > >> > > > > > >> > > >
> > > >> > > > > > > >> > > > > > >> > > > Hi Julie,
> > > >> > > > > > > >> > > > > > >> > > >
> > > >> > > > > > > >> > > > > > >> > > >
> > > >> > > > > > > >> > > > > > >> > > > Now I can run the program,
but
> when
> > I
> > > >> look
> > > >> > at
> > > >> > > > the
> > > >> > > > > > log
> > > >> > > > > > > >> file
> > > >> > > > > > > >> > > in
> > > >> > > > > > > >> > > > > the
> > > >> > > > > > > >> > > > > > >> > output,
> > > >> > > > > > > >> > > > > > >> > > > it shows error below:
> > > >> > > > > > > >> > > > > > >> > > >
> > > >> > > > > > > >> > > > > > >> > > >
> > > >> > > > > > > >> > > > > > >> > > > ERROR|
/D2/xinxia/METplus/METplus/
> > > >> > > > > > > >> > > ush/run_tc_stat.py:tc_stat
> > > >> > > > > > > >> > > > > from
> > > >> > > > > > > >> > > > > > >> > > calling
> > > >> > > > > > > >> > > > > > >> > > > MET TC-STAT with
> > > >> > > command:/D2/xinxia/METplus/MET
> > > >> > > > > > > >> > > > > > /met-5.2/bin/tc_stat
> > > >> > > > > > > >> > > > > > >> > -job
> > > >> > > > > > > >> > > > > > >> > > > filter -lookin
> > > >> > /D2/xinxia/METplus/MET/input/
> > > >> > > > > > > >> > tc_pairs/201412
> > > >> > > > > > > >> > > > > > >> -init_inc
> > > >> > > > > > > >> > > > > > >> > > > 20141201_00 -match_points
true
> > > -dump_row
> > > >> > > > > > > >> > > > > > /D2/xinxia/METplus/MET/out/
> > > >> > > > > > > >> > > > > > >> > > > extract_tiles/20141201_00/
> > > >> > > > > filter_20141201_00.tcst
> > > >> > > > > > > >> -basin
> > > >> > > > > > > >> > > ML
> > > >> > > > > > > >> > > > > > >> > > > -out_init_mask
> > > >> > /D2/xinxia/METplus/MET/met-5.
> > > >> > > > > > > >> > > > > > >> > 2/share/met/poly/CONUS.poly
> > > >> > > > > > > >> > > > > > >> > > >
> > > >> > > > > > > >> > > > > > >> > > >
> > > >> > > > > > > >> > > > > > >> > > > How should I fix it?
> > > >> > > > > > > >> > > > > > >> > > >
> > > >> > > > > > > >> > > > > > >> > > >
> > > >> > > > > > > >> > > > > > >> > > > Thanks,
> > > >> > > > > > > >> > > > > > >> > > >
> > > >> > > > > > > >> > > > > > >> > > >
> > > >> > > > > > > >> > > > > > >> > > > Xinxia
> > > >> > > > > > > >> > > > > > >> > > >
> > > >> > > > > > > >> > > > > > >> > > >
________________________________
> > > >> > > > > > > >> > > > > > >> > > > From: Julie Prestopnik via
RT <
> > > >> > > > met_help at ucar.edu
> > > >> > > > > >
> > > >> > > > > > > >> > > > > > >> > > > Sent: Thursday, February
23, 2017
> > > >> 7:30:06
> > > >> > AM
> > > >> > > > > > > >> > > > > > >> > > > To: Xinxia_Song at outlook.com
> > > >> > > > > > > >> > > > > > >> > > > Subject: Re:
[rt.rap.ucar.edu
> > #79605]
> > > >> > > > > ImportError:
> > > >> > > > > > > No
> > > >> > > > > > > >> > > module
> > > >> > > > > > > >> > > > > > named
> > > >> > > > > > > >> > > > > > >> > > > constants_pdef
> > > >> > > > > > > >> > > > > > >> > > >
> > > >> > > > > > > >> > > > > > >> > > > Hi Xinxia.
> > > >> > > > > > > >> > > > > > >> > > >
> > > >> > > > > > > >> > > > > > >> > > > I believe that python
doesn't know
> > how
> > > >> to
> > > >> > > find
> > > >> > > > > the
> > > >> > > > > > > >> module
> > > >> > > > > > > >> > > > > because
> > > >> > > > > > > >> > > > > > >> the
> > > >> > > > > > > >> > > > > > >> > ush
> > > >> > > > > > > >> > > > > > >> > > > directory is not in your
> PYTHONPATH.
> > > >> Both
> > > >> > > the
> > > >> > > > > parm
> > > >> > > > > > > and
> > > >> > > > > > > >> > ush
> > > >> > > > > > > >> > > > > > >> directory
> > > >> > > > > > > >> > > > > > >> > > need
> > > >> > > > > > > >> > > > > > >> > > > to be specified in your
> PYTHONPATH.
> > > >> Please
> > > >> > > add
> > > >> > > > > the
> > > >> > > > > > > ush
> > > >> > > > > > > >> > > > > directory
> > > >> > > > > > > >> > > > > > to
> > > >> > > > > > > >> > > > > > >> > your
> > > >> > > > > > > >> > > > > > >> > > > PYTHONPATH, source
~/.bashrc, and
> > let
> > > us
> > > >> > know
> > > >> > > > how
> > > >> > > > > > it
> > > >> > > > > > > >> goes.
> > > >> > > > > > > >> > > > > > >> > > >
> > > >> > > > > > > >> > > > > > >> > > > Thanks,
> > > >> > > > > > > >> > > > > > >> > > > Julie
> > > >> > > > > > > >> > > > > > >> > > >
> > > >> > > > > > > >> > > > > > >> > > > On Wed, Feb 22, 2017 at
10:24 AM,
> > > Xinxia
> > > >> > Song
> > > >> > > > via
> > > >> > > > > > RT
> > > >> > > > > > > <
> > > >> > > > > > > >> > > > > > >> > met_help at ucar.edu>
> > > >> > > > > > > >> > > > > > >> > > > wrote:
> > > >> > > > > > > >> > > > > > >> > > >
> > > >> > > > > > > >> > > > > > >> > > > >
> > > >> > > > > > > >> > > > > > >> > > > > <URL:
> https://rt.rap.ucar.edu/rt/
> > > >> > > > > > > >> > > > Ticket/Display.html?id=79605
> > > >> > > > > > > >> > > > > >
> > > >> > > > > > > >> > > > > > >> > > > >
> > > >> > > > > > > >> > > > > > >> > > > > Hi Julie,
> > > >> > > > > > > >> > > > > > >> > > > >
> > > >> > > > > > > >> > > > > > >> > > > >
> > > >> > > > > > > >> > > > > > >> > > > > Since I don't have
setenv, I
> added
> > > >> these
> > > >> > 3
> > > >> > > > > > sentence
> > > >> > > > > > > >> into
> > > >> > > > > > > >> > > my
> > > >> > > > > > > >> > > > > > >> .bashrc
> > > >> > > > > > > >> > > > > > >> > > file:
> > > >> > > > > > > >> > > > > > >> > > > >
> > > >> > > > > > > >> > > > > > >> > > > >
> > > >> > > > > > > >> > > > > > >> > > > > export
PYTHONPATH="/D2/xinxia/
> > > >> > > > > > > METplus/METplus/parm"
> > > >> > > > > > > >> > > > > > >> > > > >
> > > >> > > > > > > >> > > > > > >> > > > >
> > > >> > > > > > > >> > > > > > >> > > > > export
> USHROOT=/D2/xinxia/METplus/
> > > >> > > > METplus/ush
> > > >> > > > > > > >> > > > > > >> > > > >
> > > >> > > > > > > >> > > > > > >> > > > > export
PATH=$USHROOT:$PATH
> > > >> > > > > > > >> > > > > > >> > > > >
> > > >> > > > > > > >> > > > > > >> > > > >
> > > >> > > > > > > >> > > > > > >> > > > > I sourced the ~/.bashrc,
and
> > checked
> > > >> that
> > > >> > > the
> > > >> > > > > > > >> variables
> > > >> > > > > > > >> > > are
> > > >> > > > > > > >> > > > > set,
> > > >> > > > > > > >> > > > > > >> but
> > > >> > > > > > > >> > > > > > >> > > the
> > > >> > > > > > > >> > > > > > >> > > > > program still can't find
the
> > module.
> > > >> > > > > > > >> > > > > > >> > > > >
> > > >> > > > > > > >> > > > > > >> > > > >
> > > >> > > > > > > >> > > > > > >> > > > > Thanks,
> > > >> > > > > > > >> > > > > > >> > > > >
> > > >> > > > > > > >> > > > > > >> > > > > Xinxia
> > > >> > > > > > > >> > > > > > >> > > > >
> > > >> > > > > > > >> > > > > > >> > > > >
______________________________
> __
> > > >> > > > > > > >> > > > > > >> > > > > From: Julie Prestopnik
via RT <
> > > >> > > > > met_help at ucar.edu
> > > >> > > > > > >
> > > >> > > > > > > >> > > > > > >> > > > > Sent: Thursday, February
23,
> 2017
> > > >> 6:24:21
> > > >> > > AM
> > > >> > > > > > > >> > > > > > >> > > > > To:
Xinxia_Song at outlook.com
> > > >> > > > > > > >> > > > > > >> > > > > Subject: Re:
[rt.rap.ucar.edu
> > > #79605]
> > > >> > > > > > ImportError:
> > > >> > > > > > > >> No
> > > >> > > > > > > >> > > > module
> > > >> > > > > > > >> > > > > > >> named
> > > >> > > > > > > >> > > > > > >> > > > > constants_pdef
> > > >> > > > > > > >> > > > > > >> > > > >
> > > >> > > > > > > >> > > > > > >> > > > > Hi Xinxia.
> > > >> > > > > > > >> > > > > > >> > > > >
> > > >> > > > > > > >> > > > > > >> > > > > Could you please check to
make
> > sure
> > > >> that
> > > >> > > the
> > > >> > > > > ush
> > > >> > > > > > > >> > directory
> > > >> > > > > > > >> > > > > with
> > > >> > > > > > > >> > > > > > >> > > > > constants_pdef.py is in
your
> > > >> PYTHONPATH
> > > >> > in
> > > >> > > > your
> > > >> > > > > > > >> .cshrc
> > > >> > > > > > > >> > > file
> > > >> > > > > > > >> > > > > (or
> > > >> > > > > > > >> > > > > > >> > .bashrc
> > > >> > > > > > > >> > > > > > >> > > > or
> > > >> > > > > > > >> > > > > > >> > > > > similar file)?  The parm
> directory
> > > >> should
> > > >> > > > also
> > > >> > > > > be
> > > >> > > > > > > in
> > > >> > > > > > > >> > your
> > > >> > > > > > > >> > > > > > >> PYTHONPATH.
> > > >> > > > > > > >> > > > > > >> > > > >
> > > >> > > > > > > >> > > > > > >> > > > > For example,
> > > >> > > > > > > >> > > > > > >> > > > >
> > > >> > > > > > > >> > > > > > >> > > > > setenv PYTHONPATH
> > > >> > > > /d1/jpresto/sbu/METplus/ush:/
> > > >> > > > > > > >> > > > > > >> > > > d1/jpresto/sbu/METplus/parm
> > > >> > > > > > > >> > > > > > >> > > > >
> > > >> > > > > > > >> > > > > > >> > > > > Please also check make
sure that
> > the
> > > >> path
> > > >> > > to
> > > >> > > > > the
> > > >> > > > > > > ush
> > > >> > > > > > > >> > > > directory
> > > >> > > > > > > >> > > > > > is
> > > >> > > > > > > >> > > > > > >> > also
> > > >> > > > > > > >> > > > > > >> > > > > specified your your path
> > environment
> > > >> > > > variable.
> > > >> > > > > > For
> > > >> > > > > > > >> > > example,
> > > >> > > > > > > >> > > > > > >> > > > >
> > > >> > > > > > > >> > > > > > >> > > > > set path =
(/usr/local/bin \
> > > >> > > > > > > >> > > > > > >> > > > >
> > > >> > > > /usr/local/python/bin/python \
> > > >> > > > > > > >> > > > > > >> > > > >
> > > >> > > /d1/jpresto/sbu/METplus/ush
> > > >> > > > )
> > > >> > > > > > > >> > > > > > >> > > > >
> > > >> > > > > > > >> > > > > > >> > > > > If they are not there,
please
> add
> > > them
> > > >> > and
> > > >> > > > then
> > > >> > > > > > > >> source
> > > >> > > > > > > >> > the
> > > >> > > > > > > >> > > > > file
> > > >> > > > > > > >> > > > > > >> (e.g.
> > > >> > > > > > > >> > > > > > >> > > run
> > > >> > > > > > > >> > > > > > >> > > > > "source ~/.cshrc").
> > > >> > > > > > > >> > > > > > >> > > > >
> > > >> > > > > > > >> > > > > > >> > > > > Thank you!  Please let us
know
> how
> > > it
> > > >> > goes.
> > > >> > > > > > > >> > > > > > >> > > > >
> > > >> > > > > > > >> > > > > > >> > > > > Julie
> > > >> > > > > > > >> > > > > > >> > > > >
> > > >> > > > > > > >> > > > > > >> > > > >
> > > >> > > > > > > >> > > > > > >> > > > >
> > > >> > > > > > > >> > > > > > >> > > > >
> > > >> > > > > > > >> > > > > > >> > > > > On Tue, Feb 21, 2017 at
4:49 PM,
> > > >> Xinxia
> > > >> > > Song
> > > >> > > > > via
> > > >> > > > > > > RT <
> > > >> > > > > > > >> > > > > > >> > met_help at ucar.edu
> > > >> > > > > > > >> > > > > > >> > > >
> > > >> > > > > > > >> > > > > > >> > > > > wrote:
> > > >> > > > > > > >> > > > > > >> > > > >
> > > >> > > > > > > >> > > > > > >> > > > > >
> > > >> > > > > > > >> > > > > > >> > > > > > Tue Feb 21 16:49:28
2017:
> > Request
> > > >> 79605
> > > >> > > was
> > > >> > > > > > acted
> > > >> > > > > > > >> > upon.
> > > >> > > > > > > >> > > > > > >> > > > > > Transaction: Ticket
created by
> > > >> > > > > > > >> > Xinxia_Song at outlook.com
> > > >> > > > > > > >> > > > > > >> > > > > >        Queue: met_help
> > > >> > > > > > > >> > > > > > >> > > > > >      Subject:
ImportError: No
> > > module
> > > >> > > named
> > > >> > > > > > > >> > > constants_pdef
> > > >> > > > > > > >> > > > > > >> > > > > >        Owner: Nobody
> > > >> > > > > > > >> > > > > > >> > > > > >   Requestors:
> > > >> Xinxia_Song at outlook.com
> > > >> > > > > > > >> > > > > > >> > > > > >       Status: new
> > > >> > > > > > > >> > > > > > >> > > > > >  Ticket <URL:
> > > >> > > https://rt.rap.ucar.edu/rt/
> > > >> > > > > > > >> > > > > > >> > > Ticket/Display.html?id=79605
> > > >> > > > > > > >> > > > > > >> > > > >
> > > >> > > > > > > >> > > > > > >> > > > > >
> > > >> > > > > > > >> > > > > > >> > > > > >
> > > >> > > > > > > >> > > > > > >> > > > > > Hi,
> > > >> > > > > > > >> > > > > > >> > > > > >
> > > >> > > > > > > >> > > > > > >> > > > > >
> > > >> > > > > > > >> > > > > > >> > > > > > When I ran the
> > mater_met_plus.py,
> > > it
> > > >> > > says:
> > > >> > > > > > > >> > > > > > >> > > > > >
> > > >> > > > > > > >> > > > > > >> > > > > >
> > > >> > > > > > > >> > > > > > >> > > > > > ImportError: No module
named
> > > >> > > constants_pdef
> > > >> > > > > > > >> > > > > > >> > > > > >
> > > >> > > > > > > >> > > > > > >> > > > > >
> > > >> > > > > > > >> > > > > > >> > > > > > Seems it doesn't
recognize
> > > >> > constants_pdef
> > > >> > > > as
> > > >> > > > > > its
> > > >> > > > > > > >> > module.
> > > >> > > > > > > >> > > > > > >> > > > > >
> > > >> > > > > > > >> > > > > > >> > > > > >
> > > >> > > > > > > >> > > > > > >> > > > > > Thanks,
> > > >> > > > > > > >> > > > > > >> > > > > >
> > > >> > > > > > > >> > > > > > >> > > > > > Xinxia
> > > >> > > > > > > >> > > > > > >> > > > > >
> > > >> > > > > > > >> > > > > > >> > > > > >
> > > >> > > > > > > >> > > > > > >> > > > >
> > > >> > > > > > > >> > > > > > >> > > > >
> > > >> > > > > > > >> > > > > > >> > > > >
> > > >> > > > > > > >> > > > > > >> > > >
> > > >> > > > > > > >> > > > > > >> > > >
> > > >> > > > > > > >> > > > > > >> > > >
> > > >> > > > > > > >> > > > > > >> > >
> > > >> > > > > > > >> > > > > > >> > >
> > > >> > > > > > > >> > > > > > >> > >
> > > >> > > > > > > >> > > > > > >> >
> > > >> > > > > > > >> > > > > > >> >
> > > >> > > > > > > >> > > > > > >> >
> > > >> > > > > > > >> > > > > > >>
> > > >> > > > > > > >> > > > > > >>
> > > >> > > > > > > >> > > > > > >>
> > > >> > > > > > > >> > > > > > >
> > > >> > > > > > > >> > > > > >
> > > >> > > > > > > >> > > > > >
> > > >> > > > > > > >> > > > > >
> > > >> > > > > > > >> > > > >
> > > >> > > > > > > >> > > > >
> > > >> > > > > > > >> > > > >
> > > >> > > > > > > >> > > >
> > > >> > > > > > > >> > > >
> > > >> > > > > > > >> > > >
> > > >> > > > > > > >> > >
> > > >> > > > > > > >> > >
> > > >> > > > > > > >> > >
> > > >> > > > > > > >> >
> > > >> > > > > > > >> >
> > > >> > > > > > > >> >
> > > >> > > > > > > >>
> > > >> > > > > > > >>
> > > >> > > > > > > >>
> > > >> > > > > > > >
> > > >> > > > > > >
> > > >> > > > > > >
> > > >> > > > > > >
> > > >> > > > > >
> > > >> > > > > >
> > > >> > > > > >
> > > >> > > > >
> > > >> > > > >
> > > >> > > > >
> > > >> > > >
> > > >> > > >
> > > >> > > >
> > > >> > >
> > > >> > >
> > > >> > >
> > > >> >
> > > >> >
> > > >> >
> > > >>
> > > >>
> > > >>
> > > >
> > >
> > >
> > >
> >
> >
> >
>
>
>

------------------------------------------------
Subject: ImportError: No module named constants_pdef
From: Xinxia Song
Time: Mon Mar 06 13:22:50 2017

Hi Julie,


I changed the program as you said and get the following results:


sys.version_info(major=2, minor=7, micro=13, releaselevel='final',
serial=0)

Traceback (most recent call last):

  File "/D2/xinxia/METplus/METplus/ush/series_by_lead.py", line 945,
in <module>

    analysis_by_lead_time()

  File "/D2/xinxia/METplus/METplus/ush/series_by_lead.py", line 107,
in analysis_by_lead_time

    util.apply_series_filters(tile_dir, init_times,
series_lead_filtered_out_dir, p, logger)

  File "/D2/xinxia/METplus/METplus/ush/met_util.py", line 1005, in
apply_series_filters

    tcs.tc_stat(p, logger, tc_cmd, series_output_dir)

  File "/D2/xinxia/METplus/METplus/ush/run_tc_stat.py", line 69, in
tc_stat

    tc_stat_out = subprocess.check_output(tc_cmd,
stderr=subprocess.STDOUT, shell=True )

AttributeError: 'module' object has no attribute 'check_output'


Thanks,

Xinxia

________________________________
From: Julie Prestopnik via RT <met_help at ucar.edu>
Sent: Thursday, March 2, 2017 4:52:34 PM
To: Xinxia_Song at outlook.com
Subject: Re: [rt.rap.ucar.edu #79605] ImportError: No module named
constants_pdef

Thank you, Xinxia.

When you ran master_met_plus.py, did you run "python
master_met_plus.py"?

I'd like to have you try something else.

Could you please edit master_met_plus.py? Please insert the following
line

    print(sys.version_info)

below:

    logger = util.get_logger(p)

and above:

    # Get the list of processes to call

Then save the file, rerun master_met_plus.py and set me the output.

Thanks,
Julie


On Thu, Mar 2, 2017 at 2:41 PM, Xinxia Song via RT <met_help at ucar.edu>
wrote:

>
> <URL: https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=79605 >
>
> Hi Julie,
>
> The path is :
>
> /home/xinxia/anaconda2/bin:/D2/xinxia/METplus/METplus/ush:/
> opt/ncl/bin:/opt/intel-soft/bin:/opt/ncl/bin:/home/xinxia/an
> aconda/bin:/home/xinxia/anaconda2/bin:/D2/xinxia/METplus/
> METplus/ush:/opt/ncl/bin:/opt/intel-soft/bin:/opt/ncl/bin:/
> usr/lib64/qt-3.3/bin:/usr/local/bin:/bin:/usr/bin:/usr/
> local/sbin:/usr/sbin:/sbin:/sbin:/usr/sbin:/cm/local/apps/
> environment-modules/3.2.10/bin:/home/xinxia/bin:/opt/ncl-621/bin
>
>
> Thanks,
>
> Xinxia
>
> ________________________________
> From: Julie Prestopnik via RT <met_help at ucar.edu>
> Sent: Thursday, March 2, 2017 4:07:02 PM
> To: Xinxia_Song at outlook.com
> Subject: Re: [rt.rap.ucar.edu #79605] ImportError: No module named
> constants_pdef
>
> Thank you, Xinxia.
>
> When you ran master_met_plus.py, did you run "python
master_met_plus.py"?
>
> Can you please run "echo $path" and send me the output?
>
> Thanks,
> Julie
>
> On Thu, Mar 2, 2017 at 2:04 PM, Xinxia Song via RT
<met_help at ucar.edu>
> wrote:
>
> >
> > <URL: https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=79605 >
> >
> > Hi Julie,
> >
> >
> > I followed your instruction and it doesn't work. I still got the
error:
> >
> > Traceback (most recent call last):
> >
> >   File "/D2/xinxia/METplus/METplus/ush/series_by_lead.py", line
945, in
> > <module>
> >
> >     analysis_by_lead_time()
> >
> >   File "/D2/xinxia/METplus/METplus/ush/series_by_lead.py", line
107, in
> > analysis_by_lead_time
> >
> >     util.apply_series_filters(tile_dir, init_times,
> > series_lead_filtered_out_dir, p, logger)
> >
> >   File "/D2/xinxia/METplus/METplus/ush/met_util.py", line 1005, in
> > apply_series_filters
> >
> >     tcs.tc_stat(p, logger, tc_cmd, series_output_dir)
> >
> >   File "/D2/xinxia/METplus/METplus/ush/run_tc_stat.py", line 69,
in
> > tc_stat
> >
> >     tc_stat_out = subprocess.check_output(tc_cmd,
> > stderr=subprocess.STDOUT, shell=True )
> >
> > AttributeError: 'module' object has no attribute 'check_output'
> >
> >
> > Thanks,
> >
> >
> > Xinxia
> >
> > ________________________________
> > From: Julie Prestopnik via RT <met_help at ucar.edu>
> > Sent: Thursday, March 2, 2017 11:57:54 AM
> > To: Xinxia_Song at outlook.com
> > Subject: Re: [rt.rap.ucar.edu #79605] ImportError: No module named
> > constants_pdef
> >
> > Hi Xinxia.  I apologize for the delay in responding.  I was out of
the
> > office.  I'm so glad to hear that you were able to get a
successful run
> > from series_by_lead.py!
> >
> > Could you please open master_met_plus.py in the editor of your
choice
> (vi,
> > emacs, etc.) and change the first line from:
> >
> > #!/usr/bin/python
> >
> > to
> >
> > #!/usr/bin/env python
> >
> > Then, please delete master_met_plus.pyc  (Note the ".pyc"
extension).
> > Please also do the same for met_util.py, changing the top line and
also
> > removing a .pyc file if one exists.
> >
> > Then, please change your PROCESS_LIST in constants_pdef.py to only
have
> > series_by_lead.py in the list, since the other processes have run
> > successfully via master_met_plus.py.
> >
> > Then, please rerun master_met_plus.py and let me know how it goes.
> >
> > I still suspect that somehow Python 2.6 is being used because this
error:
> >
> > AttributeError: 'module' object has no attribute 'check_output'
> >
> > indicates that subprocess does not have a "check_output"
attribute, which
> > is true for Python 2.6, but not for 2.7.  Hopefully, these changes
will
> > take care of the problem in the environment.  If not, we'll try
something
> > else.  Thank you for your patience and help in testing our alpha
version.
> >
> > Julie
> >
> > On Thu, Mar 2, 2017 at 8:07 AM, Xinxia Song via RT
<met_help at ucar.edu>
> > wrote:
> >
> > >
> > > <URL: https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=79605 >
> > >
> > > Hi Julie,
> > >
> > >
> > > I ran the master_met_plus.py again and still got the error:
> > >
> > >
> > > Traceback (most recent call last):
> > >
> > >   File "/D2/xinxia/METplus/METplus/ush/series_by_lead.py", line
945,
> in
> > > <module>
> > >
> > >     analysis_by_lead_time()
> > >
> > >   File "/D2/xinxia/METplus/METplus/ush/series_by_lead.py", line
107,
> in
> > > analysis_by_lead_time
> > >
> > >     util.apply_series_filters(tile_dir, init_times,
> > > series_lead_filtered_out_dir, p, logger)
> > >
> > >   File "/D2/xinxia/METplus/METplus/ush/met_util.py", line 1005,
in
> > > apply_series_filters
> > >
> > >     tcs.tc_stat(p, logger, tc_cmd, series_output_dir)
> > >
> > >   File "/D2/xinxia/METplus/METplus/ush/run_tc_stat.py", line 69,
in
> > > tc_stat
> > >
> > >     tc_stat_out = subprocess.check_output(tc_cmd,
> > > stderr=subprocess.STDOUT, shell=True )
> > >
> > > AttributeError: 'module' object has no attribute 'check_output'
> > >
> > >
> > >
> > > Thanks,
> > >
> > >
> > > Xinxia
> > >
> > > ________________________________
> > > From: Xinxia Song
> > > Sent: Tuesday, February 28, 2017 5:07:13 PM
> > > To: met_help at ucar.edu
> > > Subject: Re: [rt.rap.ucar.edu #79605] ImportError: No module
named
> > > constants_pdef
> > >
> > >
> > > Hi Julie,
> > >
> > >
> > > I correct these paths and I could successfully run
series_by_lead.py
> but
> > > have errors for the master_met_plus.py. I get the errors:
> > >
> > > Traceback (most recent call last):
> > >
> > >   File "/D2/xinxia/METplus/METplus/ush/series_by_lead.py", line
945,
> in
> > > <module>
> > >
> > >     analysis_by_lead_time()
> > >
> > >   File "/D2/xinxia/METplus/METplus/ush/series_by_lead.py", line
107,
> in
> > > analysis_by_lead_time
> > >
> > >     util.apply_series_filters(tile_dir, init_times,
> > > series_lead_filtered_out_dir, p, logger)
> > >
> > >   File "/D2/xinxia/METplus/METplus/ush/met_util.py", line 1005,
in
> > > apply_series_filters
> > >
> > >     tcs.tc_stat(p, logger, tc_cmd, series_output_dir)
> > >
> > >   File "/D2/xinxia/METplus/METplus/ush/run_tc_stat.py", line 69,
in
> > > tc_stat
> > >
> > >     tc_stat_out = subprocess.check_output(tc_cmd,
> > > stderr=subprocess.STDOUT, shell=True )
> > >
> > > AttributeError: 'module' object has no attribute 'check_output'
> > >
> > >
> > > Thanks,
> > >
> > >
> > > Xinxia
> > >
> > > ________________________________
> > > From: Julie Prestopnik via RT <met_help at ucar.edu>
> > > Sent: Tuesday, February 28, 2017 2:50:58 PM
> > > To: Xinxia_Song at outlook.com
> > > Subject: Re: [rt.rap.ucar.edu #79605] ImportError: No module
named
> > > constants_pdef
> > >
> > > Hi Xinxia.  I also thought I would mention that, as indicated in
the
> > README
> > > file that came with the distribution, in addition to ncap2 and
ncdump,
> > the
> > > following are also required for MET+:
> > >
> > >   - convert utility (part of ImageMagick)
> > >     - https://www.imagemagick.org/script/binary-releases.php
> > >   - wgrib2 utility
> > >     - http://www.cpc.noaa.gov/products/wesley/wgrib2/
> > > compile_questions.html
> > >   - egrep utility
> > >     - http://directory.fsf.org/wiki/Grep
> > >
> > > If you do not have these installed. Please install them and set
up
> their
> > > paths in the constants_pdef.py file.
> > >
> > > Thanks,
> > > Julie
> > >
> > > On Tue, Feb 28, 2017 at 12:45 PM, Julie Prestopnik
<jpresto at ucar.edu>
> > > wrote:
> > >
> > > > Hi Xinxia.
> > > >
> > > > You will also need to have the ncdump command installed, with
the
> > > location
> > > > to the executable listed in NCDUMP_EXE in constants_pdef.py.
Please
> > have
> > > > ncdump installed, update your constants_pdef.py file and
rerun.
> > > >
> > > > Thanks!
> > > >
> > > > Julie
> > > >
> > > > On Tue, Feb 28, 2017 at 12:18 PM, Xinxia Song via RT <
> > met_help at ucar.edu>
> > > > wrote:
> > > >
> > > >>
> > > >> <URL: https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=79605
>
> > > >>
> > > >> Hi Julie,
> > > >>
> > > >>
> > > >> Before I was running master_met_plus.py and now I ran the
> > > >> series_by_lead.py and got the following results:
> > > >>
> > > >> [xinxia at chaos ush]$ python series_by_lead.py
> > > >>
> > > >> Traceback (most recent call last):
> > > >>
> > > >>   File "series_by_lead.py", line 945, in <module>
> > > >>
> > > >>     analysis_by_lead_time()
> > > >>
> > > >>   File "series_by_lead.py", line 326, in
analysis_by_lead_time
> > > >>
> > > >>     vmin, vmax = get_netcdf_min_max(nc_var_list, cur_stat, p,
> logger)
> > > >>
> > > >>   File "series_by_lead.py", line 638, in get_netcdf_min_max
> > > >>
> > > >>     shell=True)
> > > >>
> > > >>   File "/home/xinxia/anaconda2/lib/python2.7/subprocess.py",
line
> > 219,
> > > >> in check_output
> > > >>
> > > >>     raise CalledProcessError(retcode, cmd, output=output)
> > > >>
> > > >> subprocess.CalledProcessError: Command '/usr/local/bin/ncdump
> > > >>
/D2/xinxia/METplus/MET/out/series_analysis_lead/series_F042/min.nc
> >
> > > >> /D2/xinxia/METplus/MET/out/series_analysis_lead/series_F042/
> min.txt'
> > > >> returned non-zero exit status 127
> > > >>
> > > >>
> > > >> Thanks,
> > > >>
> > > >>
> > > >> Xinxia
> > > >>
> > > >> ________________________________
> > > >> From: Julie Prestopnik via RT <met_help at ucar.edu>
> > > >> Sent: Tuesday, February 28, 2017 2:11:19 PM
> > > >> To: Xinxia_Song at outlook.com
> > > >> Subject: Re: [rt.rap.ucar.edu #79605] ImportError: No module
named
> > > >> constants_pdef
> > > >>
> > > >> Hi Xinxia.  Did you run series_by_lead.py on its own or via
> > > >> master_met_plus.py?
> > > >>
> > > >> Thanks,
> > > >> Julie
> > > >>
> > > >> On Tue, Feb 28, 2017 at 11:11 AM, Xinxia Song via RT <
> > met_help at ucar.edu
> > > >
> > > >> wrote:
> > > >>
> > > >> >
> > > >> > <URL:
https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=79605 >
> > > >> >
> > > >> > Hi Julie,
> > > >> >
> > > >> >
> > > >> > I checked it's 2.7.13. It seems the error doesn't coming
from it.
> > > >> >
> > > >> >
> > > >> > Thanks,
> > > >> >
> > > >> >
> > > >> > Xinxia
> > > >> >
> > > >> >
> > > >> > ________________________________
> > > >> > From: Julie Prestopnik via RT <met_help at ucar.edu>
> > > >> > Sent: Tuesday, February 28, 2017 10:49:29 AM
> > > >> > To: Xinxia_Song at outlook.com
> > > >> > Subject: Re: [rt.rap.ucar.edu #79605] ImportError: No
module
> named
> > > >> > constants_pdef
> > > >> >
> > > >> > I think perhaps your environment is using Python 2.6 again.
> > > >> >
> > > >> > Please try running:
> > > >> >
> > > >> > python --version
> > > >> >
> > > >> > on the command line.
> > > >> >
> > > >> > If you see "Python 2..6.6", please add the path for Python
2.7 to
> > the
> > > >> front
> > > >> > of your path in your ~/.bashrc file.  Then, source your
~/.bashrc
> > file
> > > >> and
> > > >> > try rerunning
> > > >> >
> > > >> > python --version
> > > >> >
> > > >> > on the command line.  Hopefully, then you will see the new
> version.
> > > >> Then,
> > > >> > please try rerunning master_met_plus.py.
> > > >> >
> > > >> > I hope this helps!  Thanks!
> > > >> >
> > > >> > Julie
> > > >> >
> > > >> > On Mon, Feb 27, 2017 at 8:14 PM, Xinxia Song via RT <
> > > met_help at ucar.edu>
> > > >> > wrote:
> > > >> >
> > > >> > >
> > > >> > > <URL:
https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=79605 >
> > > >> > >
> > > >> > > Hi Julie,
> > > >> > >
> > > >> > >
> > > >> > > after I update the NCAP2 path in constants_pdef.py and
ran the
> > > >> > > master_met_plus.py, I got the error:
> > > >> > >
> > > >> > > 2017-02-28 02:49:40,659 : ERROR |
[master_met_plus.py:main] |
> > > Problem
> > > >> > > executing: series_by_lead.py
> > > >> > >
> > > >> > > and message:
> > > >> > >
> > > >> > > Traceback (most recent call last):
> > > >> > >
> > > >> > >   File
"/D2/xinxia/METplus/METplus/ush/series_by_lead.py", line
> > > 945,
> > > >> in
> > > >> > > <module>
> > > >> > >
> > > >> > >     analysis_by_lead_time()
> > > >> > >
> > > >> > >   File
"/D2/xinxia/METplus/METplus/ush/series_by_lead.py", line
> > > 107,
> > > >> in
> > > >> > > analysis_by_lead_time
> > > >> > >
> > > >> > >     util.apply_series_filters(tile_dir, init_times,
> > > >> > > series_lead_filtered_out_dir, p, logger)
> > > >> > >
> > > >> > >   File "/D2/xinxia/METplus/METplus/ush/met_util.py", line
1005,
> > in
> > > >> > > apply_series_filters
> > > >> > >
> > > >> > >     tcs.tc_stat(p, logger, tc_cmd, series_output_dir)
> > > >> > >
> > > >> > >   File "/D2/xinxia/METplus/METplus/ush/run_tc_stat.py",
line
> 69,
> > in
> > > >> > > tc_stat
> > > >> > >
> > > >> > >     tc_stat_out = subprocess.check_output(tc_cmd,
> > > >> > > stderr=subprocess.STDOUT, shell=True )
> > > >> > >
> > > >> > > AttributeError: 'module' object has no attribute
'check_output'
> > > >> > >
> > > >> > >
> > > >> > > Thanks,
> > > >> > >
> > > >> > >
> > > >> > > Xinxia
> > > >> > >
> > > >> > > ________________________________
> > > >> > > From: Julie Prestopnik via RT <met_help at ucar.edu>
> > > >> > > Sent: Monday, February 27, 2017 5:15:59 PM
> > > >> > > To: Xinxia_Song at outlook.com
> > > >> > > Subject: Re: [rt.rap.ucar.edu #79605] ImportError: No
module
> > named
> > > >> > > constants_pdef
> > > >> > >
> > > >> > > Please install ncap2 and update the location to the
executable
> in
> > > the
> > > >> > > NCAP2_EXE field of the constants_pdef.py file and trying
> rerunning
> > > the
> > > >> > MET+
> > > >> > > code.  Please let us know how it goes.
> > > >> > >
> > > >> > > Thanks,
> > > >> > > Julie
> > > >> > >
> > > >> > > On Mon, Feb 27, 2017 at 3:10 PM, Xinxia Song via RT <
> > > >> met_help at ucar.edu>
> > > >> > > wrote:
> > > >> > >
> > > >> > > >
> > > >> > > > <URL:
https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=79605
> >
> > > >> > > >
> > > >> > > > Hi Julie,
> > > >> > > >
> > > >> > > >
> > > >> > > > The result is :
> > > >> > > >
> > > >> > > > -bash: /usr/local/nco/bin/ncap2: No such file or
directory
> > > >> > > >
> > > >> > > > I think we don't have it installed.
> > > >> > > >
> > > >> > > >
> > > >> > > > Thanks,
> > > >> > > >
> > > >> > > > Xinxia
> > > >> > > >
> > > >> > > > ________________________________
> > > >> > > > From: Julie Prestopnik via RT <met_help at ucar.edu>
> > > >> > > > Sent: Monday, February 27, 2017 5:08:48 PM
> > > >> > > > To: Xinxia_Song at outlook.com
> > > >> > > > Subject: Re: [rt.rap.ucar.edu #79605] ImportError: No
module
> > > named
> > > >> > > > constants_pdef
> > > >> > > >
> > > >> > > > Hi Xinxia. I believe that error code refers to "Command
not
> > > found".
> > > >> > Can
> > > >> > > > you please run the following and send me the output?
> > > >> > > >
> > > >> > > > /usr/local/nco/bin/ncap2 --version
> > > >> > > >
> > > >> > > > Thanks!
> > > >> > > >
> > > >> > > > Julie
> > > >> > > >
> > > >> > > >
> > > >> > > > On Mon, Feb 27, 2017 at 2:55 PM, Xinxia Song via RT <
> > > >> met_help at ucar.edu
> > > >> > >
> > > >> > > > wrote:
> > > >> > > >
> > > >> > > > >
> > > >> > > > > <URL: https://rt.rap.ucar.edu/rt/Tic
> ket/Display.html?id=79605
> > >
> > > >> > > > >
> > > >> > > > > Hi Julie,
> > > >> > > > >
> > > >> > > > >
> > > >> > > > > The error is:
> > > >> > > > >
> > > >> > > > > Traceback (most recent call last):
> > > >> > > > >
> > > >> > > > >   File "series_by_lead.py", line 945, in <module>
> > > >> > > > >
> > > >> > > > >     analysis_by_lead_time()
> > > >> > > > >
> > > >> > > > >   File "series_by_lead.py", line 326, in
> analysis_by_lead_time
> > > >> > > > >
> > > >> > > > >     vmin, vmax = get_netcdf_min_max(nc_var_list,
cur_stat,
> p,
> > > >> > logger)
> > > >> > > > >
> > > >> > > > >   File "series_by_lead.py", line 605, in
get_netcdf_min_max
> > > >> > > > >
> > > >> > > > >     shell=True)
> > > >> > > > >
> > > >> > > > >   File "/home/xinxia/anaconda2/lib/py
> thon2.7/subprocess.py",
> > > line
> > > >> > 219,
> > > >> > > > in
> > > >> > > > > check_output
> > > >> > > > >
> > > >> > > > >     raise CalledProcessError(retcode, cmd,
output=output)
> > > >> > > > >
> > > >> > > > > subprocess.CalledProcessError: Command
> > '/usr/local/nco/bin/ncap2
> > > >> -v
> > > >> > -s
> > > >> > > > > "min=min(series_cnt_TOTAL)"
/D2/xinxia/METplus/MET/out/
> > > >> > > > >
series_analysis_lead/series_F042/series_F042_HGT_P500.nc
> > > >> > > > > /D2/xinxia/METplus/MET/out/ser
> ies_analysis_lead/series_F042/
> > > >> min.nc'
> > > >> > > > > returned non-zero exit status 127
> > > >> > > > >
> > > >> > > > >
> > > >> > > > > Thanks,
> > > >> > > > >
> > > >> > > > >
> > > >> > > > > Xinxia
> > > >> > > > >
> > > >> > > > > ________________________________
> > > >> > > > > From: Julie Prestopnik via RT <met_help at ucar.edu>
> > > >> > > > > Sent: Tuesday, February 28, 2017 9:18:55 AM
> > > >> > > > > To: Xinxia_Song at outlook.com
> > > >> > > > > Subject: Re: [rt.rap.ucar.edu #79605] ImportError: No
> module
> > > >> named
> > > >> > > > > constants_pdef
> > > >> > > > >
> > > >> > > > > Thank you, Xinxia.
> > > >> > > > >
> > > >> > > > > Unfortunately, the "DEBUG" log level did not provide
much
> > > >> information
> > > >> > > for
> > > >> > > > > this task:
> > > >> > > > >
> > > >> > > > > 2017-02-26 21:30:28,041 : INFO |
[master_met_plus.py:main] |
> > > >> Running:
> > > >> > > > > series_by_lead.py
> > > >> > > > > 2017-02-26 21:30:28,212 : ERROR |
[master_met_plus.py:main]
> |
> > > >> Problem
> > > >> > > > > executing: series_by_lead.py
> > > >> > > > >
> > > >> > > > > Could you please try running series_by_lead.py in the
ush
> > > >> directory?
> > > >> > > > > Please let me know what the output is from that run -
it may
> > > >> still be
> > > >> > > > > contained in your log file.
> > > >> > > > >
> > > >> > > > > Thanks!
> > > >> > > > >
> > > >> > > > > Julie
> > > >> > > > >
> > > >> > > > >
> > > >> > > > > On Mon, Feb 27, 2017 at 11:17 AM, Xinxia Song via RT
<
> > > >> > > met_help at ucar.edu>
> > > >> > > > > wrote:
> > > >> > > > >
> > > >> > > > > >
> > > >> > > > > > <URL: https://rt.rap.ucar.edu/rt/
> > Ticket/Display.html?id=79605
> > > >
> > > >> > > > > >
> > > >> > > > > > Hi Julie,
> > > >> > > > > >
> > > >> > > > > >
> > > >> > > > > > I uploaded the constants_pdef.py and
> > > >> master_met_plus.20170226.log.
> > > >> > > > > >
> > > >> > > > > >
> > > >> > > > > > Thanks,
> > > >> > > > > >
> > > >> > > > > >
> > > >> > > > > > Xinxia
> > > >> > > > > >
> > > >> > > > > > ________________________________
> > > >> > > > > > From: Julie Prestopnik via RT <met_help at ucar.edu>
> > > >> > > > > > Sent: Tuesday, February 28, 2017 5:46:37 AM
> > > >> > > > > > To: Xinxia_Song at outlook.com
> > > >> > > > > > Subject: Re: [rt.rap.ucar.edu #79605] ImportError:
No
> > module
> > > >> named
> > > >> > > > > > constants_pdef
> > > >> > > > > >
> > > >> > > > > > Hi Xinxia.  Can you please upload the configuration
file
> > that
> > > >> you
> > > >> > > used
> > > >> > > > > and
> > > >> > > > > > the log file from that run to our ftp server so
that we
> can
> > > >> take a
> > > >> > > > look?
> > > >> > > > > >
> > > >> > > > > > Thanks!
> > > >> > > > > >
> > > >> > > > > > Julie
> > > >> > > > > >
> > > >> > > > > > On Sun, Feb 26, 2017 at 2:35 PM, Xinxia Song via RT
<
> > > >> > > met_help at ucar.edu
> > > >> > > > >
> > > >> > > > > > wrote:
> > > >> > > > > >
> > > >> > > > > > >
> > > >> > > > > > > <URL: https://rt.rap.ucar.edu/rt/
> > > Ticket/Display.html?id=79605
> > > >> >
> > > >> > > > > > >
> > > >> > > > > > > Hi Julie,
> > > >> > > > > > >
> > > >> > > > > > >
> > > >> > > > > > > I ran the mater_met_plus.py and in the end in the
log
> file
> > > it
> > > >> > gave
> > > >> > > me
> > > >> > > > > an
> > > >> > > > > > > error:
> > > >> > > > > > >
> > > >> > > > > > > 2017-02-26 21:30:28,212 : ERROR |
> > [master_met_plus.py:main]
> > > |
> > > >> > > Problem
> > > >> > > > > > > executing: series_by_lead.py
> > > >> > > > > > >
> > > >> > > > > > >
> > > >> > > > > > > Thanks,
> > > >> > > > > > >
> > > >> > > > > > > Xinxia
> > > >> > > > > > >
> > > >> > > > > > > ________________________________
> > > >> > > > > > > From: Julie Prestopnik via RT <met_help at ucar.edu>
> > > >> > > > > > > Sent: Saturday, February 25, 2017 6:49:56 AM
> > > >> > > > > > > To: Xinxia_Song at outlook.com
> > > >> > > > > > > Subject: Re: [rt.rap.ucar.edu #79605]
ImportError: No
> > > module
> > > >> > named
> > > >> > > > > > > constants_pdef
> > > >> > > > > > >
> > > >> > > > > > > You could also run "tail -f
</path/to/logfile/logfile_
> > > name>"
> > > >> > > > replacing
> > > >> > > > > > > </path/to/logfile/logfile_name> with the logfile
path
> and
> > > >> name
> > > >> > > > > > information
> > > >> > > > > > > to see how the run is coming along.  I hope that
helps!
> > > >> > > > > > >
> > > >> > > > > > > Julie
> > > >> > > > > > >
> > > >> > > > > > > On Fri, Feb 24, 2017 at 9:42 AM, Julie Prestopnik
<
> > > >> > > jpresto at ucar.edu>
> > > >> > > > > > > wrote:
> > > >> > > > > > >
> > > >> > > > > > > > Hi Xinxia.  Running the entire three months of
data
> > could
> > > >> > > certainly
> > > >> > > > > > take
> > > >> > > > > > > a
> > > >> > > > > > > > long time.  I am hoping to get an estimate on
how long
> > it
> > > >> took
> > > >> > to
> > > >> > > > run
> > > >> > > > > > the
> > > >> > > > > > > > three month data set here, but have not been
able to
> > > obtain
> > > >> > that
> > > >> > > > > number
> > > >> > > > > > > > yet.   It sounds the code was running
successfully for
> > > >> you.  If
> > > >> > > > > you're
> > > >> > > > > > > > eager to take a lot at some output, I would
suggest
> > > running
> > > >> a
> > > >> > > > smaller
> > > >> > > > > > > > subset of the data, or perhaps you could set up
the
> > whole
> > > >> three
> > > >> > > > month
> > > >> > > > > > to
> > > >> > > > > > > > run over the weekend.  I would suggest letting
the
> code
> > > run
> > > >> to
> > > >> > > > > > completion
> > > >> > > > > > > > for either a smaller subset or for the entire
subset
> and
> > > >> then
> > > >> > > > > checking
> > > >> > > > > > > the
> > > >> > > > > > > > log file for errors.  I hope that helps.
Please let
> me
> > > >> know if
> > > >> > > you
> > > >> > > > > > have
> > > >> > > > > > > > any questions or encounter any issues.
> > > >> > > > > > > >
> > > >> > > > > > > > Thanks,
> > > >> > > > > > > > Julie
> > > >> > > > > > > >
> > > >> > > > > > > >
> > > >> > > > > > > > On Thu, Feb 23, 2017 at 4:28 PM, Xinxia Song
via RT <
> > > >> > > > > met_help at ucar.edu
> > > >> > > > > > >
> > > >> > > > > > > > wrote:
> > > >> > > > > > > >
> > > >> > > > > > > >>
> > > >> > > > > > > >> <URL: https://rt.rap.ucar.edu/rt/Tic
> > > >> ket/Display.html?id=79605
> > > >> > >
> > > >> > > > > > > >>
> > > >> > > > > > > >> Hi Julie,
> > > >> > > > > > > >>
> > > >> > > > > > > >>
> > > >> > > > > > > >> The version is set to be 2.7+. When I ran
> > > >> master_met_plus.py,
> > > >> > it
> > > >> > > > > seems
> > > >> > > > > > > it
> > > >> > > > > > > >> will run forever. So I killed it, and got the
> > following:
> > > >> > > > > > > >>
> > > >> > > > > > > >> [xinxia at chaos ush]$ python master_met_plus.py
> > > >> > > > > > > >>
> > > >> > > > > > > >> ^CTraceback (most recent call last):
> > > >> > > > > > > >>
> > > >> > > > > > > >>   File "/D2/xinxia/METplus/METplus/
> > > ush/extract_tiles.py",
> > > >> > line
> > > >> > > > 157,
> > > >> > > > > > in
> > > >> > > > > > > >> <module>
> > > >> > > > > > > >>
> > > >> > > > > > > >>     main()
> > > >> > > > > > > >>
> > > >> > > > > > > >>   File "/D2/xinxia/METplus/METplus/
> > > ush/extract_tiles.py",
> > > >> > line
> > > >> > > > 100,
> > > >> > > > > > in
> > > >> > > > > > > >> main
> > > >> > > > > > > >>
> > > >> > > > > > > >>     filtered_out_dir)
> > > >> > > > > > > >>
> > > >> > > > > > > >>   File "/D2/xinxia/METplus/METplus/
> > ush/run_tc_stat.py",
> > > >> line
> > > >> > > 69,
> > > >> > > > in
> > > >> > > > > > > >> tc_stat
> > > >> > > > > > > >>
> > > >> > > > > > > >>     tc_stat_out =
subprocess.check_output(tc_cmd,
> > > >> > > > > > > >> stderr=subprocess.STDOUT, shell=True )
> > > >> > > > > > > >>
> > > >> > > > > > > >>   File "/home/xinxia/anaconda2/lib/py
> > > >> thon2.7/subprocess.py",
> > > >> > > line
> > > >> > > > > > 213,
> > > >> > > > > > > >> in check_output
> > > >> > > > > > > >>
> > > >> > > > > > > >>     output, unused_err = process.communicate()
> > > >> > > > > > > >>
> > > >> > > > > > > >>   File "/home/xinxia/anaconda2/lib/py
> > > >> thon2.7/subprocess.py",
> > > >> > > line
> > > >> > > > > > 471,
> > > >> > > > > > > >> in communicate
> > > >> > > > > > > >>
> > > >> > > > > > > >>     stdout =
_eintr_retry_call(self.stdout.read)
> > > >> > > > > > > >>
> > > >> > > > > > > >>   File "/home/xinxia/anaconda2/lib/py
> > > >> thon2.7/subprocess.py",
> > > >> > > line
> > > >> > > > > > 121,
> > > >> > > > > > > >> in _eintr_retry_call
> > > >> > > > > > > >>
> > > >> > > > > > > >>     return func(*args)
> > > >> > > > > > > >>
> > > >> > > > > > > >> KeyboardInterrupt
> > > >> > > > > > > >>
> > > >> > > > > > > >>
> > > >> > > > > > > >> Thanks,
> > > >> > > > > > > >>
> > > >> > > > > > > >>
> > > >> > > > > > > >> Xinxia
> > > >> > > > > > > >>
> > > >> > > > > > > >> ________________________________
> > > >> > > > > > > >> From: Julie Prestopnik via RT
<met_help at ucar.edu>
> > > >> > > > > > > >> Sent: Friday, February 24, 2017 12:02:21 PM
> > > >> > > > > > > >> To: Xinxia_Song at outlook.com
> > > >> > > > > > > >> Subject: Re: [rt.rap.ucar.edu #79605]
ImportError:
> No
> > > >> module
> > > >> > > > named
> > > >> > > > > > > >> constants_pdef
> > > >> > > > > > > >>
> > > >> > > > > > > >> Hi Xinxia.  I suspect that even though you
installed
> > > Python
> > > >> > 2.7
> > > >> > > > that
> > > >> > > > > > > >> Python
> > > >> > > > > > > >> 2.6.6 is still being used.
> > > >> > > > > > > >>
> > > >> > > > > > > >> Please try running:
> > > >> > > > > > > >>
> > > >> > > > > > > >> python --version
> > > >> > > > > > > >>
> > > >> > > > > > > >> on the command line.
> > > >> > > > > > > >>
> > > >> > > > > > > >> If you see "Python 2..6.6", please add the
path for
> > > Python
> > > >> 2.7
> > > >> > > to
> > > >> > > > > the
> > > >> > > > > > > >> front
> > > >> > > > > > > >> of your path in your ~/.bashrc file.  Then,
source
> your
> > > >> > > ~/.bashrc
> > > >> > > > > file
> > > >> > > > > > > and
> > > >> > > > > > > >> try rerunning
> > > >> > > > > > > >>
> > > >> > > > > > > >> python --version
> > > >> > > > > > > >>
> > > >> > > > > > > >> on the command line.  Hopefully, then you will
see
> the
> > > new
> > > >> > > > version.
> > > >> > > > > > > Then,
> > > >> > > > > > > >> please try rerunning master_met_plus.py.
> > > >> > > > > > > >>
> > > >> > > > > > > >> I hope this helps!  Thanks!
> > > >> > > > > > > >>
> > > >> > > > > > > >> Julie
> > > >> > > > > > > >>
> > > >> > > > > > > >> On Thu, Feb 23, 2017 at 1:51 PM, Xinxia Song
via RT <
> > > >> > > > > > met_help at ucar.edu>
> > > >> > > > > > > >> wrote:
> > > >> > > > > > > >>
> > > >> > > > > > > >> >
> > > >> > > > > > > >> > <URL: https://rt.rap.ucar.edu/rt/Tic
> > > >> > ket/Display.html?id=79605
> > > >> > > >
> > > >> > > > > > > >> >
> > > >> > > > > > > >> > Hi Julie,
> > > >> > > > > > > >> >
> > > >> > > > > > > >> >
> > > >> > > > > > > >> > I installed myself the 2.7 python, it still
got the
> > > error
> > > >> > when
> > > >> > > > > > > running:
> > > >> > > > > > > >> >
> > > >> > > > > > > >> > Traceback (most recent call last):
> > > >> > > > > > > >> >
> > > >> > > > > > > >> >   File "/D2/xinxia/METplus/METplus/us
> > > >> h/series_by_lead.py",
> > > >> > > line
> > > >> > > > > > 945,
> > > >> > > > > > > in
> > > >> > > > > > > >> > <module>
> > > >> > > > > > > >> >
> > > >> > > > > > > >> >     analysis_by_lead_time()
> > > >> > > > > > > >> >
> > > >> > > > > > > >> >   File "/D2/xinxia/METplus/METplus/us
> > > >> h/series_by_lead.py",
> > > >> > > line
> > > >> > > > > > 107,
> > > >> > > > > > > in
> > > >> > > > > > > >> > analysis_by_lead_time
> > > >> > > > > > > >> >
> > > >> > > > > > > >> >     util.apply_series_filters(tile_dir,
> init_times,
> > > >> > > > > > > >> > series_lead_filtered_out_dir, p, logger)
> > > >> > > > > > > >> >
> > > >> > > > > > > >> >   File "/D2/xinxia/METplus/METplus/us
> h/met_util.py",
> > > >> line
> > > >> > > 1005,
> > > >> > > > > in
> > > >> > > > > > > >> > apply_series_filters
> > > >> > > > > > > >> >
> > > >> > > > > > > >> >     tcs.tc_stat(p, logger, tc_cmd,
> series_output_dir)
> > > >> > > > > > > >> >
> > > >> > > > > > > >> >   File "/D2/xinxia/METplus/METplus/
> > > ush/run_tc_stat.py",
> > > >> > line
> > > >> > > > 69,
> > > >> > > > > in
> > > >> > > > > > > >> > tc_stat
> > > >> > > > > > > >> >
> > > >> > > > > > > >> >     tc_stat_out =
subprocess.check_output(tc_cmd,
> > > >> > > > > > > >> > stderr=subprocess.STDOUT, shell=True )
> > > >> > > > > > > >> >
> > > >> > > > > > > >> > AttributeError: 'module' object has no
attribute
> > > >> > > 'check_output'
> > > >> > > > > > > >> >
> > > >> > > > > > > >> >
> > > >> > > > > > > >> > Thanks,
> > > >> > > > > > > >> >
> > > >> > > > > > > >> >
> > > >> > > > > > > >> > Xinxia
> > > >> > > > > > > >> >
> > > >> > > > > > > >> > ________________________________
> > > >> > > > > > > >> > From: Julie Prestopnik via RT
<met_help at ucar.edu>
> > > >> > > > > > > >> > Sent: Friday, February 24, 2017 9:37:53 AM
> > > >> > > > > > > >> > To: Xinxia_Song at outlook.com
> > > >> > > > > > > >> > Subject: Re: [rt.rap.ucar.edu #79605]
ImportError:
> > No
> > > >> > module
> > > >> > > > > named
> > > >> > > > > > > >> > constants_pdef
> > > >> > > > > > > >> >
> > > >> > > > > > > >> > Can you please tell me which version of
Python you
> > are
> > > >> > using?
> > > >> > > > > > > >> check_output
> > > >> > > > > > > >> > for subprocess was introduced in Python 2.7.
Do
> > you
> > > >> have
> > > >> > > > access
> > > >> > > > > > to
> > > >> > > > > > > >> > Python version 2.7 or higher?
> > > >> > > > > > > >> >
> > > >> > > > > > > >> > Thanks,
> > > >> > > > > > > >> > Julie
> > > >> > > > > > > >> >
> > > >> > > > > > > >> > On Thu, Feb 23, 2017 at 12:11 PM, Xinxia
Song via
> RT
> > <
> > > >> > > > > > > met_help at ucar.edu
> > > >> > > > > > > >> >
> > > >> > > > > > > >> > wrote:
> > > >> > > > > > > >> >
> > > >> > > > > > > >> > >
> > > >> > > > > > > >> > > <URL: https://rt.rap.ucar.edu/rt/
> > > >> > > Ticket/Display.html?id=79605
> > > >> > > > >
> > > >> > > > > > > >> > >
> > > >> > > > > > > >> > > Hi Julie,
> > > >> > > > > > > >> > >
> > > >> > > > > > > >> > >
> > > >> > > > > > > >> > > I added it to the $PATH and ran the
> > > >> master_met_python.py:
> > > >> > > > > > > >> > >
> > > >> > > > > > > >> > > [xinxia at chaos ush]$ python
master_met_plus.py
> > > >> > > > > > > >> > >
> > > >> > > > > > > >> > > Traceback (most recent call last):
> > > >> > > > > > > >> > >
> > > >> > > > > > > >> > >   File "/D2/xinxia/METplus/METplus/us
> > > >> h/extract_tiles.py",
> > > >> > > > line
> > > >> > > > > > 157,
> > > >> > > > > > > >> in
> > > >> > > > > > > >> > > <module>
> > > >> > > > > > > >> > >
> > > >> > > > > > > >> > >     main()
> > > >> > > > > > > >> > >
> > > >> > > > > > > >> > >   File "/D2/xinxia/METplus/METplus/us
> > > >> h/extract_tiles.py",
> > > >> > > > line
> > > >> > > > > > 100,
> > > >> > > > > > > >> in
> > > >> > > > > > > >> > > main
> > > >> > > > > > > >> > >
> > > >> > > > > > > >> > >     filtered_out_dir)
> > > >> > > > > > > >> > >
> > > >> > > > > > > >> > >   File "/D2/xinxia/METplus/METplus/us
> > > >> h/run_tc_stat.py",
> > > >> > > line
> > > >> > > > > 69,
> > > >> > > > > > in
> > > >> > > > > > > >> > > tc_stat
> > > >> > > > > > > >> > >
> > > >> > > > > > > >> > >     tc_stat_out =
subprocess.check_output(tc_cmd
> ,
> > > >> > > > > > > >> > > stderr=subprocess.STDOUT, shell=True )
> > > >> > > > > > > >> > >
> > > >> > > > > > > >> > > AttributeError: 'module' object has no
attribute
> > > >> > > > 'check_output'
> > > >> > > > > > > >> > >
> > > >> > > > > > > >> > >
> > > >> > > > > > > >> > > Thanks,
> > > >> > > > > > > >> > >
> > > >> > > > > > > >> > >
> > > >> > > > > > > >> > > Xinxia
> > > >> > > > > > > >> > >
> > > >> > > > > > > >> > > ________________________________
> > > >> > > > > > > >> > > From: Julie Prestopnik via RT
<met_help at ucar.edu
> >
> > > >> > > > > > > >> > > Sent: Friday, February 24, 2017 9:07:40 AM
> > > >> > > > > > > >> > > To: Xinxia_Song at outlook.com
> > > >> > > > > > > >> > > Subject: Re: [rt.rap.ucar.edu #79605]
> ImportError:
> > > No
> > > >> > > module
> > > >> > > > > > named
> > > >> > > > > > > >> > > constants_pdef
> > > >> > > > > > > >> > >
> > > >> > > > > > > >> > > Unfortunately, your environment does not
know
> where
> > > to
> > > >> > find
> > > >> > > > > > > >> > > run_tc_pairs.py.  Please try adding the
directory
> > > with
> > > >> > > > > > > run_tc_pairs.py
> > > >> > > > > > > >> > > (/D2/xinxia/METplus/METplus/ush) to your
path in
> > > your
> > > >> > > > ~/.bashrc
> > > >> > > > > > > file,
> > > >> > > > > > > >> > then
> > > >> > > > > > > >> > > run "source ~/.bashrc", then trying
rerunning.
> > > Please
> > > >> let
> > > >> > > me
> > > >> > > > > know
> > > >> > > > > > > how
> > > >> > > > > > > >> > that
> > > >> > > > > > > >> > > goes.
> > > >> > > > > > > >> > >
> > > >> > > > > > > >> > > Thanks!
> > > >> > > > > > > >> > >
> > > >> > > > > > > >> > > Julie
> > > >> > > > > > > >> > >
> > > >> > > > > > > >> > > On Thu, Feb 23, 2017 at 11:55 AM, Xinxia
Song via
> > RT
> > > <
> > > >> > > > > > > >> met_help at ucar.edu>
> > > >> > > > > > > >> > > wrote:
> > > >> > > > > > > >> > >
> > > >> > > > > > > >> > > >
> > > >> > > > > > > >> > > > <URL: https://rt.rap.ucar.edu/rt/
> > > >> > > > Ticket/Display.html?id=79605
> > > >> > > > > >
> > > >> > > > > > > >> > > >
> > > >> > > > > > > >> > > > Hi Julie,
> > > >> > > > > > > >> > > >
> > > >> > > > > > > >> > > >
> > > >> > > > > > > >> > > > I'm running met in a machine that's
owned by
> our
> > > >> > > > department, I
> > > >> > > > > > > don't
> > > >> > > > > > > >> > have
> > > >> > > > > > > >> > > > sudo right, so when I type which
> run_tc_pairs.py,
> > > it
> > > >> > says
> > > >> > > > > > couldn't
> > > >> > > > > > > >> find
> > > >> > > > > > > >> > > it.
> > > >> > > > > > > >> > > >
> > > >> > > > > > > >> > > > no run_tc_pairs.py in
> > > (/opt/ncl/bin:/opt/intel-soft/
> > > >> > > > > > > >> > > > bin:/opt/ncl/bin:/opt/ncl/bin:
> > > >> > > /opt/intel-soft/bin:/opt/ncl/
> > > >> > > > > > > >> > > > bin:/home/xinxia/anaconda/bin:
> > > >> > /home/xinxia/anaconda/bin:/
> > > >> > > > > > > >> > > > opt/ncl/bin:/opt/intel-soft/bi
> > > >> > n:/opt/ncl/bin:/usr/lib64/
> > > >> > > > > > > >> > > > qt-3.3/bin:/usr/local/bin:/bin
> > > >> > :/usr/bin:/usr/local/sbin:/
> > > >> > > > > > > >> > > >
usr/sbin:/sbin:/sbin:/usr/sbin:/cm/local/apps/
> > > >> > > > > > > >> > > environment-modules/3.2.10/
> > > >> > > > > > > >> > > > bin:/home/xinxia/bin:/opt/ncl-621/bin)
> > > >> > > > > > > >> > > >
> > > >> > > > > > > >> > > >
> > > >> > > > > > > >> > > > But I could find it manually in that
directory.
> > > >> > > > > > > >> > > >
> > > >> > > > > > > >> > > >
> > > >> > > > > > > >> > > > Thanks,
> > > >> > > > > > > >> > > >
> > > >> > > > > > > >> > > >
> > > >> > > > > > > >> > > > Xinxia
> > > >> > > > > > > >> > > >
> > > >> > > > > > > >> > > > ________________________________
> > > >> > > > > > > >> > > > From: Julie Prestopnik via RT <
> met_help at ucar.edu
> > >
> > > >> > > > > > > >> > > > Sent: Friday, February 24, 2017 8:52:16
AM
> > > >> > > > > > > >> > > > To: Xinxia_Song at outlook.com
> > > >> > > > > > > >> > > > Subject: Re: [rt.rap.ucar.edu #79605]
> > ImportError:
> > > >> No
> > > >> > > > module
> > > >> > > > > > > named
> > > >> > > > > > > >> > > > constants_pdef
> > > >> > > > > > > >> > > >
> > > >> > > > > > > >> > > > Hi Xinxia.
> > > >> > > > > > > >> > > >
> > > >> > > > > > > >> > > > It looks like you got a successful run
of
> > tc_stat -
> > > >> > that's
> > > >> > > > > great
> > > >> > > > > > > >> news!
> > > >> > > > > > > >> > > >
> > > >> > > > > > > >> > > > I'm not sure what you mean by "Because I
don't
> > have
> > > >> the
> > > >> > > > > right, I
> > > >> > > > > > > >> can't
> > > >> > > > > > > >> > > find
> > > >> > > > > > > >> > > > run_tc_pairs.py, but I know it's under
> > > >> > > > > > > >> > > >
> > > >> > > > > > > >> > > > /D2/xinxia/METplus/METplus/ush".
> > > >> > > > > > > >> > > >
> > > >> > > > > > > >> > > > Can you please explain?  What happened
when you
> > ran
> > > >> > "which
> > > >> > > > > > > >> > > > run_tc_pairs.py"?
> > > >> > > > > > > >> > > >
> > > >> > > > > > > >> > > > Thanks,
> > > >> > > > > > > >> > > > Julie
> > > >> > > > > > > >> > > >
> > > >> > > > > > > >> > > >
> > > >> > > > > > > >> > > >
> > > >> > > > > > > >> > > >
> > > >> > > > > > > >> > > >
> > > >> > > > > > > >> > > >
> > > >> > > > > > > >> > > > On Thu, Feb 23, 2017 at 11:44 AM, Xinxia
Song
> via
> > > RT
> > > >> <
> > > >> > > > > > > >> > met_help at ucar.edu>
> > > >> > > > > > > >> > > > wrote:
> > > >> > > > > > > >> > > >
> > > >> > > > > > > >> > > > >
> > > >> > > > > > > >> > > > > <URL: https://rt.rap.ucar.edu/rt/
> > > >> > > > > Ticket/Display.html?id=79605
> > > >> > > > > > >
> > > >> > > > > > > >> > > > >
> > > >> > > > > > > >> > > > > Hi Julie,
> > > >> > > > > > > >> > > > >
> > > >> > > > > > > >> > > > >
> > > >> > > > > > > >> > > > > I removed the space.
> > > >> > > > > > > >> > > > >
> > > >> > > > > > > >> > > > > [xinxia at chaos parm]$
> > > >> /D2/xinxia/METplus/MET/met-5.2
> > > >> > > > > > /bin/tc_stat
> > > >> > > > > > > >> -job
> > > >> > > > > > > >> > > > > filter -lookin
/D2/xinxia/METplus/MET/input/
> > > >> > > > tc_pairs/201412
> > > >> > > > > > > >> > -init_inc
> > > >> > > > > > > >> > > > > 20141201_00 -match_points true
-dump_row
> > > >> > > > > > > >> /D2/xinxia/METplus/MET/out/
> > > >> > > > > > > >> > > > > extract_tiles/20141201_00/
> > > filter_20141201_00.tcst
> > > >> > > -basin
> > > >> > > > > ML
> > > >> > > > > > > >> > > > > -out_init_mask
/D2/xinxia/METplus/MET/met-5.
> > > >> > > > > > > >> > > 2/share/met/poly/CONUS.poly
> > > >> > > > > > > >> > > > >
> > > >> > > > > > > >> > > > > DEBUG 1: [Source 1] Lookin:
> > > >> > > /D2/xinxia/METplus/MET/input/
> > > >> > > > > > > >> > > tc_pairs/201412
> > > >> > > > > > > >> > > > >
> > > >> > > > > > > >> > > > > DEBUG 2:
> > > >> > > > > > > >> > > > >
> > > >> > > > > > > >> > > > > DEBUG 2: Processing Job 1: -job filter
-basin
> > ML
> > > >> > > -init_inc
> > > >> > > > > > > >> > > > 20141201_000000
> > > >> > > > > > > >> > > > > -match_points true -out_init_mask
> > > >> > > > > > /D2/xinxia/METplus/MET/met-5.
> > > >> > > > > > > >> > > > 2/share/met/poly/CONUS.poly
> > > >> > > > > > > >> > > > > -dump_row
/D2/xinxia/METplus/MET/out/ext
> > > >> > > > > > ract_tiles/20141201_00/
> > > >> > > > > > > >> > > > > filter_20141201_00.tcst
> > > >> > > > > > > >> > > > >
> > > >> > > > > > > >> > > > > DEBUG 1: Creating output dump file:
> > > >> > > > > > /D2/xinxia/METplus/MET/out/
> > > >> > > > > > > >> > > > > extract_tiles/20141201_00/
> > > filter_20141201_00.tcst
> > > >> > > > > > > >> > > > >
> > > >> > > > > > > >> > > > > FILTER: -job filter -basin ML
-init_inc
> > > >> > 20141201_000000
> > > >> > > > > > > >> -match_points
> > > >> > > > > > > >> > > > true
> > > >> > > > > > > >> > > > > -out_init_mask
/D2/xinxia/METplus/MET/met-5.
> > > >> > > > > > > >> > > 2/share/met/poly/CONUS.poly
> > > >> > > > > > > >> > > > > -dump_row
/D2/xinxia/METplus/MET/out/ext
> > > >> > > > > > ract_tiles/20141201_00/
> > > >> > > > > > > >> > > > > filter_20141201_00.tcst
> > > >> > > > > > > >> > > > >
> > > >> > > > > > > >> > > > >
> > > >> > > > > > > >> > > > > DEBUG 2: Job 1 used 0 out of 27292
lines
> read.
> > > >> > > > > > > >> > > > >
> > > >> > > > > > > >> > > > >
> > > >> > > > > > > >> > > > > Because I don't have the right, I
can't find
> > > >> > > > > run_tc_pairs.py,
> > > >> > > > > > > but
> > > >> > > > > > > >> I
> > > >> > > > > > > >> > > know
> > > >> > > > > > > >> > > > > it's under
> > > >> > > > > > > >> > > > >
> > > >> > > > > > > >> > > > > /D2/xinxia/METplus/METplus/ush
> > > >> > > > > > > >> > > > >
> > > >> > > > > > > >> > > > >
> > > >> > > > > > > >> > > > > For Python,
> > > >> > > > > > > >> > > > >
> > > >> > > > > > > >> > > > > [xinxia at chaos ~]$ which python
> > > >> > > > > > > >> > > > >
> > > >> > > > > > > >> > > > > /usr/bin/python
> > > >> > > > > > > >> > > > >
> > > >> > > > > > > >> > > > >
> > > >> > > > > > > >> > > > > Xinxia
> > > >> > > > > > > >> > > > >
> > > >> > > > > > > >> > > > > ________________________________
> > > >> > > > > > > >> > > > > From: Julie Prestopnik via RT <
> > met_help at ucar.edu
> > > >
> > > >> > > > > > > >> > > > > Sent: Friday, February 24, 2017
8:30:01 AM
> > > >> > > > > > > >> > > > > To: Xinxia_Song at outlook.com
> > > >> > > > > > > >> > > > > Subject: Re: [rt.rap.ucar.edu #79605]
> > > >> ImportError: No
> > > >> > > > > module
> > > >> > > > > > > >> named
> > > >> > > > > > > >> > > > > constants_pdef
> > > >> > > > > > > >> > > > >
> > > >> > > > > > > >> > > > > Hi Xinxia.
> > > >> > > > > > > >> > > > >
> > > >> > > > > > > >> > > > > It looks like there is a space where
there
> > should
> > > >> not
> > > >> > > be a
> > > >> > > > > > space
> > > >> > > > > > > >> > > (between
> > > >> > > > > > > >> > > > > /D2/xinxia/METplus/MET/out/ext
> > > >> ract_tiles/20141201_00/
> > > >> > > and
> > > >> > > > > > > >> > > > > filter_20141201_00.tcst after the
-dump_row
> > > >> option).
> > > >> > > > > > > >> > > > >
> > > >> > > > > > > >> > > > > Could you please try it again without
the
> > space?
> > > >> > > > > > > >> > > > >
> > > >> > > > > > > >> > > > > /D2/xinxia/METplus/METplus/ush
> > > >> /run_tc_stat.py:tc_stat
> > > >> > > > from
> > > >> > > > > > > >> calling
> > > >> > > > > > > >> > MET
> > > >> > > > > > > >> > > > > TC-STAT with
command:/D2/xinxia/METplus/MET
> > > >> > > > > > /met-5.2/bin/tc_stat
> > > >> > > > > > > >> -job
> > > >> > > > > > > >> > > > > filter
> > > >> > > > > > > >> > > > > -lookin /D2/xinxia/METplus/MET/input/t
> > > >> c_pairs/201412
> > > >> > > > > > -init_inc
> > > >> > > > > > > >> > > > 20141201_00
> > > >> > > > > > > >> > > > > -match_points true -dump_row
> > > >> > /D2/xinxia/METplus/MET/out/
> > > >> > > > > > > >> > > > > extract_tiles/20141201_00/
> > > filter_20141201_00.tcst
> > > >> > > -basin
> > > >> > > > > ML
> > > >> > > > > > > >> > > > > -out_init_mask
> > > >> > > > > > > >> > > > > /D2/xinxia/METplus/MET/met-5.
> > > >> > > 2/share/met/poly/CONUS.poly
> > > >> > > > > > > >> > > > >
> > > >> > > > > > > >> > > > > Regarding the master_met_plus.py run,
please
> > try
> > > >> > running
> > > >> > > > the
> > > >> > > > > > > >> > following
> > > >> > > > > > > >> > > > two
> > > >> > > > > > > >> > > > > commands and send me the output:
> > > >> > > > > > > >> > > > >
> > > >> > > > > > > >> > > > > which run_tc_pairs.py
> > > >> > > > > > > >> > > > >
> > > >> > > > > > > >> > > > > which python
> > > >> > > > > > > >> > > > >
> > > >> > > > > > > >> > > > > Thanks!
> > > >> > > > > > > >> > > > >
> > > >> > > > > > > >> > > > > Julie
> > > >> > > > > > > >> > > > >
> > > >> > > > > > > >> > > > > On Thu, Feb 23, 2017 at 11:06 AM,
Xinxia Song
> > via
> > > >> RT <
> > > >> > > > > > > >> > > met_help at ucar.edu>
> > > >> > > > > > > >> > > > > wrote:
> > > >> > > > > > > >> > > > >
> > > >> > > > > > > >> > > > > >
> > > >> > > > > > > >> > > > > > <URL: https://rt.rap.ucar.edu/rt/Tic
> > > >> > > > > > ket/Display.html?id=79605
> > > >> > > > > > > >
> > > >> > > > > > > >> > > > > >
> > > >> > > > > > > >> > > > > > Hi Julie,
> > > >> > > > > > > >> > > > > >
> > > >> > > > > > > >> > > > > >
> > > >> > > > > > > >> > > > > > After I ran the long one line
command:
> > > >> > > > > > > >> > > > > >
> > > >> > > > > > > >> > > > > > [xinxia at chaos parm]$
> > > >> /D2/xinxia/METplus/MET/met-5.
> > > >> > > > > > > 2/bin/tc_stat
> > > >> > > > > > > >> > -job
> > > >> > > > > > > >> > > > > > filter -lookin
> /D2/xinxia/METplus/MET/input/
> > > >> > > > > tc_pairs/201412
> > > >> > > > > > > >> > > -init_inc
> > > >> > > > > > > >> > > > > > 20141201_00 -match_points true
-dump_row
> > > >> > > > > > > >> > /D2/xinxia/METplus/MET/out/
> > > >> > > > > > > >> > > > > extract_tiles/20141201_00/
> > > >> > > > > > > >> > > > > > filter_20141201_00.tcst  -basin ML
> > > -out_init_mask
> > > >> > > > > > > >> > > > > > /D2/xinxia/METplus/MET/met-5.
> > > >> > > > 2/share/met/poly/CONUS.poly
> > > >> > > > > > > >> > > > > >
> > > >> > > > > > > >> > > > > >
> > > >> > > > > > > >> > > > > > DEBUG 1: [Source 1] Lookin:
> > > >> > > > /D2/xinxia/METplus/MET/input/
> > > >> > > > > > > >> > > > tc_pairs/201412
> > > >> > > > > > > >> > > > > >
> > > >> > > > > > > >> > > > > > ERROR  :
> > > >> > > > > > > >> > > > > >
> > > >> > > > > > > >> > > > > > ERROR  : TCStatJob
> *TCStatJobFactory::new_tc_
> > > >> > > > > stat_job(const
> > > >> > > > > > > >> char
> > > >> > > > > > > >> > > > > > *jobstring) -> unsupported job
command
> > options
> > > >> > > > > > > >> > > > "filter_20141201_00.tcst".
> > > >> > > > > > > >> > > > > >
> > > >> > > > > > > >> > > > > > ERROR  :
> > > >> > > > > > > >> > > > > >
> > > >> > > > > > > >> > > > > >
> > > >> > > > > > > >> > > > > > And for the master_met_plus.py, I
got the
> > > error:
> > > >> > > > > > > >> > > > > >
> > > >> > > > > > > >> > > > > > [xinxia at chaos ush]$ python
> > master_met_plus.py
> > > >> > > > > > > >> > > > > >
> > > >> > > > > > > >> > > > > > sh: run_tc_pairs.py: command not
found
> > > >> > > > > > > >> > > > > >
> > > >> > > > > > > >> > > > > >
> > > >> > > > > > > >> > > > > > Thanks,
> > > >> > > > > > > >> > > > > >
> > > >> > > > > > > >> > > > > >
> > > >> > > > > > > >> > > > > > Xinxia
> > > >> > > > > > > >> > > > > >
> > > >> > > > > > > >> > > > > > ________________________________
> > > >> > > > > > > >> > > > > > From: Julie Prestopnik via RT <
> > > met_help at ucar.edu
> > > >> >
> > > >> > > > > > > >> > > > > > Sent: Friday, February 24, 2017
7:42:21 AM
> > > >> > > > > > > >> > > > > > To: Xinxia_Song at outlook.com
> > > >> > > > > > > >> > > > > > Subject: Re: [rt.rap.ucar.edu
#79605]
> > > >> ImportError:
> > > >> > No
> > > >> > > > > > module
> > > >> > > > > > > >> named
> > > >> > > > > > > >> > > > > > constants_pdef
> > > >> > > > > > > >> > > > > >
> > > >> > > > > > > >> > > > > > My apologies, my response should
have said,
> > "By
> > > >> > > default,
> > > >> > > > > MET
> > > >> > > > > > > >> > version
> > > >> > > > > > > >> > > > 5.2
> > > >> > > > > > > >> > > > > is
> > > >> > > > > > > >> > > > > > compiled using dynamic linking."
It's true
> > for
> > > >> > both,
> > > >> > > > but
> > > >> > > > > I
> > > >> > > > > > > see
> > > >> > > > > > > >> > > you're
> > > >> > > > > > > >> > > > > > using 5.2 and I inadvertently
referred to
> > 5.1.
> > > >> > > > > > > >> > > > > >
> > > >> > > > > > > >> > > > > > On Thu, Feb 23, 2017 at 10:40 AM,
Julie
> > > >> Prestopnik <
> > > >> > > > > > > >> > jpresto at ucar.edu
> > > >> > > > > > > >> > > >
> > > >> > > > > > > >> > > > > > wrote:
> > > >> > > > > > > >> > > > > >
> > > >> > > > > > > >> > > > > > > Hi Xinxia.  Regarding the error:
> > > >> > > > > > > >> > > > > > >
> > > >> > > > > > > >> > > > > > > /D2/xinxia/METplus/MET/met-5.
> > 2/bin/tc_stat:
> > > >> error
> > > >> > > > while
> > > >> > > > > > > >> loading
> > > >> > > > > > > >> > > > shared
> > > >> > > > > > > >> > > > > > > libraries: libgsl.so.19: cannot
open
> shared
> > > >> object
> > > >> > > > file:
> > > >> > > > > > No
> > > >> > > > > > > >> such
> > > >> > > > > > > >> > > file
> > > >> > > > > > > >> > > > > or
> > > >> > > > > > > >> > > > > > > directory
> > > >> > > > > > > >> > > > > > >
> > > >> > > > > > > >> > > > > > > By default, MET version 5.1 is
compiled
> > using
> > > >> > > dynamic
> > > >> > > > > > > linking.
> > > >> > > > > > > >> > > > Rather
> > > >> > > > > > > >> > > > > > > than compiling the external
library code
> in
> > > >> with
> > > >> > the
> > > >> > > > MET
> > > >> > > > > > > >> > > executables
> > > >> > > > > > > >> > > > > > (which
> > > >> > > > > > > >> > > > > > > is
> > > >> > > > > > > >> > > > > > > called static linking), it looks
for them
> > at
> > > >> > > runtime.
> > > >> > > > > And
> > > >> > > > > > > >> it's
> > > >> > > > > > > >> > > > looking
> > > >> > > > > > > >> > > > > > > for those "shared object" (.so)
library
> > > files.
> > > >> > > > > > > >> > > > > > >
> > > >> > > > > > > >> > > > > > > This should be easy to fix. We
just need
> to
> > > >> tell
> > > >> > it
> > > >> > > > > where
> > > >> > > > > > to
> > > >> > > > > > > >> find
> > > >> > > > > > > >> > > > them,
> > > >> > > > > > > >> > > > > > > and we do that by setting (or
adding to
> the
> > > >> > > > > > > LD_LIBRARY_PATH).
> > > >> > > > > > > >> > Look
> > > >> > > > > > > >> > > > in
> > > >> > > > > > > >> > > > > > your
> > > >> > > > > > > >> > > > > > > ~/.bashrc file.  If
LD_LIBRARY_PATH is
> > > already
> > > >> > > defined
> > > >> > > > > in
> > > >> > > > > > > >> there,
> > > >> > > > > > > >> > > add
> > > >> > > > > > > >> > > > > the
> > > >> > > > > > > >> > > > > > > path to the libgsl.so.19 to the
end of
> it.
> > > If
> > > >> > not,
> > > >> > > > add
> > > >> > > > > an
> > > >> > > > > > > >> > > > > > > LD_LIBRARY_PATH entry in your
~/.bashrc
> > file.
> > > >> So,
> > > >> > > for
> > > >> > > > > > > >> example,
> > > >> > > > > > > >> > if
> > > >> > > > > > > >> > > > the
> > > >> > > > > > > >> > > > > > path
> > > >> > > > > > > >> > > > > > > to your libgsl.so.19 file is
> > > >> > > > > > /D2/xinxia/METplus/MET/externa
> > > >> > > > > > > >> > > > > > l_libs/GSL/gsl-1.16/lib
> > > >> > > > > > > >> > > > > > > you would add teh following to
your
> > ~/.bashrc
> > > >> > file:
> > > >> > > > > > > >> > > > > > >
> > > >> > > > > > > >> > > > > > >   export
LD_LIBRARY_PATH=/D2/xinxia/
> > > >> > > > > > > >> > METplus/MET/external_libs/GSL/
> > > >> > > > > > > >> > > > > > > gsl-1.16/lib
> > > >> > > > > > > >> > > > > > >
> > > >> > > > > > > >> > > > > > > Then save the change and source
that
> file:
> > > >> > > > > > > >> > > > > > >
> > > >> > > > > > > >> > > > > > >   source ~/.bashrc
> > > >> > > > > > > >> > > > > > >
> > > >> > > > > > > >> > > > > > > Then, please try rerunning the
command
> > > manually
> > > >> > and
> > > >> > > > let
> > > >> > > > > me
> > > >> > > > > > > >> know
> > > >> > > > > > > >> > if
> > > >> > > > > > > >> > > it
> > > >> > > > > > > >> > > > > > > works.
> > > >> > > > > > > >> > > > > > >
> > > >> > > > > > > >> > > > > > > I believe that this was the cause
of the
> > > >> initial
> > > >> > > error
> > > >> > > > > you
> > > >> > > > > > > >> > received
> > > >> > > > > > > >> > > > > from
> > > >> > > > > > > >> > > > > > > MET+:
> > > >> > > > > > > >> > > > > > >
> > > >> > > > > > > >> > > > > > > ERROR| /D2/xinxia/METplus/METplus/
> > > >> > > > > > > ush/run_tc_stat.py:tc_stat
> > > >> > > > > > > >> > from
> > > >> > > > > > > >> > > > > > calling
> > > >> > > > > > > >> > > > > > > MET TC-STAT with
> > command:/D2/xinxia/METplus/
> > > >> > > > > > > >> > > MET/met-5.2/bin/tc_stat
> > > >> > > > > > > >> > > > > -job
> > > >> > > > > > > >> > > > > > > filter -lookin
> > /D2/xinxia/METplus/MET/input/t
> > > >> > > > > > c_pairs/201412
> > > >> > > > > > > >> > > > -init_inc
> > > >> > > > > > > >> > > > > > > 20141201_00 -match_points true
-dump_row
> > > >> > > > > > > >> > > > /D2/xinxia/METplus/MET/out/ext
> > > >> > > > > > > >> > > > > > > ract_tiles/20141201_00/filter_
> > > 20141201_00.tcst
> > > >> > > > -basin
> > > >> > > > > ML
> > > >> > > > > > > >> > > > > -out_init_mask
> > > >> > > > > > > >> > > > > > > /D2/xinxia/METplus/MET/met-5.
> > > >> > > > > 2/share/met/poly/CONUS.poly
> > > >> > > > > > > >> > > > > > >
> > > >> > > > > > > >> > > > > > >
> > > >> > > > > > > >> > > > > > > Thanks,
> > > >> > > > > > > >> > > > > > > Julie
> > > >> > > > > > > >> > > > > > >
> > > >> > > > > > > >> > > > > > > On Thu, Feb 23, 2017 at 10:14 AM,
Xinxia
> > Song
> > > >> via
> > > >> > > RT <
> > > >> > > > > > > >> > > > > met_help at ucar.edu>
> > > >> > > > > > > >> > > > > > > wrote:
> > > >> > > > > > > >> > > > > > >
> > > >> > > > > > > >> > > > > > >>
> > > >> > > > > > > >> > > > > > >> <URL:
https://rt.rap.ucar.edu/rt/Tic
> > > >> > > > > > > >> ket/Display.html?id=79605 >
> > > >> > > > > > > >> > > > > > >>
> > > >> > > > > > > >> > > > > > >> Hi Julie,
> > > >> > > > > > > >> > > > > > >>
> > > >> > > > > > > >> > > > > > >>
> > > >> > > > > > > >> > > > > > >> [xinxia at chaos ush]$
> > > >> > /D2/xinxia/METplus/MET/met-5.2
> > > >> > > > > > > >> /bin/tc_stat
> > > >> > > > > > > >> > > -job
> > > >> > > > > > > >> > > > > > >> filter -lookin
> > /D2/xinxia/METplus/MET/input/
> > > >> > > > > > > tc_pairs/201412
> > > >> > > > > > > >> > > > -init_inc
> > > >> > > > > > > >> > > > > > >> 20141201_00 -match_points true
-dump_row
> > > >> > > > > > > >> > > > > /D2/xinxia/METplus/MET/out/ext
> > > >> > > > > > > >> > > > > > ract_tiles/20141201_00/
> > > >> > > > > > > >> > > > > > >> filter_20141201_00.tcst  -basin
ML
> > > >> -out_init_mask
> > > >> > > > > > > >> > > > > > >> /D2/xinxia/METplus/MET/met-5.
> > > >> > > > > 2/share/met/poly/CONUS.poly
> > > >> > > > > > > >> > > > > > >>
> > > >> > > > > > > >> > > > > > >> /D2/xinxia/METplus/MET/met-5.
> > 2/bin/tc_stat:
> > > >> > error
> > > >> > > > > while
> > > >> > > > > > > >> loading
> > > >> > > > > > > >> > > > > shared
> > > >> > > > > > > >> > > > > > >> libraries: libgsl.so.19: cannot
open
> > shared
> > > >> > object
> > > >> > > > > file:
> > > >> > > > > > No
> > > >> > > > > > > >> such
> > > >> > > > > > > >> > > > file
> > > >> > > > > > > >> > > > > or
> > > >> > > > > > > >> > > > > > >> directory
> > > >> > > > > > > >> > > > > > >>
> > > >> > > > > > > >> > > > > > >>
> > > >> > > > > > > >> > > > > > >> And I uploaded the configuration
file
> > > >> > > > > (constants_pdef.py)
> > > >> > > > > > > >> under
> > > >> > > > > > > >> > > > > > >> xinxia_data directory.
> > > >> > > > > > > >> > > > > > >>
> > > >> > > > > > > >> > > > > > >>
> > > >> > > > > > > >> > > > > > >> Thanks,
> > > >> > > > > > > >> > > > > > >>
> > > >> > > > > > > >> > > > > > >>
> > > >> > > > > > > >> > > > > > >> Xinxia
> > > >> > > > > > > >> > > > > > >>
> > > >> > > > > > > >> > > > > > >> ________________________________
> > > >> > > > > > > >> > > > > > >> From: Julie Prestopnik via RT <
> > > >> met_help at ucar.edu
> > > >> > >
> > > >> > > > > > > >> > > > > > >> Sent: Friday, February 24, 2017
6:15:57
> AM
> > > >> > > > > > > >> > > > > > >> To: Xinxia_Song at outlook.com
> > > >> > > > > > > >> > > > > > >> Subject: Re: [rt.rap.ucar.edu
#79605]
> > > >> > ImportError:
> > > >> > > > No
> > > >> > > > > > > module
> > > >> > > > > > > >> > > named
> > > >> > > > > > > >> > > > > > >> constants_pdef
> > > >> > > > > > > >> > > > > > >>
> > > >> > > > > > > >> > > > > > >> Hi Xinxia.
> > > >> > > > > > > >> > > > > > >>
> > > >> > > > > > > >> > > > > > >> I can see that your command,
which
> should
> > > have
> > > >> > been
> > > >> > > > all
> > > >> > > > > > on
> > > >> > > > > > > >> one
> > > >> > > > > > > >> > > line,
> > > >> > > > > > > >> > > > > was
> > > >> > > > > > > >> > > > > > >> broken up into several lines.
Please
> try
> > > >> running
> > > >> > > the
> > > >> > > > > > > command
> > > >> > > > > > > >> > > again,
> > > >> > > > > > > >> > > > > > >> making
> > > >> > > > > > > >> > > > > > >> sure that the entire command is
on one
> > line:
> > > >> > > > > > > >> > > > > > >>
> > > >> > > > > > > >> > > > > > >> /D2/xinxia/METplus/MET/met-5.
> > 2/bin/tc_stat
> > > >> -job
> > > >> > > > filter
> > > >> > > > > > > >> -lookin
> > > >> > > > > > > >> > > > > > >> /D2/xinxia/METplus/MET/input/
> > > tc_pairs/201412
> > > >> > > > -init_inc
> > > >> > > > > > > >> > > 20141201_00
> > > >> > > > > > > >> > > > > > >> -match_points true -dump_row
> > > >> > > > > > > >> > > > > > >> /D2/xinxia/METplus/MET/out/
> > > >> > > > extract_tiles/20141201_00/
> > > >> > > > > > > >> > > > > > >> filter_20141201_00.tcst  -basin
ML
> > > >> -out_init_mask
> > > >> > > > > > > >> > > > > > >> /D2/xinxia/METplus/MET/met-5.
> > > >> > > > > 2/share/met/poly/CONUS.poly
> > > >> > > > > > > >> > > > > > >>
> > > >> > > > > > > >> > > > > > >> Then, please send the output from
that
> > > >> command.
> > > >> > > > > > > >> > > > > > >>
> > > >> > > > > > > >> > > > > > >> Regarding, your error:
> > > >> > > > > > > >> > > > > > >>
> > > >> > > > > > > >> > > > > > >> sh: run_tc_pairs.py: command not
found
> > > >> > > > > > > >> > > > > > >>
> > > >> > > > > > > >> > > > > > >> It's strange that would only have
> occurred
> > > >> after
> > > >> > > > having
> > > >> > > > > > > >> changed
> > > >> > > > > > > >> > > the
> > > >> > > > > > > >> > > > > > >> LOG_LEVEL.  Could you please send
us
> your
> > > >> > > > configuration
> > > >> > > > > > > file?
> > > >> > > > > > > >> > > > > > >>
> > > >> > > > > > > >> > > > > > >> Thanks!
> > > >> > > > > > > >> > > > > > >>
> > > >> > > > > > > >> > > > > > >> Julie
> > > >> > > > > > > >> > > > > > >>
> > > >> > > > > > > >> > > > > > >> On Wed, Feb 22, 2017 at 2:54 PM,
Xinxia
> > Song
> > > >> via
> > > >> > > RT <
> > > >> > > > > > > >> > > > > met_help at ucar.edu>
> > > >> > > > > > > >> > > > > > >> wrote:
> > > >> > > > > > > >> > > > > > >>
> > > >> > > > > > > >> > > > > > >> >
> > > >> > > > > > > >> > > > > > >> > <URL:
https://rt.rap.ucar.edu/rt/Tic
> > > >> > > > > > > >> ket/Display.html?id=79605
> > > >> > > > > > > >> > >
> > > >> > > > > > > >> > > > > > >> >
> > > >> > > > > > > >> > > > > > >> > Hi Julie,
> > > >> > > > > > > >> > > > > > >> >
> > > >> > > > > > > >> > > > > > >> >
> > > >> > > > > > > >> > > > > > >> > [xinxia at chaos ush]$
> > > >> > > /D2/xinxia/METplus/MET/met-5.
> > > >> > > > > > > >> > 2/bin/tc_stat
> > > >> > > > > > > >> > > > -job
> > > >> > > > > > > >> > > > > > >> > filter -lookin
> > > >> > > > > > > >> > > > > > >> >
> > > >> > > > > > > >> > > > > > >> > /D2/xinxia/METplus/MET/met-5.
> > > 2/bin/tc_stat:
> > > >> > > error
> > > >> > > > > > while
> > > >> > > > > > > >> > loading
> > > >> > > > > > > >> > > > > > shared
> > > >> > > > > > > >> > > > > > >> > libraries: libgsl.so.19: cannot
open
> > > shared
> > > >> > > object
> > > >> > > > > > file:
> > > >> > > > > > > No
> > > >> > > > > > > >> > such
> > > >> > > > > > > >> > > > > file
> > > >> > > > > > > >> > > > > > or
> > > >> > > > > > > >> > > > > > >> > directory
> > > >> > > > > > > >> > > > > > >> >
> > > >> > > > > > > >> > > > > > >> >
> > > >> > > > > > > >> > > > > > >> > [xinxia at chaos ush]$
> > > >> > > /D2/xinxia/METplus/MET/input/
> > > >> > > > > > > >> > > tc_pairs/201412
> > > >> > > > > > > >> > > > > > >> > -init_inc 20141201_00
-match_points
> true
> > > >> > > -dump_row
> > > >> > > > > > > >> > > > > > >> >
> > > >> > > > > > > >> > > > > > >> > -bash:
/D2/xinxia/METplus/MET/input/
> > > >> > > > tc_pairs/201412:
> > > >> > > > > > is
> > > >> > > > > > > a
> > > >> > > > > > > >> > > > directory
> > > >> > > > > > > >> > > > > > >> >
> > > >> > > > > > > >> > > > > > >> >
> > > >> > > > > > > >> > > > > > >> > [xinxia at chaos ush]$
> > > >> > > /D2/xinxia/METplus/MET/out/ext
> > > >> > > > > > > >> > > > > > >> ract_tiles/20141201_00/
> > > >> > > > > > > >> > > > > > >> > filter_20141201_00.tcst  -basin
ML
> > > >> > -out_init_mask
> > > >> > > > > > > >> > > > > > >> > /D2/xinxia/METplus/MET/met-5.2
> > > >> > > > > > /share/met/poly/CONUS.poly
> > > >> > > > > > > >> > > > > > >> >
> > > >> > > > > > > >> > > > > > >> > -bash:
/D2/xinxia/METplus/MET/out/ext
> > > >> > > > > > > >> ract_tiles/20141201_00/:
> > > >> > > > > > > >> > > No
> > > >> > > > > > > >> > > > > such
> > > >> > > > > > > >> > > > > > >> > file or directory
> > > >> > > > > > > >> > > > > > >> >
> > > >> > > > > > > >> > > > > > >> >
> > > >> > > > > > > >> > > > > > >> > After I change the LOG_LEVEL, I
ran
> the
> > > >> > > > > > > >> master_met_plus.py, it
> > > >> > > > > > > >> > > > says:
> > > >> > > > > > > >> > > > > > >> >
> > > >> > > > > > > >> > > > > > >> > [xinxia at chaos ush]$ python
> > > >> master_met_plus.py
> > > >> > > > > > > >> > > > > > >> >
> > > >> > > > > > > >> > > > > > >> > sh: run_tc_pairs.py: command
not found
> > > >> > > > > > > >> > > > > > >> >
> > > >> > > > > > > >> > > > > > >> >
> > > >> > > > > > > >> > > > > > >> >
> > > >> > > > > > > >> > > > > > >> > Thanks,
> > > >> > > > > > > >> > > > > > >> >
> > > >> > > > > > > >> > > > > > >> >
> > > >> > > > > > > >> > > > > > >> > Xinxia
> > > >> > > > > > > >> > > > > > >> >
> > > >> > > > > > > >> > > > > > >> >
> > > >> > > > > > > >> > > > > > >> >
________________________________
> > > >> > > > > > > >> > > > > > >> > From: Julie Prestopnik via RT <
> > > >> > met_help at ucar.edu
> > > >> > > >
> > > >> > > > > > > >> > > > > > >> > Sent: Thursday, February 23,
2017
> > 10:04:55
> > > >> AM
> > > >> > > > > > > >> > > > > > >> > To: Xinxia_Song at outlook.com
> > > >> > > > > > > >> > > > > > >> > Subject: Re: [rt.rap.ucar.edu
#79605]
> > > >> > > ImportError:
> > > >> > > > > No
> > > >> > > > > > > >> module
> > > >> > > > > > > >> > > > named
> > > >> > > > > > > >> > > > > > >> > constants_pdef
> > > >> > > > > > > >> > > > > > >> >
> > > >> > > > > > > >> > > > > > >> > Thank you.  Unfortunately, the
level
> of
> > > >> detail
> > > >> > in
> > > >> > > > the
> > > >> > > > > > log
> > > >> > > > > > > >> file
> > > >> > > > > > > >> > > > > wasn't
> > > >> > > > > > > >> > > > > > >> what
> > > >> > > > > > > >> > > > > > >> > I hoped for.  I'd like to have
you try
> > two
> > > >> > > things.
> > > >> > > > > > > >> > > > > > >> >
> > > >> > > > > > > >> > > > > > >> > First, could you please send me
your
> > > output
> > > >> of
> > > >> > > your
> > > >> > > > > > > manual
> > > >> > > > > > > >> run
> > > >> > > > > > > >> > > of
> > > >> > > > > > > >> > > > > the
> > > >> > > > > > > >> > > > > > >> > following?
> > > >> > > > > > > >> > > > > > >> >
> > > >> > > > > > > >> > > > > > >> > "/D2/xinxia/METplus/MET/met-5.
> > > 2/bin/tc_stat
> > > >> > -job
> > > >> > > > > > filter
> > > >> > > > > > > >> > -lookin
> > > >> > > > > > > >> > > > > > >> > /D2/xinxia/METplus/MET/input/t
> > > >> c_pairs/201412
> > > >> > > > > -init_inc
> > > >> > > > > > > >> > > > 20141201_00
> > > >> > > > > > > >> > > > > > >> > -match_points true -dump_row
> > > >> > > > > > /D2/xinxia/METplus/MET/out/
> > > >> > > > > > > >> > > > > > >> > extract_tiles/20141201_00/
> > > >> > > filter_20141201_00.tcst
> > > >> > > > > > > -basin
> > > >> > > > > > > >> ML
> > > >> > > > > > > >> > > > > > >> > -out_init_mask
> > > >> > > > > > > >> > > > > > >> > /D2/xinxia/METplus/MET/met-5.
> > > >> > > > > > > 2/share/met/poly/CONUS.poly"
> > > >> > > > > > > >> > > > > > >> >
> > > >> > > > > > > >> > > > > > >> > Second, could you please change
your
> log
> > > >> level
> > > >> > in
> > > >> > > > > your
> > > >> > > > > > > >> > > > configuration
> > > >> > > > > > > >> > > > > > >> file
> > > >> > > > > > > >> > > > > > >> > from
> > > >> > > > > > > >> > > > > > >> >
> > > >> > > > > > > >> > > > > > >> > LOG_LEVEL = "INFO"
> > > >> > > > > > > >> > > > > > >> >
> > > >> > > > > > > >> > > > > > >> > to
> > > >> > > > > > > >> > > > > > >> >
> > > >> > > > > > > >> > > > > > >> > LOG_LEVEL = "DEBUG"
> > > >> > > > > > > >> > > > > > >> >
> > > >> > > > > > > >> > > > > > >> > then rerun and upload your log
file to
> > our
> > > >> ftp
> > > >> > > > server
> > > >> > > > > > > >> again?
> > > >> > > > > > > >> > > > > > >> >
> > > >> > > > > > > >> > > > > > >> > Thank you!
> > > >> > > > > > > >> > > > > > >> >
> > > >> > > > > > > >> > > > > > >> > Julie
> > > >> > > > > > > >> > > > > > >> >
> > > >> > > > > > > >> > > > > > >> >
> > > >> > > > > > > >> > > > > > >> > On Wed, Feb 22, 2017 at 12:39
PM,
> Xinxia
> > > >> Song
> > > >> > via
> > > >> > > > RT
> > > >> > > > > <
> > > >> > > > > > > >> > > > > > met_help at ucar.edu
> > > >> > > > > > > >> > > > > > >> >
> > > >> > > > > > > >> > > > > > >> > wrote:
> > > >> > > > > > > >> > > > > > >> >
> > > >> > > > > > > >> > > > > > >> > >
> > > >> > > > > > > >> > > > > > >> > > <URL:
https://rt.rap.ucar.edu/rt/
> > > >> > > > > > > >> > Ticket/Display.html?id=79605
> > > >> > > > > > > >> > > >
> > > >> > > > > > > >> > > > > > >> > >
> > > >> > > > > > > >> > > > > > >> > > Hi Julie,
> > > >> > > > > > > >> > > > > > >> > >
> > > >> > > > > > > >> > > > > > >> > >
> > > >> > > > > > > >> > > > > > >> > > I uploaded the log file under
> > > xinxia_data
> > > >> > > > > directory.
> > > >> > > > > > > >> > > > > > >> > >
> > > >> > > > > > > >> > > > > > >> > >
> > > >> > > > > > > >> > > > > > >> > > Thanks,
> > > >> > > > > > > >> > > > > > >> > >
> > > >> > > > > > > >> > > > > > >> > >
> > > >> > > > > > > >> > > > > > >> > > Xinxia
> > > >> > > > > > > >> > > > > > >> > >
> > > >> > > > > > > >> > > > > > >> > >
> > > >> > > > > > > >> > > > > > >> > >
________________________________
> > > >> > > > > > > >> > > > > > >> > > From: Julie Prestopnik via RT
<
> > > >> > > met_help at ucar.edu
> > > >> > > > >
> > > >> > > > > > > >> > > > > > >> > > Sent: Thursday, February 23,
2017
> > > 9:11:32
> > > >> AM
> > > >> > > > > > > >> > > > > > >> > > To: Xinxia_Song at outlook.com
> > > >> > > > > > > >> > > > > > >> > > Subject: Re: [rt.rap.ucar.edu
> #79605]
> > > >> > > > ImportError:
> > > >> > > > > > No
> > > >> > > > > > > >> > module
> > > >> > > > > > > >> > > > > named
> > > >> > > > > > > >> > > > > > >> > > constants_pdef
> > > >> > > > > > > >> > > > > > >> > >
> > > >> > > > > > > >> > > > > > >> > > Hi Xinxia.
> > > >> > > > > > > >> > > > > > >> > >
> > > >> > > > > > > >> > > > > > >> > > I think it would be helpful
if I
> could
> > > >> take a
> > > >> > > > look
> > > >> > > > > at
> > > >> > > > > > > the
> > > >> > > > > > > >> > log
> > > >> > > > > > > >> > > > > file.
> > > >> > > > > > > >> > > > > > >> > Could
> > > >> > > > > > > >> > > > > > >> > > you please upload your file
to our
> > > >> anonymous
> > > >> > > ftp
> > > >> > > > > site
> > > >> > > > > > > as
> > > >> > > > > > > >> > > follows
> > > >> > > > > > > >> > > > > so
> > > >> > > > > > > >> > > > > > >> that
> > > >> > > > > > > >> > > > > > >> > I
> > > >> > > > > > > >> > > > > > >> > > can take a look?
> > > >> > > > > > > >> > > > > > >> > >
> > > >> > > > > > > >> > > > > > >> > >
http://www.dtcenter.org/met/
> > > >> > > > > > > >> > users/support/met_help.php#ftp
> > > >> > > > > > > >> > > > > > >> > >
> > > >> > > > > > > >> > > > > > >> > > Also, could you please try
running
> the
> > > >> > > following
> > > >> > > > > > > manually
> > > >> > > > > > > >> > and
> > > >> > > > > > > >> > > > send
> > > >> > > > > > > >> > > > > > the
> > > >> > > > > > > >> > > > > > >> > > output to me?
> > > >> > > > > > > >> > > > > > >> > >
> > > >> > > > > > > >> > > > > > >> > > "/D2/xinxia/METplus/MET/met-
5.
> > > >> 2/bin/tc_stat
> > > >> > > -job
> > > >> > > > > > > filter
> > > >> > > > > > > >> > > -lookin
> > > >> > > > > > > >> > > > > > >> > >
/D2/xinxia/METplus/MET/input/t
> > > >> c_pairs/201412
> > > >> > > > > > -init_inc
> > > >> > > > > > > >> > > > > 20141201_00
> > > >> > > > > > > >> > > > > > >> > > -match_points true -dump_row
> > > >> > > > > > > /D2/xinxia/METplus/MET/out/
> > > >> > > > > > > >> > > > > > >> > > extract_tiles/20141201_00/
> > > >> > > > filter_20141201_00.tcst
> > > >> > > > > > > >> -basin
> > > >> > > > > > > >> > ML
> > > >> > > > > > > >> > > > > > >> > > -out_init_mask
> > > >> > > > > > > >> > > > > > >> > > /D2/xinxia/METplus/MET/met-
5.2
> > > >> > > > > > > >> /share/met/poly/CONUS.poly"
> > > >> > > > > > > >> > > > > > >> > >
> > > >> > > > > > > >> > > > > > >> > > Thank you!
> > > >> > > > > > > >> > > > > > >> > >
> > > >> > > > > > > >> > > > > > >> > > Julie
> > > >> > > > > > > >> > > > > > >> > >
> > > >> > > > > > > >> > > > > > >> > >
> > > >> > > > > > > >> > > > > > >> > >
> > > >> > > > > > > >> > > > > > >> > > On Wed, Feb 22, 2017 at 12:06
PM,
> > Xinxia
> > > >> Song
> > > >> > > via
> > > >> > > > > RT
> > > >> > > > > > <
> > > >> > > > > > > >> > > > > > >> met_help at ucar.edu>
> > > >> > > > > > > >> > > > > > >> > > wrote:
> > > >> > > > > > > >> > > > > > >> > >
> > > >> > > > > > > >> > > > > > >> > > >
> > > >> > > > > > > >> > > > > > >> > > > <URL:
https://rt.rap.ucar.edu/rt/
> > > >> > > > > > > >> > > Ticket/Display.html?id=79605
> > > >> > > > > > > >> > > > >
> > > >> > > > > > > >> > > > > > >> > > >
> > > >> > > > > > > >> > > > > > >> > > > Hi Julie,
> > > >> > > > > > > >> > > > > > >> > > >
> > > >> > > > > > > >> > > > > > >> > > >
> > > >> > > > > > > >> > > > > > >> > > > Now I can run the program,
but
> when
> > I
> > > >> look
> > > >> > at
> > > >> > > > the
> > > >> > > > > > log
> > > >> > > > > > > >> file
> > > >> > > > > > > >> > > in
> > > >> > > > > > > >> > > > > the
> > > >> > > > > > > >> > > > > > >> > output,
> > > >> > > > > > > >> > > > > > >> > > > it shows error below:
> > > >> > > > > > > >> > > > > > >> > > >
> > > >> > > > > > > >> > > > > > >> > > >
> > > >> > > > > > > >> > > > > > >> > > > ERROR|
/D2/xinxia/METplus/METplus/
> > > >> > > > > > > >> > > ush/run_tc_stat.py:tc_stat
> > > >> > > > > > > >> > > > > from
> > > >> > > > > > > >> > > > > > >> > > calling
> > > >> > > > > > > >> > > > > > >> > > > MET TC-STAT with
> > > >> > > command:/D2/xinxia/METplus/MET
> > > >> > > > > > > >> > > > > > /met-5.2/bin/tc_stat
> > > >> > > > > > > >> > > > > > >> > -job
> > > >> > > > > > > >> > > > > > >> > > > filter -lookin
> > > >> > /D2/xinxia/METplus/MET/input/
> > > >> > > > > > > >> > tc_pairs/201412
> > > >> > > > > > > >> > > > > > >> -init_inc
> > > >> > > > > > > >> > > > > > >> > > > 20141201_00 -match_points
true
> > > -dump_row
> > > >> > > > > > > >> > > > > > /D2/xinxia/METplus/MET/out/
> > > >> > > > > > > >> > > > > > >> > > > extract_tiles/20141201_00/
> > > >> > > > > filter_20141201_00.tcst
> > > >> > > > > > > >> -basin
> > > >> > > > > > > >> > > ML
> > > >> > > > > > > >> > > > > > >> > > > -out_init_mask
> > > >> > /D2/xinxia/METplus/MET/met-5.
> > > >> > > > > > > >> > > > > > >> > 2/share/met/poly/CONUS.poly
> > > >> > > > > > > >> > > > > > >> > > >
> > > >> > > > > > > >> > > > > > >> > > >
> > > >> > > > > > > >> > > > > > >> > > > How should I fix it?
> > > >> > > > > > > >> > > > > > >> > > >
> > > >> > > > > > > >> > > > > > >> > > >
> > > >> > > > > > > >> > > > > > >> > > > Thanks,
> > > >> > > > > > > >> > > > > > >> > > >
> > > >> > > > > > > >> > > > > > >> > > >
> > > >> > > > > > > >> > > > > > >> > > > Xinxia
> > > >> > > > > > > >> > > > > > >> > > >
> > > >> > > > > > > >> > > > > > >> > > >
________________________________
> > > >> > > > > > > >> > > > > > >> > > > From: Julie Prestopnik via
RT <
> > > >> > > > met_help at ucar.edu
> > > >> > > > > >
> > > >> > > > > > > >> > > > > > >> > > > Sent: Thursday, February
23, 2017
> > > >> 7:30:06
> > > >> > AM
> > > >> > > > > > > >> > > > > > >> > > > To: Xinxia_Song at outlook.com
> > > >> > > > > > > >> > > > > > >> > > > Subject: Re:
[rt.rap.ucar.edu
> > #79605]
> > > >> > > > > ImportError:
> > > >> > > > > > > No
> > > >> > > > > > > >> > > module
> > > >> > > > > > > >> > > > > > named
> > > >> > > > > > > >> > > > > > >> > > > constants_pdef
> > > >> > > > > > > >> > > > > > >> > > >
> > > >> > > > > > > >> > > > > > >> > > > Hi Xinxia.
> > > >> > > > > > > >> > > > > > >> > > >
> > > >> > > > > > > >> > > > > > >> > > > I believe that python
doesn't know
> > how
> > > >> to
> > > >> > > find
> > > >> > > > > the
> > > >> > > > > > > >> module
> > > >> > > > > > > >> > > > > because
> > > >> > > > > > > >> > > > > > >> the
> > > >> > > > > > > >> > > > > > >> > ush
> > > >> > > > > > > >> > > > > > >> > > > directory is not in your
> PYTHONPATH.
> > > >> Both
> > > >> > > the
> > > >> > > > > parm
> > > >> > > > > > > and
> > > >> > > > > > > >> > ush
> > > >> > > > > > > >> > > > > > >> directory
> > > >> > > > > > > >> > > > > > >> > > need
> > > >> > > > > > > >> > > > > > >> > > > to be specified in your
> PYTHONPATH.
> > > >> Please
> > > >> > > add
> > > >> > > > > the
> > > >> > > > > > > ush
> > > >> > > > > > > >> > > > > directory
> > > >> > > > > > > >> > > > > > to
> > > >> > > > > > > >> > > > > > >> > your
> > > >> > > > > > > >> > > > > > >> > > > PYTHONPATH, source
~/.bashrc, and
> > let
> > > us
> > > >> > know
> > > >> > > > how
> > > >> > > > > > it
> > > >> > > > > > > >> goes.
> > > >> > > > > > > >> > > > > > >> > > >
> > > >> > > > > > > >> > > > > > >> > > > Thanks,
> > > >> > > > > > > >> > > > > > >> > > > Julie
> > > >> > > > > > > >> > > > > > >> > > >
> > > >> > > > > > > >> > > > > > >> > > > On Wed, Feb 22, 2017 at
10:24 AM,
> > > Xinxia
> > > >> > Song
> > > >> > > > via
> > > >> > > > > > RT
> > > >> > > > > > > <
> > > >> > > > > > > >> > > > > > >> > met_help at ucar.edu>
> > > >> > > > > > > >> > > > > > >> > > > wrote:
> > > >> > > > > > > >> > > > > > >> > > >
> > > >> > > > > > > >> > > > > > >> > > > >
> > > >> > > > > > > >> > > > > > >> > > > > <URL:
> https://rt.rap.ucar.edu/rt/
> > > >> > > > > > > >> > > > Ticket/Display.html?id=79605
> > > >> > > > > > > >> > > > > >
> > > >> > > > > > > >> > > > > > >> > > > >
> > > >> > > > > > > >> > > > > > >> > > > > Hi Julie,
> > > >> > > > > > > >> > > > > > >> > > > >
> > > >> > > > > > > >> > > > > > >> > > > >
> > > >> > > > > > > >> > > > > > >> > > > > Since I don't have
setenv, I
> added
> > > >> these
> > > >> > 3
> > > >> > > > > > sentence
> > > >> > > > > > > >> into
> > > >> > > > > > > >> > > my
> > > >> > > > > > > >> > > > > > >> .bashrc
> > > >> > > > > > > >> > > > > > >> > > file:
> > > >> > > > > > > >> > > > > > >> > > > >
> > > >> > > > > > > >> > > > > > >> > > > >
> > > >> > > > > > > >> > > > > > >> > > > > export
PYTHONPATH="/D2/xinxia/
> > > >> > > > > > > METplus/METplus/parm"
> > > >> > > > > > > >> > > > > > >> > > > >
> > > >> > > > > > > >> > > > > > >> > > > >
> > > >> > > > > > > >> > > > > > >> > > > > export
> USHROOT=/D2/xinxia/METplus/
> > > >> > > > METplus/ush
> > > >> > > > > > > >> > > > > > >> > > > >
> > > >> > > > > > > >> > > > > > >> > > > > export
PATH=$USHROOT:$PATH
> > > >> > > > > > > >> > > > > > >> > > > >
> > > >> > > > > > > >> > > > > > >> > > > >
> > > >> > > > > > > >> > > > > > >> > > > > I sourced the ~/.bashrc,
and
> > checked
> > > >> that
> > > >> > > the
> > > >> > > > > > > >> variables
> > > >> > > > > > > >> > > are
> > > >> > > > > > > >> > > > > set,
> > > >> > > > > > > >> > > > > > >> but
> > > >> > > > > > > >> > > > > > >> > > the
> > > >> > > > > > > >> > > > > > >> > > > > program still can't find
the
> > module.
> > > >> > > > > > > >> > > > > > >> > > > >
> > > >> > > > > > > >> > > > > > >> > > > >
> > > >> > > > > > > >> > > > > > >> > > > > Thanks,
> > > >> > > > > > > >> > > > > > >> > > > >
> > > >> > > > > > > >> > > > > > >> > > > > Xinxia
> > > >> > > > > > > >> > > > > > >> > > > >
> > > >> > > > > > > >> > > > > > >> > > > >
______________________________
> __
> > > >> > > > > > > >> > > > > > >> > > > > From: Julie Prestopnik
via RT <
> > > >> > > > > met_help at ucar.edu
> > > >> > > > > > >
> > > >> > > > > > > >> > > > > > >> > > > > Sent: Thursday, February
23,
> 2017
> > > >> 6:24:21
> > > >> > > AM
> > > >> > > > > > > >> > > > > > >> > > > > To:
Xinxia_Song at outlook.com
> > > >> > > > > > > >> > > > > > >> > > > > Subject: Re:
[rt.rap.ucar.edu
> > > #79605]
> > > >> > > > > > ImportError:
> > > >> > > > > > > >> No
> > > >> > > > > > > >> > > > module
> > > >> > > > > > > >> > > > > > >> named
> > > >> > > > > > > >> > > > > > >> > > > > constants_pdef
> > > >> > > > > > > >> > > > > > >> > > > >
> > > >> > > > > > > >> > > > > > >> > > > > Hi Xinxia.
> > > >> > > > > > > >> > > > > > >> > > > >
> > > >> > > > > > > >> > > > > > >> > > > > Could you please check to
make
> > sure
> > > >> that
> > > >> > > the
> > > >> > > > > ush
> > > >> > > > > > > >> > directory
> > > >> > > > > > > >> > > > > with
> > > >> > > > > > > >> > > > > > >> > > > > constants_pdef.py is in
your
> > > >> PYTHONPATH
> > > >> > in
> > > >> > > > your
> > > >> > > > > > > >> .cshrc
> > > >> > > > > > > >> > > file
> > > >> > > > > > > >> > > > > (or
> > > >> > > > > > > >> > > > > > >> > .bashrc
> > > >> > > > > > > >> > > > > > >> > > > or
> > > >> > > > > > > >> > > > > > >> > > > > similar file)?  The parm
> directory
> > > >> should
> > > >> > > > also
> > > >> > > > > be
> > > >> > > > > > > in
> > > >> > > > > > > >> > your
> > > >> > > > > > > >> > > > > > >> PYTHONPATH.
> > > >> > > > > > > >> > > > > > >> > > > >
> > > >> > > > > > > >> > > > > > >> > > > > For example,
> > > >> > > > > > > >> > > > > > >> > > > >
> > > >> > > > > > > >> > > > > > >> > > > > setenv PYTHONPATH
> > > >> > > > /d1/jpresto/sbu/METplus/ush:/
> > > >> > > > > > > >> > > > > > >> > > > d1/jpresto/sbu/METplus/parm
> > > >> > > > > > > >> > > > > > >> > > > >
> > > >> > > > > > > >> > > > > > >> > > > > Please also check make
sure that
> > the
> > > >> path
> > > >> > > to
> > > >> > > > > the
> > > >> > > > > > > ush
> > > >> > > > > > > >> > > > directory
> > > >> > > > > > > >> > > > > > is
> > > >> > > > > > > >> > > > > > >> > also
> > > >> > > > > > > >> > > > > > >> > > > > specified your your path
> > environment
> > > >> > > > variable.
> > > >> > > > > > For
> > > >> > > > > > > >> > > example,
> > > >> > > > > > > >> > > > > > >> > > > >
> > > >> > > > > > > >> > > > > > >> > > > > set path =
(/usr/local/bin \
> > > >> > > > > > > >> > > > > > >> > > > >
> > > >> > > > /usr/local/python/bin/python \
> > > >> > > > > > > >> > > > > > >> > > > >
> > > >> > > /d1/jpresto/sbu/METplus/ush
> > > >> > > > )
> > > >> > > > > > > >> > > > > > >> > > > >
> > > >> > > > > > > >> > > > > > >> > > > > If they are not there,
please
> add
> > > them
> > > >> > and
> > > >> > > > then
> > > >> > > > > > > >> source
> > > >> > > > > > > >> > the
> > > >> > > > > > > >> > > > > file
> > > >> > > > > > > >> > > > > > >> (e.g.
> > > >> > > > > > > >> > > > > > >> > > run
> > > >> > > > > > > >> > > > > > >> > > > > "source ~/.cshrc").
> > > >> > > > > > > >> > > > > > >> > > > >
> > > >> > > > > > > >> > > > > > >> > > > > Thank you!  Please let us
know
> how
> > > it
> > > >> > goes.
> > > >> > > > > > > >> > > > > > >> > > > >
> > > >> > > > > > > >> > > > > > >> > > > > Julie
> > > >> > > > > > > >> > > > > > >> > > > >
> > > >> > > > > > > >> > > > > > >> > > > >
> > > >> > > > > > > >> > > > > > >> > > > >
> > > >> > > > > > > >> > > > > > >> > > > >
> > > >> > > > > > > >> > > > > > >> > > > > On Tue, Feb 21, 2017 at
4:49 PM,
> > > >> Xinxia
> > > >> > > Song
> > > >> > > > > via
> > > >> > > > > > > RT <
> > > >> > > > > > > >> > > > > > >> > met_help at ucar.edu
> > > >> > > > > > > >> > > > > > >> > > >
> > > >> > > > > > > >> > > > > > >> > > > > wrote:
> > > >> > > > > > > >> > > > > > >> > > > >
> > > >> > > > > > > >> > > > > > >> > > > > >
> > > >> > > > > > > >> > > > > > >> > > > > > Tue Feb 21 16:49:28
2017:
> > Request
> > > >> 79605
> > > >> > > was
> > > >> > > > > > acted
> > > >> > > > > > > >> > upon.
> > > >> > > > > > > >> > > > > > >> > > > > > Transaction: Ticket
created by
> > > >> > > > > > > >> > Xinxia_Song at outlook.com
> > > >> > > > > > > >> > > > > > >> > > > > >        Queue: met_help
> > > >> > > > > > > >> > > > > > >> > > > > >      Subject:
ImportError: No
> > > module
> > > >> > > named
> > > >> > > > > > > >> > > constants_pdef
> > > >> > > > > > > >> > > > > > >> > > > > >        Owner: Nobody
> > > >> > > > > > > >> > > > > > >> > > > > >   Requestors:
> > > >> Xinxia_Song at outlook.com
> > > >> > > > > > > >> > > > > > >> > > > > >       Status: new
> > > >> > > > > > > >> > > > > > >> > > > > >  Ticket <URL:
> > > >> > > https://rt.rap.ucar.edu/rt/
> > > >> > > > > > > >> > > > > > >> > > Ticket/Display.html?id=79605
> > > >> > > > > > > >> > > > > > >> > > > >
> > > >> > > > > > > >> > > > > > >> > > > > >
> > > >> > > > > > > >> > > > > > >> > > > > >
> > > >> > > > > > > >> > > > > > >> > > > > > Hi,
> > > >> > > > > > > >> > > > > > >> > > > > >
> > > >> > > > > > > >> > > > > > >> > > > > >
> > > >> > > > > > > >> > > > > > >> > > > > > When I ran the
> > mater_met_plus.py,
> > > it
> > > >> > > says:
> > > >> > > > > > > >> > > > > > >> > > > > >
> > > >> > > > > > > >> > > > > > >> > > > > >
> > > >> > > > > > > >> > > > > > >> > > > > > ImportError: No module
named
> > > >> > > constants_pdef
> > > >> > > > > > > >> > > > > > >> > > > > >
> > > >> > > > > > > >> > > > > > >> > > > > >
> > > >> > > > > > > >> > > > > > >> > > > > > Seems it doesn't
recognize
> > > >> > constants_pdef
> > > >> > > > as
> > > >> > > > > > its
> > > >> > > > > > > >> > module.
> > > >> > > > > > > >> > > > > > >> > > > > >
> > > >> > > > > > > >> > > > > > >> > > > > >
> > > >> > > > > > > >> > > > > > >> > > > > > Thanks,
> > > >> > > > > > > >> > > > > > >> > > > > >
> > > >> > > > > > > >> > > > > > >> > > > > > Xinxia
> > > >> > > > > > > >> > > > > > >> > > > > >
> > > >> > > > > > > >> > > > > > >> > > > > >
> > > >> > > > > > > >> > > > > > >> > > > >
> > > >> > > > > > > >> > > > > > >> > > > >
> > > >> > > > > > > >> > > > > > >> > > > >
> > > >> > > > > > > >> > > > > > >> > > >
> > > >> > > > > > > >> > > > > > >> > > >
> > > >> > > > > > > >> > > > > > >> > > >
> > > >> > > > > > > >> > > > > > >> > >
> > > >> > > > > > > >> > > > > > >> > >
> > > >> > > > > > > >> > > > > > >> > >
> > > >> > > > > > > >> > > > > > >> >
> > > >> > > > > > > >> > > > > > >> >
> > > >> > > > > > > >> > > > > > >> >
> > > >> > > > > > > >> > > > > > >>
> > > >> > > > > > > >> > > > > > >>
> > > >> > > > > > > >> > > > > > >>
> > > >> > > > > > > >> > > > > > >
> > > >> > > > > > > >> > > > > >
> > > >> > > > > > > >> > > > > >
> > > >> > > > > > > >> > > > > >
> > > >> > > > > > > >> > > > >
> > > >> > > > > > > >> > > > >
> > > >> > > > > > > >> > > > >
> > > >> > > > > > > >> > > >
> > > >> > > > > > > >> > > >
> > > >> > > > > > > >> > > >
> > > >> > > > > > > >> > >
> > > >> > > > > > > >> > >
> > > >> > > > > > > >> > >
> > > >> > > > > > > >> >
> > > >> > > > > > > >> >
> > > >> > > > > > > >> >
> > > >> > > > > > > >>
> > > >> > > > > > > >>
> > > >> > > > > > > >>
> > > >> > > > > > > >
> > > >> > > > > > >
> > > >> > > > > > >
> > > >> > > > > > >
> > > >> > > > > >
> > > >> > > > > >
> > > >> > > > > >
> > > >> > > > >
> > > >> > > > >
> > > >> > > > >
> > > >> > > >
> > > >> > > >
> > > >> > > >
> > > >> > >
> > > >> > >
> > > >> > >
> > > >> >
> > > >> >
> > > >> >
> > > >>
> > > >>
> > > >>
> > > >
> > >
> > >
> > >
> >
> >
> >
>
>
>


------------------------------------------------
Subject: ImportError: No module named constants_pdef
From: Julie Prestopnik
Time: Mon Mar 06 13:46:16 2017

Hi Xinxia.

Thank you. In the same way that you previously changed the top line of
master_met_plus.py from

#!/usr/bin/python

to

#!/usr/bin/env python

Could you please do that for all of the files that reference
#!/usr/bin/python,
which are the following:

met_util.py
series_by_init.py
series_by_lead.py

Please change those top lines to
#!/usr/bin/env python

Then, please delete any .pyc files.

Then, please rerun master_met_plus.py and let me know how it goes.

I still suspect that somehow Python 2.6 is being used because this
error:

AttributeError: 'module' object has no attribute 'check_output'

indicates that subprocess does not have a "check_output" attribute,
which
is true for Python 2.6, but not for 2.7.  Hopefully, these changes
will
take care of the problem in the environment.  If not, we'll try
something
else.  Thank you for your patience and help in testing our alpha
version.

Julie


On Mon, Mar 6, 2017 at 1:22 PM, Xinxia Song via RT <met_help at ucar.edu>
wrote:

>
> <URL: https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=79605 >
>
> Hi Julie,
>
>
> I changed the program as you said and get the following results:
>
>
> sys.version_info(major=2, minor=7, micro=13, releaselevel='final',
> serial=0)
>
> Traceback (most recent call last):
>
>   File "/D2/xinxia/METplus/METplus/ush/series_by_lead.py", line 945,
in
> <module>
>
>     analysis_by_lead_time()
>
>   File "/D2/xinxia/METplus/METplus/ush/series_by_lead.py", line 107,
in
> analysis_by_lead_time
>
>     util.apply_series_filters(tile_dir, init_times,
> series_lead_filtered_out_dir, p, logger)
>
>   File "/D2/xinxia/METplus/METplus/ush/met_util.py", line 1005, in
> apply_series_filters
>
>     tcs.tc_stat(p, logger, tc_cmd, series_output_dir)
>
>   File "/D2/xinxia/METplus/METplus/ush/run_tc_stat.py", line 69, in
> tc_stat
>
>     tc_stat_out = subprocess.check_output(tc_cmd,
> stderr=subprocess.STDOUT, shell=True )
>
> AttributeError: 'module' object has no attribute 'check_output'
>
>
> Thanks,
>
> Xinxia
>
> ________________________________
> From: Julie Prestopnik via RT <met_help at ucar.edu>
> Sent: Thursday, March 2, 2017 4:52:34 PM
> To: Xinxia_Song at outlook.com
> Subject: Re: [rt.rap.ucar.edu #79605] ImportError: No module named
> constants_pdef
>
> Thank you, Xinxia.
>
> When you ran master_met_plus.py, did you run "python
master_met_plus.py"?
>
> I'd like to have you try something else.
>
> Could you please edit master_met_plus.py? Please insert the
following line
>
>     print(sys.version_info)
>
> below:
>
>     logger = util.get_logger(p)
>
> and above:
>
>     # Get the list of processes to call
>
> Then save the file, rerun master_met_plus.py and set me the output.
>
> Thanks,
> Julie
>
>
> On Thu, Mar 2, 2017 at 2:41 PM, Xinxia Song via RT
<met_help at ucar.edu>
> wrote:
>
> >
> > <URL: https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=79605 >
> >
> > Hi Julie,
> >
> > The path is :
> >
> > /home/xinxia/anaconda2/bin:/D2/xinxia/METplus/METplus/ush:/
> > opt/ncl/bin:/opt/intel-soft/bin:/opt/ncl/bin:/home/xinxia/an
> > aconda/bin:/home/xinxia/anaconda2/bin:/D2/xinxia/METplus/
> > METplus/ush:/opt/ncl/bin:/opt/intel-soft/bin:/opt/ncl/bin:/
> > usr/lib64/qt-3.3/bin:/usr/local/bin:/bin:/usr/bin:/usr/
> > local/sbin:/usr/sbin:/sbin:/sbin:/usr/sbin:/cm/local/apps/
> > environment-modules/3.2.10/bin:/home/xinxia/bin:/opt/ncl-621/bin
> >
> >
> > Thanks,
> >
> > Xinxia
> >
> > ________________________________
> > From: Julie Prestopnik via RT <met_help at ucar.edu>
> > Sent: Thursday, March 2, 2017 4:07:02 PM
> > To: Xinxia_Song at outlook.com
> > Subject: Re: [rt.rap.ucar.edu #79605] ImportError: No module named
> > constants_pdef
> >
> > Thank you, Xinxia.
> >
> > When you ran master_met_plus.py, did you run "python
master_met_plus.py"?
> >
> > Can you please run "echo $path" and send me the output?
> >
> > Thanks,
> > Julie
> >
> > On Thu, Mar 2, 2017 at 2:04 PM, Xinxia Song via RT
<met_help at ucar.edu>
> > wrote:
> >
> > >
> > > <URL: https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=79605 >
> > >
> > > Hi Julie,
> > >
> > >
> > > I followed your instruction and it doesn't work. I still got the
error:
> > >
> > > Traceback (most recent call last):
> > >
> > >   File "/D2/xinxia/METplus/METplus/ush/series_by_lead.py", line
945,
> in
> > > <module>
> > >
> > >     analysis_by_lead_time()
> > >
> > >   File "/D2/xinxia/METplus/METplus/ush/series_by_lead.py", line
107,
> in
> > > analysis_by_lead_time
> > >
> > >     util.apply_series_filters(tile_dir, init_times,
> > > series_lead_filtered_out_dir, p, logger)
> > >
> > >   File "/D2/xinxia/METplus/METplus/ush/met_util.py", line 1005,
in
> > > apply_series_filters
> > >
> > >     tcs.tc_stat(p, logger, tc_cmd, series_output_dir)
> > >
> > >   File "/D2/xinxia/METplus/METplus/ush/run_tc_stat.py", line 69,
in
> > > tc_stat
> > >
> > >     tc_stat_out = subprocess.check_output(tc_cmd,
> > > stderr=subprocess.STDOUT, shell=True )
> > >
> > > AttributeError: 'module' object has no attribute 'check_output'
> > >
> > >
> > > Thanks,
> > >
> > >
> > > Xinxia
> > >
> > > ________________________________
> > > From: Julie Prestopnik via RT <met_help at ucar.edu>
> > > Sent: Thursday, March 2, 2017 11:57:54 AM
> > > To: Xinxia_Song at outlook.com
> > > Subject: Re: [rt.rap.ucar.edu #79605] ImportError: No module
named
> > > constants_pdef
> > >
> > > Hi Xinxia.  I apologize for the delay in responding.  I was out
of the
> > > office.  I'm so glad to hear that you were able to get a
successful run
> > > from series_by_lead.py!
> > >
> > > Could you please open master_met_plus.py in the editor of your
choice
> > (vi,
> > > emacs, etc.) and change the first line from:
> > >
> > > #!/usr/bin/python
> > >
> > > to
> > >
> > > #!/usr/bin/env python
> > >
> > > Then, please delete master_met_plus.pyc  (Note the ".pyc"
extension).
> > > Please also do the same for met_util.py, changing the top line
and also
> > > removing a .pyc file if one exists.
> > >
> > > Then, please change your PROCESS_LIST in constants_pdef.py to
only have
> > > series_by_lead.py in the list, since the other processes have
run
> > > successfully via master_met_plus.py.
> > >
> > > Then, please rerun master_met_plus.py and let me know how it
goes.
> > >
> > > I still suspect that somehow Python 2.6 is being used because
this
> error:
> > >
> > > AttributeError: 'module' object has no attribute 'check_output'
> > >
> > > indicates that subprocess does not have a "check_output"
attribute,
> which
> > > is true for Python 2.6, but not for 2.7.  Hopefully, these
changes will
> > > take care of the problem in the environment.  If not, we'll try
> something
> > > else.  Thank you for your patience and help in testing our alpha
> version.
> > >
> > > Julie
> > >
> > > On Thu, Mar 2, 2017 at 8:07 AM, Xinxia Song via RT
<met_help at ucar.edu>
> > > wrote:
> > >
> > > >
> > > > <URL: https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=79605
>
> > > >
> > > > Hi Julie,
> > > >
> > > >
> > > > I ran the master_met_plus.py again and still got the error:
> > > >
> > > >
> > > > Traceback (most recent call last):
> > > >
> > > >   File "/D2/xinxia/METplus/METplus/ush/series_by_lead.py",
line 945,
> > in
> > > > <module>
> > > >
> > > >     analysis_by_lead_time()
> > > >
> > > >   File "/D2/xinxia/METplus/METplus/ush/series_by_lead.py",
line 107,
> > in
> > > > analysis_by_lead_time
> > > >
> > > >     util.apply_series_filters(tile_dir, init_times,
> > > > series_lead_filtered_out_dir, p, logger)
> > > >
> > > >   File "/D2/xinxia/METplus/METplus/ush/met_util.py", line
1005, in
> > > > apply_series_filters
> > > >
> > > >     tcs.tc_stat(p, logger, tc_cmd, series_output_dir)
> > > >
> > > >   File "/D2/xinxia/METplus/METplus/ush/run_tc_stat.py", line
69, in
> > > > tc_stat
> > > >
> > > >     tc_stat_out = subprocess.check_output(tc_cmd,
> > > > stderr=subprocess.STDOUT, shell=True )
> > > >
> > > > AttributeError: 'module' object has no attribute
'check_output'
> > > >
> > > >
> > > >
> > > > Thanks,
> > > >
> > > >
> > > > Xinxia
> > > >
> > > > ________________________________
> > > > From: Xinxia Song
> > > > Sent: Tuesday, February 28, 2017 5:07:13 PM
> > > > To: met_help at ucar.edu
> > > > Subject: Re: [rt.rap.ucar.edu #79605] ImportError: No module
named
> > > > constants_pdef
> > > >
> > > >
> > > > Hi Julie,
> > > >
> > > >
> > > > I correct these paths and I could successfully run
series_by_lead.py
> > but
> > > > have errors for the master_met_plus.py. I get the errors:
> > > >
> > > > Traceback (most recent call last):
> > > >
> > > >   File "/D2/xinxia/METplus/METplus/ush/series_by_lead.py",
line 945,
> > in
> > > > <module>
> > > >
> > > >     analysis_by_lead_time()
> > > >
> > > >   File "/D2/xinxia/METplus/METplus/ush/series_by_lead.py",
line 107,
> > in
> > > > analysis_by_lead_time
> > > >
> > > >     util.apply_series_filters(tile_dir, init_times,
> > > > series_lead_filtered_out_dir, p, logger)
> > > >
> > > >   File "/D2/xinxia/METplus/METplus/ush/met_util.py", line
1005, in
> > > > apply_series_filters
> > > >
> > > >     tcs.tc_stat(p, logger, tc_cmd, series_output_dir)
> > > >
> > > >   File "/D2/xinxia/METplus/METplus/ush/run_tc_stat.py", line
69, in
> > > > tc_stat
> > > >
> > > >     tc_stat_out = subprocess.check_output(tc_cmd,
> > > > stderr=subprocess.STDOUT, shell=True )
> > > >
> > > > AttributeError: 'module' object has no attribute
'check_output'
> > > >
> > > >
> > > > Thanks,
> > > >
> > > >
> > > > Xinxia
> > > >
> > > > ________________________________
> > > > From: Julie Prestopnik via RT <met_help at ucar.edu>
> > > > Sent: Tuesday, February 28, 2017 2:50:58 PM
> > > > To: Xinxia_Song at outlook.com
> > > > Subject: Re: [rt.rap.ucar.edu #79605] ImportError: No module
named
> > > > constants_pdef
> > > >
> > > > Hi Xinxia.  I also thought I would mention that, as indicated
in the
> > > README
> > > > file that came with the distribution, in addition to ncap2 and
> ncdump,
> > > the
> > > > following are also required for MET+:
> > > >
> > > >   - convert utility (part of ImageMagick)
> > > >     - https://www.imagemagick.org/script/binary-releases.php
> > > >   - wgrib2 utility
> > > >     - http://www.cpc.noaa.gov/products/wesley/wgrib2/
> > > > compile_questions.html
> > > >   - egrep utility
> > > >     - http://directory.fsf.org/wiki/Grep
> > > >
> > > > If you do not have these installed. Please install them and
set up
> > their
> > > > paths in the constants_pdef.py file.
> > > >
> > > > Thanks,
> > > > Julie
> > > >
> > > > On Tue, Feb 28, 2017 at 12:45 PM, Julie Prestopnik
<jpresto at ucar.edu
> >
> > > > wrote:
> > > >
> > > > > Hi Xinxia.
> > > > >
> > > > > You will also need to have the ncdump command installed,
with the
> > > > location
> > > > > to the executable listed in NCDUMP_EXE in constants_pdef.py.
> Please
> > > have
> > > > > ncdump installed, update your constants_pdef.py file and
rerun.
> > > > >
> > > > > Thanks!
> > > > >
> > > > > Julie
> > > > >
> > > > > On Tue, Feb 28, 2017 at 12:18 PM, Xinxia Song via RT <
> > > met_help at ucar.edu>
> > > > > wrote:
> > > > >
> > > > >>
> > > > >> <URL:
https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=79605 >
> > > > >>
> > > > >> Hi Julie,
> > > > >>
> > > > >>
> > > > >> Before I was running master_met_plus.py and now I ran the
> > > > >> series_by_lead.py and got the following results:
> > > > >>
> > > > >> [xinxia at chaos ush]$ python series_by_lead.py
> > > > >>
> > > > >> Traceback (most recent call last):
> > > > >>
> > > > >>   File "series_by_lead.py", line 945, in <module>
> > > > >>
> > > > >>     analysis_by_lead_time()
> > > > >>
> > > > >>   File "series_by_lead.py", line 326, in
analysis_by_lead_time
> > > > >>
> > > > >>     vmin, vmax = get_netcdf_min_max(nc_var_list, cur_stat,
p,
> > logger)
> > > > >>
> > > > >>   File "series_by_lead.py", line 638, in get_netcdf_min_max
> > > > >>
> > > > >>     shell=True)
> > > > >>
> > > > >>   File
"/home/xinxia/anaconda2/lib/python2.7/subprocess.py", line
> > > 219,
> > > > >> in check_output
> > > > >>
> > > > >>     raise CalledProcessError(retcode, cmd, output=output)
> > > > >>
> > > > >> subprocess.CalledProcessError: Command
'/usr/local/bin/ncdump
> > > > >>
/D2/xinxia/METplus/MET/out/series_analysis_lead/series_F042/
> min.nc
> > >
> > > > >>
/D2/xinxia/METplus/MET/out/series_analysis_lead/series_F042/
> > min.txt'
> > > > >> returned non-zero exit status 127
> > > > >>
> > > > >>
> > > > >> Thanks,
> > > > >>
> > > > >>
> > > > >> Xinxia
> > > > >>
> > > > >> ________________________________
> > > > >> From: Julie Prestopnik via RT <met_help at ucar.edu>
> > > > >> Sent: Tuesday, February 28, 2017 2:11:19 PM
> > > > >> To: Xinxia_Song at outlook.com
> > > > >> Subject: Re: [rt.rap.ucar.edu #79605] ImportError: No
module
> named
> > > > >> constants_pdef
> > > > >>
> > > > >> Hi Xinxia.  Did you run series_by_lead.py on its own or via
> > > > >> master_met_plus.py?
> > > > >>
> > > > >> Thanks,
> > > > >> Julie
> > > > >>
> > > > >> On Tue, Feb 28, 2017 at 11:11 AM, Xinxia Song via RT <
> > > met_help at ucar.edu
> > > > >
> > > > >> wrote:
> > > > >>
> > > > >> >
> > > > >> > <URL:
https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=79605 >
> > > > >> >
> > > > >> > Hi Julie,
> > > > >> >
> > > > >> >
> > > > >> > I checked it's 2.7.13. It seems the error doesn't coming
from
> it.
> > > > >> >
> > > > >> >
> > > > >> > Thanks,
> > > > >> >
> > > > >> >
> > > > >> > Xinxia
> > > > >> >
> > > > >> >
> > > > >> > ________________________________
> > > > >> > From: Julie Prestopnik via RT <met_help at ucar.edu>
> > > > >> > Sent: Tuesday, February 28, 2017 10:49:29 AM
> > > > >> > To: Xinxia_Song at outlook.com
> > > > >> > Subject: Re: [rt.rap.ucar.edu #79605] ImportError: No
module
> > named
> > > > >> > constants_pdef
> > > > >> >
> > > > >> > I think perhaps your environment is using Python 2.6
again.
> > > > >> >
> > > > >> > Please try running:
> > > > >> >
> > > > >> > python --version
> > > > >> >
> > > > >> > on the command line.
> > > > >> >
> > > > >> > If you see "Python 2..6.6", please add the path for
Python 2.7
> to
> > > the
> > > > >> front
> > > > >> > of your path in your ~/.bashrc file.  Then, source your
> ~/.bashrc
> > > file
> > > > >> and
> > > > >> > try rerunning
> > > > >> >
> > > > >> > python --version
> > > > >> >
> > > > >> > on the command line.  Hopefully, then you will see the
new
> > version.
> > > > >> Then,
> > > > >> > please try rerunning master_met_plus.py.
> > > > >> >
> > > > >> > I hope this helps!  Thanks!
> > > > >> >
> > > > >> > Julie
> > > > >> >
> > > > >> > On Mon, Feb 27, 2017 at 8:14 PM, Xinxia Song via RT <
> > > > met_help at ucar.edu>
> > > > >> > wrote:
> > > > >> >
> > > > >> > >
> > > > >> > > <URL:
https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=79605
> >
> > > > >> > >
> > > > >> > > Hi Julie,
> > > > >> > >
> > > > >> > >
> > > > >> > > after I update the NCAP2 path in constants_pdef.py and
ran the
> > > > >> > > master_met_plus.py, I got the error:
> > > > >> > >
> > > > >> > > 2017-02-28 02:49:40,659 : ERROR |
[master_met_plus.py:main] |
> > > > Problem
> > > > >> > > executing: series_by_lead.py
> > > > >> > >
> > > > >> > > and message:
> > > > >> > >
> > > > >> > > Traceback (most recent call last):
> > > > >> > >
> > > > >> > >   File
"/D2/xinxia/METplus/METplus/ush/series_by_lead.py",
> line
> > > > 945,
> > > > >> in
> > > > >> > > <module>
> > > > >> > >
> > > > >> > >     analysis_by_lead_time()
> > > > >> > >
> > > > >> > >   File
"/D2/xinxia/METplus/METplus/ush/series_by_lead.py",
> line
> > > > 107,
> > > > >> in
> > > > >> > > analysis_by_lead_time
> > > > >> > >
> > > > >> > >     util.apply_series_filters(tile_dir, init_times,
> > > > >> > > series_lead_filtered_out_dir, p, logger)
> > > > >> > >
> > > > >> > >   File "/D2/xinxia/METplus/METplus/ush/met_util.py",
line
> 1005,
> > > in
> > > > >> > > apply_series_filters
> > > > >> > >
> > > > >> > >     tcs.tc_stat(p, logger, tc_cmd, series_output_dir)
> > > > >> > >
> > > > >> > >   File "/D2/xinxia/METplus/METplus/ush/run_tc_stat.py",
line
> > 69,
> > > in
> > > > >> > > tc_stat
> > > > >> > >
> > > > >> > >     tc_stat_out = subprocess.check_output(tc_cmd,
> > > > >> > > stderr=subprocess.STDOUT, shell=True )
> > > > >> > >
> > > > >> > > AttributeError: 'module' object has no attribute
> 'check_output'
> > > > >> > >
> > > > >> > >
> > > > >> > > Thanks,
> > > > >> > >
> > > > >> > >
> > > > >> > > Xinxia
> > > > >> > >
> > > > >> > > ________________________________
> > > > >> > > From: Julie Prestopnik via RT <met_help at ucar.edu>
> > > > >> > > Sent: Monday, February 27, 2017 5:15:59 PM
> > > > >> > > To: Xinxia_Song at outlook.com
> > > > >> > > Subject: Re: [rt.rap.ucar.edu #79605] ImportError: No
module
> > > named
> > > > >> > > constants_pdef
> > > > >> > >
> > > > >> > > Please install ncap2 and update the location to the
executable
> > in
> > > > the
> > > > >> > > NCAP2_EXE field of the constants_pdef.py file and
trying
> > rerunning
> > > > the
> > > > >> > MET+
> > > > >> > > code.  Please let us know how it goes.
> > > > >> > >
> > > > >> > > Thanks,
> > > > >> > > Julie
> > > > >> > >
> > > > >> > > On Mon, Feb 27, 2017 at 3:10 PM, Xinxia Song via RT <
> > > > >> met_help at ucar.edu>
> > > > >> > > wrote:
> > > > >> > >
> > > > >> > > >
> > > > >> > > > <URL: https://rt.rap.ucar.edu/rt/
> Ticket/Display.html?id=79605
> > >
> > > > >> > > >
> > > > >> > > > Hi Julie,
> > > > >> > > >
> > > > >> > > >
> > > > >> > > > The result is :
> > > > >> > > >
> > > > >> > > > -bash: /usr/local/nco/bin/ncap2: No such file or
directory
> > > > >> > > >
> > > > >> > > > I think we don't have it installed.
> > > > >> > > >
> > > > >> > > >
> > > > >> > > > Thanks,
> > > > >> > > >
> > > > >> > > > Xinxia
> > > > >> > > >
> > > > >> > > > ________________________________
> > > > >> > > > From: Julie Prestopnik via RT <met_help at ucar.edu>
> > > > >> > > > Sent: Monday, February 27, 2017 5:08:48 PM
> > > > >> > > > To: Xinxia_Song at outlook.com
> > > > >> > > > Subject: Re: [rt.rap.ucar.edu #79605] ImportError: No
> module
> > > > named
> > > > >> > > > constants_pdef
> > > > >> > > >
> > > > >> > > > Hi Xinxia. I believe that error code refers to
"Command not
> > > > found".
> > > > >> > Can
> > > > >> > > > you please run the following and send me the output?
> > > > >> > > >
> > > > >> > > > /usr/local/nco/bin/ncap2 --version
> > > > >> > > >
> > > > >> > > > Thanks!
> > > > >> > > >
> > > > >> > > > Julie
> > > > >> > > >
> > > > >> > > >
> > > > >> > > > On Mon, Feb 27, 2017 at 2:55 PM, Xinxia Song via RT <
> > > > >> met_help at ucar.edu
> > > > >> > >
> > > > >> > > > wrote:
> > > > >> > > >
> > > > >> > > > >
> > > > >> > > > > <URL: https://rt.rap.ucar.edu/rt/Tic
> > ket/Display.html?id=79605
> > > >
> > > > >> > > > >
> > > > >> > > > > Hi Julie,
> > > > >> > > > >
> > > > >> > > > >
> > > > >> > > > > The error is:
> > > > >> > > > >
> > > > >> > > > > Traceback (most recent call last):
> > > > >> > > > >
> > > > >> > > > >   File "series_by_lead.py", line 945, in <module>
> > > > >> > > > >
> > > > >> > > > >     analysis_by_lead_time()
> > > > >> > > > >
> > > > >> > > > >   File "series_by_lead.py", line 326, in
> > analysis_by_lead_time
> > > > >> > > > >
> > > > >> > > > >     vmin, vmax = get_netcdf_min_max(nc_var_list,
> cur_stat,
> > p,
> > > > >> > logger)
> > > > >> > > > >
> > > > >> > > > >   File "series_by_lead.py", line 605, in
> get_netcdf_min_max
> > > > >> > > > >
> > > > >> > > > >     shell=True)
> > > > >> > > > >
> > > > >> > > > >   File "/home/xinxia/anaconda2/lib/py
> > thon2.7/subprocess.py",
> > > > line
> > > > >> > 219,
> > > > >> > > > in
> > > > >> > > > > check_output
> > > > >> > > > >
> > > > >> > > > >     raise CalledProcessError(retcode, cmd,
output=output)
> > > > >> > > > >
> > > > >> > > > > subprocess.CalledProcessError: Command
> > > '/usr/local/nco/bin/ncap2
> > > > >> -v
> > > > >> > -s
> > > > >> > > > > "min=min(series_cnt_TOTAL)"
/D2/xinxia/METplus/MET/out/
> > > > >> > > > >
series_analysis_lead/series_F042/series_F042_HGT_P500.nc
> > > > >> > > > > /D2/xinxia/METplus/MET/out/ser
> > ies_analysis_lead/series_F042/
> > > > >> min.nc'
> > > > >> > > > > returned non-zero exit status 127
> > > > >> > > > >
> > > > >> > > > >
> > > > >> > > > > Thanks,
> > > > >> > > > >
> > > > >> > > > >
> > > > >> > > > > Xinxia
> > > > >> > > > >
> > > > >> > > > > ________________________________
> > > > >> > > > > From: Julie Prestopnik via RT <met_help at ucar.edu>
> > > > >> > > > > Sent: Tuesday, February 28, 2017 9:18:55 AM
> > > > >> > > > > To: Xinxia_Song at outlook.com
> > > > >> > > > > Subject: Re: [rt.rap.ucar.edu #79605] ImportError:
No
> > module
> > > > >> named
> > > > >> > > > > constants_pdef
> > > > >> > > > >
> > > > >> > > > > Thank you, Xinxia.
> > > > >> > > > >
> > > > >> > > > > Unfortunately, the "DEBUG" log level did not
provide much
> > > > >> information
> > > > >> > > for
> > > > >> > > > > this task:
> > > > >> > > > >
> > > > >> > > > > 2017-02-26 21:30:28,041 : INFO |
> [master_met_plus.py:main] |
> > > > >> Running:
> > > > >> > > > > series_by_lead.py
> > > > >> > > > > 2017-02-26 21:30:28,212 : ERROR |
> [master_met_plus.py:main]
> > |
> > > > >> Problem
> > > > >> > > > > executing: series_by_lead.py
> > > > >> > > > >
> > > > >> > > > > Could you please try running series_by_lead.py in
the ush
> > > > >> directory?
> > > > >> > > > > Please let me know what the output is from that run
- it
> may
> > > > >> still be
> > > > >> > > > > contained in your log file.
> > > > >> > > > >
> > > > >> > > > > Thanks!
> > > > >> > > > >
> > > > >> > > > > Julie
> > > > >> > > > >
> > > > >> > > > >
> > > > >> > > > > On Mon, Feb 27, 2017 at 11:17 AM, Xinxia Song via
RT <
> > > > >> > > met_help at ucar.edu>
> > > > >> > > > > wrote:
> > > > >> > > > >
> > > > >> > > > > >
> > > > >> > > > > > <URL: https://rt.rap.ucar.edu/rt/
> > > Ticket/Display.html?id=79605
> > > > >
> > > > >> > > > > >
> > > > >> > > > > > Hi Julie,
> > > > >> > > > > >
> > > > >> > > > > >
> > > > >> > > > > > I uploaded the constants_pdef.py and
> > > > >> master_met_plus.20170226.log.
> > > > >> > > > > >
> > > > >> > > > > >
> > > > >> > > > > > Thanks,
> > > > >> > > > > >
> > > > >> > > > > >
> > > > >> > > > > > Xinxia
> > > > >> > > > > >
> > > > >> > > > > > ________________________________
> > > > >> > > > > > From: Julie Prestopnik via RT <met_help at ucar.edu>
> > > > >> > > > > > Sent: Tuesday, February 28, 2017 5:46:37 AM
> > > > >> > > > > > To: Xinxia_Song at outlook.com
> > > > >> > > > > > Subject: Re: [rt.rap.ucar.edu #79605]
ImportError: No
> > > module
> > > > >> named
> > > > >> > > > > > constants_pdef
> > > > >> > > > > >
> > > > >> > > > > > Hi Xinxia.  Can you please upload the
configuration file
> > > that
> > > > >> you
> > > > >> > > used
> > > > >> > > > > and
> > > > >> > > > > > the log file from that run to our ftp server so
that we
> > can
> > > > >> take a
> > > > >> > > > look?
> > > > >> > > > > >
> > > > >> > > > > > Thanks!
> > > > >> > > > > >
> > > > >> > > > > > Julie
> > > > >> > > > > >
> > > > >> > > > > > On Sun, Feb 26, 2017 at 2:35 PM, Xinxia Song via
RT <
> > > > >> > > met_help at ucar.edu
> > > > >> > > > >
> > > > >> > > > > > wrote:
> > > > >> > > > > >
> > > > >> > > > > > >
> > > > >> > > > > > > <URL: https://rt.rap.ucar.edu/rt/
> > > > Ticket/Display.html?id=79605
> > > > >> >
> > > > >> > > > > > >
> > > > >> > > > > > > Hi Julie,
> > > > >> > > > > > >
> > > > >> > > > > > >
> > > > >> > > > > > > I ran the mater_met_plus.py and in the end in
the log
> > file
> > > > it
> > > > >> > gave
> > > > >> > > me
> > > > >> > > > > an
> > > > >> > > > > > > error:
> > > > >> > > > > > >
> > > > >> > > > > > > 2017-02-26 21:30:28,212 : ERROR |
> > > [master_met_plus.py:main]
> > > > |
> > > > >> > > Problem
> > > > >> > > > > > > executing: series_by_lead.py
> > > > >> > > > > > >
> > > > >> > > > > > >
> > > > >> > > > > > > Thanks,
> > > > >> > > > > > >
> > > > >> > > > > > > Xinxia
> > > > >> > > > > > >
> > > > >> > > > > > > ________________________________
> > > > >> > > > > > > From: Julie Prestopnik via RT
<met_help at ucar.edu>
> > > > >> > > > > > > Sent: Saturday, February 25, 2017 6:49:56 AM
> > > > >> > > > > > > To: Xinxia_Song at outlook.com
> > > > >> > > > > > > Subject: Re: [rt.rap.ucar.edu #79605]
ImportError: No
> > > > module
> > > > >> > named
> > > > >> > > > > > > constants_pdef
> > > > >> > > > > > >
> > > > >> > > > > > > You could also run "tail -f
</path/to/logfile/logfile_
> > > > name>"
> > > > >> > > > replacing
> > > > >> > > > > > > </path/to/logfile/logfile_name> with the
logfile path
> > and
> > > > >> name
> > > > >> > > > > > information
> > > > >> > > > > > > to see how the run is coming along.  I hope
that
> helps!
> > > > >> > > > > > >
> > > > >> > > > > > > Julie
> > > > >> > > > > > >
> > > > >> > > > > > > On Fri, Feb 24, 2017 at 9:42 AM, Julie
Prestopnik <
> > > > >> > > jpresto at ucar.edu>
> > > > >> > > > > > > wrote:
> > > > >> > > > > > >
> > > > >> > > > > > > > Hi Xinxia.  Running the entire three months
of data
> > > could
> > > > >> > > certainly
> > > > >> > > > > > take
> > > > >> > > > > > > a
> > > > >> > > > > > > > long time.  I am hoping to get an estimate on
how
> long
> > > it
> > > > >> took
> > > > >> > to
> > > > >> > > > run
> > > > >> > > > > > the
> > > > >> > > > > > > > three month data set here, but have not been
able to
> > > > obtain
> > > > >> > that
> > > > >> > > > > number
> > > > >> > > > > > > > yet.   It sounds the code was running
successfully
> for
> > > > >> you.  If
> > > > >> > > > > you're
> > > > >> > > > > > > > eager to take a lot at some output, I would
suggest
> > > > running
> > > > >> a
> > > > >> > > > smaller
> > > > >> > > > > > > > subset of the data, or perhaps you could set
up the
> > > whole
> > > > >> three
> > > > >> > > > month
> > > > >> > > > > > to
> > > > >> > > > > > > > run over the weekend.  I would suggest
letting the
> > code
> > > > run
> > > > >> to
> > > > >> > > > > > completion
> > > > >> > > > > > > > for either a smaller subset or for the entire
subset
> > and
> > > > >> then
> > > > >> > > > > checking
> > > > >> > > > > > > the
> > > > >> > > > > > > > log file for errors.  I hope that helps.
Please let
> > me
> > > > >> know if
> > > > >> > > you
> > > > >> > > > > > have
> > > > >> > > > > > > > any questions or encounter any issues.
> > > > >> > > > > > > >
> > > > >> > > > > > > > Thanks,
> > > > >> > > > > > > > Julie
> > > > >> > > > > > > >
> > > > >> > > > > > > >
> > > > >> > > > > > > > On Thu, Feb 23, 2017 at 4:28 PM, Xinxia Song
via RT
> <
> > > > >> > > > > met_help at ucar.edu
> > > > >> > > > > > >
> > > > >> > > > > > > > wrote:
> > > > >> > > > > > > >
> > > > >> > > > > > > >>
> > > > >> > > > > > > >> <URL: https://rt.rap.ucar.edu/rt/Tic
> > > > >> ket/Display.html?id=79605
> > > > >> > >
> > > > >> > > > > > > >>
> > > > >> > > > > > > >> Hi Julie,
> > > > >> > > > > > > >>
> > > > >> > > > > > > >>
> > > > >> > > > > > > >> The version is set to be 2.7+. When I ran
> > > > >> master_met_plus.py,
> > > > >> > it
> > > > >> > > > > seems
> > > > >> > > > > > > it
> > > > >> > > > > > > >> will run forever. So I killed it, and got
the
> > > following:
> > > > >> > > > > > > >>
> > > > >> > > > > > > >> [xinxia at chaos ush]$ python
master_met_plus.py
> > > > >> > > > > > > >>
> > > > >> > > > > > > >> ^CTraceback (most recent call last):
> > > > >> > > > > > > >>
> > > > >> > > > > > > >>   File "/D2/xinxia/METplus/METplus/
> > > > ush/extract_tiles.py",
> > > > >> > line
> > > > >> > > > 157,
> > > > >> > > > > > in
> > > > >> > > > > > > >> <module>
> > > > >> > > > > > > >>
> > > > >> > > > > > > >>     main()
> > > > >> > > > > > > >>
> > > > >> > > > > > > >>   File "/D2/xinxia/METplus/METplus/
> > > > ush/extract_tiles.py",
> > > > >> > line
> > > > >> > > > 100,
> > > > >> > > > > > in
> > > > >> > > > > > > >> main
> > > > >> > > > > > > >>
> > > > >> > > > > > > >>     filtered_out_dir)
> > > > >> > > > > > > >>
> > > > >> > > > > > > >>   File "/D2/xinxia/METplus/METplus/
> > > ush/run_tc_stat.py",
> > > > >> line
> > > > >> > > 69,
> > > > >> > > > in
> > > > >> > > > > > > >> tc_stat
> > > > >> > > > > > > >>
> > > > >> > > > > > > >>     tc_stat_out =
subprocess.check_output(tc_cmd,
> > > > >> > > > > > > >> stderr=subprocess.STDOUT, shell=True )
> > > > >> > > > > > > >>
> > > > >> > > > > > > >>   File "/home/xinxia/anaconda2/lib/py
> > > > >> thon2.7/subprocess.py",
> > > > >> > > line
> > > > >> > > > > > 213,
> > > > >> > > > > > > >> in check_output
> > > > >> > > > > > > >>
> > > > >> > > > > > > >>     output, unused_err =
process.communicate()
> > > > >> > > > > > > >>
> > > > >> > > > > > > >>   File "/home/xinxia/anaconda2/lib/py
> > > > >> thon2.7/subprocess.py",
> > > > >> > > line
> > > > >> > > > > > 471,
> > > > >> > > > > > > >> in communicate
> > > > >> > > > > > > >>
> > > > >> > > > > > > >>     stdout =
_eintr_retry_call(self.stdout.read)
> > > > >> > > > > > > >>
> > > > >> > > > > > > >>   File "/home/xinxia/anaconda2/lib/py
> > > > >> thon2.7/subprocess.py",
> > > > >> > > line
> > > > >> > > > > > 121,
> > > > >> > > > > > > >> in _eintr_retry_call
> > > > >> > > > > > > >>
> > > > >> > > > > > > >>     return func(*args)
> > > > >> > > > > > > >>
> > > > >> > > > > > > >> KeyboardInterrupt
> > > > >> > > > > > > >>
> > > > >> > > > > > > >>
> > > > >> > > > > > > >> Thanks,
> > > > >> > > > > > > >>
> > > > >> > > > > > > >>
> > > > >> > > > > > > >> Xinxia
> > > > >> > > > > > > >>
> > > > >> > > > > > > >> ________________________________
> > > > >> > > > > > > >> From: Julie Prestopnik via RT
<met_help at ucar.edu>
> > > > >> > > > > > > >> Sent: Friday, February 24, 2017 12:02:21 PM
> > > > >> > > > > > > >> To: Xinxia_Song at outlook.com
> > > > >> > > > > > > >> Subject: Re: [rt.rap.ucar.edu #79605]
ImportError:
> > No
> > > > >> module
> > > > >> > > > named
> > > > >> > > > > > > >> constants_pdef
> > > > >> > > > > > > >>
> > > > >> > > > > > > >> Hi Xinxia.  I suspect that even though you
> installed
> > > > Python
> > > > >> > 2.7
> > > > >> > > > that
> > > > >> > > > > > > >> Python
> > > > >> > > > > > > >> 2.6.6 is still being used.
> > > > >> > > > > > > >>
> > > > >> > > > > > > >> Please try running:
> > > > >> > > > > > > >>
> > > > >> > > > > > > >> python --version
> > > > >> > > > > > > >>
> > > > >> > > > > > > >> on the command line.
> > > > >> > > > > > > >>
> > > > >> > > > > > > >> If you see "Python 2..6.6", please add the
path for
> > > > Python
> > > > >> 2.7
> > > > >> > > to
> > > > >> > > > > the
> > > > >> > > > > > > >> front
> > > > >> > > > > > > >> of your path in your ~/.bashrc file.  Then,
source
> > your
> > > > >> > > ~/.bashrc
> > > > >> > > > > file
> > > > >> > > > > > > and
> > > > >> > > > > > > >> try rerunning
> > > > >> > > > > > > >>
> > > > >> > > > > > > >> python --version
> > > > >> > > > > > > >>
> > > > >> > > > > > > >> on the command line.  Hopefully, then you
will see
> > the
> > > > new
> > > > >> > > > version.
> > > > >> > > > > > > Then,
> > > > >> > > > > > > >> please try rerunning master_met_plus.py.
> > > > >> > > > > > > >>
> > > > >> > > > > > > >> I hope this helps!  Thanks!
> > > > >> > > > > > > >>
> > > > >> > > > > > > >> Julie
> > > > >> > > > > > > >>
> > > > >> > > > > > > >> On Thu, Feb 23, 2017 at 1:51 PM, Xinxia Song
via
> RT <
> > > > >> > > > > > met_help at ucar.edu>
> > > > >> > > > > > > >> wrote:
> > > > >> > > > > > > >>
> > > > >> > > > > > > >> >
> > > > >> > > > > > > >> > <URL: https://rt.rap.ucar.edu/rt/Tic
> > > > >> > ket/Display.html?id=79605
> > > > >> > > >
> > > > >> > > > > > > >> >
> > > > >> > > > > > > >> > Hi Julie,
> > > > >> > > > > > > >> >
> > > > >> > > > > > > >> >
> > > > >> > > > > > > >> > I installed myself the 2.7 python, it
still got
> the
> > > > error
> > > > >> > when
> > > > >> > > > > > > running:
> > > > >> > > > > > > >> >
> > > > >> > > > > > > >> > Traceback (most recent call last):
> > > > >> > > > > > > >> >
> > > > >> > > > > > > >> >   File "/D2/xinxia/METplus/METplus/us
> > > > >> h/series_by_lead.py",
> > > > >> > > line
> > > > >> > > > > > 945,
> > > > >> > > > > > > in
> > > > >> > > > > > > >> > <module>
> > > > >> > > > > > > >> >
> > > > >> > > > > > > >> >     analysis_by_lead_time()
> > > > >> > > > > > > >> >
> > > > >> > > > > > > >> >   File "/D2/xinxia/METplus/METplus/us
> > > > >> h/series_by_lead.py",
> > > > >> > > line
> > > > >> > > > > > 107,
> > > > >> > > > > > > in
> > > > >> > > > > > > >> > analysis_by_lead_time
> > > > >> > > > > > > >> >
> > > > >> > > > > > > >> >     util.apply_series_filters(tile_dir,
> > init_times,
> > > > >> > > > > > > >> > series_lead_filtered_out_dir, p, logger)
> > > > >> > > > > > > >> >
> > > > >> > > > > > > >> >   File "/D2/xinxia/METplus/METplus/us
> > h/met_util.py",
> > > > >> line
> > > > >> > > 1005,
> > > > >> > > > > in
> > > > >> > > > > > > >> > apply_series_filters
> > > > >> > > > > > > >> >
> > > > >> > > > > > > >> >     tcs.tc_stat(p, logger, tc_cmd,
> > series_output_dir)
> > > > >> > > > > > > >> >
> > > > >> > > > > > > >> >   File "/D2/xinxia/METplus/METplus/
> > > > ush/run_tc_stat.py",
> > > > >> > line
> > > > >> > > > 69,
> > > > >> > > > > in
> > > > >> > > > > > > >> > tc_stat
> > > > >> > > > > > > >> >
> > > > >> > > > > > > >> >     tc_stat_out =
subprocess.check_output(tc_
> cmd,
> > > > >> > > > > > > >> > stderr=subprocess.STDOUT, shell=True )
> > > > >> > > > > > > >> >
> > > > >> > > > > > > >> > AttributeError: 'module' object has no
attribute
> > > > >> > > 'check_output'
> > > > >> > > > > > > >> >
> > > > >> > > > > > > >> >
> > > > >> > > > > > > >> > Thanks,
> > > > >> > > > > > > >> >
> > > > >> > > > > > > >> >
> > > > >> > > > > > > >> > Xinxia
> > > > >> > > > > > > >> >
> > > > >> > > > > > > >> > ________________________________
> > > > >> > > > > > > >> > From: Julie Prestopnik via RT
<met_help at ucar.edu
> >
> > > > >> > > > > > > >> > Sent: Friday, February 24, 2017 9:37:53 AM
> > > > >> > > > > > > >> > To: Xinxia_Song at outlook.com
> > > > >> > > > > > > >> > Subject: Re: [rt.rap.ucar.edu #79605]
> ImportError:
> > > No
> > > > >> > module
> > > > >> > > > > named
> > > > >> > > > > > > >> > constants_pdef
> > > > >> > > > > > > >> >
> > > > >> > > > > > > >> > Can you please tell me which version of
Python
> you
> > > are
> > > > >> > using?
> > > > >> > > > > > > >> check_output
> > > > >> > > > > > > >> > for subprocess was introduced in Python
2.7.
> Do
> > > you
> > > > >> have
> > > > >> > > > access
> > > > >> > > > > > to
> > > > >> > > > > > > >> > Python version 2.7 or higher?
> > > > >> > > > > > > >> >
> > > > >> > > > > > > >> > Thanks,
> > > > >> > > > > > > >> > Julie
> > > > >> > > > > > > >> >
> > > > >> > > > > > > >> > On Thu, Feb 23, 2017 at 12:11 PM, Xinxia
Song via
> > RT
> > > <
> > > > >> > > > > > > met_help at ucar.edu
> > > > >> > > > > > > >> >
> > > > >> > > > > > > >> > wrote:
> > > > >> > > > > > > >> >
> > > > >> > > > > > > >> > >
> > > > >> > > > > > > >> > > <URL: https://rt.rap.ucar.edu/rt/
> > > > >> > > Ticket/Display.html?id=79605
> > > > >> > > > >
> > > > >> > > > > > > >> > >
> > > > >> > > > > > > >> > > Hi Julie,
> > > > >> > > > > > > >> > >
> > > > >> > > > > > > >> > >
> > > > >> > > > > > > >> > > I added it to the $PATH and ran the
> > > > >> master_met_python.py:
> > > > >> > > > > > > >> > >
> > > > >> > > > > > > >> > > [xinxia at chaos ush]$ python
master_met_plus.py
> > > > >> > > > > > > >> > >
> > > > >> > > > > > > >> > > Traceback (most recent call last):
> > > > >> > > > > > > >> > >
> > > > >> > > > > > > >> > >   File "/D2/xinxia/METplus/METplus/us
> > > > >> h/extract_tiles.py",
> > > > >> > > > line
> > > > >> > > > > > 157,
> > > > >> > > > > > > >> in
> > > > >> > > > > > > >> > > <module>
> > > > >> > > > > > > >> > >
> > > > >> > > > > > > >> > >     main()
> > > > >> > > > > > > >> > >
> > > > >> > > > > > > >> > >   File "/D2/xinxia/METplus/METplus/us
> > > > >> h/extract_tiles.py",
> > > > >> > > > line
> > > > >> > > > > > 100,
> > > > >> > > > > > > >> in
> > > > >> > > > > > > >> > > main
> > > > >> > > > > > > >> > >
> > > > >> > > > > > > >> > >     filtered_out_dir)
> > > > >> > > > > > > >> > >
> > > > >> > > > > > > >> > >   File "/D2/xinxia/METplus/METplus/us
> > > > >> h/run_tc_stat.py",
> > > > >> > > line
> > > > >> > > > > 69,
> > > > >> > > > > > in
> > > > >> > > > > > > >> > > tc_stat
> > > > >> > > > > > > >> > >
> > > > >> > > > > > > >> > >     tc_stat_out =
> subprocess.check_output(tc_cmd
> > ,
> > > > >> > > > > > > >> > > stderr=subprocess.STDOUT, shell=True )
> > > > >> > > > > > > >> > >
> > > > >> > > > > > > >> > > AttributeError: 'module' object has no
> attribute
> > > > >> > > > 'check_output'
> > > > >> > > > > > > >> > >
> > > > >> > > > > > > >> > >
> > > > >> > > > > > > >> > > Thanks,
> > > > >> > > > > > > >> > >
> > > > >> > > > > > > >> > >
> > > > >> > > > > > > >> > > Xinxia
> > > > >> > > > > > > >> > >
> > > > >> > > > > > > >> > > ________________________________
> > > > >> > > > > > > >> > > From: Julie Prestopnik via RT <
> met_help at ucar.edu
> > >
> > > > >> > > > > > > >> > > Sent: Friday, February 24, 2017 9:07:40
AM
> > > > >> > > > > > > >> > > To: Xinxia_Song at outlook.com
> > > > >> > > > > > > >> > > Subject: Re: [rt.rap.ucar.edu #79605]
> > ImportError:
> > > > No
> > > > >> > > module
> > > > >> > > > > > named
> > > > >> > > > > > > >> > > constants_pdef
> > > > >> > > > > > > >> > >
> > > > >> > > > > > > >> > > Unfortunately, your environment does not
know
> > where
> > > > to
> > > > >> > find
> > > > >> > > > > > > >> > > run_tc_pairs.py.  Please try adding the
> directory
> > > > with
> > > > >> > > > > > > run_tc_pairs.py
> > > > >> > > > > > > >> > > (/D2/xinxia/METplus/METplus/ush) to your
path
> in
> > > > your
> > > > >> > > > ~/.bashrc
> > > > >> > > > > > > file,
> > > > >> > > > > > > >> > then
> > > > >> > > > > > > >> > > run "source ~/.bashrc", then trying
rerunning.
> > > > Please
> > > > >> let
> > > > >> > > me
> > > > >> > > > > know
> > > > >> > > > > > > how
> > > > >> > > > > > > >> > that
> > > > >> > > > > > > >> > > goes.
> > > > >> > > > > > > >> > >
> > > > >> > > > > > > >> > > Thanks!
> > > > >> > > > > > > >> > >
> > > > >> > > > > > > >> > > Julie
> > > > >> > > > > > > >> > >
> > > > >> > > > > > > >> > > On Thu, Feb 23, 2017 at 11:55 AM, Xinxia
Song
> via
> > > RT
> > > > <
> > > > >> > > > > > > >> met_help at ucar.edu>
> > > > >> > > > > > > >> > > wrote:
> > > > >> > > > > > > >> > >
> > > > >> > > > > > > >> > > >
> > > > >> > > > > > > >> > > > <URL: https://rt.rap.ucar.edu/rt/
> > > > >> > > > Ticket/Display.html?id=79605
> > > > >> > > > > >
> > > > >> > > > > > > >> > > >
> > > > >> > > > > > > >> > > > Hi Julie,
> > > > >> > > > > > > >> > > >
> > > > >> > > > > > > >> > > >
> > > > >> > > > > > > >> > > > I'm running met in a machine that's
owned by
> > our
> > > > >> > > > department, I
> > > > >> > > > > > > don't
> > > > >> > > > > > > >> > have
> > > > >> > > > > > > >> > > > sudo right, so when I type which
> > run_tc_pairs.py,
> > > > it
> > > > >> > says
> > > > >> > > > > > couldn't
> > > > >> > > > > > > >> find
> > > > >> > > > > > > >> > > it.
> > > > >> > > > > > > >> > > >
> > > > >> > > > > > > >> > > > no run_tc_pairs.py in
> > > > (/opt/ncl/bin:/opt/intel-soft/
> > > > >> > > > > > > >> > > > bin:/opt/ncl/bin:/opt/ncl/bin:
> > > > >> > > /opt/intel-soft/bin:/opt/ncl/
> > > > >> > > > > > > >> > > > bin:/home/xinxia/anaconda/bin:
> > > > >> > /home/xinxia/anaconda/bin:/
> > > > >> > > > > > > >> > > > opt/ncl/bin:/opt/intel-soft/bi
> > > > >> > n:/opt/ncl/bin:/usr/lib64/
> > > > >> > > > > > > >> > > > qt-3.3/bin:/usr/local/bin:/bin
> > > > >> > :/usr/bin:/usr/local/sbin:/
> > > > >> > > > > > > >> > > > usr/sbin:/sbin:/sbin:/usr/
> sbin:/cm/local/apps/
> > > > >> > > > > > > >> > > environment-modules/3.2.10/
> > > > >> > > > > > > >> > > > bin:/home/xinxia/bin:/opt/ncl-621/bin)
> > > > >> > > > > > > >> > > >
> > > > >> > > > > > > >> > > >
> > > > >> > > > > > > >> > > > But I could find it manually in that
> directory.
> > > > >> > > > > > > >> > > >
> > > > >> > > > > > > >> > > >
> > > > >> > > > > > > >> > > > Thanks,
> > > > >> > > > > > > >> > > >
> > > > >> > > > > > > >> > > >
> > > > >> > > > > > > >> > > > Xinxia
> > > > >> > > > > > > >> > > >
> > > > >> > > > > > > >> > > > ________________________________
> > > > >> > > > > > > >> > > > From: Julie Prestopnik via RT <
> > met_help at ucar.edu
> > > >
> > > > >> > > > > > > >> > > > Sent: Friday, February 24, 2017
8:52:16 AM
> > > > >> > > > > > > >> > > > To: Xinxia_Song at outlook.com
> > > > >> > > > > > > >> > > > Subject: Re: [rt.rap.ucar.edu #79605]
> > > ImportError:
> > > > >> No
> > > > >> > > > module
> > > > >> > > > > > > named
> > > > >> > > > > > > >> > > > constants_pdef
> > > > >> > > > > > > >> > > >
> > > > >> > > > > > > >> > > > Hi Xinxia.
> > > > >> > > > > > > >> > > >
> > > > >> > > > > > > >> > > > It looks like you got a successful run
of
> > > tc_stat -
> > > > >> > that's
> > > > >> > > > > great
> > > > >> > > > > > > >> news!
> > > > >> > > > > > > >> > > >
> > > > >> > > > > > > >> > > > I'm not sure what you mean by "Because
I
> don't
> > > have
> > > > >> the
> > > > >> > > > > right, I
> > > > >> > > > > > > >> can't
> > > > >> > > > > > > >> > > find
> > > > >> > > > > > > >> > > > run_tc_pairs.py, but I know it's under
> > > > >> > > > > > > >> > > >
> > > > >> > > > > > > >> > > > /D2/xinxia/METplus/METplus/ush".
> > > > >> > > > > > > >> > > >
> > > > >> > > > > > > >> > > > Can you please explain?  What happened
when
> you
> > > ran
> > > > >> > "which
> > > > >> > > > > > > >> > > > run_tc_pairs.py"?
> > > > >> > > > > > > >> > > >
> > > > >> > > > > > > >> > > > Thanks,
> > > > >> > > > > > > >> > > > Julie
> > > > >> > > > > > > >> > > >
> > > > >> > > > > > > >> > > >
> > > > >> > > > > > > >> > > >
> > > > >> > > > > > > >> > > >
> > > > >> > > > > > > >> > > >
> > > > >> > > > > > > >> > > >
> > > > >> > > > > > > >> > > > On Thu, Feb 23, 2017 at 11:44 AM,
Xinxia Song
> > via
> > > > RT
> > > > >> <
> > > > >> > > > > > > >> > met_help at ucar.edu>
> > > > >> > > > > > > >> > > > wrote:
> > > > >> > > > > > > >> > > >
> > > > >> > > > > > > >> > > > >
> > > > >> > > > > > > >> > > > > <URL: https://rt.rap.ucar.edu/rt/
> > > > >> > > > > Ticket/Display.html?id=79605
> > > > >> > > > > > >
> > > > >> > > > > > > >> > > > >
> > > > >> > > > > > > >> > > > > Hi Julie,
> > > > >> > > > > > > >> > > > >
> > > > >> > > > > > > >> > > > >
> > > > >> > > > > > > >> > > > > I removed the space.
> > > > >> > > > > > > >> > > > >
> > > > >> > > > > > > >> > > > > [xinxia at chaos parm]$
> > > > >> /D2/xinxia/METplus/MET/met-5.2
> > > > >> > > > > > /bin/tc_stat
> > > > >> > > > > > > >> -job
> > > > >> > > > > > > >> > > > > filter -lookin
> /D2/xinxia/METplus/MET/input/
> > > > >> > > > tc_pairs/201412
> > > > >> > > > > > > >> > -init_inc
> > > > >> > > > > > > >> > > > > 20141201_00 -match_points true
-dump_row
> > > > >> > > > > > > >> /D2/xinxia/METplus/MET/out/
> > > > >> > > > > > > >> > > > > extract_tiles/20141201_00/
> > > > filter_20141201_00.tcst
> > > > >> > > -basin
> > > > >> > > > > ML
> > > > >> > > > > > > >> > > > > -out_init_mask
> /D2/xinxia/METplus/MET/met-5.
> > > > >> > > > > > > >> > > 2/share/met/poly/CONUS.poly
> > > > >> > > > > > > >> > > > >
> > > > >> > > > > > > >> > > > > DEBUG 1: [Source 1] Lookin:
> > > > >> > > /D2/xinxia/METplus/MET/input/
> > > > >> > > > > > > >> > > tc_pairs/201412
> > > > >> > > > > > > >> > > > >
> > > > >> > > > > > > >> > > > > DEBUG 2:
> > > > >> > > > > > > >> > > > >
> > > > >> > > > > > > >> > > > > DEBUG 2: Processing Job 1: -job
filter
> -basin
> > > ML
> > > > >> > > -init_inc
> > > > >> > > > > > > >> > > > 20141201_000000
> > > > >> > > > > > > >> > > > > -match_points true -out_init_mask
> > > > >> > > > > > /D2/xinxia/METplus/MET/met-5.
> > > > >> > > > > > > >> > > > 2/share/met/poly/CONUS.poly
> > > > >> > > > > > > >> > > > > -dump_row
/D2/xinxia/METplus/MET/out/ext
> > > > >> > > > > > ract_tiles/20141201_00/
> > > > >> > > > > > > >> > > > > filter_20141201_00.tcst
> > > > >> > > > > > > >> > > > >
> > > > >> > > > > > > >> > > > > DEBUG 1: Creating output dump file:
> > > > >> > > > > > /D2/xinxia/METplus/MET/out/
> > > > >> > > > > > > >> > > > > extract_tiles/20141201_00/
> > > > filter_20141201_00.tcst
> > > > >> > > > > > > >> > > > >
> > > > >> > > > > > > >> > > > > FILTER: -job filter -basin ML
-init_inc
> > > > >> > 20141201_000000
> > > > >> > > > > > > >> -match_points
> > > > >> > > > > > > >> > > > true
> > > > >> > > > > > > >> > > > > -out_init_mask
> /D2/xinxia/METplus/MET/met-5.
> > > > >> > > > > > > >> > > 2/share/met/poly/CONUS.poly
> > > > >> > > > > > > >> > > > > -dump_row
/D2/xinxia/METplus/MET/out/ext
> > > > >> > > > > > ract_tiles/20141201_00/
> > > > >> > > > > > > >> > > > > filter_20141201_00.tcst
> > > > >> > > > > > > >> > > > >
> > > > >> > > > > > > >> > > > >
> > > > >> > > > > > > >> > > > > DEBUG 2: Job 1 used 0 out of 27292
lines
> > read.
> > > > >> > > > > > > >> > > > >
> > > > >> > > > > > > >> > > > >
> > > > >> > > > > > > >> > > > > Because I don't have the right, I
can't
> find
> > > > >> > > > > run_tc_pairs.py,
> > > > >> > > > > > > but
> > > > >> > > > > > > >> I
> > > > >> > > > > > > >> > > know
> > > > >> > > > > > > >> > > > > it's under
> > > > >> > > > > > > >> > > > >
> > > > >> > > > > > > >> > > > > /D2/xinxia/METplus/METplus/ush
> > > > >> > > > > > > >> > > > >
> > > > >> > > > > > > >> > > > >
> > > > >> > > > > > > >> > > > > For Python,
> > > > >> > > > > > > >> > > > >
> > > > >> > > > > > > >> > > > > [xinxia at chaos ~]$ which python
> > > > >> > > > > > > >> > > > >
> > > > >> > > > > > > >> > > > > /usr/bin/python
> > > > >> > > > > > > >> > > > >
> > > > >> > > > > > > >> > > > >
> > > > >> > > > > > > >> > > > > Xinxia
> > > > >> > > > > > > >> > > > >
> > > > >> > > > > > > >> > > > > ________________________________
> > > > >> > > > > > > >> > > > > From: Julie Prestopnik via RT <
> > > met_help at ucar.edu
> > > > >
> > > > >> > > > > > > >> > > > > Sent: Friday, February 24, 2017
8:30:01 AM
> > > > >> > > > > > > >> > > > > To: Xinxia_Song at outlook.com
> > > > >> > > > > > > >> > > > > Subject: Re: [rt.rap.ucar.edu
#79605]
> > > > >> ImportError: No
> > > > >> > > > > module
> > > > >> > > > > > > >> named
> > > > >> > > > > > > >> > > > > constants_pdef
> > > > >> > > > > > > >> > > > >
> > > > >> > > > > > > >> > > > > Hi Xinxia.
> > > > >> > > > > > > >> > > > >
> > > > >> > > > > > > >> > > > > It looks like there is a space where
there
> > > should
> > > > >> not
> > > > >> > > be a
> > > > >> > > > > > space
> > > > >> > > > > > > >> > > (between
> > > > >> > > > > > > >> > > > > /D2/xinxia/METplus/MET/out/ext
> > > > >> ract_tiles/20141201_00/
> > > > >> > > and
> > > > >> > > > > > > >> > > > > filter_20141201_00.tcst after the
-dump_row
> > > > >> option).
> > > > >> > > > > > > >> > > > >
> > > > >> > > > > > > >> > > > > Could you please try it again
without the
> > > space?
> > > > >> > > > > > > >> > > > >
> > > > >> > > > > > > >> > > > > /D2/xinxia/METplus/METplus/ush
> > > > >> /run_tc_stat.py:tc_stat
> > > > >> > > > from
> > > > >> > > > > > > >> calling
> > > > >> > > > > > > >> > MET
> > > > >> > > > > > > >> > > > > TC-STAT with
command:/D2/xinxia/METplus/MET
> > > > >> > > > > > /met-5.2/bin/tc_stat
> > > > >> > > > > > > >> -job
> > > > >> > > > > > > >> > > > > filter
> > > > >> > > > > > > >> > > > > -lookin
/D2/xinxia/METplus/MET/input/t
> > > > >> c_pairs/201412
> > > > >> > > > > > -init_inc
> > > > >> > > > > > > >> > > > 20141201_00
> > > > >> > > > > > > >> > > > > -match_points true -dump_row
> > > > >> > /D2/xinxia/METplus/MET/out/
> > > > >> > > > > > > >> > > > > extract_tiles/20141201_00/
> > > > filter_20141201_00.tcst
> > > > >> > > -basin
> > > > >> > > > > ML
> > > > >> > > > > > > >> > > > > -out_init_mask
> > > > >> > > > > > > >> > > > > /D2/xinxia/METplus/MET/met-5.
> > > > >> > > 2/share/met/poly/CONUS.poly
> > > > >> > > > > > > >> > > > >
> > > > >> > > > > > > >> > > > > Regarding the master_met_plus.py
run,
> please
> > > try
> > > > >> > running
> > > > >> > > > the
> > > > >> > > > > > > >> > following
> > > > >> > > > > > > >> > > > two
> > > > >> > > > > > > >> > > > > commands and send me the output:
> > > > >> > > > > > > >> > > > >
> > > > >> > > > > > > >> > > > > which run_tc_pairs.py
> > > > >> > > > > > > >> > > > >
> > > > >> > > > > > > >> > > > > which python
> > > > >> > > > > > > >> > > > >
> > > > >> > > > > > > >> > > > > Thanks!
> > > > >> > > > > > > >> > > > >
> > > > >> > > > > > > >> > > > > Julie
> > > > >> > > > > > > >> > > > >
> > > > >> > > > > > > >> > > > > On Thu, Feb 23, 2017 at 11:06 AM,
Xinxia
> Song
> > > via
> > > > >> RT <
> > > > >> > > > > > > >> > > met_help at ucar.edu>
> > > > >> > > > > > > >> > > > > wrote:
> > > > >> > > > > > > >> > > > >
> > > > >> > > > > > > >> > > > > >
> > > > >> > > > > > > >> > > > > > <URL:
https://rt.rap.ucar.edu/rt/Tic
> > > > >> > > > > > ket/Display.html?id=79605
> > > > >> > > > > > > >
> > > > >> > > > > > > >> > > > > >
> > > > >> > > > > > > >> > > > > > Hi Julie,
> > > > >> > > > > > > >> > > > > >
> > > > >> > > > > > > >> > > > > >
> > > > >> > > > > > > >> > > > > > After I ran the long one line
command:
> > > > >> > > > > > > >> > > > > >
> > > > >> > > > > > > >> > > > > > [xinxia at chaos parm]$
> > > > >> /D2/xinxia/METplus/MET/met-5.
> > > > >> > > > > > > 2/bin/tc_stat
> > > > >> > > > > > > >> > -job
> > > > >> > > > > > > >> > > > > > filter -lookin
> > /D2/xinxia/METplus/MET/input/
> > > > >> > > > > tc_pairs/201412
> > > > >> > > > > > > >> > > -init_inc
> > > > >> > > > > > > >> > > > > > 20141201_00 -match_points true
-dump_row
> > > > >> > > > > > > >> > /D2/xinxia/METplus/MET/out/
> > > > >> > > > > > > >> > > > > extract_tiles/20141201_00/
> > > > >> > > > > > > >> > > > > > filter_20141201_00.tcst  -basin ML
> > > > -out_init_mask
> > > > >> > > > > > > >> > > > > > /D2/xinxia/METplus/MET/met-5.
> > > > >> > > > 2/share/met/poly/CONUS.poly
> > > > >> > > > > > > >> > > > > >
> > > > >> > > > > > > >> > > > > >
> > > > >> > > > > > > >> > > > > > DEBUG 1: [Source 1] Lookin:
> > > > >> > > > /D2/xinxia/METplus/MET/input/
> > > > >> > > > > > > >> > > > tc_pairs/201412
> > > > >> > > > > > > >> > > > > >
> > > > >> > > > > > > >> > > > > > ERROR  :
> > > > >> > > > > > > >> > > > > >
> > > > >> > > > > > > >> > > > > > ERROR  : TCStatJob
> > *TCStatJobFactory::new_tc_
> > > > >> > > > > stat_job(const
> > > > >> > > > > > > >> char
> > > > >> > > > > > > >> > > > > > *jobstring) -> unsupported job
command
> > > options
> > > > >> > > > > > > >> > > > "filter_20141201_00.tcst".
> > > > >> > > > > > > >> > > > > >
> > > > >> > > > > > > >> > > > > > ERROR  :
> > > > >> > > > > > > >> > > > > >
> > > > >> > > > > > > >> > > > > >
> > > > >> > > > > > > >> > > > > > And for the master_met_plus.py, I
got the
> > > > error:
> > > > >> > > > > > > >> > > > > >
> > > > >> > > > > > > >> > > > > > [xinxia at chaos ush]$ python
> > > master_met_plus.py
> > > > >> > > > > > > >> > > > > >
> > > > >> > > > > > > >> > > > > > sh: run_tc_pairs.py: command not
found
> > > > >> > > > > > > >> > > > > >
> > > > >> > > > > > > >> > > > > >
> > > > >> > > > > > > >> > > > > > Thanks,
> > > > >> > > > > > > >> > > > > >
> > > > >> > > > > > > >> > > > > >
> > > > >> > > > > > > >> > > > > > Xinxia
> > > > >> > > > > > > >> > > > > >
> > > > >> > > > > > > >> > > > > > ________________________________
> > > > >> > > > > > > >> > > > > > From: Julie Prestopnik via RT <
> > > > met_help at ucar.edu
> > > > >> >
> > > > >> > > > > > > >> > > > > > Sent: Friday, February 24, 2017
7:42:21
> AM
> > > > >> > > > > > > >> > > > > > To: Xinxia_Song at outlook.com
> > > > >> > > > > > > >> > > > > > Subject: Re: [rt.rap.ucar.edu
#79605]
> > > > >> ImportError:
> > > > >> > No
> > > > >> > > > > > module
> > > > >> > > > > > > >> named
> > > > >> > > > > > > >> > > > > > constants_pdef
> > > > >> > > > > > > >> > > > > >
> > > > >> > > > > > > >> > > > > > My apologies, my response should
have
> said,
> > > "By
> > > > >> > > default,
> > > > >> > > > > MET
> > > > >> > > > > > > >> > version
> > > > >> > > > > > > >> > > > 5.2
> > > > >> > > > > > > >> > > > > is
> > > > >> > > > > > > >> > > > > > compiled using dynamic linking."
It's
> true
> > > for
> > > > >> > both,
> > > > >> > > > but
> > > > >> > > > > I
> > > > >> > > > > > > see
> > > > >> > > > > > > >> > > you're
> > > > >> > > > > > > >> > > > > > using 5.2 and I inadvertently
referred to
> > > 5.1.
> > > > >> > > > > > > >> > > > > >
> > > > >> > > > > > > >> > > > > > On Thu, Feb 23, 2017 at 10:40 AM,
Julie
> > > > >> Prestopnik <
> > > > >> > > > > > > >> > jpresto at ucar.edu
> > > > >> > > > > > > >> > > >
> > > > >> > > > > > > >> > > > > > wrote:
> > > > >> > > > > > > >> > > > > >
> > > > >> > > > > > > >> > > > > > > Hi Xinxia.  Regarding the error:
> > > > >> > > > > > > >> > > > > > >
> > > > >> > > > > > > >> > > > > > > /D2/xinxia/METplus/MET/met-5.
> > > 2/bin/tc_stat:
> > > > >> error
> > > > >> > > > while
> > > > >> > > > > > > >> loading
> > > > >> > > > > > > >> > > > shared
> > > > >> > > > > > > >> > > > > > > libraries: libgsl.so.19: cannot
open
> > shared
> > > > >> object
> > > > >> > > > file:
> > > > >> > > > > > No
> > > > >> > > > > > > >> such
> > > > >> > > > > > > >> > > file
> > > > >> > > > > > > >> > > > > or
> > > > >> > > > > > > >> > > > > > > directory
> > > > >> > > > > > > >> > > > > > >
> > > > >> > > > > > > >> > > > > > > By default, MET version 5.1 is
compiled
> > > using
> > > > >> > > dynamic
> > > > >> > > > > > > linking.
> > > > >> > > > > > > >> > > > Rather
> > > > >> > > > > > > >> > > > > > > than compiling the external
library
> code
> > in
> > > > >> with
> > > > >> > the
> > > > >> > > > MET
> > > > >> > > > > > > >> > > executables
> > > > >> > > > > > > >> > > > > > (which
> > > > >> > > > > > > >> > > > > > > is
> > > > >> > > > > > > >> > > > > > > called static linking), it looks
for
> them
> > > at
> > > > >> > > runtime.
> > > > >> > > > > And
> > > > >> > > > > > > >> it's
> > > > >> > > > > > > >> > > > looking
> > > > >> > > > > > > >> > > > > > > for those "shared object" (.so)
library
> > > > files.
> > > > >> > > > > > > >> > > > > > >
> > > > >> > > > > > > >> > > > > > > This should be easy to fix. We
just
> need
> > to
> > > > >> tell
> > > > >> > it
> > > > >> > > > > where
> > > > >> > > > > > to
> > > > >> > > > > > > >> find
> > > > >> > > > > > > >> > > > them,
> > > > >> > > > > > > >> > > > > > > and we do that by setting (or
adding to
> > the
> > > > >> > > > > > > LD_LIBRARY_PATH).
> > > > >> > > > > > > >> > Look
> > > > >> > > > > > > >> > > > in
> > > > >> > > > > > > >> > > > > > your
> > > > >> > > > > > > >> > > > > > > ~/.bashrc file.  If
LD_LIBRARY_PATH is
> > > > already
> > > > >> > > defined
> > > > >> > > > > in
> > > > >> > > > > > > >> there,
> > > > >> > > > > > > >> > > add
> > > > >> > > > > > > >> > > > > the
> > > > >> > > > > > > >> > > > > > > path to the libgsl.so.19 to the
end of
> > it.
> > > > If
> > > > >> > not,
> > > > >> > > > add
> > > > >> > > > > an
> > > > >> > > > > > > >> > > > > > > LD_LIBRARY_PATH entry in your
~/.bashrc
> > > file.
> > > > >> So,
> > > > >> > > for
> > > > >> > > > > > > >> example,
> > > > >> > > > > > > >> > if
> > > > >> > > > > > > >> > > > the
> > > > >> > > > > > > >> > > > > > path
> > > > >> > > > > > > >> > > > > > > to your libgsl.so.19 file is
> > > > >> > > > > > /D2/xinxia/METplus/MET/externa
> > > > >> > > > > > > >> > > > > > l_libs/GSL/gsl-1.16/lib
> > > > >> > > > > > > >> > > > > > > you would add teh following to
your
> > > ~/.bashrc
> > > > >> > file:
> > > > >> > > > > > > >> > > > > > >
> > > > >> > > > > > > >> > > > > > >   export
LD_LIBRARY_PATH=/D2/xinxia/
> > > > >> > > > > > > >> > METplus/MET/external_libs/GSL/
> > > > >> > > > > > > >> > > > > > > gsl-1.16/lib
> > > > >> > > > > > > >> > > > > > >
> > > > >> > > > > > > >> > > > > > > Then save the change and source
that
> > file:
> > > > >> > > > > > > >> > > > > > >
> > > > >> > > > > > > >> > > > > > >   source ~/.bashrc
> > > > >> > > > > > > >> > > > > > >
> > > > >> > > > > > > >> > > > > > > Then, please try rerunning the
command
> > > > manually
> > > > >> > and
> > > > >> > > > let
> > > > >> > > > > me
> > > > >> > > > > > > >> know
> > > > >> > > > > > > >> > if
> > > > >> > > > > > > >> > > it
> > > > >> > > > > > > >> > > > > > > works.
> > > > >> > > > > > > >> > > > > > >
> > > > >> > > > > > > >> > > > > > > I believe that this was the
cause of
> the
> > > > >> initial
> > > > >> > > error
> > > > >> > > > > you
> > > > >> > > > > > > >> > received
> > > > >> > > > > > > >> > > > > from
> > > > >> > > > > > > >> > > > > > > MET+:
> > > > >> > > > > > > >> > > > > > >
> > > > >> > > > > > > >> > > > > > > ERROR|
/D2/xinxia/METplus/METplus/
> > > > >> > > > > > > ush/run_tc_stat.py:tc_stat
> > > > >> > > > > > > >> > from
> > > > >> > > > > > > >> > > > > > calling
> > > > >> > > > > > > >> > > > > > > MET TC-STAT with
> > > command:/D2/xinxia/METplus/
> > > > >> > > > > > > >> > > MET/met-5.2/bin/tc_stat
> > > > >> > > > > > > >> > > > > -job
> > > > >> > > > > > > >> > > > > > > filter -lookin
> > > /D2/xinxia/METplus/MET/input/t
> > > > >> > > > > > c_pairs/201412
> > > > >> > > > > > > >> > > > -init_inc
> > > > >> > > > > > > >> > > > > > > 20141201_00 -match_points true
> -dump_row
> > > > >> > > > > > > >> > > > /D2/xinxia/METplus/MET/out/ext
> > > > >> > > > > > > >> > > > > > > ract_tiles/20141201_00/filter_
> > > > 20141201_00.tcst
> > > > >> > > > -basin
> > > > >> > > > > ML
> > > > >> > > > > > > >> > > > > -out_init_mask
> > > > >> > > > > > > >> > > > > > > /D2/xinxia/METplus/MET/met-5.
> > > > >> > > > > 2/share/met/poly/CONUS.poly
> > > > >> > > > > > > >> > > > > > >
> > > > >> > > > > > > >> > > > > > >
> > > > >> > > > > > > >> > > > > > > Thanks,
> > > > >> > > > > > > >> > > > > > > Julie
> > > > >> > > > > > > >> > > > > > >
> > > > >> > > > > > > >> > > > > > > On Thu, Feb 23, 2017 at 10:14
AM,
> Xinxia
> > > Song
> > > > >> via
> > > > >> > > RT <
> > > > >> > > > > > > >> > > > > met_help at ucar.edu>
> > > > >> > > > > > > >> > > > > > > wrote:
> > > > >> > > > > > > >> > > > > > >
> > > > >> > > > > > > >> > > > > > >>
> > > > >> > > > > > > >> > > > > > >> <URL:
https://rt.rap.ucar.edu/rt/Tic
> > > > >> > > > > > > >> ket/Display.html?id=79605 >
> > > > >> > > > > > > >> > > > > > >>
> > > > >> > > > > > > >> > > > > > >> Hi Julie,
> > > > >> > > > > > > >> > > > > > >>
> > > > >> > > > > > > >> > > > > > >>
> > > > >> > > > > > > >> > > > > > >> [xinxia at chaos ush]$
> > > > >> > /D2/xinxia/METplus/MET/met-5.2
> > > > >> > > > > > > >> /bin/tc_stat
> > > > >> > > > > > > >> > > -job
> > > > >> > > > > > > >> > > > > > >> filter -lookin
> > > /D2/xinxia/METplus/MET/input/
> > > > >> > > > > > > tc_pairs/201412
> > > > >> > > > > > > >> > > > -init_inc
> > > > >> > > > > > > >> > > > > > >> 20141201_00 -match_points true
> -dump_row
> > > > >> > > > > > > >> > > > > /D2/xinxia/METplus/MET/out/ext
> > > > >> > > > > > > >> > > > > > ract_tiles/20141201_00/
> > > > >> > > > > > > >> > > > > > >> filter_20141201_00.tcst  -basin
ML
> > > > >> -out_init_mask
> > > > >> > > > > > > >> > > > > > >> /D2/xinxia/METplus/MET/met-5.
> > > > >> > > > > 2/share/met/poly/CONUS.poly
> > > > >> > > > > > > >> > > > > > >>
> > > > >> > > > > > > >> > > > > > >> /D2/xinxia/METplus/MET/met-5.
> > > 2/bin/tc_stat:
> > > > >> > error
> > > > >> > > > > while
> > > > >> > > > > > > >> loading
> > > > >> > > > > > > >> > > > > shared
> > > > >> > > > > > > >> > > > > > >> libraries: libgsl.so.19: cannot
open
> > > shared
> > > > >> > object
> > > > >> > > > > file:
> > > > >> > > > > > No
> > > > >> > > > > > > >> such
> > > > >> > > > > > > >> > > > file
> > > > >> > > > > > > >> > > > > or
> > > > >> > > > > > > >> > > > > > >> directory
> > > > >> > > > > > > >> > > > > > >>
> > > > >> > > > > > > >> > > > > > >>
> > > > >> > > > > > > >> > > > > > >> And I uploaded the
configuration file
> > > > >> > > > > (constants_pdef.py)
> > > > >> > > > > > > >> under
> > > > >> > > > > > > >> > > > > > >> xinxia_data directory.
> > > > >> > > > > > > >> > > > > > >>
> > > > >> > > > > > > >> > > > > > >>
> > > > >> > > > > > > >> > > > > > >> Thanks,
> > > > >> > > > > > > >> > > > > > >>
> > > > >> > > > > > > >> > > > > > >>
> > > > >> > > > > > > >> > > > > > >> Xinxia
> > > > >> > > > > > > >> > > > > > >>
> > > > >> > > > > > > >> > > > > > >>
________________________________
> > > > >> > > > > > > >> > > > > > >> From: Julie Prestopnik via RT <
> > > > >> met_help at ucar.edu
> > > > >> > >
> > > > >> > > > > > > >> > > > > > >> Sent: Friday, February 24, 2017
> 6:15:57
> > AM
> > > > >> > > > > > > >> > > > > > >> To: Xinxia_Song at outlook.com
> > > > >> > > > > > > >> > > > > > >> Subject: Re: [rt.rap.ucar.edu
#79605]
> > > > >> > ImportError:
> > > > >> > > > No
> > > > >> > > > > > > module
> > > > >> > > > > > > >> > > named
> > > > >> > > > > > > >> > > > > > >> constants_pdef
> > > > >> > > > > > > >> > > > > > >>
> > > > >> > > > > > > >> > > > > > >> Hi Xinxia.
> > > > >> > > > > > > >> > > > > > >>
> > > > >> > > > > > > >> > > > > > >> I can see that your command,
which
> > should
> > > > have
> > > > >> > been
> > > > >> > > > all
> > > > >> > > > > > on
> > > > >> > > > > > > >> one
> > > > >> > > > > > > >> > > line,
> > > > >> > > > > > > >> > > > > was
> > > > >> > > > > > > >> > > > > > >> broken up into several lines.
Please
> > try
> > > > >> running
> > > > >> > > the
> > > > >> > > > > > > command
> > > > >> > > > > > > >> > > again,
> > > > >> > > > > > > >> > > > > > >> making
> > > > >> > > > > > > >> > > > > > >> sure that the entire command is
on one
> > > line:
> > > > >> > > > > > > >> > > > > > >>
> > > > >> > > > > > > >> > > > > > >> /D2/xinxia/METplus/MET/met-5.
> > > 2/bin/tc_stat
> > > > >> -job
> > > > >> > > > filter
> > > > >> > > > > > > >> -lookin
> > > > >> > > > > > > >> > > > > > >> /D2/xinxia/METplus/MET/input/
> > > > tc_pairs/201412
> > > > >> > > > -init_inc
> > > > >> > > > > > > >> > > 20141201_00
> > > > >> > > > > > > >> > > > > > >> -match_points true -dump_row
> > > > >> > > > > > > >> > > > > > >> /D2/xinxia/METplus/MET/out/
> > > > >> > > > extract_tiles/20141201_00/
> > > > >> > > > > > > >> > > > > > >> filter_20141201_00.tcst  -basin
ML
> > > > >> -out_init_mask
> > > > >> > > > > > > >> > > > > > >> /D2/xinxia/METplus/MET/met-5.
> > > > >> > > > > 2/share/met/poly/CONUS.poly
> > > > >> > > > > > > >> > > > > > >>
> > > > >> > > > > > > >> > > > > > >> Then, please send the output
from that
> > > > >> command.
> > > > >> > > > > > > >> > > > > > >>
> > > > >> > > > > > > >> > > > > > >> Regarding, your error:
> > > > >> > > > > > > >> > > > > > >>
> > > > >> > > > > > > >> > > > > > >> sh: run_tc_pairs.py: command
not found
> > > > >> > > > > > > >> > > > > > >>
> > > > >> > > > > > > >> > > > > > >> It's strange that would only
have
> > occurred
> > > > >> after
> > > > >> > > > having
> > > > >> > > > > > > >> changed
> > > > >> > > > > > > >> > > the
> > > > >> > > > > > > >> > > > > > >> LOG_LEVEL.  Could you please
send us
> > your
> > > > >> > > > configuration
> > > > >> > > > > > > file?
> > > > >> > > > > > > >> > > > > > >>
> > > > >> > > > > > > >> > > > > > >> Thanks!
> > > > >> > > > > > > >> > > > > > >>
> > > > >> > > > > > > >> > > > > > >> Julie
> > > > >> > > > > > > >> > > > > > >>
> > > > >> > > > > > > >> > > > > > >> On Wed, Feb 22, 2017 at 2:54
PM,
> Xinxia
> > > Song
> > > > >> via
> > > > >> > > RT <
> > > > >> > > > > > > >> > > > > met_help at ucar.edu>
> > > > >> > > > > > > >> > > > > > >> wrote:
> > > > >> > > > > > > >> > > > > > >>
> > > > >> > > > > > > >> > > > > > >> >
> > > > >> > > > > > > >> > > > > > >> > <URL:
> https://rt.rap.ucar.edu/rt/Tic
> > > > >> > > > > > > >> ket/Display.html?id=79605
> > > > >> > > > > > > >> > >
> > > > >> > > > > > > >> > > > > > >> >
> > > > >> > > > > > > >> > > > > > >> > Hi Julie,
> > > > >> > > > > > > >> > > > > > >> >
> > > > >> > > > > > > >> > > > > > >> >
> > > > >> > > > > > > >> > > > > > >> > [xinxia at chaos ush]$
> > > > >> > > /D2/xinxia/METplus/MET/met-5.
> > > > >> > > > > > > >> > 2/bin/tc_stat
> > > > >> > > > > > > >> > > > -job
> > > > >> > > > > > > >> > > > > > >> > filter -lookin
> > > > >> > > > > > > >> > > > > > >> >
> > > > >> > > > > > > >> > > > > > >> > /D2/xinxia/METplus/MET/met-5.
> > > > 2/bin/tc_stat:
> > > > >> > > error
> > > > >> > > > > > while
> > > > >> > > > > > > >> > loading
> > > > >> > > > > > > >> > > > > > shared
> > > > >> > > > > > > >> > > > > > >> > libraries: libgsl.so.19:
cannot open
> > > > shared
> > > > >> > > object
> > > > >> > > > > > file:
> > > > >> > > > > > > No
> > > > >> > > > > > > >> > such
> > > > >> > > > > > > >> > > > > file
> > > > >> > > > > > > >> > > > > > or
> > > > >> > > > > > > >> > > > > > >> > directory
> > > > >> > > > > > > >> > > > > > >> >
> > > > >> > > > > > > >> > > > > > >> >
> > > > >> > > > > > > >> > > > > > >> > [xinxia at chaos ush]$
> > > > >> > > /D2/xinxia/METplus/MET/input/
> > > > >> > > > > > > >> > > tc_pairs/201412
> > > > >> > > > > > > >> > > > > > >> > -init_inc 20141201_00
-match_points
> > true
> > > > >> > > -dump_row
> > > > >> > > > > > > >> > > > > > >> >
> > > > >> > > > > > > >> > > > > > >> > -bash:
/D2/xinxia/METplus/MET/input/
> > > > >> > > > tc_pairs/201412:
> > > > >> > > > > > is
> > > > >> > > > > > > a
> > > > >> > > > > > > >> > > > directory
> > > > >> > > > > > > >> > > > > > >> >
> > > > >> > > > > > > >> > > > > > >> >
> > > > >> > > > > > > >> > > > > > >> > [xinxia at chaos ush]$
> > > > >> > > /D2/xinxia/METplus/MET/out/ext
> > > > >> > > > > > > >> > > > > > >> ract_tiles/20141201_00/
> > > > >> > > > > > > >> > > > > > >> > filter_20141201_00.tcst
-basin ML
> > > > >> > -out_init_mask
> > > > >> > > > > > > >> > > > > > >> > /D2/xinxia/METplus/MET/met-
5.2
> > > > >> > > > > > /share/met/poly/CONUS.poly
> > > > >> > > > > > > >> > > > > > >> >
> > > > >> > > > > > > >> > > > > > >> > -bash:
> /D2/xinxia/METplus/MET/out/ext
> > > > >> > > > > > > >> ract_tiles/20141201_00/:
> > > > >> > > > > > > >> > > No
> > > > >> > > > > > > >> > > > > such
> > > > >> > > > > > > >> > > > > > >> > file or directory
> > > > >> > > > > > > >> > > > > > >> >
> > > > >> > > > > > > >> > > > > > >> >
> > > > >> > > > > > > >> > > > > > >> > After I change the LOG_LEVEL,
I ran
> > the
> > > > >> > > > > > > >> master_met_plus.py, it
> > > > >> > > > > > > >> > > > says:
> > > > >> > > > > > > >> > > > > > >> >
> > > > >> > > > > > > >> > > > > > >> > [xinxia at chaos ush]$ python
> > > > >> master_met_plus.py
> > > > >> > > > > > > >> > > > > > >> >
> > > > >> > > > > > > >> > > > > > >> > sh: run_tc_pairs.py: command
not
> found
> > > > >> > > > > > > >> > > > > > >> >
> > > > >> > > > > > > >> > > > > > >> >
> > > > >> > > > > > > >> > > > > > >> >
> > > > >> > > > > > > >> > > > > > >> > Thanks,
> > > > >> > > > > > > >> > > > > > >> >
> > > > >> > > > > > > >> > > > > > >> >
> > > > >> > > > > > > >> > > > > > >> > Xinxia
> > > > >> > > > > > > >> > > > > > >> >
> > > > >> > > > > > > >> > > > > > >> >
> > > > >> > > > > > > >> > > > > > >> >
________________________________
> > > > >> > > > > > > >> > > > > > >> > From: Julie Prestopnik via RT
<
> > > > >> > met_help at ucar.edu
> > > > >> > > >
> > > > >> > > > > > > >> > > > > > >> > Sent: Thursday, February 23,
2017
> > > 10:04:55
> > > > >> AM
> > > > >> > > > > > > >> > > > > > >> > To: Xinxia_Song at outlook.com
> > > > >> > > > > > > >> > > > > > >> > Subject: Re: [rt.rap.ucar.edu
> #79605]
> > > > >> > > ImportError:
> > > > >> > > > > No
> > > > >> > > > > > > >> module
> > > > >> > > > > > > >> > > > named
> > > > >> > > > > > > >> > > > > > >> > constants_pdef
> > > > >> > > > > > > >> > > > > > >> >
> > > > >> > > > > > > >> > > > > > >> > Thank you.  Unfortunately,
the level
> > of
> > > > >> detail
> > > > >> > in
> > > > >> > > > the
> > > > >> > > > > > log
> > > > >> > > > > > > >> file
> > > > >> > > > > > > >> > > > > wasn't
> > > > >> > > > > > > >> > > > > > >> what
> > > > >> > > > > > > >> > > > > > >> > I hoped for.  I'd like to
have you
> try
> > > two
> > > > >> > > things.
> > > > >> > > > > > > >> > > > > > >> >
> > > > >> > > > > > > >> > > > > > >> > First, could you please send
me your
> > > > output
> > > > >> of
> > > > >> > > your
> > > > >> > > > > > > manual
> > > > >> > > > > > > >> run
> > > > >> > > > > > > >> > > of
> > > > >> > > > > > > >> > > > > the
> > > > >> > > > > > > >> > > > > > >> > following?
> > > > >> > > > > > > >> > > > > > >> >
> > > > >> > > > > > > >> > > > > > >> > "/D2/xinxia/METplus/MET/met-
5.
> > > > 2/bin/tc_stat
> > > > >> > -job
> > > > >> > > > > > filter
> > > > >> > > > > > > >> > -lookin
> > > > >> > > > > > > >> > > > > > >> >
/D2/xinxia/METplus/MET/input/t
> > > > >> c_pairs/201412
> > > > >> > > > > -init_inc
> > > > >> > > > > > > >> > > > 20141201_00
> > > > >> > > > > > > >> > > > > > >> > -match_points true -dump_row
> > > > >> > > > > > /D2/xinxia/METplus/MET/out/
> > > > >> > > > > > > >> > > > > > >> > extract_tiles/20141201_00/
> > > > >> > > filter_20141201_00.tcst
> > > > >> > > > > > > -basin
> > > > >> > > > > > > >> ML
> > > > >> > > > > > > >> > > > > > >> > -out_init_mask
> > > > >> > > > > > > >> > > > > > >> > /D2/xinxia/METplus/MET/met-5.
> > > > >> > > > > > > 2/share/met/poly/CONUS.poly"
> > > > >> > > > > > > >> > > > > > >> >
> > > > >> > > > > > > >> > > > > > >> > Second, could you please
change your
> > log
> > > > >> level
> > > > >> > in
> > > > >> > > > > your
> > > > >> > > > > > > >> > > > configuration
> > > > >> > > > > > > >> > > > > > >> file
> > > > >> > > > > > > >> > > > > > >> > from
> > > > >> > > > > > > >> > > > > > >> >
> > > > >> > > > > > > >> > > > > > >> > LOG_LEVEL = "INFO"
> > > > >> > > > > > > >> > > > > > >> >
> > > > >> > > > > > > >> > > > > > >> > to
> > > > >> > > > > > > >> > > > > > >> >
> > > > >> > > > > > > >> > > > > > >> > LOG_LEVEL = "DEBUG"
> > > > >> > > > > > > >> > > > > > >> >
> > > > >> > > > > > > >> > > > > > >> > then rerun and upload your
log file
> to
> > > our
> > > > >> ftp
> > > > >> > > > server
> > > > >> > > > > > > >> again?
> > > > >> > > > > > > >> > > > > > >> >
> > > > >> > > > > > > >> > > > > > >> > Thank you!
> > > > >> > > > > > > >> > > > > > >> >
> > > > >> > > > > > > >> > > > > > >> > Julie
> > > > >> > > > > > > >> > > > > > >> >
> > > > >> > > > > > > >> > > > > > >> >
> > > > >> > > > > > > >> > > > > > >> > On Wed, Feb 22, 2017 at 12:39
PM,
> > Xinxia
> > > > >> Song
> > > > >> > via
> > > > >> > > > RT
> > > > >> > > > > <
> > > > >> > > > > > > >> > > > > > met_help at ucar.edu
> > > > >> > > > > > > >> > > > > > >> >
> > > > >> > > > > > > >> > > > > > >> > wrote:
> > > > >> > > > > > > >> > > > > > >> >
> > > > >> > > > > > > >> > > > > > >> > >
> > > > >> > > > > > > >> > > > > > >> > > <URL:
https://rt.rap.ucar.edu/rt/
> > > > >> > > > > > > >> > Ticket/Display.html?id=79605
> > > > >> > > > > > > >> > > >
> > > > >> > > > > > > >> > > > > > >> > >
> > > > >> > > > > > > >> > > > > > >> > > Hi Julie,
> > > > >> > > > > > > >> > > > > > >> > >
> > > > >> > > > > > > >> > > > > > >> > >
> > > > >> > > > > > > >> > > > > > >> > > I uploaded the log file
under
> > > > xinxia_data
> > > > >> > > > > directory.
> > > > >> > > > > > > >> > > > > > >> > >
> > > > >> > > > > > > >> > > > > > >> > >
> > > > >> > > > > > > >> > > > > > >> > > Thanks,
> > > > >> > > > > > > >> > > > > > >> > >
> > > > >> > > > > > > >> > > > > > >> > >
> > > > >> > > > > > > >> > > > > > >> > > Xinxia
> > > > >> > > > > > > >> > > > > > >> > >
> > > > >> > > > > > > >> > > > > > >> > >
> > > > >> > > > > > > >> > > > > > >> > >
________________________________
> > > > >> > > > > > > >> > > > > > >> > > From: Julie Prestopnik via
RT <
> > > > >> > > met_help at ucar.edu
> > > > >> > > > >
> > > > >> > > > > > > >> > > > > > >> > > Sent: Thursday, February
23, 2017
> > > > 9:11:32
> > > > >> AM
> > > > >> > > > > > > >> > > > > > >> > > To: Xinxia_Song at outlook.com
> > > > >> > > > > > > >> > > > > > >> > > Subject: Re:
[rt.rap.ucar.edu
> > #79605]
> > > > >> > > > ImportError:
> > > > >> > > > > > No
> > > > >> > > > > > > >> > module
> > > > >> > > > > > > >> > > > > named
> > > > >> > > > > > > >> > > > > > >> > > constants_pdef
> > > > >> > > > > > > >> > > > > > >> > >
> > > > >> > > > > > > >> > > > > > >> > > Hi Xinxia.
> > > > >> > > > > > > >> > > > > > >> > >
> > > > >> > > > > > > >> > > > > > >> > > I think it would be helpful
if I
> > could
> > > > >> take a
> > > > >> > > > look
> > > > >> > > > > at
> > > > >> > > > > > > the
> > > > >> > > > > > > >> > log
> > > > >> > > > > > > >> > > > > file.
> > > > >> > > > > > > >> > > > > > >> > Could
> > > > >> > > > > > > >> > > > > > >> > > you please upload your file
to our
> > > > >> anonymous
> > > > >> > > ftp
> > > > >> > > > > site
> > > > >> > > > > > > as
> > > > >> > > > > > > >> > > follows
> > > > >> > > > > > > >> > > > > so
> > > > >> > > > > > > >> > > > > > >> that
> > > > >> > > > > > > >> > > > > > >> > I
> > > > >> > > > > > > >> > > > > > >> > > can take a look?
> > > > >> > > > > > > >> > > > > > >> > >
> > > > >> > > > > > > >> > > > > > >> > >
http://www.dtcenter.org/met/
> > > > >> > > > > > > >> > users/support/met_help.php#ftp
> > > > >> > > > > > > >> > > > > > >> > >
> > > > >> > > > > > > >> > > > > > >> > > Also, could you please try
running
> > the
> > > > >> > > following
> > > > >> > > > > > > manually
> > > > >> > > > > > > >> > and
> > > > >> > > > > > > >> > > > send
> > > > >> > > > > > > >> > > > > > the
> > > > >> > > > > > > >> > > > > > >> > > output to me?
> > > > >> > > > > > > >> > > > > > >> > >
> > > > >> > > > > > > >> > > > > > >> > >
"/D2/xinxia/METplus/MET/met-5.
> > > > >> 2/bin/tc_stat
> > > > >> > > -job
> > > > >> > > > > > > filter
> > > > >> > > > > > > >> > > -lookin
> > > > >> > > > > > > >> > > > > > >> > >
/D2/xinxia/METplus/MET/input/t
> > > > >> c_pairs/201412
> > > > >> > > > > > -init_inc
> > > > >> > > > > > > >> > > > > 20141201_00
> > > > >> > > > > > > >> > > > > > >> > > -match_points true
-dump_row
> > > > >> > > > > > > /D2/xinxia/METplus/MET/out/
> > > > >> > > > > > > >> > > > > > >> > > extract_tiles/20141201_00/
> > > > >> > > > filter_20141201_00.tcst
> > > > >> > > > > > > >> -basin
> > > > >> > > > > > > >> > ML
> > > > >> > > > > > > >> > > > > > >> > > -out_init_mask
> > > > >> > > > > > > >> > > > > > >> > > /D2/xinxia/METplus/MET/met-
5.2
> > > > >> > > > > > > >> /share/met/poly/CONUS.poly"
> > > > >> > > > > > > >> > > > > > >> > >
> > > > >> > > > > > > >> > > > > > >> > > Thank you!
> > > > >> > > > > > > >> > > > > > >> > >
> > > > >> > > > > > > >> > > > > > >> > > Julie
> > > > >> > > > > > > >> > > > > > >> > >
> > > > >> > > > > > > >> > > > > > >> > >
> > > > >> > > > > > > >> > > > > > >> > >
> > > > >> > > > > > > >> > > > > > >> > > On Wed, Feb 22, 2017 at
12:06 PM,
> > > Xinxia
> > > > >> Song
> > > > >> > > via
> > > > >> > > > > RT
> > > > >> > > > > > <
> > > > >> > > > > > > >> > > > > > >> met_help at ucar.edu>
> > > > >> > > > > > > >> > > > > > >> > > wrote:
> > > > >> > > > > > > >> > > > > > >> > >
> > > > >> > > > > > > >> > > > > > >> > > >
> > > > >> > > > > > > >> > > > > > >> > > > <URL:
> https://rt.rap.ucar.edu/rt/
> > > > >> > > > > > > >> > > Ticket/Display.html?id=79605
> > > > >> > > > > > > >> > > > >
> > > > >> > > > > > > >> > > > > > >> > > >
> > > > >> > > > > > > >> > > > > > >> > > > Hi Julie,
> > > > >> > > > > > > >> > > > > > >> > > >
> > > > >> > > > > > > >> > > > > > >> > > >
> > > > >> > > > > > > >> > > > > > >> > > > Now I can run the
program, but
> > when
> > > I
> > > > >> look
> > > > >> > at
> > > > >> > > > the
> > > > >> > > > > > log
> > > > >> > > > > > > >> file
> > > > >> > > > > > > >> > > in
> > > > >> > > > > > > >> > > > > the
> > > > >> > > > > > > >> > > > > > >> > output,
> > > > >> > > > > > > >> > > > > > >> > > > it shows error below:
> > > > >> > > > > > > >> > > > > > >> > > >
> > > > >> > > > > > > >> > > > > > >> > > >
> > > > >> > > > > > > >> > > > > > >> > > > ERROR|
> /D2/xinxia/METplus/METplus/
> > > > >> > > > > > > >> > > ush/run_tc_stat.py:tc_stat
> > > > >> > > > > > > >> > > > > from
> > > > >> > > > > > > >> > > > > > >> > > calling
> > > > >> > > > > > > >> > > > > > >> > > > MET TC-STAT with
> > > > >> > > command:/D2/xinxia/METplus/MET
> > > > >> > > > > > > >> > > > > > /met-5.2/bin/tc_stat
> > > > >> > > > > > > >> > > > > > >> > -job
> > > > >> > > > > > > >> > > > > > >> > > > filter -lookin
> > > > >> > /D2/xinxia/METplus/MET/input/
> > > > >> > > > > > > >> > tc_pairs/201412
> > > > >> > > > > > > >> > > > > > >> -init_inc
> > > > >> > > > > > > >> > > > > > >> > > > 20141201_00 -match_points
true
> > > > -dump_row
> > > > >> > > > > > > >> > > > > > /D2/xinxia/METplus/MET/out/
> > > > >> > > > > > > >> > > > > > >> > > >
extract_tiles/20141201_00/
> > > > >> > > > > filter_20141201_00.tcst
> > > > >> > > > > > > >> -basin
> > > > >> > > > > > > >> > > ML
> > > > >> > > > > > > >> > > > > > >> > > > -out_init_mask
> > > > >> > /D2/xinxia/METplus/MET/met-5.
> > > > >> > > > > > > >> > > > > > >> > 2/share/met/poly/CONUS.poly
> > > > >> > > > > > > >> > > > > > >> > > >
> > > > >> > > > > > > >> > > > > > >> > > >
> > > > >> > > > > > > >> > > > > > >> > > > How should I fix it?
> > > > >> > > > > > > >> > > > > > >> > > >
> > > > >> > > > > > > >> > > > > > >> > > >
> > > > >> > > > > > > >> > > > > > >> > > > Thanks,
> > > > >> > > > > > > >> > > > > > >> > > >
> > > > >> > > > > > > >> > > > > > >> > > >
> > > > >> > > > > > > >> > > > > > >> > > > Xinxia
> > > > >> > > > > > > >> > > > > > >> > > >
> > > > >> > > > > > > >> > > > > > >> > > >
______________________________
> __
> > > > >> > > > > > > >> > > > > > >> > > > From: Julie Prestopnik
via RT <
> > > > >> > > > met_help at ucar.edu
> > > > >> > > > > >
> > > > >> > > > > > > >> > > > > > >> > > > Sent: Thursday, February
23,
> 2017
> > > > >> 7:30:06
> > > > >> > AM
> > > > >> > > > > > > >> > > > > > >> > > > To:
Xinxia_Song at outlook.com
> > > > >> > > > > > > >> > > > > > >> > > > Subject: Re:
[rt.rap.ucar.edu
> > > #79605]
> > > > >> > > > > ImportError:
> > > > >> > > > > > > No
> > > > >> > > > > > > >> > > module
> > > > >> > > > > > > >> > > > > > named
> > > > >> > > > > > > >> > > > > > >> > > > constants_pdef
> > > > >> > > > > > > >> > > > > > >> > > >
> > > > >> > > > > > > >> > > > > > >> > > > Hi Xinxia.
> > > > >> > > > > > > >> > > > > > >> > > >
> > > > >> > > > > > > >> > > > > > >> > > > I believe that python
doesn't
> know
> > > how
> > > > >> to
> > > > >> > > find
> > > > >> > > > > the
> > > > >> > > > > > > >> module
> > > > >> > > > > > > >> > > > > because
> > > > >> > > > > > > >> > > > > > >> the
> > > > >> > > > > > > >> > > > > > >> > ush
> > > > >> > > > > > > >> > > > > > >> > > > directory is not in your
> > PYTHONPATH.
> > > > >> Both
> > > > >> > > the
> > > > >> > > > > parm
> > > > >> > > > > > > and
> > > > >> > > > > > > >> > ush
> > > > >> > > > > > > >> > > > > > >> directory
> > > > >> > > > > > > >> > > > > > >> > > need
> > > > >> > > > > > > >> > > > > > >> > > > to be specified in your
> > PYTHONPATH.
> > > > >> Please
> > > > >> > > add
> > > > >> > > > > the
> > > > >> > > > > > > ush
> > > > >> > > > > > > >> > > > > directory
> > > > >> > > > > > > >> > > > > > to
> > > > >> > > > > > > >> > > > > > >> > your
> > > > >> > > > > > > >> > > > > > >> > > > PYTHONPATH, source
~/.bashrc,
> and
> > > let
> > > > us
> > > > >> > know
> > > > >> > > > how
> > > > >> > > > > > it
> > > > >> > > > > > > >> goes.
> > > > >> > > > > > > >> > > > > > >> > > >
> > > > >> > > > > > > >> > > > > > >> > > > Thanks,
> > > > >> > > > > > > >> > > > > > >> > > > Julie
> > > > >> > > > > > > >> > > > > > >> > > >
> > > > >> > > > > > > >> > > > > > >> > > > On Wed, Feb 22, 2017 at
10:24
> AM,
> > > > Xinxia
> > > > >> > Song
> > > > >> > > > via
> > > > >> > > > > > RT
> > > > >> > > > > > > <
> > > > >> > > > > > > >> > > > > > >> > met_help at ucar.edu>
> > > > >> > > > > > > >> > > > > > >> > > > wrote:
> > > > >> > > > > > > >> > > > > > >> > > >
> > > > >> > > > > > > >> > > > > > >> > > > >
> > > > >> > > > > > > >> > > > > > >> > > > > <URL:
> > https://rt.rap.ucar.edu/rt/
> > > > >> > > > > > > >> > > > Ticket/Display.html?id=79605
> > > > >> > > > > > > >> > > > > >
> > > > >> > > > > > > >> > > > > > >> > > > >
> > > > >> > > > > > > >> > > > > > >> > > > > Hi Julie,
> > > > >> > > > > > > >> > > > > > >> > > > >
> > > > >> > > > > > > >> > > > > > >> > > > >
> > > > >> > > > > > > >> > > > > > >> > > > > Since I don't have
setenv, I
> > added
> > > > >> these
> > > > >> > 3
> > > > >> > > > > > sentence
> > > > >> > > > > > > >> into
> > > > >> > > > > > > >> > > my
> > > > >> > > > > > > >> > > > > > >> .bashrc
> > > > >> > > > > > > >> > > > > > >> > > file:
> > > > >> > > > > > > >> > > > > > >> > > > >
> > > > >> > > > > > > >> > > > > > >> > > > >
> > > > >> > > > > > > >> > > > > > >> > > > > export
PYTHONPATH="/D2/xinxia/
> > > > >> > > > > > > METplus/METplus/parm"
> > > > >> > > > > > > >> > > > > > >> > > > >
> > > > >> > > > > > > >> > > > > > >> > > > >
> > > > >> > > > > > > >> > > > > > >> > > > > export
> > USHROOT=/D2/xinxia/METplus/
> > > > >> > > > METplus/ush
> > > > >> > > > > > > >> > > > > > >> > > > >
> > > > >> > > > > > > >> > > > > > >> > > > > export
PATH=$USHROOT:$PATH
> > > > >> > > > > > > >> > > > > > >> > > > >
> > > > >> > > > > > > >> > > > > > >> > > > >
> > > > >> > > > > > > >> > > > > > >> > > > > I sourced the
~/.bashrc, and
> > > checked
> > > > >> that
> > > > >> > > the
> > > > >> > > > > > > >> variables
> > > > >> > > > > > > >> > > are
> > > > >> > > > > > > >> > > > > set,
> > > > >> > > > > > > >> > > > > > >> but
> > > > >> > > > > > > >> > > > > > >> > > the
> > > > >> > > > > > > >> > > > > > >> > > > > program still can't
find the
> > > module.
> > > > >> > > > > > > >> > > > > > >> > > > >
> > > > >> > > > > > > >> > > > > > >> > > > >
> > > > >> > > > > > > >> > > > > > >> > > > > Thanks,
> > > > >> > > > > > > >> > > > > > >> > > > >
> > > > >> > > > > > > >> > > > > > >> > > > > Xinxia
> > > > >> > > > > > > >> > > > > > >> > > > >
> > > > >> > > > > > > >> > > > > > >> > > > >
______________________________
> > __
> > > > >> > > > > > > >> > > > > > >> > > > > From: Julie Prestopnik
via RT
> <
> > > > >> > > > > met_help at ucar.edu
> > > > >> > > > > > >
> > > > >> > > > > > > >> > > > > > >> > > > > Sent: Thursday,
February 23,
> > 2017
> > > > >> 6:24:21
> > > > >> > > AM
> > > > >> > > > > > > >> > > > > > >> > > > > To:
Xinxia_Song at outlook.com
> > > > >> > > > > > > >> > > > > > >> > > > > Subject: Re:
[rt.rap.ucar.edu
> > > > #79605]
> > > > >> > > > > > ImportError:
> > > > >> > > > > > > >> No
> > > > >> > > > > > > >> > > > module
> > > > >> > > > > > > >> > > > > > >> named
> > > > >> > > > > > > >> > > > > > >> > > > > constants_pdef
> > > > >> > > > > > > >> > > > > > >> > > > >
> > > > >> > > > > > > >> > > > > > >> > > > > Hi Xinxia.
> > > > >> > > > > > > >> > > > > > >> > > > >
> > > > >> > > > > > > >> > > > > > >> > > > > Could you please check
to make
> > > sure
> > > > >> that
> > > > >> > > the
> > > > >> > > > > ush
> > > > >> > > > > > > >> > directory
> > > > >> > > > > > > >> > > > > with
> > > > >> > > > > > > >> > > > > > >> > > > > constants_pdef.py is in
your
> > > > >> PYTHONPATH
> > > > >> > in
> > > > >> > > > your
> > > > >> > > > > > > >> .cshrc
> > > > >> > > > > > > >> > > file
> > > > >> > > > > > > >> > > > > (or
> > > > >> > > > > > > >> > > > > > >> > .bashrc
> > > > >> > > > > > > >> > > > > > >> > > > or
> > > > >> > > > > > > >> > > > > > >> > > > > similar file)?  The
parm
> > directory
> > > > >> should
> > > > >> > > > also
> > > > >> > > > > be
> > > > >> > > > > > > in
> > > > >> > > > > > > >> > your
> > > > >> > > > > > > >> > > > > > >> PYTHONPATH.
> > > > >> > > > > > > >> > > > > > >> > > > >
> > > > >> > > > > > > >> > > > > > >> > > > > For example,
> > > > >> > > > > > > >> > > > > > >> > > > >
> > > > >> > > > > > > >> > > > > > >> > > > > setenv PYTHONPATH
> > > > >> > > > /d1/jpresto/sbu/METplus/ush:/
> > > > >> > > > > > > >> > > > > > >> > > >
d1/jpresto/sbu/METplus/parm
> > > > >> > > > > > > >> > > > > > >> > > > >
> > > > >> > > > > > > >> > > > > > >> > > > > Please also check make
sure
> that
> > > the
> > > > >> path
> > > > >> > > to
> > > > >> > > > > the
> > > > >> > > > > > > ush
> > > > >> > > > > > > >> > > > directory
> > > > >> > > > > > > >> > > > > > is
> > > > >> > > > > > > >> > > > > > >> > also
> > > > >> > > > > > > >> > > > > > >> > > > > specified your your
path
> > > environment
> > > > >> > > > variable.
> > > > >> > > > > > For
> > > > >> > > > > > > >> > > example,
> > > > >> > > > > > > >> > > > > > >> > > > >
> > > > >> > > > > > > >> > > > > > >> > > > > set path =
(/usr/local/bin \
> > > > >> > > > > > > >> > > > > > >> > > > >
> > > > >> > > > /usr/local/python/bin/python \
> > > > >> > > > > > > >> > > > > > >> > > > >
> > > > >> > > /d1/jpresto/sbu/METplus/ush
> > > > >> > > > )
> > > > >> > > > > > > >> > > > > > >> > > > >
> > > > >> > > > > > > >> > > > > > >> > > > > If they are not there,
please
> > add
> > > > them
> > > > >> > and
> > > > >> > > > then
> > > > >> > > > > > > >> source
> > > > >> > > > > > > >> > the
> > > > >> > > > > > > >> > > > > file
> > > > >> > > > > > > >> > > > > > >> (e.g.
> > > > >> > > > > > > >> > > > > > >> > > run
> > > > >> > > > > > > >> > > > > > >> > > > > "source ~/.cshrc").
> > > > >> > > > > > > >> > > > > > >> > > > >
> > > > >> > > > > > > >> > > > > > >> > > > > Thank you!  Please let
us know
> > how
> > > > it
> > > > >> > goes.
> > > > >> > > > > > > >> > > > > > >> > > > >
> > > > >> > > > > > > >> > > > > > >> > > > > Julie
> > > > >> > > > > > > >> > > > > > >> > > > >
> > > > >> > > > > > > >> > > > > > >> > > > >
> > > > >> > > > > > > >> > > > > > >> > > > >
> > > > >> > > > > > > >> > > > > > >> > > > >
> > > > >> > > > > > > >> > > > > > >> > > > > On Tue, Feb 21, 2017 at
4:49
> PM,
> > > > >> Xinxia
> > > > >> > > Song
> > > > >> > > > > via
> > > > >> > > > > > > RT <
> > > > >> > > > > > > >> > > > > > >> > met_help at ucar.edu
> > > > >> > > > > > > >> > > > > > >> > > >
> > > > >> > > > > > > >> > > > > > >> > > > > wrote:
> > > > >> > > > > > > >> > > > > > >> > > > >
> > > > >> > > > > > > >> > > > > > >> > > > > >
> > > > >> > > > > > > >> > > > > > >> > > > > > Tue Feb 21 16:49:28
2017:
> > > Request
> > > > >> 79605
> > > > >> > > was
> > > > >> > > > > > acted
> > > > >> > > > > > > >> > upon.
> > > > >> > > > > > > >> > > > > > >> > > > > > Transaction: Ticket
created
> by
> > > > >> > > > > > > >> > Xinxia_Song at outlook.com
> > > > >> > > > > > > >> > > > > > >> > > > > >        Queue:
met_help
> > > > >> > > > > > > >> > > > > > >> > > > > >      Subject:
ImportError:
> No
> > > > module
> > > > >> > > named
> > > > >> > > > > > > >> > > constants_pdef
> > > > >> > > > > > > >> > > > > > >> > > > > >        Owner: Nobody
> > > > >> > > > > > > >> > > > > > >> > > > > >   Requestors:
> > > > >> Xinxia_Song at outlook.com
> > > > >> > > > > > > >> > > > > > >> > > > > >       Status: new
> > > > >> > > > > > > >> > > > > > >> > > > > >  Ticket <URL:
> > > > >> > > https://rt.rap.ucar.edu/rt/
> > > > >> > > > > > > >> > > > > > >> > >
Ticket/Display.html?id=79605
> > > > >> > > > > > > >> > > > > > >> > > > >
> > > > >> > > > > > > >> > > > > > >> > > > > >
> > > > >> > > > > > > >> > > > > > >> > > > > >
> > > > >> > > > > > > >> > > > > > >> > > > > > Hi,
> > > > >> > > > > > > >> > > > > > >> > > > > >
> > > > >> > > > > > > >> > > > > > >> > > > > >
> > > > >> > > > > > > >> > > > > > >> > > > > > When I ran the
> > > mater_met_plus.py,
> > > > it
> > > > >> > > says:
> > > > >> > > > > > > >> > > > > > >> > > > > >
> > > > >> > > > > > > >> > > > > > >> > > > > >
> > > > >> > > > > > > >> > > > > > >> > > > > > ImportError: No
module named
> > > > >> > > constants_pdef
> > > > >> > > > > > > >> > > > > > >> > > > > >
> > > > >> > > > > > > >> > > > > > >> > > > > >
> > > > >> > > > > > > >> > > > > > >> > > > > > Seems it doesn't
recognize
> > > > >> > constants_pdef
> > > > >> > > > as
> > > > >> > > > > > its
> > > > >> > > > > > > >> > module.
> > > > >> > > > > > > >> > > > > > >> > > > > >
> > > > >> > > > > > > >> > > > > > >> > > > > >
> > > > >> > > > > > > >> > > > > > >> > > > > > Thanks,
> > > > >> > > > > > > >> > > > > > >> > > > > >
> > > > >> > > > > > > >> > > > > > >> > > > > > Xinxia
> > > > >> > > > > > > >> > > > > > >> > > > > >
> > > > >> > > > > > > >> > > > > > >> > > > > >
> > > > >> > > > > > > >> > > > > > >> > > > >
> > > > >> > > > > > > >> > > > > > >> > > > >
> > > > >> > > > > > > >> > > > > > >> > > > >
> > > > >> > > > > > > >> > > > > > >> > > >
> > > > >> > > > > > > >> > > > > > >> > > >
> > > > >> > > > > > > >> > > > > > >> > > >
> > > > >> > > > > > > >> > > > > > >> > >
> > > > >> > > > > > > >> > > > > > >> > >
> > > > >> > > > > > > >> > > > > > >> > >
> > > > >> > > > > > > >> > > > > > >> >
> > > > >> > > > > > > >> > > > > > >> >
> > > > >> > > > > > > >> > > > > > >> >
> > > > >> > > > > > > >> > > > > > >>
> > > > >> > > > > > > >> > > > > > >>
> > > > >> > > > > > > >> > > > > > >>
> > > > >> > > > > > > >> > > > > > >
> > > > >> > > > > > > >> > > > > >
> > > > >> > > > > > > >> > > > > >
> > > > >> > > > > > > >> > > > > >
> > > > >> > > > > > > >> > > > >
> > > > >> > > > > > > >> > > > >
> > > > >> > > > > > > >> > > > >
> > > > >> > > > > > > >> > > >
> > > > >> > > > > > > >> > > >
> > > > >> > > > > > > >> > > >
> > > > >> > > > > > > >> > >
> > > > >> > > > > > > >> > >
> > > > >> > > > > > > >> > >
> > > > >> > > > > > > >> >
> > > > >> > > > > > > >> >
> > > > >> > > > > > > >> >
> > > > >> > > > > > > >>
> > > > >> > > > > > > >>
> > > > >> > > > > > > >>
> > > > >> > > > > > > >
> > > > >> > > > > > >
> > > > >> > > > > > >
> > > > >> > > > > > >
> > > > >> > > > > >
> > > > >> > > > > >
> > > > >> > > > > >
> > > > >> > > > >
> > > > >> > > > >
> > > > >> > > > >
> > > > >> > > >
> > > > >> > > >
> > > > >> > > >
> > > > >> > >
> > > > >> > >
> > > > >> > >
> > > > >> >
> > > > >> >
> > > > >> >
> > > > >>
> > > > >>
> > > > >>
> > > > >
> > > >
> > > >
> > > >
> > >
> > >
> > >
> >
> >
> >
>
>
>

------------------------------------------------
Subject: ImportError: No module named constants_pdef
From: Xinxia Song
Time: Tue Mar 07 07:51:09 2017

Hi Julie,


Thank you! I successfully ran the METplus. But I have a question, I
advisor asked me to check if METplus has the ability to use a method
called cyclone relative (First it locate the center of a cyclone and
then extract a box around that cyclone) to extract fields. Do you know
where is it?


Thanks,


Xinxia

________________________________
From: Julie Prestopnik via RT <met_help at ucar.edu>
Sent: Monday, March 6, 2017 3:46:16 PM
To: Xinxia_Song at outlook.com
Subject: Re: [rt.rap.ucar.edu #79605] ImportError: No module named
constants_pdef

Hi Xinxia.

Thank you. In the same way that you previously changed the top line of
master_met_plus.py from

#!/usr/bin/python

to

#!/usr/bin/env python

Could you please do that for all of the files that reference
#!/usr/bin/python,
which are the following:

met_util.py
series_by_init.py
series_by_lead.py

Please change those top lines to
#!/usr/bin/env python

Then, please delete any .pyc files.

Then, please rerun master_met_plus.py and let me know how it goes.

I still suspect that somehow Python 2.6 is being used because this
error:

AttributeError: 'module' object has no attribute 'check_output'

indicates that subprocess does not have a "check_output" attribute,
which
is true for Python 2.6, but not for 2.7.  Hopefully, these changes
will
take care of the problem in the environment.  If not, we'll try
something
else.  Thank you for your patience and help in testing our alpha
version.

Julie


On Mon, Mar 6, 2017 at 1:22 PM, Xinxia Song via RT <met_help at ucar.edu>
wrote:

>
> <URL: https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=79605 >
>
> Hi Julie,
>
>
> I changed the program as you said and get the following results:
>
>
> sys.version_info(major=2, minor=7, micro=13, releaselevel='final',
> serial=0)
>
> Traceback (most recent call last):
>
>   File "/D2/xinxia/METplus/METplus/ush/series_by_lead.py", line 945,
in
> <module>
>
>     analysis_by_lead_time()
>
>   File "/D2/xinxia/METplus/METplus/ush/series_by_lead.py", line 107,
in
> analysis_by_lead_time
>
>     util.apply_series_filters(tile_dir, init_times,
> series_lead_filtered_out_dir, p, logger)
>
>   File "/D2/xinxia/METplus/METplus/ush/met_util.py", line 1005, in
> apply_series_filters
>
>     tcs.tc_stat(p, logger, tc_cmd, series_output_dir)
>
>   File "/D2/xinxia/METplus/METplus/ush/run_tc_stat.py", line 69, in
> tc_stat
>
>     tc_stat_out = subprocess.check_output(tc_cmd,
> stderr=subprocess.STDOUT, shell=True )
>
> AttributeError: 'module' object has no attribute 'check_output'
>
>
> Thanks,
>
> Xinxia
>
> ________________________________
> From: Julie Prestopnik via RT <met_help at ucar.edu>
> Sent: Thursday, March 2, 2017 4:52:34 PM
> To: Xinxia_Song at outlook.com
> Subject: Re: [rt.rap.ucar.edu #79605] ImportError: No module named
> constants_pdef
>
> Thank you, Xinxia.
>
> When you ran master_met_plus.py, did you run "python
master_met_plus.py"?
>
> I'd like to have you try something else.
>
> Could you please edit master_met_plus.py? Please insert the
following line
>
>     print(sys.version_info)
>
> below:
>
>     logger = util.get_logger(p)
>
> and above:
>
>     # Get the list of processes to call
>
> Then save the file, rerun master_met_plus.py and set me the output.
>
> Thanks,
> Julie
>
>
> On Thu, Mar 2, 2017 at 2:41 PM, Xinxia Song via RT
<met_help at ucar.edu>
> wrote:
>
> >
> > <URL: https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=79605 >
> >
> > Hi Julie,
> >
> > The path is :
> >
> > /home/xinxia/anaconda2/bin:/D2/xinxia/METplus/METplus/ush:/
> > opt/ncl/bin:/opt/intel-soft/bin:/opt/ncl/bin:/home/xinxia/an
> > aconda/bin:/home/xinxia/anaconda2/bin:/D2/xinxia/METplus/
> > METplus/ush:/opt/ncl/bin:/opt/intel-soft/bin:/opt/ncl/bin:/
> > usr/lib64/qt-3.3/bin:/usr/local/bin:/bin:/usr/bin:/usr/
> > local/sbin:/usr/sbin:/sbin:/sbin:/usr/sbin:/cm/local/apps/
> > environment-modules/3.2.10/bin:/home/xinxia/bin:/opt/ncl-621/bin
> >
> >
> > Thanks,
> >
> > Xinxia
> >
> > ________________________________
> > From: Julie Prestopnik via RT <met_help at ucar.edu>
> > Sent: Thursday, March 2, 2017 4:07:02 PM
> > To: Xinxia_Song at outlook.com
> > Subject: Re: [rt.rap.ucar.edu #79605] ImportError: No module named
> > constants_pdef
> >
> > Thank you, Xinxia.
> >
> > When you ran master_met_plus.py, did you run "python
master_met_plus.py"?
> >
> > Can you please run "echo $path" and send me the output?
> >
> > Thanks,
> > Julie
> >
> > On Thu, Mar 2, 2017 at 2:04 PM, Xinxia Song via RT
<met_help at ucar.edu>
> > wrote:
> >
> > >
> > > <URL: https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=79605 >
> > >
> > > Hi Julie,
> > >
> > >
> > > I followed your instruction and it doesn't work. I still got the
error:
> > >
> > > Traceback (most recent call last):
> > >
> > >   File "/D2/xinxia/METplus/METplus/ush/series_by_lead.py", line
945,
> in
> > > <module>
> > >
> > >     analysis_by_lead_time()
> > >
> > >   File "/D2/xinxia/METplus/METplus/ush/series_by_lead.py", line
107,
> in
> > > analysis_by_lead_time
> > >
> > >     util.apply_series_filters(tile_dir, init_times,
> > > series_lead_filtered_out_dir, p, logger)
> > >
> > >   File "/D2/xinxia/METplus/METplus/ush/met_util.py", line 1005,
in
> > > apply_series_filters
> > >
> > >     tcs.tc_stat(p, logger, tc_cmd, series_output_dir)
> > >
> > >   File "/D2/xinxia/METplus/METplus/ush/run_tc_stat.py", line 69,
in
> > > tc_stat
> > >
> > >     tc_stat_out = subprocess.check_output(tc_cmd,
> > > stderr=subprocess.STDOUT, shell=True )
> > >
> > > AttributeError: 'module' object has no attribute 'check_output'
> > >
> > >
> > > Thanks,
> > >
> > >
> > > Xinxia
> > >
> > > ________________________________
> > > From: Julie Prestopnik via RT <met_help at ucar.edu>
> > > Sent: Thursday, March 2, 2017 11:57:54 AM
> > > To: Xinxia_Song at outlook.com
> > > Subject: Re: [rt.rap.ucar.edu #79605] ImportError: No module
named
> > > constants_pdef
> > >
> > > Hi Xinxia.  I apologize for the delay in responding.  I was out
of the
> > > office.  I'm so glad to hear that you were able to get a
successful run
> > > from series_by_lead.py!
> > >
> > > Could you please open master_met_plus.py in the editor of your
choice
> > (vi,
> > > emacs, etc.) and change the first line from:
> > >
> > > #!/usr/bin/python
> > >
> > > to
> > >
> > > #!/usr/bin/env python
> > >
> > > Then, please delete master_met_plus.pyc  (Note the ".pyc"
extension).
> > > Please also do the same for met_util.py, changing the top line
and also
> > > removing a .pyc file if one exists.
> > >
> > > Then, please change your PROCESS_LIST in constants_pdef.py to
only have
> > > series_by_lead.py in the list, since the other processes have
run
> > > successfully via master_met_plus.py.
> > >
> > > Then, please rerun master_met_plus.py and let me know how it
goes.
> > >
> > > I still suspect that somehow Python 2.6 is being used because
this
> error:
> > >
> > > AttributeError: 'module' object has no attribute 'check_output'
> > >
> > > indicates that subprocess does not have a "check_output"
attribute,
> which
> > > is true for Python 2.6, but not for 2.7.  Hopefully, these
changes will
> > > take care of the problem in the environment.  If not, we'll try
> something
> > > else.  Thank you for your patience and help in testing our alpha
> version.
> > >
> > > Julie
> > >
> > > On Thu, Mar 2, 2017 at 8:07 AM, Xinxia Song via RT
<met_help at ucar.edu>
> > > wrote:
> > >
> > > >
> > > > <URL: https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=79605
>
> > > >
> > > > Hi Julie,
> > > >
> > > >
> > > > I ran the master_met_plus.py again and still got the error:
> > > >
> > > >
> > > > Traceback (most recent call last):
> > > >
> > > >   File "/D2/xinxia/METplus/METplus/ush/series_by_lead.py",
line 945,
> > in
> > > > <module>
> > > >
> > > >     analysis_by_lead_time()
> > > >
> > > >   File "/D2/xinxia/METplus/METplus/ush/series_by_lead.py",
line 107,
> > in
> > > > analysis_by_lead_time
> > > >
> > > >     util.apply_series_filters(tile_dir, init_times,
> > > > series_lead_filtered_out_dir, p, logger)
> > > >
> > > >   File "/D2/xinxia/METplus/METplus/ush/met_util.py", line
1005, in
> > > > apply_series_filters
> > > >
> > > >     tcs.tc_stat(p, logger, tc_cmd, series_output_dir)
> > > >
> > > >   File "/D2/xinxia/METplus/METplus/ush/run_tc_stat.py", line
69, in
> > > > tc_stat
> > > >
> > > >     tc_stat_out = subprocess.check_output(tc_cmd,
> > > > stderr=subprocess.STDOUT, shell=True )
> > > >
> > > > AttributeError: 'module' object has no attribute
'check_output'
> > > >
> > > >
> > > >
> > > > Thanks,
> > > >
> > > >
> > > > Xinxia
> > > >
> > > > ________________________________
> > > > From: Xinxia Song
> > > > Sent: Tuesday, February 28, 2017 5:07:13 PM
> > > > To: met_help at ucar.edu
> > > > Subject: Re: [rt.rap.ucar.edu #79605] ImportError: No module
named
> > > > constants_pdef
> > > >
> > > >
> > > > Hi Julie,
> > > >
> > > >
> > > > I correct these paths and I could successfully run
series_by_lead.py
> > but
> > > > have errors for the master_met_plus.py. I get the errors:
> > > >
> > > > Traceback (most recent call last):
> > > >
> > > >   File "/D2/xinxia/METplus/METplus/ush/series_by_lead.py",
line 945,
> > in
> > > > <module>
> > > >
> > > >     analysis_by_lead_time()
> > > >
> > > >   File "/D2/xinxia/METplus/METplus/ush/series_by_lead.py",
line 107,
> > in
> > > > analysis_by_lead_time
> > > >
> > > >     util.apply_series_filters(tile_dir, init_times,
> > > > series_lead_filtered_out_dir, p, logger)
> > > >
> > > >   File "/D2/xinxia/METplus/METplus/ush/met_util.py", line
1005, in
> > > > apply_series_filters
> > > >
> > > >     tcs.tc_stat(p, logger, tc_cmd, series_output_dir)
> > > >
> > > >   File "/D2/xinxia/METplus/METplus/ush/run_tc_stat.py", line
69, in
> > > > tc_stat
> > > >
> > > >     tc_stat_out = subprocess.check_output(tc_cmd,
> > > > stderr=subprocess.STDOUT, shell=True )
> > > >
> > > > AttributeError: 'module' object has no attribute
'check_output'
> > > >
> > > >
> > > > Thanks,
> > > >
> > > >
> > > > Xinxia
> > > >
> > > > ________________________________
> > > > From: Julie Prestopnik via RT <met_help at ucar.edu>
> > > > Sent: Tuesday, February 28, 2017 2:50:58 PM
> > > > To: Xinxia_Song at outlook.com
> > > > Subject: Re: [rt.rap.ucar.edu #79605] ImportError: No module
named
> > > > constants_pdef
> > > >
> > > > Hi Xinxia.  I also thought I would mention that, as indicated
in the
> > > README
> > > > file that came with the distribution, in addition to ncap2 and
> ncdump,
> > > the
> > > > following are also required for MET+:
> > > >
> > > >   - convert utility (part of ImageMagick)
> > > >     - https://www.imagemagick.org/script/binary-releases.php
> > > >   - wgrib2 utility
> > > >     - http://www.cpc.noaa.gov/products/wesley/wgrib2/
> > > > compile_questions.html
> > > >   - egrep utility
> > > >     - http://directory.fsf.org/wiki/Grep
> > > >
> > > > If you do not have these installed. Please install them and
set up
> > their
> > > > paths in the constants_pdef.py file.
> > > >
> > > > Thanks,
> > > > Julie
> > > >
> > > > On Tue, Feb 28, 2017 at 12:45 PM, Julie Prestopnik
<jpresto at ucar.edu
> >
> > > > wrote:
> > > >
> > > > > Hi Xinxia.
> > > > >
> > > > > You will also need to have the ncdump command installed,
with the
> > > > location
> > > > > to the executable listed in NCDUMP_EXE in constants_pdef.py.
> Please
> > > have
> > > > > ncdump installed, update your constants_pdef.py file and
rerun.
> > > > >
> > > > > Thanks!
> > > > >
> > > > > Julie
> > > > >
> > > > > On Tue, Feb 28, 2017 at 12:18 PM, Xinxia Song via RT <
> > > met_help at ucar.edu>
> > > > > wrote:
> > > > >
> > > > >>
> > > > >> <URL:
https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=79605 >
> > > > >>
> > > > >> Hi Julie,
> > > > >>
> > > > >>
> > > > >> Before I was running master_met_plus.py and now I ran the
> > > > >> series_by_lead.py and got the following results:
> > > > >>
> > > > >> [xinxia at chaos ush]$ python series_by_lead.py
> > > > >>
> > > > >> Traceback (most recent call last):
> > > > >>
> > > > >>   File "series_by_lead.py", line 945, in <module>
> > > > >>
> > > > >>     analysis_by_lead_time()
> > > > >>
> > > > >>   File "series_by_lead.py", line 326, in
analysis_by_lead_time
> > > > >>
> > > > >>     vmin, vmax = get_netcdf_min_max(nc_var_list, cur_stat,
p,
> > logger)
> > > > >>
> > > > >>   File "series_by_lead.py", line 638, in get_netcdf_min_max
> > > > >>
> > > > >>     shell=True)
> > > > >>
> > > > >>   File
"/home/xinxia/anaconda2/lib/python2.7/subprocess.py", line
> > > 219,
> > > > >> in check_output
> > > > >>
> > > > >>     raise CalledProcessError(retcode, cmd, output=output)
> > > > >>
> > > > >> subprocess.CalledProcessError: Command
'/usr/local/bin/ncdump
> > > > >>
/D2/xinxia/METplus/MET/out/series_analysis_lead/series_F042/
> min.nc
> > >
> > > > >>
/D2/xinxia/METplus/MET/out/series_analysis_lead/series_F042/
> > min.txt'
> > > > >> returned non-zero exit status 127
> > > > >>
> > > > >>
> > > > >> Thanks,
> > > > >>
> > > > >>
> > > > >> Xinxia
> > > > >>
> > > > >> ________________________________
> > > > >> From: Julie Prestopnik via RT <met_help at ucar.edu>
> > > > >> Sent: Tuesday, February 28, 2017 2:11:19 PM
> > > > >> To: Xinxia_Song at outlook.com
> > > > >> Subject: Re: [rt.rap.ucar.edu #79605] ImportError: No
module
> named
> > > > >> constants_pdef
> > > > >>
> > > > >> Hi Xinxia.  Did you run series_by_lead.py on its own or via
> > > > >> master_met_plus.py?
> > > > >>
> > > > >> Thanks,
> > > > >> Julie
> > > > >>
> > > > >> On Tue, Feb 28, 2017 at 11:11 AM, Xinxia Song via RT <
> > > met_help at ucar.edu
> > > > >
> > > > >> wrote:
> > > > >>
> > > > >> >
> > > > >> > <URL:
https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=79605 >
> > > > >> >
> > > > >> > Hi Julie,
> > > > >> >
> > > > >> >
> > > > >> > I checked it's 2.7.13. It seems the error doesn't coming
from
> it.
> > > > >> >
> > > > >> >
> > > > >> > Thanks,
> > > > >> >
> > > > >> >
> > > > >> > Xinxia
> > > > >> >
> > > > >> >
> > > > >> > ________________________________
> > > > >> > From: Julie Prestopnik via RT <met_help at ucar.edu>
> > > > >> > Sent: Tuesday, February 28, 2017 10:49:29 AM
> > > > >> > To: Xinxia_Song at outlook.com
> > > > >> > Subject: Re: [rt.rap.ucar.edu #79605] ImportError: No
module
> > named
> > > > >> > constants_pdef
> > > > >> >
> > > > >> > I think perhaps your environment is using Python 2.6
again.
> > > > >> >
> > > > >> > Please try running:
> > > > >> >
> > > > >> > python --version
> > > > >> >
> > > > >> > on the command line.
> > > > >> >
> > > > >> > If you see "Python 2..6.6", please add the path for
Python 2.7
> to
> > > the
> > > > >> front
> > > > >> > of your path in your ~/.bashrc file.  Then, source your
> ~/.bashrc
> > > file
> > > > >> and
> > > > >> > try rerunning
> > > > >> >
> > > > >> > python --version
> > > > >> >
> > > > >> > on the command line.  Hopefully, then you will see the
new
> > version.
> > > > >> Then,
> > > > >> > please try rerunning master_met_plus.py.
> > > > >> >
> > > > >> > I hope this helps!  Thanks!
> > > > >> >
> > > > >> > Julie
> > > > >> >
> > > > >> > On Mon, Feb 27, 2017 at 8:14 PM, Xinxia Song via RT <
> > > > met_help at ucar.edu>
> > > > >> > wrote:
> > > > >> >
> > > > >> > >
> > > > >> > > <URL:
https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=79605
> >
> > > > >> > >
> > > > >> > > Hi Julie,
> > > > >> > >
> > > > >> > >
> > > > >> > > after I update the NCAP2 path in constants_pdef.py and
ran the
> > > > >> > > master_met_plus.py, I got the error:
> > > > >> > >
> > > > >> > > 2017-02-28 02:49:40,659 : ERROR |
[master_met_plus.py:main] |
> > > > Problem
> > > > >> > > executing: series_by_lead.py
> > > > >> > >
> > > > >> > > and message:
> > > > >> > >
> > > > >> > > Traceback (most recent call last):
> > > > >> > >
> > > > >> > >   File
"/D2/xinxia/METplus/METplus/ush/series_by_lead.py",
> line
> > > > 945,
> > > > >> in
> > > > >> > > <module>
> > > > >> > >
> > > > >> > >     analysis_by_lead_time()
> > > > >> > >
> > > > >> > >   File
"/D2/xinxia/METplus/METplus/ush/series_by_lead.py",
> line
> > > > 107,
> > > > >> in
> > > > >> > > analysis_by_lead_time
> > > > >> > >
> > > > >> > >     util.apply_series_filters(tile_dir, init_times,
> > > > >> > > series_lead_filtered_out_dir, p, logger)
> > > > >> > >
> > > > >> > >   File "/D2/xinxia/METplus/METplus/ush/met_util.py",
line
> 1005,
> > > in
> > > > >> > > apply_series_filters
> > > > >> > >
> > > > >> > >     tcs.tc_stat(p, logger, tc_cmd, series_output_dir)
> > > > >> > >
> > > > >> > >   File "/D2/xinxia/METplus/METplus/ush/run_tc_stat.py",
line
> > 69,
> > > in
> > > > >> > > tc_stat
> > > > >> > >
> > > > >> > >     tc_stat_out = subprocess.check_output(tc_cmd,
> > > > >> > > stderr=subprocess.STDOUT, shell=True )
> > > > >> > >
> > > > >> > > AttributeError: 'module' object has no attribute
> 'check_output'
> > > > >> > >
> > > > >> > >
> > > > >> > > Thanks,
> > > > >> > >
> > > > >> > >
> > > > >> > > Xinxia
> > > > >> > >
> > > > >> > > ________________________________
> > > > >> > > From: Julie Prestopnik via RT <met_help at ucar.edu>
> > > > >> > > Sent: Monday, February 27, 2017 5:15:59 PM
> > > > >> > > To: Xinxia_Song at outlook.com
> > > > >> > > Subject: Re: [rt.rap.ucar.edu #79605] ImportError: No
module
> > > named
> > > > >> > > constants_pdef
> > > > >> > >
> > > > >> > > Please install ncap2 and update the location to the
executable
> > in
> > > > the
> > > > >> > > NCAP2_EXE field of the constants_pdef.py file and
trying
> > rerunning
> > > > the
> > > > >> > MET+
> > > > >> > > code.  Please let us know how it goes.
> > > > >> > >
> > > > >> > > Thanks,
> > > > >> > > Julie
> > > > >> > >
> > > > >> > > On Mon, Feb 27, 2017 at 3:10 PM, Xinxia Song via RT <
> > > > >> met_help at ucar.edu>
> > > > >> > > wrote:
> > > > >> > >
> > > > >> > > >
> > > > >> > > > <URL: https://rt.rap.ucar.edu/rt/
> Ticket/Display.html?id=79605
> > >
> > > > >> > > >
> > > > >> > > > Hi Julie,
> > > > >> > > >
> > > > >> > > >
> > > > >> > > > The result is :
> > > > >> > > >
> > > > >> > > > -bash: /usr/local/nco/bin/ncap2: No such file or
directory
> > > > >> > > >
> > > > >> > > > I think we don't have it installed.
> > > > >> > > >
> > > > >> > > >
> > > > >> > > > Thanks,
> > > > >> > > >
> > > > >> > > > Xinxia
> > > > >> > > >
> > > > >> > > > ________________________________
> > > > >> > > > From: Julie Prestopnik via RT <met_help at ucar.edu>
> > > > >> > > > Sent: Monday, February 27, 2017 5:08:48 PM
> > > > >> > > > To: Xinxia_Song at outlook.com
> > > > >> > > > Subject: Re: [rt.rap.ucar.edu #79605] ImportError: No
> module
> > > > named
> > > > >> > > > constants_pdef
> > > > >> > > >
> > > > >> > > > Hi Xinxia. I believe that error code refers to
"Command not
> > > > found".
> > > > >> > Can
> > > > >> > > > you please run the following and send me the output?
> > > > >> > > >
> > > > >> > > > /usr/local/nco/bin/ncap2 --version
> > > > >> > > >
> > > > >> > > > Thanks!
> > > > >> > > >
> > > > >> > > > Julie
> > > > >> > > >
> > > > >> > > >
> > > > >> > > > On Mon, Feb 27, 2017 at 2:55 PM, Xinxia Song via RT <
> > > > >> met_help at ucar.edu
> > > > >> > >
> > > > >> > > > wrote:
> > > > >> > > >
> > > > >> > > > >
> > > > >> > > > > <URL: https://rt.rap.ucar.edu/rt/Tic
> > ket/Display.html?id=79605
> > > >
> > > > >> > > > >
> > > > >> > > > > Hi Julie,
> > > > >> > > > >
> > > > >> > > > >
> > > > >> > > > > The error is:
> > > > >> > > > >
> > > > >> > > > > Traceback (most recent call last):
> > > > >> > > > >
> > > > >> > > > >   File "series_by_lead.py", line 945, in <module>
> > > > >> > > > >
> > > > >> > > > >     analysis_by_lead_time()
> > > > >> > > > >
> > > > >> > > > >   File "series_by_lead.py", line 326, in
> > analysis_by_lead_time
> > > > >> > > > >
> > > > >> > > > >     vmin, vmax = get_netcdf_min_max(nc_var_list,
> cur_stat,
> > p,
> > > > >> > logger)
> > > > >> > > > >
> > > > >> > > > >   File "series_by_lead.py", line 605, in
> get_netcdf_min_max
> > > > >> > > > >
> > > > >> > > > >     shell=True)
> > > > >> > > > >
> > > > >> > > > >   File "/home/xinxia/anaconda2/lib/py
> > thon2.7/subprocess.py",
> > > > line
> > > > >> > 219,
> > > > >> > > > in
> > > > >> > > > > check_output
> > > > >> > > > >
> > > > >> > > > >     raise CalledProcessError(retcode, cmd,
output=output)
> > > > >> > > > >
> > > > >> > > > > subprocess.CalledProcessError: Command
> > > '/usr/local/nco/bin/ncap2
> > > > >> -v
> > > > >> > -s
> > > > >> > > > > "min=min(series_cnt_TOTAL)"
/D2/xinxia/METplus/MET/out/
> > > > >> > > > >
series_analysis_lead/series_F042/series_F042_HGT_P500.nc
> > > > >> > > > > /D2/xinxia/METplus/MET/out/ser
> > ies_analysis_lead/series_F042/
> > > > >> min.nc'
> > > > >> > > > > returned non-zero exit status 127
> > > > >> > > > >
> > > > >> > > > >
> > > > >> > > > > Thanks,
> > > > >> > > > >
> > > > >> > > > >
> > > > >> > > > > Xinxia
> > > > >> > > > >
> > > > >> > > > > ________________________________
> > > > >> > > > > From: Julie Prestopnik via RT <met_help at ucar.edu>
> > > > >> > > > > Sent: Tuesday, February 28, 2017 9:18:55 AM
> > > > >> > > > > To: Xinxia_Song at outlook.com
> > > > >> > > > > Subject: Re: [rt.rap.ucar.edu #79605] ImportError:
No
> > module
> > > > >> named
> > > > >> > > > > constants_pdef
> > > > >> > > > >
> > > > >> > > > > Thank you, Xinxia.
> > > > >> > > > >
> > > > >> > > > > Unfortunately, the "DEBUG" log level did not
provide much
> > > > >> information
> > > > >> > > for
> > > > >> > > > > this task:
> > > > >> > > > >
> > > > >> > > > > 2017-02-26 21:30:28,041 : INFO |
> [master_met_plus.py:main] |
> > > > >> Running:
> > > > >> > > > > series_by_lead.py
> > > > >> > > > > 2017-02-26 21:30:28,212 : ERROR |
> [master_met_plus.py:main]
> > |
> > > > >> Problem
> > > > >> > > > > executing: series_by_lead.py
> > > > >> > > > >
> > > > >> > > > > Could you please try running series_by_lead.py in
the ush
> > > > >> directory?
> > > > >> > > > > Please let me know what the output is from that run
- it
> may
> > > > >> still be
> > > > >> > > > > contained in your log file.
> > > > >> > > > >
> > > > >> > > > > Thanks!
> > > > >> > > > >
> > > > >> > > > > Julie
> > > > >> > > > >
> > > > >> > > > >
> > > > >> > > > > On Mon, Feb 27, 2017 at 11:17 AM, Xinxia Song via
RT <
> > > > >> > > met_help at ucar.edu>
> > > > >> > > > > wrote:
> > > > >> > > > >
> > > > >> > > > > >
> > > > >> > > > > > <URL: https://rt.rap.ucar.edu/rt/
> > > Ticket/Display.html?id=79605
> > > > >
> > > > >> > > > > >
> > > > >> > > > > > Hi Julie,
> > > > >> > > > > >
> > > > >> > > > > >
> > > > >> > > > > > I uploaded the constants_pdef.py and
> > > > >> master_met_plus.20170226.log.
> > > > >> > > > > >
> > > > >> > > > > >
> > > > >> > > > > > Thanks,
> > > > >> > > > > >
> > > > >> > > > > >
> > > > >> > > > > > Xinxia
> > > > >> > > > > >
> > > > >> > > > > > ________________________________
> > > > >> > > > > > From: Julie Prestopnik via RT <met_help at ucar.edu>
> > > > >> > > > > > Sent: Tuesday, February 28, 2017 5:46:37 AM
> > > > >> > > > > > To: Xinxia_Song at outlook.com
> > > > >> > > > > > Subject: Re: [rt.rap.ucar.edu #79605]
ImportError: No
> > > module
> > > > >> named
> > > > >> > > > > > constants_pdef
> > > > >> > > > > >
> > > > >> > > > > > Hi Xinxia.  Can you please upload the
configuration file
> > > that
> > > > >> you
> > > > >> > > used
> > > > >> > > > > and
> > > > >> > > > > > the log file from that run to our ftp server so
that we
> > can
> > > > >> take a
> > > > >> > > > look?
> > > > >> > > > > >
> > > > >> > > > > > Thanks!
> > > > >> > > > > >
> > > > >> > > > > > Julie
> > > > >> > > > > >
> > > > >> > > > > > On Sun, Feb 26, 2017 at 2:35 PM, Xinxia Song via
RT <
> > > > >> > > met_help at ucar.edu
> > > > >> > > > >
> > > > >> > > > > > wrote:
> > > > >> > > > > >
> > > > >> > > > > > >
> > > > >> > > > > > > <URL: https://rt.rap.ucar.edu/rt/
> > > > Ticket/Display.html?id=79605
> > > > >> >
> > > > >> > > > > > >
> > > > >> > > > > > > Hi Julie,
> > > > >> > > > > > >
> > > > >> > > > > > >
> > > > >> > > > > > > I ran the mater_met_plus.py and in the end in
the log
> > file
> > > > it
> > > > >> > gave
> > > > >> > > me
> > > > >> > > > > an
> > > > >> > > > > > > error:
> > > > >> > > > > > >
> > > > >> > > > > > > 2017-02-26 21:30:28,212 : ERROR |
> > > [master_met_plus.py:main]
> > > > |
> > > > >> > > Problem
> > > > >> > > > > > > executing: series_by_lead.py
> > > > >> > > > > > >
> > > > >> > > > > > >
> > > > >> > > > > > > Thanks,
> > > > >> > > > > > >
> > > > >> > > > > > > Xinxia
> > > > >> > > > > > >
> > > > >> > > > > > > ________________________________
> > > > >> > > > > > > From: Julie Prestopnik via RT
<met_help at ucar.edu>
> > > > >> > > > > > > Sent: Saturday, February 25, 2017 6:49:56 AM
> > > > >> > > > > > > To: Xinxia_Song at outlook.com
> > > > >> > > > > > > Subject: Re: [rt.rap.ucar.edu #79605]
ImportError: No
> > > > module
> > > > >> > named
> > > > >> > > > > > > constants_pdef
> > > > >> > > > > > >
> > > > >> > > > > > > You could also run "tail -f
</path/to/logfile/logfile_
> > > > name>"
> > > > >> > > > replacing
> > > > >> > > > > > > </path/to/logfile/logfile_name> with the
logfile path
> > and
> > > > >> name
> > > > >> > > > > > information
> > > > >> > > > > > > to see how the run is coming along.  I hope
that
> helps!
> > > > >> > > > > > >
> > > > >> > > > > > > Julie
> > > > >> > > > > > >
> > > > >> > > > > > > On Fri, Feb 24, 2017 at 9:42 AM, Julie
Prestopnik <
> > > > >> > > jpresto at ucar.edu>
> > > > >> > > > > > > wrote:
> > > > >> > > > > > >
> > > > >> > > > > > > > Hi Xinxia.  Running the entire three months
of data
> > > could
> > > > >> > > certainly
> > > > >> > > > > > take
> > > > >> > > > > > > a
> > > > >> > > > > > > > long time.  I am hoping to get an estimate on
how
> long
> > > it
> > > > >> took
> > > > >> > to
> > > > >> > > > run
> > > > >> > > > > > the
> > > > >> > > > > > > > three month data set here, but have not been
able to
> > > > obtain
> > > > >> > that
> > > > >> > > > > number
> > > > >> > > > > > > > yet.   It sounds the code was running
successfully
> for
> > > > >> you.  If
> > > > >> > > > > you're
> > > > >> > > > > > > > eager to take a lot at some output, I would
suggest
> > > > running
> > > > >> a
> > > > >> > > > smaller
> > > > >> > > > > > > > subset of the data, or perhaps you could set
up the
> > > whole
> > > > >> three
> > > > >> > > > month
> > > > >> > > > > > to
> > > > >> > > > > > > > run over the weekend.  I would suggest
letting the
> > code
> > > > run
> > > > >> to
> > > > >> > > > > > completion
> > > > >> > > > > > > > for either a smaller subset or for the entire
subset
> > and
> > > > >> then
> > > > >> > > > > checking
> > > > >> > > > > > > the
> > > > >> > > > > > > > log file for errors.  I hope that helps.
Please let
> > me
> > > > >> know if
> > > > >> > > you
> > > > >> > > > > > have
> > > > >> > > > > > > > any questions or encounter any issues.
> > > > >> > > > > > > >
> > > > >> > > > > > > > Thanks,
> > > > >> > > > > > > > Julie
> > > > >> > > > > > > >
> > > > >> > > > > > > >
> > > > >> > > > > > > > On Thu, Feb 23, 2017 at 4:28 PM, Xinxia Song
via RT
> <
> > > > >> > > > > met_help at ucar.edu
> > > > >> > > > > > >
> > > > >> > > > > > > > wrote:
> > > > >> > > > > > > >
> > > > >> > > > > > > >>
> > > > >> > > > > > > >> <URL: https://rt.rap.ucar.edu/rt/Tic
> > > > >> ket/Display.html?id=79605
> > > > >> > >
> > > > >> > > > > > > >>
> > > > >> > > > > > > >> Hi Julie,
> > > > >> > > > > > > >>
> > > > >> > > > > > > >>
> > > > >> > > > > > > >> The version is set to be 2.7+. When I ran
> > > > >> master_met_plus.py,
> > > > >> > it
> > > > >> > > > > seems
> > > > >> > > > > > > it
> > > > >> > > > > > > >> will run forever. So I killed it, and got
the
> > > following:
> > > > >> > > > > > > >>
> > > > >> > > > > > > >> [xinxia at chaos ush]$ python
master_met_plus.py
> > > > >> > > > > > > >>
> > > > >> > > > > > > >> ^CTraceback (most recent call last):
> > > > >> > > > > > > >>
> > > > >> > > > > > > >>   File "/D2/xinxia/METplus/METplus/
> > > > ush/extract_tiles.py",
> > > > >> > line
> > > > >> > > > 157,
> > > > >> > > > > > in
> > > > >> > > > > > > >> <module>
> > > > >> > > > > > > >>
> > > > >> > > > > > > >>     main()
> > > > >> > > > > > > >>
> > > > >> > > > > > > >>   File "/D2/xinxia/METplus/METplus/
> > > > ush/extract_tiles.py",
> > > > >> > line
> > > > >> > > > 100,
> > > > >> > > > > > in
> > > > >> > > > > > > >> main
> > > > >> > > > > > > >>
> > > > >> > > > > > > >>     filtered_out_dir)
> > > > >> > > > > > > >>
> > > > >> > > > > > > >>   File "/D2/xinxia/METplus/METplus/
> > > ush/run_tc_stat.py",
> > > > >> line
> > > > >> > > 69,
> > > > >> > > > in
> > > > >> > > > > > > >> tc_stat
> > > > >> > > > > > > >>
> > > > >> > > > > > > >>     tc_stat_out =
subprocess.check_output(tc_cmd,
> > > > >> > > > > > > >> stderr=subprocess.STDOUT, shell=True )
> > > > >> > > > > > > >>
> > > > >> > > > > > > >>   File "/home/xinxia/anaconda2/lib/py
> > > > >> thon2.7/subprocess.py",
> > > > >> > > line
> > > > >> > > > > > 213,
> > > > >> > > > > > > >> in check_output
> > > > >> > > > > > > >>
> > > > >> > > > > > > >>     output, unused_err =
process.communicate()
> > > > >> > > > > > > >>
> > > > >> > > > > > > >>   File "/home/xinxia/anaconda2/lib/py
> > > > >> thon2.7/subprocess.py",
> > > > >> > > line
> > > > >> > > > > > 471,
> > > > >> > > > > > > >> in communicate
> > > > >> > > > > > > >>
> > > > >> > > > > > > >>     stdout =
_eintr_retry_call(self.stdout.read)
> > > > >> > > > > > > >>
> > > > >> > > > > > > >>   File "/home/xinxia/anaconda2/lib/py
> > > > >> thon2.7/subprocess.py",
> > > > >> > > line
> > > > >> > > > > > 121,
> > > > >> > > > > > > >> in _eintr_retry_call
> > > > >> > > > > > > >>
> > > > >> > > > > > > >>     return func(*args)
> > > > >> > > > > > > >>
> > > > >> > > > > > > >> KeyboardInterrupt
> > > > >> > > > > > > >>
> > > > >> > > > > > > >>
> > > > >> > > > > > > >> Thanks,
> > > > >> > > > > > > >>
> > > > >> > > > > > > >>
> > > > >> > > > > > > >> Xinxia
> > > > >> > > > > > > >>
> > > > >> > > > > > > >> ________________________________
> > > > >> > > > > > > >> From: Julie Prestopnik via RT
<met_help at ucar.edu>
> > > > >> > > > > > > >> Sent: Friday, February 24, 2017 12:02:21 PM
> > > > >> > > > > > > >> To: Xinxia_Song at outlook.com
> > > > >> > > > > > > >> Subject: Re: [rt.rap.ucar.edu #79605]
ImportError:
> > No
> > > > >> module
> > > > >> > > > named
> > > > >> > > > > > > >> constants_pdef
> > > > >> > > > > > > >>
> > > > >> > > > > > > >> Hi Xinxia.  I suspect that even though you
> installed
> > > > Python
> > > > >> > 2.7
> > > > >> > > > that
> > > > >> > > > > > > >> Python
> > > > >> > > > > > > >> 2.6.6 is still being used.
> > > > >> > > > > > > >>
> > > > >> > > > > > > >> Please try running:
> > > > >> > > > > > > >>
> > > > >> > > > > > > >> python --version
> > > > >> > > > > > > >>
> > > > >> > > > > > > >> on the command line.
> > > > >> > > > > > > >>
> > > > >> > > > > > > >> If you see "Python 2..6.6", please add the
path for
> > > > Python
> > > > >> 2.7
> > > > >> > > to
> > > > >> > > > > the
> > > > >> > > > > > > >> front
> > > > >> > > > > > > >> of your path in your ~/.bashrc file.  Then,
source
> > your
> > > > >> > > ~/.bashrc
> > > > >> > > > > file
> > > > >> > > > > > > and
> > > > >> > > > > > > >> try rerunning
> > > > >> > > > > > > >>
> > > > >> > > > > > > >> python --version
> > > > >> > > > > > > >>
> > > > >> > > > > > > >> on the command line.  Hopefully, then you
will see
> > the
> > > > new
> > > > >> > > > version.
> > > > >> > > > > > > Then,
> > > > >> > > > > > > >> please try rerunning master_met_plus.py.
> > > > >> > > > > > > >>
> > > > >> > > > > > > >> I hope this helps!  Thanks!
> > > > >> > > > > > > >>
> > > > >> > > > > > > >> Julie
> > > > >> > > > > > > >>
> > > > >> > > > > > > >> On Thu, Feb 23, 2017 at 1:51 PM, Xinxia Song
via
> RT <
> > > > >> > > > > > met_help at ucar.edu>
> > > > >> > > > > > > >> wrote:
> > > > >> > > > > > > >>
> > > > >> > > > > > > >> >
> > > > >> > > > > > > >> > <URL: https://rt.rap.ucar.edu/rt/Tic
> > > > >> > ket/Display.html?id=79605
> > > > >> > > >
> > > > >> > > > > > > >> >
> > > > >> > > > > > > >> > Hi Julie,
> > > > >> > > > > > > >> >
> > > > >> > > > > > > >> >
> > > > >> > > > > > > >> > I installed myself the 2.7 python, it
still got
> the
> > > > error
> > > > >> > when
> > > > >> > > > > > > running:
> > > > >> > > > > > > >> >
> > > > >> > > > > > > >> > Traceback (most recent call last):
> > > > >> > > > > > > >> >
> > > > >> > > > > > > >> >   File "/D2/xinxia/METplus/METplus/us
> > > > >> h/series_by_lead.py",
> > > > >> > > line
> > > > >> > > > > > 945,
> > > > >> > > > > > > in
> > > > >> > > > > > > >> > <module>
> > > > >> > > > > > > >> >
> > > > >> > > > > > > >> >     analysis_by_lead_time()
> > > > >> > > > > > > >> >
> > > > >> > > > > > > >> >   File "/D2/xinxia/METplus/METplus/us
> > > > >> h/series_by_lead.py",
> > > > >> > > line
> > > > >> > > > > > 107,
> > > > >> > > > > > > in
> > > > >> > > > > > > >> > analysis_by_lead_time
> > > > >> > > > > > > >> >
> > > > >> > > > > > > >> >     util.apply_series_filters(tile_dir,
> > init_times,
> > > > >> > > > > > > >> > series_lead_filtered_out_dir, p, logger)
> > > > >> > > > > > > >> >
> > > > >> > > > > > > >> >   File "/D2/xinxia/METplus/METplus/us
> > h/met_util.py",
> > > > >> line
> > > > >> > > 1005,
> > > > >> > > > > in
> > > > >> > > > > > > >> > apply_series_filters
> > > > >> > > > > > > >> >
> > > > >> > > > > > > >> >     tcs.tc_stat(p, logger, tc_cmd,
> > series_output_dir)
> > > > >> > > > > > > >> >
> > > > >> > > > > > > >> >   File "/D2/xinxia/METplus/METplus/
> > > > ush/run_tc_stat.py",
> > > > >> > line
> > > > >> > > > 69,
> > > > >> > > > > in
> > > > >> > > > > > > >> > tc_stat
> > > > >> > > > > > > >> >
> > > > >> > > > > > > >> >     tc_stat_out =
subprocess.check_output(tc_
> cmd,
> > > > >> > > > > > > >> > stderr=subprocess.STDOUT, shell=True )
> > > > >> > > > > > > >> >
> > > > >> > > > > > > >> > AttributeError: 'module' object has no
attribute
> > > > >> > > 'check_output'
> > > > >> > > > > > > >> >
> > > > >> > > > > > > >> >
> > > > >> > > > > > > >> > Thanks,
> > > > >> > > > > > > >> >
> > > > >> > > > > > > >> >
> > > > >> > > > > > > >> > Xinxia
> > > > >> > > > > > > >> >
> > > > >> > > > > > > >> > ________________________________
> > > > >> > > > > > > >> > From: Julie Prestopnik via RT
<met_help at ucar.edu
> >
> > > > >> > > > > > > >> > Sent: Friday, February 24, 2017 9:37:53 AM
> > > > >> > > > > > > >> > To: Xinxia_Song at outlook.com
> > > > >> > > > > > > >> > Subject: Re: [rt.rap.ucar.edu #79605]
> ImportError:
> > > No
> > > > >> > module
> > > > >> > > > > named
> > > > >> > > > > > > >> > constants_pdef
> > > > >> > > > > > > >> >
> > > > >> > > > > > > >> > Can you please tell me which version of
Python
> you
> > > are
> > > > >> > using?
> > > > >> > > > > > > >> check_output
> > > > >> > > > > > > >> > for subprocess was introduced in Python
2.7.
> Do
> > > you
> > > > >> have
> > > > >> > > > access
> > > > >> > > > > > to
> > > > >> > > > > > > >> > Python version 2.7 or higher?
> > > > >> > > > > > > >> >
> > > > >> > > > > > > >> > Thanks,
> > > > >> > > > > > > >> > Julie
> > > > >> > > > > > > >> >
> > > > >> > > > > > > >> > On Thu, Feb 23, 2017 at 12:11 PM, Xinxia
Song via
> > RT
> > > <
> > > > >> > > > > > > met_help at ucar.edu
> > > > >> > > > > > > >> >
> > > > >> > > > > > > >> > wrote:
> > > > >> > > > > > > >> >
> > > > >> > > > > > > >> > >
> > > > >> > > > > > > >> > > <URL: https://rt.rap.ucar.edu/rt/
> > > > >> > > Ticket/Display.html?id=79605
> > > > >> > > > >
> > > > >> > > > > > > >> > >
> > > > >> > > > > > > >> > > Hi Julie,
> > > > >> > > > > > > >> > >
> > > > >> > > > > > > >> > >
> > > > >> > > > > > > >> > > I added it to the $PATH and ran the
> > > > >> master_met_python.py:
> > > > >> > > > > > > >> > >
> > > > >> > > > > > > >> > > [xinxia at chaos ush]$ python
master_met_plus.py
> > > > >> > > > > > > >> > >
> > > > >> > > > > > > >> > > Traceback (most recent call last):
> > > > >> > > > > > > >> > >
> > > > >> > > > > > > >> > >   File "/D2/xinxia/METplus/METplus/us
> > > > >> h/extract_tiles.py",
> > > > >> > > > line
> > > > >> > > > > > 157,
> > > > >> > > > > > > >> in
> > > > >> > > > > > > >> > > <module>
> > > > >> > > > > > > >> > >
> > > > >> > > > > > > >> > >     main()
> > > > >> > > > > > > >> > >
> > > > >> > > > > > > >> > >   File "/D2/xinxia/METplus/METplus/us
> > > > >> h/extract_tiles.py",
> > > > >> > > > line
> > > > >> > > > > > 100,
> > > > >> > > > > > > >> in
> > > > >> > > > > > > >> > > main
> > > > >> > > > > > > >> > >
> > > > >> > > > > > > >> > >     filtered_out_dir)
> > > > >> > > > > > > >> > >
> > > > >> > > > > > > >> > >   File "/D2/xinxia/METplus/METplus/us
> > > > >> h/run_tc_stat.py",
> > > > >> > > line
> > > > >> > > > > 69,
> > > > >> > > > > > in
> > > > >> > > > > > > >> > > tc_stat
> > > > >> > > > > > > >> > >
> > > > >> > > > > > > >> > >     tc_stat_out =
> subprocess.check_output(tc_cmd
> > ,
> > > > >> > > > > > > >> > > stderr=subprocess.STDOUT, shell=True )
> > > > >> > > > > > > >> > >
> > > > >> > > > > > > >> > > AttributeError: 'module' object has no
> attribute
> > > > >> > > > 'check_output'
> > > > >> > > > > > > >> > >
> > > > >> > > > > > > >> > >
> > > > >> > > > > > > >> > > Thanks,
> > > > >> > > > > > > >> > >
> > > > >> > > > > > > >> > >
> > > > >> > > > > > > >> > > Xinxia
> > > > >> > > > > > > >> > >
> > > > >> > > > > > > >> > > ________________________________
> > > > >> > > > > > > >> > > From: Julie Prestopnik via RT <
> met_help at ucar.edu
> > >
> > > > >> > > > > > > >> > > Sent: Friday, February 24, 2017 9:07:40
AM
> > > > >> > > > > > > >> > > To: Xinxia_Song at outlook.com
> > > > >> > > > > > > >> > > Subject: Re: [rt.rap.ucar.edu #79605]
> > ImportError:
> > > > No
> > > > >> > > module
> > > > >> > > > > > named
> > > > >> > > > > > > >> > > constants_pdef
> > > > >> > > > > > > >> > >
> > > > >> > > > > > > >> > > Unfortunately, your environment does not
know
> > where
> > > > to
> > > > >> > find
> > > > >> > > > > > > >> > > run_tc_pairs.py.  Please try adding the
> directory
> > > > with
> > > > >> > > > > > > run_tc_pairs.py
> > > > >> > > > > > > >> > > (/D2/xinxia/METplus/METplus/ush) to your
path
> in
> > > > your
> > > > >> > > > ~/.bashrc
> > > > >> > > > > > > file,
> > > > >> > > > > > > >> > then
> > > > >> > > > > > > >> > > run "source ~/.bashrc", then trying
rerunning.
> > > > Please
> > > > >> let
> > > > >> > > me
> > > > >> > > > > know
> > > > >> > > > > > > how
> > > > >> > > > > > > >> > that
> > > > >> > > > > > > >> > > goes.
> > > > >> > > > > > > >> > >
> > > > >> > > > > > > >> > > Thanks!
> > > > >> > > > > > > >> > >
> > > > >> > > > > > > >> > > Julie
> > > > >> > > > > > > >> > >
> > > > >> > > > > > > >> > > On Thu, Feb 23, 2017 at 11:55 AM, Xinxia
Song
> via
> > > RT
> > > > <
> > > > >> > > > > > > >> met_help at ucar.edu>
> > > > >> > > > > > > >> > > wrote:
> > > > >> > > > > > > >> > >
> > > > >> > > > > > > >> > > >
> > > > >> > > > > > > >> > > > <URL: https://rt.rap.ucar.edu/rt/
> > > > >> > > > Ticket/Display.html?id=79605
> > > > >> > > > > >
> > > > >> > > > > > > >> > > >
> > > > >> > > > > > > >> > > > Hi Julie,
> > > > >> > > > > > > >> > > >
> > > > >> > > > > > > >> > > >
> > > > >> > > > > > > >> > > > I'm running met in a machine that's
owned by
> > our
> > > > >> > > > department, I
> > > > >> > > > > > > don't
> > > > >> > > > > > > >> > have
> > > > >> > > > > > > >> > > > sudo right, so when I type which
> > run_tc_pairs.py,
> > > > it
> > > > >> > says
> > > > >> > > > > > couldn't
> > > > >> > > > > > > >> find
> > > > >> > > > > > > >> > > it.
> > > > >> > > > > > > >> > > >
> > > > >> > > > > > > >> > > > no run_tc_pairs.py in
> > > > (/opt/ncl/bin:/opt/intel-soft/
> > > > >> > > > > > > >> > > > bin:/opt/ncl/bin:/opt/ncl/bin:
> > > > >> > > /opt/intel-soft/bin:/opt/ncl/
> > > > >> > > > > > > >> > > > bin:/home/xinxia/anaconda/bin:
> > > > >> > /home/xinxia/anaconda/bin:/
> > > > >> > > > > > > >> > > > opt/ncl/bin:/opt/intel-soft/bi
> > > > >> > n:/opt/ncl/bin:/usr/lib64/
> > > > >> > > > > > > >> > > > qt-3.3/bin:/usr/local/bin:/bin
> > > > >> > :/usr/bin:/usr/local/sbin:/
> > > > >> > > > > > > >> > > > usr/sbin:/sbin:/sbin:/usr/
> sbin:/cm/local/apps/
> > > > >> > > > > > > >> > > environment-modules/3.2.10/
> > > > >> > > > > > > >> > > > bin:/home/xinxia/bin:/opt/ncl-621/bin)
> > > > >> > > > > > > >> > > >
> > > > >> > > > > > > >> > > >
> > > > >> > > > > > > >> > > > But I could find it manually in that
> directory.
> > > > >> > > > > > > >> > > >
> > > > >> > > > > > > >> > > >
> > > > >> > > > > > > >> > > > Thanks,
> > > > >> > > > > > > >> > > >
> > > > >> > > > > > > >> > > >
> > > > >> > > > > > > >> > > > Xinxia
> > > > >> > > > > > > >> > > >
> > > > >> > > > > > > >> > > > ________________________________
> > > > >> > > > > > > >> > > > From: Julie Prestopnik via RT <
> > met_help at ucar.edu
> > > >
> > > > >> > > > > > > >> > > > Sent: Friday, February 24, 2017
8:52:16 AM
> > > > >> > > > > > > >> > > > To: Xinxia_Song at outlook.com
> > > > >> > > > > > > >> > > > Subject: Re: [rt.rap.ucar.edu #79605]
> > > ImportError:
> > > > >> No
> > > > >> > > > module
> > > > >> > > > > > > named
> > > > >> > > > > > > >> > > > constants_pdef
> > > > >> > > > > > > >> > > >
> > > > >> > > > > > > >> > > > Hi Xinxia.
> > > > >> > > > > > > >> > > >
> > > > >> > > > > > > >> > > > It looks like you got a successful run
of
> > > tc_stat -
> > > > >> > that's
> > > > >> > > > > great
> > > > >> > > > > > > >> news!
> > > > >> > > > > > > >> > > >
> > > > >> > > > > > > >> > > > I'm not sure what you mean by "Because
I
> don't
> > > have
> > > > >> the
> > > > >> > > > > right, I
> > > > >> > > > > > > >> can't
> > > > >> > > > > > > >> > > find
> > > > >> > > > > > > >> > > > run_tc_pairs.py, but I know it's under
> > > > >> > > > > > > >> > > >
> > > > >> > > > > > > >> > > > /D2/xinxia/METplus/METplus/ush".
> > > > >> > > > > > > >> > > >
> > > > >> > > > > > > >> > > > Can you please explain?  What happened
when
> you
> > > ran
> > > > >> > "which
> > > > >> > > > > > > >> > > > run_tc_pairs.py"?
> > > > >> > > > > > > >> > > >
> > > > >> > > > > > > >> > > > Thanks,
> > > > >> > > > > > > >> > > > Julie
> > > > >> > > > > > > >> > > >
> > > > >> > > > > > > >> > > >
> > > > >> > > > > > > >> > > >
> > > > >> > > > > > > >> > > >
> > > > >> > > > > > > >> > > >
> > > > >> > > > > > > >> > > >
> > > > >> > > > > > > >> > > > On Thu, Feb 23, 2017 at 11:44 AM,
Xinxia Song
> > via
> > > > RT
> > > > >> <
> > > > >> > > > > > > >> > met_help at ucar.edu>
> > > > >> > > > > > > >> > > > wrote:
> > > > >> > > > > > > >> > > >
> > > > >> > > > > > > >> > > > >
> > > > >> > > > > > > >> > > > > <URL: https://rt.rap.ucar.edu/rt/
> > > > >> > > > > Ticket/Display.html?id=79605
> > > > >> > > > > > >
> > > > >> > > > > > > >> > > > >
> > > > >> > > > > > > >> > > > > Hi Julie,
> > > > >> > > > > > > >> > > > >
> > > > >> > > > > > > >> > > > >
> > > > >> > > > > > > >> > > > > I removed the space.
> > > > >> > > > > > > >> > > > >
> > > > >> > > > > > > >> > > > > [xinxia at chaos parm]$
> > > > >> /D2/xinxia/METplus/MET/met-5.2
> > > > >> > > > > > /bin/tc_stat
> > > > >> > > > > > > >> -job
> > > > >> > > > > > > >> > > > > filter -lookin
> /D2/xinxia/METplus/MET/input/
> > > > >> > > > tc_pairs/201412
> > > > >> > > > > > > >> > -init_inc
> > > > >> > > > > > > >> > > > > 20141201_00 -match_points true
-dump_row
> > > > >> > > > > > > >> /D2/xinxia/METplus/MET/out/
> > > > >> > > > > > > >> > > > > extract_tiles/20141201_00/
> > > > filter_20141201_00.tcst
> > > > >> > > -basin
> > > > >> > > > > ML
> > > > >> > > > > > > >> > > > > -out_init_mask
> /D2/xinxia/METplus/MET/met-5.
> > > > >> > > > > > > >> > > 2/share/met/poly/CONUS.poly
> > > > >> > > > > > > >> > > > >
> > > > >> > > > > > > >> > > > > DEBUG 1: [Source 1] Lookin:
> > > > >> > > /D2/xinxia/METplus/MET/input/
> > > > >> > > > > > > >> > > tc_pairs/201412
> > > > >> > > > > > > >> > > > >
> > > > >> > > > > > > >> > > > > DEBUG 2:
> > > > >> > > > > > > >> > > > >
> > > > >> > > > > > > >> > > > > DEBUG 2: Processing Job 1: -job
filter
> -basin
> > > ML
> > > > >> > > -init_inc
> > > > >> > > > > > > >> > > > 20141201_000000
> > > > >> > > > > > > >> > > > > -match_points true -out_init_mask
> > > > >> > > > > > /D2/xinxia/METplus/MET/met-5.
> > > > >> > > > > > > >> > > > 2/share/met/poly/CONUS.poly
> > > > >> > > > > > > >> > > > > -dump_row
/D2/xinxia/METplus/MET/out/ext
> > > > >> > > > > > ract_tiles/20141201_00/
> > > > >> > > > > > > >> > > > > filter_20141201_00.tcst
> > > > >> > > > > > > >> > > > >
> > > > >> > > > > > > >> > > > > DEBUG 1: Creating output dump file:
> > > > >> > > > > > /D2/xinxia/METplus/MET/out/
> > > > >> > > > > > > >> > > > > extract_tiles/20141201_00/
> > > > filter_20141201_00.tcst
> > > > >> > > > > > > >> > > > >
> > > > >> > > > > > > >> > > > > FILTER: -job filter -basin ML
-init_inc
> > > > >> > 20141201_000000
> > > > >> > > > > > > >> -match_points
> > > > >> > > > > > > >> > > > true
> > > > >> > > > > > > >> > > > > -out_init_mask
> /D2/xinxia/METplus/MET/met-5.
> > > > >> > > > > > > >> > > 2/share/met/poly/CONUS.poly
> > > > >> > > > > > > >> > > > > -dump_row
/D2/xinxia/METplus/MET/out/ext
> > > > >> > > > > > ract_tiles/20141201_00/
> > > > >> > > > > > > >> > > > > filter_20141201_00.tcst
> > > > >> > > > > > > >> > > > >
> > > > >> > > > > > > >> > > > >
> > > > >> > > > > > > >> > > > > DEBUG 2: Job 1 used 0 out of 27292
lines
> > read.
> > > > >> > > > > > > >> > > > >
> > > > >> > > > > > > >> > > > >
> > > > >> > > > > > > >> > > > > Because I don't have the right, I
can't
> find
> > > > >> > > > > run_tc_pairs.py,
> > > > >> > > > > > > but
> > > > >> > > > > > > >> I
> > > > >> > > > > > > >> > > know
> > > > >> > > > > > > >> > > > > it's under
> > > > >> > > > > > > >> > > > >
> > > > >> > > > > > > >> > > > > /D2/xinxia/METplus/METplus/ush
> > > > >> > > > > > > >> > > > >
> > > > >> > > > > > > >> > > > >
> > > > >> > > > > > > >> > > > > For Python,
> > > > >> > > > > > > >> > > > >
> > > > >> > > > > > > >> > > > > [xinxia at chaos ~]$ which python
> > > > >> > > > > > > >> > > > >
> > > > >> > > > > > > >> > > > > /usr/bin/python
> > > > >> > > > > > > >> > > > >
> > > > >> > > > > > > >> > > > >
> > > > >> > > > > > > >> > > > > Xinxia
> > > > >> > > > > > > >> > > > >
> > > > >> > > > > > > >> > > > > ________________________________
> > > > >> > > > > > > >> > > > > From: Julie Prestopnik via RT <
> > > met_help at ucar.edu
> > > > >
> > > > >> > > > > > > >> > > > > Sent: Friday, February 24, 2017
8:30:01 AM
> > > > >> > > > > > > >> > > > > To: Xinxia_Song at outlook.com
> > > > >> > > > > > > >> > > > > Subject: Re: [rt.rap.ucar.edu
#79605]
> > > > >> ImportError: No
> > > > >> > > > > module
> > > > >> > > > > > > >> named
> > > > >> > > > > > > >> > > > > constants_pdef
> > > > >> > > > > > > >> > > > >
> > > > >> > > > > > > >> > > > > Hi Xinxia.
> > > > >> > > > > > > >> > > > >
> > > > >> > > > > > > >> > > > > It looks like there is a space where
there
> > > should
> > > > >> not
> > > > >> > > be a
> > > > >> > > > > > space
> > > > >> > > > > > > >> > > (between
> > > > >> > > > > > > >> > > > > /D2/xinxia/METplus/MET/out/ext
> > > > >> ract_tiles/20141201_00/
> > > > >> > > and
> > > > >> > > > > > > >> > > > > filter_20141201_00.tcst after the
-dump_row
> > > > >> option).
> > > > >> > > > > > > >> > > > >
> > > > >> > > > > > > >> > > > > Could you please try it again
without the
> > > space?
> > > > >> > > > > > > >> > > > >
> > > > >> > > > > > > >> > > > > /D2/xinxia/METplus/METplus/ush
> > > > >> /run_tc_stat.py:tc_stat
> > > > >> > > > from
> > > > >> > > > > > > >> calling
> > > > >> > > > > > > >> > MET
> > > > >> > > > > > > >> > > > > TC-STAT with
command:/D2/xinxia/METplus/MET
> > > > >> > > > > > /met-5.2/bin/tc_stat
> > > > >> > > > > > > >> -job
> > > > >> > > > > > > >> > > > > filter
> > > > >> > > > > > > >> > > > > -lookin
/D2/xinxia/METplus/MET/input/t
> > > > >> c_pairs/201412
> > > > >> > > > > > -init_inc
> > > > >> > > > > > > >> > > > 20141201_00
> > > > >> > > > > > > >> > > > > -match_points true -dump_row
> > > > >> > /D2/xinxia/METplus/MET/out/
> > > > >> > > > > > > >> > > > > extract_tiles/20141201_00/
> > > > filter_20141201_00.tcst
> > > > >> > > -basin
> > > > >> > > > > ML
> > > > >> > > > > > > >> > > > > -out_init_mask
> > > > >> > > > > > > >> > > > > /D2/xinxia/METplus/MET/met-5.
> > > > >> > > 2/share/met/poly/CONUS.poly
> > > > >> > > > > > > >> > > > >
> > > > >> > > > > > > >> > > > > Regarding the master_met_plus.py
run,
> please
> > > try
> > > > >> > running
> > > > >> > > > the
> > > > >> > > > > > > >> > following
> > > > >> > > > > > > >> > > > two
> > > > >> > > > > > > >> > > > > commands and send me the output:
> > > > >> > > > > > > >> > > > >
> > > > >> > > > > > > >> > > > > which run_tc_pairs.py
> > > > >> > > > > > > >> > > > >
> > > > >> > > > > > > >> > > > > which python
> > > > >> > > > > > > >> > > > >
> > > > >> > > > > > > >> > > > > Thanks!
> > > > >> > > > > > > >> > > > >
> > > > >> > > > > > > >> > > > > Julie
> > > > >> > > > > > > >> > > > >
> > > > >> > > > > > > >> > > > > On Thu, Feb 23, 2017 at 11:06 AM,
Xinxia
> Song
> > > via
> > > > >> RT <
> > > > >> > > > > > > >> > > met_help at ucar.edu>
> > > > >> > > > > > > >> > > > > wrote:
> > > > >> > > > > > > >> > > > >
> > > > >> > > > > > > >> > > > > >
> > > > >> > > > > > > >> > > > > > <URL:
https://rt.rap.ucar.edu/rt/Tic
> > > > >> > > > > > ket/Display.html?id=79605
> > > > >> > > > > > > >
> > > > >> > > > > > > >> > > > > >
> > > > >> > > > > > > >> > > > > > Hi Julie,
> > > > >> > > > > > > >> > > > > >
> > > > >> > > > > > > >> > > > > >
> > > > >> > > > > > > >> > > > > > After I ran the long one line
command:
> > > > >> > > > > > > >> > > > > >
> > > > >> > > > > > > >> > > > > > [xinxia at chaos parm]$
> > > > >> /D2/xinxia/METplus/MET/met-5.
> > > > >> > > > > > > 2/bin/tc_stat
> > > > >> > > > > > > >> > -job
> > > > >> > > > > > > >> > > > > > filter -lookin
> > /D2/xinxia/METplus/MET/input/
> > > > >> > > > > tc_pairs/201412
> > > > >> > > > > > > >> > > -init_inc
> > > > >> > > > > > > >> > > > > > 20141201_00 -match_points true
-dump_row
> > > > >> > > > > > > >> > /D2/xinxia/METplus/MET/out/
> > > > >> > > > > > > >> > > > > extract_tiles/20141201_00/
> > > > >> > > > > > > >> > > > > > filter_20141201_00.tcst  -basin ML
> > > > -out_init_mask
> > > > >> > > > > > > >> > > > > > /D2/xinxia/METplus/MET/met-5.
> > > > >> > > > 2/share/met/poly/CONUS.poly
> > > > >> > > > > > > >> > > > > >
> > > > >> > > > > > > >> > > > > >
> > > > >> > > > > > > >> > > > > > DEBUG 1: [Source 1] Lookin:
> > > > >> > > > /D2/xinxia/METplus/MET/input/
> > > > >> > > > > > > >> > > > tc_pairs/201412
> > > > >> > > > > > > >> > > > > >
> > > > >> > > > > > > >> > > > > > ERROR  :
> > > > >> > > > > > > >> > > > > >
> > > > >> > > > > > > >> > > > > > ERROR  : TCStatJob
> > *TCStatJobFactory::new_tc_
> > > > >> > > > > stat_job(const
> > > > >> > > > > > > >> char
> > > > >> > > > > > > >> > > > > > *jobstring) -> unsupported job
command
> > > options
> > > > >> > > > > > > >> > > > "filter_20141201_00.tcst".
> > > > >> > > > > > > >> > > > > >
> > > > >> > > > > > > >> > > > > > ERROR  :
> > > > >> > > > > > > >> > > > > >
> > > > >> > > > > > > >> > > > > >
> > > > >> > > > > > > >> > > > > > And for the master_met_plus.py, I
got the
> > > > error:
> > > > >> > > > > > > >> > > > > >
> > > > >> > > > > > > >> > > > > > [xinxia at chaos ush]$ python
> > > master_met_plus.py
> > > > >> > > > > > > >> > > > > >
> > > > >> > > > > > > >> > > > > > sh: run_tc_pairs.py: command not
found
> > > > >> > > > > > > >> > > > > >
> > > > >> > > > > > > >> > > > > >
> > > > >> > > > > > > >> > > > > > Thanks,
> > > > >> > > > > > > >> > > > > >
> > > > >> > > > > > > >> > > > > >
> > > > >> > > > > > > >> > > > > > Xinxia
> > > > >> > > > > > > >> > > > > >
> > > > >> > > > > > > >> > > > > > ________________________________
> > > > >> > > > > > > >> > > > > > From: Julie Prestopnik via RT <
> > > > met_help at ucar.edu
> > > > >> >
> > > > >> > > > > > > >> > > > > > Sent: Friday, February 24, 2017
7:42:21
> AM
> > > > >> > > > > > > >> > > > > > To: Xinxia_Song at outlook.com
> > > > >> > > > > > > >> > > > > > Subject: Re: [rt.rap.ucar.edu
#79605]
> > > > >> ImportError:
> > > > >> > No
> > > > >> > > > > > module
> > > > >> > > > > > > >> named
> > > > >> > > > > > > >> > > > > > constants_pdef
> > > > >> > > > > > > >> > > > > >
> > > > >> > > > > > > >> > > > > > My apologies, my response should
have
> said,
> > > "By
> > > > >> > > default,
> > > > >> > > > > MET
> > > > >> > > > > > > >> > version
> > > > >> > > > > > > >> > > > 5.2
> > > > >> > > > > > > >> > > > > is
> > > > >> > > > > > > >> > > > > > compiled using dynamic linking."
It's
> true
> > > for
> > > > >> > both,
> > > > >> > > > but
> > > > >> > > > > I
> > > > >> > > > > > > see
> > > > >> > > > > > > >> > > you're
> > > > >> > > > > > > >> > > > > > using 5.2 and I inadvertently
referred to
> > > 5.1.
> > > > >> > > > > > > >> > > > > >
> > > > >> > > > > > > >> > > > > > On Thu, Feb 23, 2017 at 10:40 AM,
Julie
> > > > >> Prestopnik <
> > > > >> > > > > > > >> > jpresto at ucar.edu
> > > > >> > > > > > > >> > > >
> > > > >> > > > > > > >> > > > > > wrote:
> > > > >> > > > > > > >> > > > > >
> > > > >> > > > > > > >> > > > > > > Hi Xinxia.  Regarding the error:
> > > > >> > > > > > > >> > > > > > >
> > > > >> > > > > > > >> > > > > > > /D2/xinxia/METplus/MET/met-5.
> > > 2/bin/tc_stat:
> > > > >> error
> > > > >> > > > while
> > > > >> > > > > > > >> loading
> > > > >> > > > > > > >> > > > shared
> > > > >> > > > > > > >> > > > > > > libraries: libgsl.so.19: cannot
open
> > shared
> > > > >> object
> > > > >> > > > file:
> > > > >> > > > > > No
> > > > >> > > > > > > >> such
> > > > >> > > > > > > >> > > file
> > > > >> > > > > > > >> > > > > or
> > > > >> > > > > > > >> > > > > > > directory
> > > > >> > > > > > > >> > > > > > >
> > > > >> > > > > > > >> > > > > > > By default, MET version 5.1 is
compiled
> > > using
> > > > >> > > dynamic
> > > > >> > > > > > > linking.
> > > > >> > > > > > > >> > > > Rather
> > > > >> > > > > > > >> > > > > > > than compiling the external
library
> code
> > in
> > > > >> with
> > > > >> > the
> > > > >> > > > MET
> > > > >> > > > > > > >> > > executables
> > > > >> > > > > > > >> > > > > > (which
> > > > >> > > > > > > >> > > > > > > is
> > > > >> > > > > > > >> > > > > > > called static linking), it looks
for
> them
> > > at
> > > > >> > > runtime.
> > > > >> > > > > And
> > > > >> > > > > > > >> it's
> > > > >> > > > > > > >> > > > looking
> > > > >> > > > > > > >> > > > > > > for those "shared object" (.so)
library
> > > > files.
> > > > >> > > > > > > >> > > > > > >
> > > > >> > > > > > > >> > > > > > > This should be easy to fix. We
just
> need
> > to
> > > > >> tell
> > > > >> > it
> > > > >> > > > > where
> > > > >> > > > > > to
> > > > >> > > > > > > >> find
> > > > >> > > > > > > >> > > > them,
> > > > >> > > > > > > >> > > > > > > and we do that by setting (or
adding to
> > the
> > > > >> > > > > > > LD_LIBRARY_PATH).
> > > > >> > > > > > > >> > Look
> > > > >> > > > > > > >> > > > in
> > > > >> > > > > > > >> > > > > > your
> > > > >> > > > > > > >> > > > > > > ~/.bashrc file.  If
LD_LIBRARY_PATH is
> > > > already
> > > > >> > > defined
> > > > >> > > > > in
> > > > >> > > > > > > >> there,
> > > > >> > > > > > > >> > > add
> > > > >> > > > > > > >> > > > > the
> > > > >> > > > > > > >> > > > > > > path to the libgsl.so.19 to the
end of
> > it.
> > > > If
> > > > >> > not,
> > > > >> > > > add
> > > > >> > > > > an
> > > > >> > > > > > > >> > > > > > > LD_LIBRARY_PATH entry in your
~/.bashrc
> > > file.
> > > > >> So,
> > > > >> > > for
> > > > >> > > > > > > >> example,
> > > > >> > > > > > > >> > if
> > > > >> > > > > > > >> > > > the
> > > > >> > > > > > > >> > > > > > path
> > > > >> > > > > > > >> > > > > > > to your libgsl.so.19 file is
> > > > >> > > > > > /D2/xinxia/METplus/MET/externa
> > > > >> > > > > > > >> > > > > > l_libs/GSL/gsl-1.16/lib
> > > > >> > > > > > > >> > > > > > > you would add teh following to
your
> > > ~/.bashrc
> > > > >> > file:
> > > > >> > > > > > > >> > > > > > >
> > > > >> > > > > > > >> > > > > > >   export
LD_LIBRARY_PATH=/D2/xinxia/
> > > > >> > > > > > > >> > METplus/MET/external_libs/GSL/
> > > > >> > > > > > > >> > > > > > > gsl-1.16/lib
> > > > >> > > > > > > >> > > > > > >
> > > > >> > > > > > > >> > > > > > > Then save the change and source
that
> > file:
> > > > >> > > > > > > >> > > > > > >
> > > > >> > > > > > > >> > > > > > >   source ~/.bashrc
> > > > >> > > > > > > >> > > > > > >
> > > > >> > > > > > > >> > > > > > > Then, please try rerunning the
command
> > > > manually
> > > > >> > and
> > > > >> > > > let
> > > > >> > > > > me
> > > > >> > > > > > > >> know
> > > > >> > > > > > > >> > if
> > > > >> > > > > > > >> > > it
> > > > >> > > > > > > >> > > > > > > works.
> > > > >> > > > > > > >> > > > > > >
> > > > >> > > > > > > >> > > > > > > I believe that this was the
cause of
> the
> > > > >> initial
> > > > >> > > error
> > > > >> > > > > you
> > > > >> > > > > > > >> > received
> > > > >> > > > > > > >> > > > > from
> > > > >> > > > > > > >> > > > > > > MET+:
> > > > >> > > > > > > >> > > > > > >
> > > > >> > > > > > > >> > > > > > > ERROR|
/D2/xinxia/METplus/METplus/
> > > > >> > > > > > > ush/run_tc_stat.py:tc_stat
> > > > >> > > > > > > >> > from
> > > > >> > > > > > > >> > > > > > calling
> > > > >> > > > > > > >> > > > > > > MET TC-STAT with
> > > command:/D2/xinxia/METplus/
> > > > >> > > > > > > >> > > MET/met-5.2/bin/tc_stat
> > > > >> > > > > > > >> > > > > -job
> > > > >> > > > > > > >> > > > > > > filter -lookin
> > > /D2/xinxia/METplus/MET/input/t
> > > > >> > > > > > c_pairs/201412
> > > > >> > > > > > > >> > > > -init_inc
> > > > >> > > > > > > >> > > > > > > 20141201_00 -match_points true
> -dump_row
> > > > >> > > > > > > >> > > > /D2/xinxia/METplus/MET/out/ext
> > > > >> > > > > > > >> > > > > > > ract_tiles/20141201_00/filter_
> > > > 20141201_00.tcst
> > > > >> > > > -basin
> > > > >> > > > > ML
> > > > >> > > > > > > >> > > > > -out_init_mask
> > > > >> > > > > > > >> > > > > > > /D2/xinxia/METplus/MET/met-5.
> > > > >> > > > > 2/share/met/poly/CONUS.poly
> > > > >> > > > > > > >> > > > > > >
> > > > >> > > > > > > >> > > > > > >
> > > > >> > > > > > > >> > > > > > > Thanks,
> > > > >> > > > > > > >> > > > > > > Julie
> > > > >> > > > > > > >> > > > > > >
> > > > >> > > > > > > >> > > > > > > On Thu, Feb 23, 2017 at 10:14
AM,
> Xinxia
> > > Song
> > > > >> via
> > > > >> > > RT <
> > > > >> > > > > > > >> > > > > met_help at ucar.edu>
> > > > >> > > > > > > >> > > > > > > wrote:
> > > > >> > > > > > > >> > > > > > >
> > > > >> > > > > > > >> > > > > > >>
> > > > >> > > > > > > >> > > > > > >> <URL:
https://rt.rap.ucar.edu/rt/Tic
> > > > >> > > > > > > >> ket/Display.html?id=79605 >
> > > > >> > > > > > > >> > > > > > >>
> > > > >> > > > > > > >> > > > > > >> Hi Julie,
> > > > >> > > > > > > >> > > > > > >>
> > > > >> > > > > > > >> > > > > > >>
> > > > >> > > > > > > >> > > > > > >> [xinxia at chaos ush]$
> > > > >> > /D2/xinxia/METplus/MET/met-5.2
> > > > >> > > > > > > >> /bin/tc_stat
> > > > >> > > > > > > >> > > -job
> > > > >> > > > > > > >> > > > > > >> filter -lookin
> > > /D2/xinxia/METplus/MET/input/
> > > > >> > > > > > > tc_pairs/201412
> > > > >> > > > > > > >> > > > -init_inc
> > > > >> > > > > > > >> > > > > > >> 20141201_00 -match_points true
> -dump_row
> > > > >> > > > > > > >> > > > > /D2/xinxia/METplus/MET/out/ext
> > > > >> > > > > > > >> > > > > > ract_tiles/20141201_00/
> > > > >> > > > > > > >> > > > > > >> filter_20141201_00.tcst  -basin
ML
> > > > >> -out_init_mask
> > > > >> > > > > > > >> > > > > > >> /D2/xinxia/METplus/MET/met-5.
> > > > >> > > > > 2/share/met/poly/CONUS.poly
> > > > >> > > > > > > >> > > > > > >>
> > > > >> > > > > > > >> > > > > > >> /D2/xinxia/METplus/MET/met-5.
> > > 2/bin/tc_stat:
> > > > >> > error
> > > > >> > > > > while
> > > > >> > > > > > > >> loading
> > > > >> > > > > > > >> > > > > shared
> > > > >> > > > > > > >> > > > > > >> libraries: libgsl.so.19: cannot
open
> > > shared
> > > > >> > object
> > > > >> > > > > file:
> > > > >> > > > > > No
> > > > >> > > > > > > >> such
> > > > >> > > > > > > >> > > > file
> > > > >> > > > > > > >> > > > > or
> > > > >> > > > > > > >> > > > > > >> directory
> > > > >> > > > > > > >> > > > > > >>
> > > > >> > > > > > > >> > > > > > >>
> > > > >> > > > > > > >> > > > > > >> And I uploaded the
configuration file
> > > > >> > > > > (constants_pdef.py)
> > > > >> > > > > > > >> under
> > > > >> > > > > > > >> > > > > > >> xinxia_data directory.
> > > > >> > > > > > > >> > > > > > >>
> > > > >> > > > > > > >> > > > > > >>
> > > > >> > > > > > > >> > > > > > >> Thanks,
> > > > >> > > > > > > >> > > > > > >>
> > > > >> > > > > > > >> > > > > > >>
> > > > >> > > > > > > >> > > > > > >> Xinxia
> > > > >> > > > > > > >> > > > > > >>
> > > > >> > > > > > > >> > > > > > >>
________________________________
> > > > >> > > > > > > >> > > > > > >> From: Julie Prestopnik via RT <
> > > > >> met_help at ucar.edu
> > > > >> > >
> > > > >> > > > > > > >> > > > > > >> Sent: Friday, February 24, 2017
> 6:15:57
> > AM
> > > > >> > > > > > > >> > > > > > >> To: Xinxia_Song at outlook.com
> > > > >> > > > > > > >> > > > > > >> Subject: Re: [rt.rap.ucar.edu
#79605]
> > > > >> > ImportError:
> > > > >> > > > No
> > > > >> > > > > > > module
> > > > >> > > > > > > >> > > named
> > > > >> > > > > > > >> > > > > > >> constants_pdef
> > > > >> > > > > > > >> > > > > > >>
> > > > >> > > > > > > >> > > > > > >> Hi Xinxia.
> > > > >> > > > > > > >> > > > > > >>
> > > > >> > > > > > > >> > > > > > >> I can see that your command,
which
> > should
> > > > have
> > > > >> > been
> > > > >> > > > all
> > > > >> > > > > > on
> > > > >> > > > > > > >> one
> > > > >> > > > > > > >> > > line,
> > > > >> > > > > > > >> > > > > was
> > > > >> > > > > > > >> > > > > > >> broken up into several lines.
Please
> > try
> > > > >> running
> > > > >> > > the
> > > > >> > > > > > > command
> > > > >> > > > > > > >> > > again,
> > > > >> > > > > > > >> > > > > > >> making
> > > > >> > > > > > > >> > > > > > >> sure that the entire command is
on one
> > > line:
> > > > >> > > > > > > >> > > > > > >>
> > > > >> > > > > > > >> > > > > > >> /D2/xinxia/METplus/MET/met-5.
> > > 2/bin/tc_stat
> > > > >> -job
> > > > >> > > > filter
> > > > >> > > > > > > >> -lookin
> > > > >> > > > > > > >> > > > > > >> /D2/xinxia/METplus/MET/input/
> > > > tc_pairs/201412
> > > > >> > > > -init_inc
> > > > >> > > > > > > >> > > 20141201_00
> > > > >> > > > > > > >> > > > > > >> -match_points true -dump_row
> > > > >> > > > > > > >> > > > > > >> /D2/xinxia/METplus/MET/out/
> > > > >> > > > extract_tiles/20141201_00/
> > > > >> > > > > > > >> > > > > > >> filter_20141201_00.tcst  -basin
ML
> > > > >> -out_init_mask
> > > > >> > > > > > > >> > > > > > >> /D2/xinxia/METplus/MET/met-5.
> > > > >> > > > > 2/share/met/poly/CONUS.poly
> > > > >> > > > > > > >> > > > > > >>
> > > > >> > > > > > > >> > > > > > >> Then, please send the output
from that
> > > > >> command.
> > > > >> > > > > > > >> > > > > > >>
> > > > >> > > > > > > >> > > > > > >> Regarding, your error:
> > > > >> > > > > > > >> > > > > > >>
> > > > >> > > > > > > >> > > > > > >> sh: run_tc_pairs.py: command
not found
> > > > >> > > > > > > >> > > > > > >>
> > > > >> > > > > > > >> > > > > > >> It's strange that would only
have
> > occurred
> > > > >> after
> > > > >> > > > having
> > > > >> > > > > > > >> changed
> > > > >> > > > > > > >> > > the
> > > > >> > > > > > > >> > > > > > >> LOG_LEVEL.  Could you please
send us
> > your
> > > > >> > > > configuration
> > > > >> > > > > > > file?
> > > > >> > > > > > > >> > > > > > >>
> > > > >> > > > > > > >> > > > > > >> Thanks!
> > > > >> > > > > > > >> > > > > > >>
> > > > >> > > > > > > >> > > > > > >> Julie
> > > > >> > > > > > > >> > > > > > >>
> > > > >> > > > > > > >> > > > > > >> On Wed, Feb 22, 2017 at 2:54
PM,
> Xinxia
> > > Song
> > > > >> via
> > > > >> > > RT <
> > > > >> > > > > > > >> > > > > met_help at ucar.edu>
> > > > >> > > > > > > >> > > > > > >> wrote:
> > > > >> > > > > > > >> > > > > > >>
> > > > >> > > > > > > >> > > > > > >> >
> > > > >> > > > > > > >> > > > > > >> > <URL:
> https://rt.rap.ucar.edu/rt/Tic
> > > > >> > > > > > > >> ket/Display.html?id=79605
> > > > >> > > > > > > >> > >
> > > > >> > > > > > > >> > > > > > >> >
> > > > >> > > > > > > >> > > > > > >> > Hi Julie,
> > > > >> > > > > > > >> > > > > > >> >
> > > > >> > > > > > > >> > > > > > >> >
> > > > >> > > > > > > >> > > > > > >> > [xinxia at chaos ush]$
> > > > >> > > /D2/xinxia/METplus/MET/met-5.
> > > > >> > > > > > > >> > 2/bin/tc_stat
> > > > >> > > > > > > >> > > > -job
> > > > >> > > > > > > >> > > > > > >> > filter -lookin
> > > > >> > > > > > > >> > > > > > >> >
> > > > >> > > > > > > >> > > > > > >> > /D2/xinxia/METplus/MET/met-5.
> > > > 2/bin/tc_stat:
> > > > >> > > error
> > > > >> > > > > > while
> > > > >> > > > > > > >> > loading
> > > > >> > > > > > > >> > > > > > shared
> > > > >> > > > > > > >> > > > > > >> > libraries: libgsl.so.19:
cannot open
> > > > shared
> > > > >> > > object
> > > > >> > > > > > file:
> > > > >> > > > > > > No
> > > > >> > > > > > > >> > such
> > > > >> > > > > > > >> > > > > file
> > > > >> > > > > > > >> > > > > > or
> > > > >> > > > > > > >> > > > > > >> > directory
> > > > >> > > > > > > >> > > > > > >> >
> > > > >> > > > > > > >> > > > > > >> >
> > > > >> > > > > > > >> > > > > > >> > [xinxia at chaos ush]$
> > > > >> > > /D2/xinxia/METplus/MET/input/
> > > > >> > > > > > > >> > > tc_pairs/201412
> > > > >> > > > > > > >> > > > > > >> > -init_inc 20141201_00
-match_points
> > true
> > > > >> > > -dump_row
> > > > >> > > > > > > >> > > > > > >> >
> > > > >> > > > > > > >> > > > > > >> > -bash:
/D2/xinxia/METplus/MET/input/
> > > > >> > > > tc_pairs/201412:
> > > > >> > > > > > is
> > > > >> > > > > > > a
> > > > >> > > > > > > >> > > > directory
> > > > >> > > > > > > >> > > > > > >> >
> > > > >> > > > > > > >> > > > > > >> >
> > > > >> > > > > > > >> > > > > > >> > [xinxia at chaos ush]$
> > > > >> > > /D2/xinxia/METplus/MET/out/ext
> > > > >> > > > > > > >> > > > > > >> ract_tiles/20141201_00/
> > > > >> > > > > > > >> > > > > > >> > filter_20141201_00.tcst
-basin ML
> > > > >> > -out_init_mask
> > > > >> > > > > > > >> > > > > > >> > /D2/xinxia/METplus/MET/met-
5.2
> > > > >> > > > > > /share/met/poly/CONUS.poly
> > > > >> > > > > > > >> > > > > > >> >
> > > > >> > > > > > > >> > > > > > >> > -bash:
> /D2/xinxia/METplus/MET/out/ext
> > > > >> > > > > > > >> ract_tiles/20141201_00/:
> > > > >> > > > > > > >> > > No
> > > > >> > > > > > > >> > > > > such
> > > > >> > > > > > > >> > > > > > >> > file or directory
> > > > >> > > > > > > >> > > > > > >> >
> > > > >> > > > > > > >> > > > > > >> >
> > > > >> > > > > > > >> > > > > > >> > After I change the LOG_LEVEL,
I ran
> > the
> > > > >> > > > > > > >> master_met_plus.py, it
> > > > >> > > > > > > >> > > > says:
> > > > >> > > > > > > >> > > > > > >> >
> > > > >> > > > > > > >> > > > > > >> > [xinxia at chaos ush]$ python
> > > > >> master_met_plus.py
> > > > >> > > > > > > >> > > > > > >> >
> > > > >> > > > > > > >> > > > > > >> > sh: run_tc_pairs.py: command
not
> found
> > > > >> > > > > > > >> > > > > > >> >
> > > > >> > > > > > > >> > > > > > >> >
> > > > >> > > > > > > >> > > > > > >> >
> > > > >> > > > > > > >> > > > > > >> > Thanks,
> > > > >> > > > > > > >> > > > > > >> >
> > > > >> > > > > > > >> > > > > > >> >
> > > > >> > > > > > > >> > > > > > >> > Xinxia
> > > > >> > > > > > > >> > > > > > >> >
> > > > >> > > > > > > >> > > > > > >> >
> > > > >> > > > > > > >> > > > > > >> >
________________________________
> > > > >> > > > > > > >> > > > > > >> > From: Julie Prestopnik via RT
<
> > > > >> > met_help at ucar.edu
> > > > >> > > >
> > > > >> > > > > > > >> > > > > > >> > Sent: Thursday, February 23,
2017
> > > 10:04:55
> > > > >> AM
> > > > >> > > > > > > >> > > > > > >> > To: Xinxia_Song at outlook.com
> > > > >> > > > > > > >> > > > > > >> > Subject: Re: [rt.rap.ucar.edu
> #79605]
> > > > >> > > ImportError:
> > > > >> > > > > No
> > > > >> > > > > > > >> module
> > > > >> > > > > > > >> > > > named
> > > > >> > > > > > > >> > > > > > >> > constants_pdef
> > > > >> > > > > > > >> > > > > > >> >
> > > > >> > > > > > > >> > > > > > >> > Thank you.  Unfortunately,
the level
> > of
> > > > >> detail
> > > > >> > in
> > > > >> > > > the
> > > > >> > > > > > log
> > > > >> > > > > > > >> file
> > > > >> > > > > > > >> > > > > wasn't
> > > > >> > > > > > > >> > > > > > >> what
> > > > >> > > > > > > >> > > > > > >> > I hoped for.  I'd like to
have you
> try
> > > two
> > > > >> > > things.
> > > > >> > > > > > > >> > > > > > >> >
> > > > >> > > > > > > >> > > > > > >> > First, could you please send
me your
> > > > output
> > > > >> of
> > > > >> > > your
> > > > >> > > > > > > manual
> > > > >> > > > > > > >> run
> > > > >> > > > > > > >> > > of
> > > > >> > > > > > > >> > > > > the
> > > > >> > > > > > > >> > > > > > >> > following?
> > > > >> > > > > > > >> > > > > > >> >
> > > > >> > > > > > > >> > > > > > >> > "/D2/xinxia/METplus/MET/met-
5.
> > > > 2/bin/tc_stat
> > > > >> > -job
> > > > >> > > > > > filter
> > > > >> > > > > > > >> > -lookin
> > > > >> > > > > > > >> > > > > > >> >
/D2/xinxia/METplus/MET/input/t
> > > > >> c_pairs/201412
> > > > >> > > > > -init_inc
> > > > >> > > > > > > >> > > > 20141201_00
> > > > >> > > > > > > >> > > > > > >> > -match_points true -dump_row
> > > > >> > > > > > /D2/xinxia/METplus/MET/out/
> > > > >> > > > > > > >> > > > > > >> > extract_tiles/20141201_00/
> > > > >> > > filter_20141201_00.tcst
> > > > >> > > > > > > -basin
> > > > >> > > > > > > >> ML
> > > > >> > > > > > > >> > > > > > >> > -out_init_mask
> > > > >> > > > > > > >> > > > > > >> > /D2/xinxia/METplus/MET/met-5.
> > > > >> > > > > > > 2/share/met/poly/CONUS.poly"
> > > > >> > > > > > > >> > > > > > >> >
> > > > >> > > > > > > >> > > > > > >> > Second, could you please
change your
> > log
> > > > >> level
> > > > >> > in
> > > > >> > > > > your
> > > > >> > > > > > > >> > > > configuration
> > > > >> > > > > > > >> > > > > > >> file
> > > > >> > > > > > > >> > > > > > >> > from
> > > > >> > > > > > > >> > > > > > >> >
> > > > >> > > > > > > >> > > > > > >> > LOG_LEVEL = "INFO"
> > > > >> > > > > > > >> > > > > > >> >
> > > > >> > > > > > > >> > > > > > >> > to
> > > > >> > > > > > > >> > > > > > >> >
> > > > >> > > > > > > >> > > > > > >> > LOG_LEVEL = "DEBUG"
> > > > >> > > > > > > >> > > > > > >> >
> > > > >> > > > > > > >> > > > > > >> > then rerun and upload your
log file
> to
> > > our
> > > > >> ftp
> > > > >> > > > server
> > > > >> > > > > > > >> again?
> > > > >> > > > > > > >> > > > > > >> >
> > > > >> > > > > > > >> > > > > > >> > Thank you!
> > > > >> > > > > > > >> > > > > > >> >
> > > > >> > > > > > > >> > > > > > >> > Julie
> > > > >> > > > > > > >> > > > > > >> >
> > > > >> > > > > > > >> > > > > > >> >
> > > > >> > > > > > > >> > > > > > >> > On Wed, Feb 22, 2017 at 12:39
PM,
> > Xinxia
> > > > >> Song
> > > > >> > via
> > > > >> > > > RT
> > > > >> > > > > <
> > > > >> > > > > > > >> > > > > > met_help at ucar.edu
> > > > >> > > > > > > >> > > > > > >> >
> > > > >> > > > > > > >> > > > > > >> > wrote:
> > > > >> > > > > > > >> > > > > > >> >
> > > > >> > > > > > > >> > > > > > >> > >
> > > > >> > > > > > > >> > > > > > >> > > <URL:
https://rt.rap.ucar.edu/rt/
> > > > >> > > > > > > >> > Ticket/Display.html?id=79605
> > > > >> > > > > > > >> > > >
> > > > >> > > > > > > >> > > > > > >> > >
> > > > >> > > > > > > >> > > > > > >> > > Hi Julie,
> > > > >> > > > > > > >> > > > > > >> > >
> > > > >> > > > > > > >> > > > > > >> > >
> > > > >> > > > > > > >> > > > > > >> > > I uploaded the log file
under
> > > > xinxia_data
> > > > >> > > > > directory.
> > > > >> > > > > > > >> > > > > > >> > >
> > > > >> > > > > > > >> > > > > > >> > >
> > > > >> > > > > > > >> > > > > > >> > > Thanks,
> > > > >> > > > > > > >> > > > > > >> > >
> > > > >> > > > > > > >> > > > > > >> > >
> > > > >> > > > > > > >> > > > > > >> > > Xinxia
> > > > >> > > > > > > >> > > > > > >> > >
> > > > >> > > > > > > >> > > > > > >> > >
> > > > >> > > > > > > >> > > > > > >> > >
________________________________
> > > > >> > > > > > > >> > > > > > >> > > From: Julie Prestopnik via
RT <
> > > > >> > > met_help at ucar.edu
> > > > >> > > > >
> > > > >> > > > > > > >> > > > > > >> > > Sent: Thursday, February
23, 2017
> > > > 9:11:32
> > > > >> AM
> > > > >> > > > > > > >> > > > > > >> > > To: Xinxia_Song at outlook.com
> > > > >> > > > > > > >> > > > > > >> > > Subject: Re:
[rt.rap.ucar.edu
> > #79605]
> > > > >> > > > ImportError:
> > > > >> > > > > > No
> > > > >> > > > > > > >> > module
> > > > >> > > > > > > >> > > > > named
> > > > >> > > > > > > >> > > > > > >> > > constants_pdef
> > > > >> > > > > > > >> > > > > > >> > >
> > > > >> > > > > > > >> > > > > > >> > > Hi Xinxia.
> > > > >> > > > > > > >> > > > > > >> > >
> > > > >> > > > > > > >> > > > > > >> > > I think it would be helpful
if I
> > could
> > > > >> take a
> > > > >> > > > look
> > > > >> > > > > at
> > > > >> > > > > > > the
> > > > >> > > > > > > >> > log
> > > > >> > > > > > > >> > > > > file.
> > > > >> > > > > > > >> > > > > > >> > Could
> > > > >> > > > > > > >> > > > > > >> > > you please upload your file
to our
> > > > >> anonymous
> > > > >> > > ftp
> > > > >> > > > > site
> > > > >> > > > > > > as
> > > > >> > > > > > > >> > > follows
> > > > >> > > > > > > >> > > > > so
> > > > >> > > > > > > >> > > > > > >> that
> > > > >> > > > > > > >> > > > > > >> > I
> > > > >> > > > > > > >> > > > > > >> > > can take a look?
> > > > >> > > > > > > >> > > > > > >> > >
> > > > >> > > > > > > >> > > > > > >> > >
http://www.dtcenter.org/met/
> > > > >> > > > > > > >> > users/support/met_help.php#ftp
> > > > >> > > > > > > >> > > > > > >> > >
> > > > >> > > > > > > >> > > > > > >> > > Also, could you please try
running
> > the
> > > > >> > > following
> > > > >> > > > > > > manually
> > > > >> > > > > > > >> > and
> > > > >> > > > > > > >> > > > send
> > > > >> > > > > > > >> > > > > > the
> > > > >> > > > > > > >> > > > > > >> > > output to me?
> > > > >> > > > > > > >> > > > > > >> > >
> > > > >> > > > > > > >> > > > > > >> > >
"/D2/xinxia/METplus/MET/met-5.
> > > > >> 2/bin/tc_stat
> > > > >> > > -job
> > > > >> > > > > > > filter
> > > > >> > > > > > > >> > > -lookin
> > > > >> > > > > > > >> > > > > > >> > >
/D2/xinxia/METplus/MET/input/t
> > > > >> c_pairs/201412
> > > > >> > > > > > -init_inc
> > > > >> > > > > > > >> > > > > 20141201_00
> > > > >> > > > > > > >> > > > > > >> > > -match_points true
-dump_row
> > > > >> > > > > > > /D2/xinxia/METplus/MET/out/
> > > > >> > > > > > > >> > > > > > >> > > extract_tiles/20141201_00/
> > > > >> > > > filter_20141201_00.tcst
> > > > >> > > > > > > >> -basin
> > > > >> > > > > > > >> > ML
> > > > >> > > > > > > >> > > > > > >> > > -out_init_mask
> > > > >> > > > > > > >> > > > > > >> > > /D2/xinxia/METplus/MET/met-
5.2
> > > > >> > > > > > > >> /share/met/poly/CONUS.poly"
> > > > >> > > > > > > >> > > > > > >> > >
> > > > >> > > > > > > >> > > > > > >> > > Thank you!
> > > > >> > > > > > > >> > > > > > >> > >
> > > > >> > > > > > > >> > > > > > >> > > Julie
> > > > >> > > > > > > >> > > > > > >> > >
> > > > >> > > > > > > >> > > > > > >> > >
> > > > >> > > > > > > >> > > > > > >> > >
> > > > >> > > > > > > >> > > > > > >> > > On Wed, Feb 22, 2017 at
12:06 PM,
> > > Xinxia
> > > > >> Song
> > > > >> > > via
> > > > >> > > > > RT
> > > > >> > > > > > <
> > > > >> > > > > > > >> > > > > > >> met_help at ucar.edu>
> > > > >> > > > > > > >> > > > > > >> > > wrote:
> > > > >> > > > > > > >> > > > > > >> > >
> > > > >> > > > > > > >> > > > > > >> > > >
> > > > >> > > > > > > >> > > > > > >> > > > <URL:
> https://rt.rap.ucar.edu/rt/
> > > > >> > > > > > > >> > > Ticket/Display.html?id=79605
> > > > >> > > > > > > >> > > > >
> > > > >> > > > > > > >> > > > > > >> > > >
> > > > >> > > > > > > >> > > > > > >> > > > Hi Julie,
> > > > >> > > > > > > >> > > > > > >> > > >
> > > > >> > > > > > > >> > > > > > >> > > >
> > > > >> > > > > > > >> > > > > > >> > > > Now I can run the
program, but
> > when
> > > I
> > > > >> look
> > > > >> > at
> > > > >> > > > the
> > > > >> > > > > > log
> > > > >> > > > > > > >> file
> > > > >> > > > > > > >> > > in
> > > > >> > > > > > > >> > > > > the
> > > > >> > > > > > > >> > > > > > >> > output,
> > > > >> > > > > > > >> > > > > > >> > > > it shows error below:
> > > > >> > > > > > > >> > > > > > >> > > >
> > > > >> > > > > > > >> > > > > > >> > > >
> > > > >> > > > > > > >> > > > > > >> > > > ERROR|
> /D2/xinxia/METplus/METplus/
> > > > >> > > > > > > >> > > ush/run_tc_stat.py:tc_stat
> > > > >> > > > > > > >> > > > > from
> > > > >> > > > > > > >> > > > > > >> > > calling
> > > > >> > > > > > > >> > > > > > >> > > > MET TC-STAT with
> > > > >> > > command:/D2/xinxia/METplus/MET
> > > > >> > > > > > > >> > > > > > /met-5.2/bin/tc_stat
> > > > >> > > > > > > >> > > > > > >> > -job
> > > > >> > > > > > > >> > > > > > >> > > > filter -lookin
> > > > >> > /D2/xinxia/METplus/MET/input/
> > > > >> > > > > > > >> > tc_pairs/201412
> > > > >> > > > > > > >> > > > > > >> -init_inc
> > > > >> > > > > > > >> > > > > > >> > > > 20141201_00 -match_points
true
> > > > -dump_row
> > > > >> > > > > > > >> > > > > > /D2/xinxia/METplus/MET/out/
> > > > >> > > > > > > >> > > > > > >> > > >
extract_tiles/20141201_00/
> > > > >> > > > > filter_20141201_00.tcst
> > > > >> > > > > > > >> -basin
> > > > >> > > > > > > >> > > ML
> > > > >> > > > > > > >> > > > > > >> > > > -out_init_mask
> > > > >> > /D2/xinxia/METplus/MET/met-5.
> > > > >> > > > > > > >> > > > > > >> > 2/share/met/poly/CONUS.poly
> > > > >> > > > > > > >> > > > > > >> > > >
> > > > >> > > > > > > >> > > > > > >> > > >
> > > > >> > > > > > > >> > > > > > >> > > > How should I fix it?
> > > > >> > > > > > > >> > > > > > >> > > >
> > > > >> > > > > > > >> > > > > > >> > > >
> > > > >> > > > > > > >> > > > > > >> > > > Thanks,
> > > > >> > > > > > > >> > > > > > >> > > >
> > > > >> > > > > > > >> > > > > > >> > > >
> > > > >> > > > > > > >> > > > > > >> > > > Xinxia
> > > > >> > > > > > > >> > > > > > >> > > >
> > > > >> > > > > > > >> > > > > > >> > > >
______________________________
> __
> > > > >> > > > > > > >> > > > > > >> > > > From: Julie Prestopnik
via RT <
> > > > >> > > > met_help at ucar.edu
> > > > >> > > > > >
> > > > >> > > > > > > >> > > > > > >> > > > Sent: Thursday, February
23,
> 2017
> > > > >> 7:30:06
> > > > >> > AM
> > > > >> > > > > > > >> > > > > > >> > > > To:
Xinxia_Song at outlook.com
> > > > >> > > > > > > >> > > > > > >> > > > Subject: Re:
[rt.rap.ucar.edu
> > > #79605]
> > > > >> > > > > ImportError:
> > > > >> > > > > > > No
> > > > >> > > > > > > >> > > module
> > > > >> > > > > > > >> > > > > > named
> > > > >> > > > > > > >> > > > > > >> > > > constants_pdef
> > > > >> > > > > > > >> > > > > > >> > > >
> > > > >> > > > > > > >> > > > > > >> > > > Hi Xinxia.
> > > > >> > > > > > > >> > > > > > >> > > >
> > > > >> > > > > > > >> > > > > > >> > > > I believe that python
doesn't
> know
> > > how
> > > > >> to
> > > > >> > > find
> > > > >> > > > > the
> > > > >> > > > > > > >> module
> > > > >> > > > > > > >> > > > > because
> > > > >> > > > > > > >> > > > > > >> the
> > > > >> > > > > > > >> > > > > > >> > ush
> > > > >> > > > > > > >> > > > > > >> > > > directory is not in your
> > PYTHONPATH.
> > > > >> Both
> > > > >> > > the
> > > > >> > > > > parm
> > > > >> > > > > > > and
> > > > >> > > > > > > >> > ush
> > > > >> > > > > > > >> > > > > > >> directory
> > > > >> > > > > > > >> > > > > > >> > > need
> > > > >> > > > > > > >> > > > > > >> > > > to be specified in your
> > PYTHONPATH.
> > > > >> Please
> > > > >> > > add
> > > > >> > > > > the
> > > > >> > > > > > > ush
> > > > >> > > > > > > >> > > > > directory
> > > > >> > > > > > > >> > > > > > to
> > > > >> > > > > > > >> > > > > > >> > your
> > > > >> > > > > > > >> > > > > > >> > > > PYTHONPATH, source
~/.bashrc,
> and
> > > let
> > > > us
> > > > >> > know
> > > > >> > > > how
> > > > >> > > > > > it
> > > > >> > > > > > > >> goes.
> > > > >> > > > > > > >> > > > > > >> > > >
> > > > >> > > > > > > >> > > > > > >> > > > Thanks,
> > > > >> > > > > > > >> > > > > > >> > > > Julie
> > > > >> > > > > > > >> > > > > > >> > > >
> > > > >> > > > > > > >> > > > > > >> > > > On Wed, Feb 22, 2017 at
10:24
> AM,
> > > > Xinxia
> > > > >> > Song
> > > > >> > > > via
> > > > >> > > > > > RT
> > > > >> > > > > > > <
> > > > >> > > > > > > >> > > > > > >> > met_help at ucar.edu>
> > > > >> > > > > > > >> > > > > > >> > > > wrote:
> > > > >> > > > > > > >> > > > > > >> > > >
> > > > >> > > > > > > >> > > > > > >> > > > >
> > > > >> > > > > > > >> > > > > > >> > > > > <URL:
> > https://rt.rap.ucar.edu/rt/
> > > > >> > > > > > > >> > > > Ticket/Display.html?id=79605
> > > > >> > > > > > > >> > > > > >
> > > > >> > > > > > > >> > > > > > >> > > > >
> > > > >> > > > > > > >> > > > > > >> > > > > Hi Julie,
> > > > >> > > > > > > >> > > > > > >> > > > >
> > > > >> > > > > > > >> > > > > > >> > > > >
> > > > >> > > > > > > >> > > > > > >> > > > > Since I don't have
setenv, I
> > added
> > > > >> these
> > > > >> > 3
> > > > >> > > > > > sentence
> > > > >> > > > > > > >> into
> > > > >> > > > > > > >> > > my
> > > > >> > > > > > > >> > > > > > >> .bashrc
> > > > >> > > > > > > >> > > > > > >> > > file:
> > > > >> > > > > > > >> > > > > > >> > > > >
> > > > >> > > > > > > >> > > > > > >> > > > >
> > > > >> > > > > > > >> > > > > > >> > > > > export
PYTHONPATH="/D2/xinxia/
> > > > >> > > > > > > METplus/METplus/parm"
> > > > >> > > > > > > >> > > > > > >> > > > >
> > > > >> > > > > > > >> > > > > > >> > > > >
> > > > >> > > > > > > >> > > > > > >> > > > > export
> > USHROOT=/D2/xinxia/METplus/
> > > > >> > > > METplus/ush
> > > > >> > > > > > > >> > > > > > >> > > > >
> > > > >> > > > > > > >> > > > > > >> > > > > export
PATH=$USHROOT:$PATH
> > > > >> > > > > > > >> > > > > > >> > > > >
> > > > >> > > > > > > >> > > > > > >> > > > >
> > > > >> > > > > > > >> > > > > > >> > > > > I sourced the
~/.bashrc, and
> > > checked
> > > > >> that
> > > > >> > > the
> > > > >> > > > > > > >> variables
> > > > >> > > > > > > >> > > are
> > > > >> > > > > > > >> > > > > set,
> > > > >> > > > > > > >> > > > > > >> but
> > > > >> > > > > > > >> > > > > > >> > > the
> > > > >> > > > > > > >> > > > > > >> > > > > program still can't
find the
> > > module.
> > > > >> > > > > > > >> > > > > > >> > > > >
> > > > >> > > > > > > >> > > > > > >> > > > >
> > > > >> > > > > > > >> > > > > > >> > > > > Thanks,
> > > > >> > > > > > > >> > > > > > >> > > > >
> > > > >> > > > > > > >> > > > > > >> > > > > Xinxia
> > > > >> > > > > > > >> > > > > > >> > > > >
> > > > >> > > > > > > >> > > > > > >> > > > >
______________________________
> > __
> > > > >> > > > > > > >> > > > > > >> > > > > From: Julie Prestopnik
via RT
> <
> > > > >> > > > > met_help at ucar.edu
> > > > >> > > > > > >
> > > > >> > > > > > > >> > > > > > >> > > > > Sent: Thursday,
February 23,
> > 2017
> > > > >> 6:24:21
> > > > >> > > AM
> > > > >> > > > > > > >> > > > > > >> > > > > To:
Xinxia_Song at outlook.com
> > > > >> > > > > > > >> > > > > > >> > > > > Subject: Re:
[rt.rap.ucar.edu
> > > > #79605]
> > > > >> > > > > > ImportError:
> > > > >> > > > > > > >> No
> > > > >> > > > > > > >> > > > module
> > > > >> > > > > > > >> > > > > > >> named
> > > > >> > > > > > > >> > > > > > >> > > > > constants_pdef
> > > > >> > > > > > > >> > > > > > >> > > > >
> > > > >> > > > > > > >> > > > > > >> > > > > Hi Xinxia.
> > > > >> > > > > > > >> > > > > > >> > > > >
> > > > >> > > > > > > >> > > > > > >> > > > > Could you please check
to make
> > > sure
> > > > >> that
> > > > >> > > the
> > > > >> > > > > ush
> > > > >> > > > > > > >> > directory
> > > > >> > > > > > > >> > > > > with
> > > > >> > > > > > > >> > > > > > >> > > > > constants_pdef.py is in
your
> > > > >> PYTHONPATH
> > > > >> > in
> > > > >> > > > your
> > > > >> > > > > > > >> .cshrc
> > > > >> > > > > > > >> > > file
> > > > >> > > > > > > >> > > > > (or
> > > > >> > > > > > > >> > > > > > >> > .bashrc
> > > > >> > > > > > > >> > > > > > >> > > > or
> > > > >> > > > > > > >> > > > > > >> > > > > similar file)?  The
parm
> > directory
> > > > >> should
> > > > >> > > > also
> > > > >> > > > > be
> > > > >> > > > > > > in
> > > > >> > > > > > > >> > your
> > > > >> > > > > > > >> > > > > > >> PYTHONPATH.
> > > > >> > > > > > > >> > > > > > >> > > > >
> > > > >> > > > > > > >> > > > > > >> > > > > For example,
> > > > >> > > > > > > >> > > > > > >> > > > >
> > > > >> > > > > > > >> > > > > > >> > > > > setenv PYTHONPATH
> > > > >> > > > /d1/jpresto/sbu/METplus/ush:/
> > > > >> > > > > > > >> > > > > > >> > > >
d1/jpresto/sbu/METplus/parm
> > > > >> > > > > > > >> > > > > > >> > > > >
> > > > >> > > > > > > >> > > > > > >> > > > > Please also check make
sure
> that
> > > the
> > > > >> path
> > > > >> > > to
> > > > >> > > > > the
> > > > >> > > > > > > ush
> > > > >> > > > > > > >> > > > directory
> > > > >> > > > > > > >> > > > > > is
> > > > >> > > > > > > >> > > > > > >> > also
> > > > >> > > > > > > >> > > > > > >> > > > > specified your your
path
> > > environment
> > > > >> > > > variable.
> > > > >> > > > > > For
> > > > >> > > > > > > >> > > example,
> > > > >> > > > > > > >> > > > > > >> > > > >
> > > > >> > > > > > > >> > > > > > >> > > > > set path =
(/usr/local/bin \
> > > > >> > > > > > > >> > > > > > >> > > > >
> > > > >> > > > /usr/local/python/bin/python \
> > > > >> > > > > > > >> > > > > > >> > > > >
> > > > >> > > /d1/jpresto/sbu/METplus/ush
> > > > >> > > > )
> > > > >> > > > > > > >> > > > > > >> > > > >
> > > > >> > > > > > > >> > > > > > >> > > > > If they are not there,
please
> > add
> > > > them
> > > > >> > and
> > > > >> > > > then
> > > > >> > > > > > > >> source
> > > > >> > > > > > > >> > the
> > > > >> > > > > > > >> > > > > file
> > > > >> > > > > > > >> > > > > > >> (e.g.
> > > > >> > > > > > > >> > > > > > >> > > run
> > > > >> > > > > > > >> > > > > > >> > > > > "source ~/.cshrc").
> > > > >> > > > > > > >> > > > > > >> > > > >
> > > > >> > > > > > > >> > > > > > >> > > > > Thank you!  Please let
us know
> > how
> > > > it
> > > > >> > goes.
> > > > >> > > > > > > >> > > > > > >> > > > >
> > > > >> > > > > > > >> > > > > > >> > > > > Julie
> > > > >> > > > > > > >> > > > > > >> > > > >
> > > > >> > > > > > > >> > > > > > >> > > > >
> > > > >> > > > > > > >> > > > > > >> > > > >
> > > > >> > > > > > > >> > > > > > >> > > > >
> > > > >> > > > > > > >> > > > > > >> > > > > On Tue, Feb 21, 2017 at
4:49
> PM,
> > > > >> Xinxia
> > > > >> > > Song
> > > > >> > > > > via
> > > > >> > > > > > > RT <
> > > > >> > > > > > > >> > > > > > >> > met_help at ucar.edu
> > > > >> > > > > > > >> > > > > > >> > > >
> > > > >> > > > > > > >> > > > > > >> > > > > wrote:
> > > > >> > > > > > > >> > > > > > >> > > > >
> > > > >> > > > > > > >> > > > > > >> > > > > >
> > > > >> > > > > > > >> > > > > > >> > > > > > Tue Feb 21 16:49:28
2017:
> > > Request
> > > > >> 79605
> > > > >> > > was
> > > > >> > > > > > acted
> > > > >> > > > > > > >> > upon.
> > > > >> > > > > > > >> > > > > > >> > > > > > Transaction: Ticket
created
> by
> > > > >> > > > > > > >> > Xinxia_Song at outlook.com
> > > > >> > > > > > > >> > > > > > >> > > > > >        Queue:
met_help
> > > > >> > > > > > > >> > > > > > >> > > > > >      Subject:
ImportError:
> No
> > > > module
> > > > >> > > named
> > > > >> > > > > > > >> > > constants_pdef
> > > > >> > > > > > > >> > > > > > >> > > > > >        Owner: Nobody
> > > > >> > > > > > > >> > > > > > >> > > > > >   Requestors:
> > > > >> Xinxia_Song at outlook.com
> > > > >> > > > > > > >> > > > > > >> > > > > >       Status: new
> > > > >> > > > > > > >> > > > > > >> > > > > >  Ticket <URL:
> > > > >> > > https://rt.rap.ucar.edu/rt/
> > > > >> > > > > > > >> > > > > > >> > >
Ticket/Display.html?id=79605
> > > > >> > > > > > > >> > > > > > >> > > > >
> > > > >> > > > > > > >> > > > > > >> > > > > >
> > > > >> > > > > > > >> > > > > > >> > > > > >
> > > > >> > > > > > > >> > > > > > >> > > > > > Hi,
> > > > >> > > > > > > >> > > > > > >> > > > > >
> > > > >> > > > > > > >> > > > > > >> > > > > >
> > > > >> > > > > > > >> > > > > > >> > > > > > When I ran the
> > > mater_met_plus.py,
> > > > it
> > > > >> > > says:
> > > > >> > > > > > > >> > > > > > >> > > > > >
> > > > >> > > > > > > >> > > > > > >> > > > > >
> > > > >> > > > > > > >> > > > > > >> > > > > > ImportError: No
module named
> > > > >> > > constants_pdef
> > > > >> > > > > > > >> > > > > > >> > > > > >
> > > > >> > > > > > > >> > > > > > >> > > > > >
> > > > >> > > > > > > >> > > > > > >> > > > > > Seems it doesn't
recognize
> > > > >> > constants_pdef
> > > > >> > > > as
> > > > >> > > > > > its
> > > > >> > > > > > > >> > module.
> > > > >> > > > > > > >> > > > > > >> > > > > >
> > > > >> > > > > > > >> > > > > > >> > > > > >
> > > > >> > > > > > > >> > > > > > >> > > > > > Thanks,
> > > > >> > > > > > > >> > > > > > >> > > > > >
> > > > >> > > > > > > >> > > > > > >> > > > > > Xinxia
> > > > >> > > > > > > >> > > > > > >> > > > > >
> > > > >> > > > > > > >> > > > > > >> > > > > >
> > > > >> > > > > > > >> > > > > > >> > > > >
> > > > >> > > > > > > >> > > > > > >> > > > >
> > > > >> > > > > > > >> > > > > > >> > > > >
> > > > >> > > > > > > >> > > > > > >> > > >
> > > > >> > > > > > > >> > > > > > >> > > >
> > > > >> > > > > > > >> > > > > > >> > > >
> > > > >> > > > > > > >> > > > > > >> > >
> > > > >> > > > > > > >> > > > > > >> > >
> > > > >> > > > > > > >> > > > > > >> > >
> > > > >> > > > > > > >> > > > > > >> >
> > > > >> > > > > > > >> > > > > > >> >
> > > > >> > > > > > > >> > > > > > >> >
> > > > >> > > > > > > >> > > > > > >>
> > > > >> > > > > > > >> > > > > > >>
> > > > >> > > > > > > >> > > > > > >>
> > > > >> > > > > > > >> > > > > > >
> > > > >> > > > > > > >> > > > > >
> > > > >> > > > > > > >> > > > > >
> > > > >> > > > > > > >> > > > > >
> > > > >> > > > > > > >> > > > >
> > > > >> > > > > > > >> > > > >
> > > > >> > > > > > > >> > > > >
> > > > >> > > > > > > >> > > >
> > > > >> > > > > > > >> > > >
> > > > >> > > > > > > >> > > >
> > > > >> > > > > > > >> > >
> > > > >> > > > > > > >> > >
> > > > >> > > > > > > >> > >
> > > > >> > > > > > > >> >
> > > > >> > > > > > > >> >
> > > > >> > > > > > > >> >
> > > > >> > > > > > > >>
> > > > >> > > > > > > >>
> > > > >> > > > > > > >>
> > > > >> > > > > > > >
> > > > >> > > > > > >
> > > > >> > > > > > >
> > > > >> > > > > > >
> > > > >> > > > > >
> > > > >> > > > > >
> > > > >> > > > > >
> > > > >> > > > >
> > > > >> > > > >
> > > > >> > > > >
> > > > >> > > >
> > > > >> > > >
> > > > >> > > >
> > > > >> > >
> > > > >> > >
> > > > >> > >
> > > > >> >
> > > > >> >
> > > > >> >
> > > > >>
> > > > >>
> > > > >>
> > > > >
> > > >
> > > >
> > > >
> > >
> > >
> > >
> >
> >
> >
>
>
>


------------------------------------------------
Subject: ImportError: No module named constants_pdef
From: Julie Prestopnik
Time: Tue Mar 07 11:41:40 2017

Great news!  I am so glad to hear that it worked.  Thank you for
helping us
work through these issues.

With regard to your most recent question, Tara Jensen will follow up
with
you.

Thanks,
Julie

On Tue, Mar 7, 2017 at 7:51 AM, Xinxia Song via RT <met_help at ucar.edu>
wrote:

>
> <URL: https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=79605 >
>
> Hi Julie,
>
>
> Thank you! I successfully ran the METplus. But I have a question, I
> advisor asked me to check if METplus has the ability to use a method
called
> cyclone relative (First it locate the center of a cyclone and then
extract
> a box around that cyclone) to extract fields. Do you know where is
it?
>
>
> Thanks,
>
>
> Xinxia
>
> ________________________________
> From: Julie Prestopnik via RT <met_help at ucar.edu>
> Sent: Monday, March 6, 2017 3:46:16 PM
> To: Xinxia_Song at outlook.com
> Subject: Re: [rt.rap.ucar.edu #79605] ImportError: No module named
> constants_pdef
>
> Hi Xinxia.
>
> Thank you. In the same way that you previously changed the top line
of
> master_met_plus.py from
>
> #!/usr/bin/python
>
> to
>
> #!/usr/bin/env python
>
> Could you please do that for all of the files that reference
> #!/usr/bin/python,
> which are the following:
>
> met_util.py
> series_by_init.py
> series_by_lead.py
>
> Please change those top lines to
> #!/usr/bin/env python
>
> Then, please delete any .pyc files.
>
> Then, please rerun master_met_plus.py and let me know how it goes.
>
> I still suspect that somehow Python 2.6 is being used because this
error:
>
> AttributeError: 'module' object has no attribute 'check_output'
>
> indicates that subprocess does not have a "check_output" attribute,
which
> is true for Python 2.6, but not for 2.7.  Hopefully, these changes
will
> take care of the problem in the environment.  If not, we'll try
something
> else.  Thank you for your patience and help in testing our alpha
version.
>
> Julie
>
>
> On Mon, Mar 6, 2017 at 1:22 PM, Xinxia Song via RT
<met_help at ucar.edu>
> wrote:
>
> >
> > <URL: https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=79605 >
> >
> > Hi Julie,
> >
> >
> > I changed the program as you said and get the following results:
> >
> >
> > sys.version_info(major=2, minor=7, micro=13, releaselevel='final',
> > serial=0)
> >
> > Traceback (most recent call last):
> >
> >   File "/D2/xinxia/METplus/METplus/ush/series_by_lead.py", line
945, in
> > <module>
> >
> >     analysis_by_lead_time()
> >
> >   File "/D2/xinxia/METplus/METplus/ush/series_by_lead.py", line
107, in
> > analysis_by_lead_time
> >
> >     util.apply_series_filters(tile_dir, init_times,
> > series_lead_filtered_out_dir, p, logger)
> >
> >   File "/D2/xinxia/METplus/METplus/ush/met_util.py", line 1005, in
> > apply_series_filters
> >
> >     tcs.tc_stat(p, logger, tc_cmd, series_output_dir)
> >
> >   File "/D2/xinxia/METplus/METplus/ush/run_tc_stat.py", line 69,
in
> > tc_stat
> >
> >     tc_stat_out = subprocess.check_output(tc_cmd,
> > stderr=subprocess.STDOUT, shell=True )
> >
> > AttributeError: 'module' object has no attribute 'check_output'
> >
> >
> > Thanks,
> >
> > Xinxia
> >
> > ________________________________
> > From: Julie Prestopnik via RT <met_help at ucar.edu>
> > Sent: Thursday, March 2, 2017 4:52:34 PM
> > To: Xinxia_Song at outlook.com
> > Subject: Re: [rt.rap.ucar.edu #79605] ImportError: No module named
> > constants_pdef
> >
> > Thank you, Xinxia.
> >
> > When you ran master_met_plus.py, did you run "python
master_met_plus.py"?
> >
> > I'd like to have you try something else.
> >
> > Could you please edit master_met_plus.py? Please insert the
following
> line
> >
> >     print(sys.version_info)
> >
> > below:
> >
> >     logger = util.get_logger(p)
> >
> > and above:
> >
> >     # Get the list of processes to call
> >
> > Then save the file, rerun master_met_plus.py and set me the
output.
> >
> > Thanks,
> > Julie
> >
> >
> > On Thu, Mar 2, 2017 at 2:41 PM, Xinxia Song via RT
<met_help at ucar.edu>
> > wrote:
> >
> > >
> > > <URL: https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=79605 >
> > >
> > > Hi Julie,
> > >
> > > The path is :
> > >
> > > /home/xinxia/anaconda2/bin:/D2/xinxia/METplus/METplus/ush:/
> > > opt/ncl/bin:/opt/intel-soft/bin:/opt/ncl/bin:/home/xinxia/an
> > > aconda/bin:/home/xinxia/anaconda2/bin:/D2/xinxia/METplus/
> > > METplus/ush:/opt/ncl/bin:/opt/intel-soft/bin:/opt/ncl/bin:/
> > > usr/lib64/qt-3.3/bin:/usr/local/bin:/bin:/usr/bin:/usr/
> > > local/sbin:/usr/sbin:/sbin:/sbin:/usr/sbin:/cm/local/apps/
> > > environment-modules/3.2.10/bin:/home/xinxia/bin:/opt/ncl-621/bin
> > >
> > >
> > > Thanks,
> > >
> > > Xinxia
> > >
> > > ________________________________
> > > From: Julie Prestopnik via RT <met_help at ucar.edu>
> > > Sent: Thursday, March 2, 2017 4:07:02 PM
> > > To: Xinxia_Song at outlook.com
> > > Subject: Re: [rt.rap.ucar.edu #79605] ImportError: No module
named
> > > constants_pdef
> > >
> > > Thank you, Xinxia.
> > >
> > > When you ran master_met_plus.py, did you run "python
> master_met_plus.py"?
> > >
> > > Can you please run "echo $path" and send me the output?
> > >
> > > Thanks,
> > > Julie
> > >
> > > On Thu, Mar 2, 2017 at 2:04 PM, Xinxia Song via RT
<met_help at ucar.edu>
> > > wrote:
> > >
> > > >
> > > > <URL: https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=79605
>
> > > >
> > > > Hi Julie,
> > > >
> > > >
> > > > I followed your instruction and it doesn't work. I still got
the
> error:
> > > >
> > > > Traceback (most recent call last):
> > > >
> > > >   File "/D2/xinxia/METplus/METplus/ush/series_by_lead.py",
line 945,
> > in
> > > > <module>
> > > >
> > > >     analysis_by_lead_time()
> > > >
> > > >   File "/D2/xinxia/METplus/METplus/ush/series_by_lead.py",
line 107,
> > in
> > > > analysis_by_lead_time
> > > >
> > > >     util.apply_series_filters(tile_dir, init_times,
> > > > series_lead_filtered_out_dir, p, logger)
> > > >
> > > >   File "/D2/xinxia/METplus/METplus/ush/met_util.py", line
1005, in
> > > > apply_series_filters
> > > >
> > > >     tcs.tc_stat(p, logger, tc_cmd, series_output_dir)
> > > >
> > > >   File "/D2/xinxia/METplus/METplus/ush/run_tc_stat.py", line
69, in
> > > > tc_stat
> > > >
> > > >     tc_stat_out = subprocess.check_output(tc_cmd,
> > > > stderr=subprocess.STDOUT, shell=True )
> > > >
> > > > AttributeError: 'module' object has no attribute
'check_output'
> > > >
> > > >
> > > > Thanks,
> > > >
> > > >
> > > > Xinxia
> > > >
> > > > ________________________________
> > > > From: Julie Prestopnik via RT <met_help at ucar.edu>
> > > > Sent: Thursday, March 2, 2017 11:57:54 AM
> > > > To: Xinxia_Song at outlook.com
> > > > Subject: Re: [rt.rap.ucar.edu #79605] ImportError: No module
named
> > > > constants_pdef
> > > >
> > > > Hi Xinxia.  I apologize for the delay in responding.  I was
out of
> the
> > > > office.  I'm so glad to hear that you were able to get a
successful
> run
> > > > from series_by_lead.py!
> > > >
> > > > Could you please open master_met_plus.py in the editor of your
choice
> > > (vi,
> > > > emacs, etc.) and change the first line from:
> > > >
> > > > #!/usr/bin/python
> > > >
> > > > to
> > > >
> > > > #!/usr/bin/env python
> > > >
> > > > Then, please delete master_met_plus.pyc  (Note the ".pyc"
extension).
> > > > Please also do the same for met_util.py, changing the top line
and
> also
> > > > removing a .pyc file if one exists.
> > > >
> > > > Then, please change your PROCESS_LIST in constants_pdef.py to
only
> have
> > > > series_by_lead.py in the list, since the other processes have
run
> > > > successfully via master_met_plus.py.
> > > >
> > > > Then, please rerun master_met_plus.py and let me know how it
goes.
> > > >
> > > > I still suspect that somehow Python 2.6 is being used because
this
> > error:
> > > >
> > > > AttributeError: 'module' object has no attribute
'check_output'
> > > >
> > > > indicates that subprocess does not have a "check_output"
attribute,
> > which
> > > > is true for Python 2.6, but not for 2.7.  Hopefully, these
changes
> will
> > > > take care of the problem in the environment.  If not, we'll
try
> > something
> > > > else.  Thank you for your patience and help in testing our
alpha
> > version.
> > > >
> > > > Julie
> > > >
> > > > On Thu, Mar 2, 2017 at 8:07 AM, Xinxia Song via RT <
> met_help at ucar.edu>
> > > > wrote:
> > > >
> > > > >
> > > > > <URL:
https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=79605 >
> > > > >
> > > > > Hi Julie,
> > > > >
> > > > >
> > > > > I ran the master_met_plus.py again and still got the error:
> > > > >
> > > > >
> > > > > Traceback (most recent call last):
> > > > >
> > > > >   File "/D2/xinxia/METplus/METplus/ush/series_by_lead.py",
line
> 945,
> > > in
> > > > > <module>
> > > > >
> > > > >     analysis_by_lead_time()
> > > > >
> > > > >   File "/D2/xinxia/METplus/METplus/ush/series_by_lead.py",
line
> 107,
> > > in
> > > > > analysis_by_lead_time
> > > > >
> > > > >     util.apply_series_filters(tile_dir, init_times,
> > > > > series_lead_filtered_out_dir, p, logger)
> > > > >
> > > > >   File "/D2/xinxia/METplus/METplus/ush/met_util.py", line
1005, in
> > > > > apply_series_filters
> > > > >
> > > > >     tcs.tc_stat(p, logger, tc_cmd, series_output_dir)
> > > > >
> > > > >   File "/D2/xinxia/METplus/METplus/ush/run_tc_stat.py", line
69,
> in
> > > > > tc_stat
> > > > >
> > > > >     tc_stat_out = subprocess.check_output(tc_cmd,
> > > > > stderr=subprocess.STDOUT, shell=True )
> > > > >
> > > > > AttributeError: 'module' object has no attribute
'check_output'
> > > > >
> > > > >
> > > > >
> > > > > Thanks,
> > > > >
> > > > >
> > > > > Xinxia
> > > > >
> > > > > ________________________________
> > > > > From: Xinxia Song
> > > > > Sent: Tuesday, February 28, 2017 5:07:13 PM
> > > > > To: met_help at ucar.edu
> > > > > Subject: Re: [rt.rap.ucar.edu #79605] ImportError: No module
named
> > > > > constants_pdef
> > > > >
> > > > >
> > > > > Hi Julie,
> > > > >
> > > > >
> > > > > I correct these paths and I could successfully run
> series_by_lead.py
> > > but
> > > > > have errors for the master_met_plus.py. I get the errors:
> > > > >
> > > > > Traceback (most recent call last):
> > > > >
> > > > >   File "/D2/xinxia/METplus/METplus/ush/series_by_lead.py",
line
> 945,
> > > in
> > > > > <module>
> > > > >
> > > > >     analysis_by_lead_time()
> > > > >
> > > > >   File "/D2/xinxia/METplus/METplus/ush/series_by_lead.py",
line
> 107,
> > > in
> > > > > analysis_by_lead_time
> > > > >
> > > > >     util.apply_series_filters(tile_dir, init_times,
> > > > > series_lead_filtered_out_dir, p, logger)
> > > > >
> > > > >   File "/D2/xinxia/METplus/METplus/ush/met_util.py", line
1005, in
> > > > > apply_series_filters
> > > > >
> > > > >     tcs.tc_stat(p, logger, tc_cmd, series_output_dir)
> > > > >
> > > > >   File "/D2/xinxia/METplus/METplus/ush/run_tc_stat.py", line
69,
> in
> > > > > tc_stat
> > > > >
> > > > >     tc_stat_out = subprocess.check_output(tc_cmd,
> > > > > stderr=subprocess.STDOUT, shell=True )
> > > > >
> > > > > AttributeError: 'module' object has no attribute
'check_output'
> > > > >
> > > > >
> > > > > Thanks,
> > > > >
> > > > >
> > > > > Xinxia
> > > > >
> > > > > ________________________________
> > > > > From: Julie Prestopnik via RT <met_help at ucar.edu>
> > > > > Sent: Tuesday, February 28, 2017 2:50:58 PM
> > > > > To: Xinxia_Song at outlook.com
> > > > > Subject: Re: [rt.rap.ucar.edu #79605] ImportError: No module
named
> > > > > constants_pdef
> > > > >
> > > > > Hi Xinxia.  I also thought I would mention that, as
indicated in
> the
> > > > README
> > > > > file that came with the distribution, in addition to ncap2
and
> > ncdump,
> > > > the
> > > > > following are also required for MET+:
> > > > >
> > > > >   - convert utility (part of ImageMagick)
> > > > >     - https://www.imagemagick.org/script/binary-releases.php
> > > > >   - wgrib2 utility
> > > > >     - http://www.cpc.noaa.gov/products/wesley/wgrib2/
> > > > > compile_questions.html
> > > > >   - egrep utility
> > > > >     - http://directory.fsf.org/wiki/Grep
> > > > >
> > > > > If you do not have these installed. Please install them and
set up
> > > their
> > > > > paths in the constants_pdef.py file.
> > > > >
> > > > > Thanks,
> > > > > Julie
> > > > >
> > > > > On Tue, Feb 28, 2017 at 12:45 PM, Julie Prestopnik <
> jpresto at ucar.edu
> > >
> > > > > wrote:
> > > > >
> > > > > > Hi Xinxia.
> > > > > >
> > > > > > You will also need to have the ncdump command installed,
with the
> > > > > location
> > > > > > to the executable listed in NCDUMP_EXE in
constants_pdef.py.
> > Please
> > > > have
> > > > > > ncdump installed, update your constants_pdef.py file and
rerun.
> > > > > >
> > > > > > Thanks!
> > > > > >
> > > > > > Julie
> > > > > >
> > > > > > On Tue, Feb 28, 2017 at 12:18 PM, Xinxia Song via RT <
> > > > met_help at ucar.edu>
> > > > > > wrote:
> > > > > >
> > > > > >>
> > > > > >> <URL:
https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=79605 >
> > > > > >>
> > > > > >> Hi Julie,
> > > > > >>
> > > > > >>
> > > > > >> Before I was running master_met_plus.py and now I ran the
> > > > > >> series_by_lead.py and got the following results:
> > > > > >>
> > > > > >> [xinxia at chaos ush]$ python series_by_lead.py
> > > > > >>
> > > > > >> Traceback (most recent call last):
> > > > > >>
> > > > > >>   File "series_by_lead.py", line 945, in <module>
> > > > > >>
> > > > > >>     analysis_by_lead_time()
> > > > > >>
> > > > > >>   File "series_by_lead.py", line 326, in
analysis_by_lead_time
> > > > > >>
> > > > > >>     vmin, vmax = get_netcdf_min_max(nc_var_list,
cur_stat, p,
> > > logger)
> > > > > >>
> > > > > >>   File "series_by_lead.py", line 638, in
get_netcdf_min_max
> > > > > >>
> > > > > >>     shell=True)
> > > > > >>
> > > > > >>   File
"/home/xinxia/anaconda2/lib/python2.7/subprocess.py",
> line
> > > > 219,
> > > > > >> in check_output
> > > > > >>
> > > > > >>     raise CalledProcessError(retcode, cmd, output=output)
> > > > > >>
> > > > > >> subprocess.CalledProcessError: Command
'/usr/local/bin/ncdump
> > > > > >>
/D2/xinxia/METplus/MET/out/series_analysis_lead/series_F042/
> > min.nc
> > > >
> > > > > >>
/D2/xinxia/METplus/MET/out/series_analysis_lead/series_F042/
> > > min.txt'
> > > > > >> returned non-zero exit status 127
> > > > > >>
> > > > > >>
> > > > > >> Thanks,
> > > > > >>
> > > > > >>
> > > > > >> Xinxia
> > > > > >>
> > > > > >> ________________________________
> > > > > >> From: Julie Prestopnik via RT <met_help at ucar.edu>
> > > > > >> Sent: Tuesday, February 28, 2017 2:11:19 PM
> > > > > >> To: Xinxia_Song at outlook.com
> > > > > >> Subject: Re: [rt.rap.ucar.edu #79605] ImportError: No
module
> > named
> > > > > >> constants_pdef
> > > > > >>
> > > > > >> Hi Xinxia.  Did you run series_by_lead.py on its own or
via
> > > > > >> master_met_plus.py?
> > > > > >>
> > > > > >> Thanks,
> > > > > >> Julie
> > > > > >>
> > > > > >> On Tue, Feb 28, 2017 at 11:11 AM, Xinxia Song via RT <
> > > > met_help at ucar.edu
> > > > > >
> > > > > >> wrote:
> > > > > >>
> > > > > >> >
> > > > > >> > <URL:
https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=79605
> >
> > > > > >> >
> > > > > >> > Hi Julie,
> > > > > >> >
> > > > > >> >
> > > > > >> > I checked it's 2.7.13. It seems the error doesn't
coming from
> > it.
> > > > > >> >
> > > > > >> >
> > > > > >> > Thanks,
> > > > > >> >
> > > > > >> >
> > > > > >> > Xinxia
> > > > > >> >
> > > > > >> >
> > > > > >> > ________________________________
> > > > > >> > From: Julie Prestopnik via RT <met_help at ucar.edu>
> > > > > >> > Sent: Tuesday, February 28, 2017 10:49:29 AM
> > > > > >> > To: Xinxia_Song at outlook.com
> > > > > >> > Subject: Re: [rt.rap.ucar.edu #79605] ImportError: No
module
> > > named
> > > > > >> > constants_pdef
> > > > > >> >
> > > > > >> > I think perhaps your environment is using Python 2.6
again.
> > > > > >> >
> > > > > >> > Please try running:
> > > > > >> >
> > > > > >> > python --version
> > > > > >> >
> > > > > >> > on the command line.
> > > > > >> >
> > > > > >> > If you see "Python 2..6.6", please add the path for
Python 2.7
> > to
> > > > the
> > > > > >> front
> > > > > >> > of your path in your ~/.bashrc file.  Then, source your
> > ~/.bashrc
> > > > file
> > > > > >> and
> > > > > >> > try rerunning
> > > > > >> >
> > > > > >> > python --version
> > > > > >> >
> > > > > >> > on the command line.  Hopefully, then you will see the
new
> > > version.
> > > > > >> Then,
> > > > > >> > please try rerunning master_met_plus.py.
> > > > > >> >
> > > > > >> > I hope this helps!  Thanks!
> > > > > >> >
> > > > > >> > Julie
> > > > > >> >
> > > > > >> > On Mon, Feb 27, 2017 at 8:14 PM, Xinxia Song via RT <
> > > > > met_help at ucar.edu>
> > > > > >> > wrote:
> > > > > >> >
> > > > > >> > >
> > > > > >> > > <URL: https://rt.rap.ucar.edu/rt/
> Ticket/Display.html?id=79605
> > >
> > > > > >> > >
> > > > > >> > > Hi Julie,
> > > > > >> > >
> > > > > >> > >
> > > > > >> > > after I update the NCAP2 path in constants_pdef.py
and ran
> the
> > > > > >> > > master_met_plus.py, I got the error:
> > > > > >> > >
> > > > > >> > > 2017-02-28 02:49:40,659 : ERROR |
[master_met_plus.py:main]
> |
> > > > > Problem
> > > > > >> > > executing: series_by_lead.py
> > > > > >> > >
> > > > > >> > > and message:
> > > > > >> > >
> > > > > >> > > Traceback (most recent call last):
> > > > > >> > >
> > > > > >> > >   File
"/D2/xinxia/METplus/METplus/ush/series_by_lead.py",
> > line
> > > > > 945,
> > > > > >> in
> > > > > >> > > <module>
> > > > > >> > >
> > > > > >> > >     analysis_by_lead_time()
> > > > > >> > >
> > > > > >> > >   File
"/D2/xinxia/METplus/METplus/ush/series_by_lead.py",
> > line
> > > > > 107,
> > > > > >> in
> > > > > >> > > analysis_by_lead_time
> > > > > >> > >
> > > > > >> > >     util.apply_series_filters(tile_dir, init_times,
> > > > > >> > > series_lead_filtered_out_dir, p, logger)
> > > > > >> > >
> > > > > >> > >   File "/D2/xinxia/METplus/METplus/ush/met_util.py",
line
> > 1005,
> > > > in
> > > > > >> > > apply_series_filters
> > > > > >> > >
> > > > > >> > >     tcs.tc_stat(p, logger, tc_cmd, series_output_dir)
> > > > > >> > >
> > > > > >> > >   File
"/D2/xinxia/METplus/METplus/ush/run_tc_stat.py",
> line
> > > 69,
> > > > in
> > > > > >> > > tc_stat
> > > > > >> > >
> > > > > >> > >     tc_stat_out = subprocess.check_output(tc_cmd,
> > > > > >> > > stderr=subprocess.STDOUT, shell=True )
> > > > > >> > >
> > > > > >> > > AttributeError: 'module' object has no attribute
> > 'check_output'
> > > > > >> > >
> > > > > >> > >
> > > > > >> > > Thanks,
> > > > > >> > >
> > > > > >> > >
> > > > > >> > > Xinxia
> > > > > >> > >
> > > > > >> > > ________________________________
> > > > > >> > > From: Julie Prestopnik via RT <met_help at ucar.edu>
> > > > > >> > > Sent: Monday, February 27, 2017 5:15:59 PM
> > > > > >> > > To: Xinxia_Song at outlook.com
> > > > > >> > > Subject: Re: [rt.rap.ucar.edu #79605] ImportError: No
> module
> > > > named
> > > > > >> > > constants_pdef
> > > > > >> > >
> > > > > >> > > Please install ncap2 and update the location to the
> executable
> > > in
> > > > > the
> > > > > >> > > NCAP2_EXE field of the constants_pdef.py file and
trying
> > > rerunning
> > > > > the
> > > > > >> > MET+
> > > > > >> > > code.  Please let us know how it goes.
> > > > > >> > >
> > > > > >> > > Thanks,
> > > > > >> > > Julie
> > > > > >> > >
> > > > > >> > > On Mon, Feb 27, 2017 at 3:10 PM, Xinxia Song via RT <
> > > > > >> met_help at ucar.edu>
> > > > > >> > > wrote:
> > > > > >> > >
> > > > > >> > > >
> > > > > >> > > > <URL: https://rt.rap.ucar.edu/rt/
> > Ticket/Display.html?id=79605
> > > >
> > > > > >> > > >
> > > > > >> > > > Hi Julie,
> > > > > >> > > >
> > > > > >> > > >
> > > > > >> > > > The result is :
> > > > > >> > > >
> > > > > >> > > > -bash: /usr/local/nco/bin/ncap2: No such file or
directory
> > > > > >> > > >
> > > > > >> > > > I think we don't have it installed.
> > > > > >> > > >
> > > > > >> > > >
> > > > > >> > > > Thanks,
> > > > > >> > > >
> > > > > >> > > > Xinxia
> > > > > >> > > >
> > > > > >> > > > ________________________________
> > > > > >> > > > From: Julie Prestopnik via RT <met_help at ucar.edu>
> > > > > >> > > > Sent: Monday, February 27, 2017 5:08:48 PM
> > > > > >> > > > To: Xinxia_Song at outlook.com
> > > > > >> > > > Subject: Re: [rt.rap.ucar.edu #79605] ImportError:
No
> > module
> > > > > named
> > > > > >> > > > constants_pdef
> > > > > >> > > >
> > > > > >> > > > Hi Xinxia. I believe that error code refers to
"Command
> not
> > > > > found".
> > > > > >> > Can
> > > > > >> > > > you please run the following and send me the
output?
> > > > > >> > > >
> > > > > >> > > > /usr/local/nco/bin/ncap2 --version
> > > > > >> > > >
> > > > > >> > > > Thanks!
> > > > > >> > > >
> > > > > >> > > > Julie
> > > > > >> > > >
> > > > > >> > > >
> > > > > >> > > > On Mon, Feb 27, 2017 at 2:55 PM, Xinxia Song via RT
<
> > > > > >> met_help at ucar.edu
> > > > > >> > >
> > > > > >> > > > wrote:
> > > > > >> > > >
> > > > > >> > > > >
> > > > > >> > > > > <URL: https://rt.rap.ucar.edu/rt/Tic
> > > ket/Display.html?id=79605
> > > > >
> > > > > >> > > > >
> > > > > >> > > > > Hi Julie,
> > > > > >> > > > >
> > > > > >> > > > >
> > > > > >> > > > > The error is:
> > > > > >> > > > >
> > > > > >> > > > > Traceback (most recent call last):
> > > > > >> > > > >
> > > > > >> > > > >   File "series_by_lead.py", line 945, in <module>
> > > > > >> > > > >
> > > > > >> > > > >     analysis_by_lead_time()
> > > > > >> > > > >
> > > > > >> > > > >   File "series_by_lead.py", line 326, in
> > > analysis_by_lead_time
> > > > > >> > > > >
> > > > > >> > > > >     vmin, vmax = get_netcdf_min_max(nc_var_list,
> > cur_stat,
> > > p,
> > > > > >> > logger)
> > > > > >> > > > >
> > > > > >> > > > >   File "series_by_lead.py", line 605, in
> > get_netcdf_min_max
> > > > > >> > > > >
> > > > > >> > > > >     shell=True)
> > > > > >> > > > >
> > > > > >> > > > >   File "/home/xinxia/anaconda2/lib/py
> > > thon2.7/subprocess.py",
> > > > > line
> > > > > >> > 219,
> > > > > >> > > > in
> > > > > >> > > > > check_output
> > > > > >> > > > >
> > > > > >> > > > >     raise CalledProcessError(retcode, cmd,
> output=output)
> > > > > >> > > > >
> > > > > >> > > > > subprocess.CalledProcessError: Command
> > > > '/usr/local/nco/bin/ncap2
> > > > > >> -v
> > > > > >> > -s
> > > > > >> > > > > "min=min(series_cnt_TOTAL)"
/D2/xinxia/METplus/MET/out/
> > > > > >> > > > > series_analysis_lead/series_
> F042/series_F042_HGT_P500.nc
> > > > > >> > > > > /D2/xinxia/METplus/MET/out/ser
> > > ies_analysis_lead/series_F042/
> > > > > >> min.nc'
> > > > > >> > > > > returned non-zero exit status 127
> > > > > >> > > > >
> > > > > >> > > > >
> > > > > >> > > > > Thanks,
> > > > > >> > > > >
> > > > > >> > > > >
> > > > > >> > > > > Xinxia
> > > > > >> > > > >
> > > > > >> > > > > ________________________________
> > > > > >> > > > > From: Julie Prestopnik via RT <met_help at ucar.edu>
> > > > > >> > > > > Sent: Tuesday, February 28, 2017 9:18:55 AM
> > > > > >> > > > > To: Xinxia_Song at outlook.com
> > > > > >> > > > > Subject: Re: [rt.rap.ucar.edu #79605]
ImportError: No
> > > module
> > > > > >> named
> > > > > >> > > > > constants_pdef
> > > > > >> > > > >
> > > > > >> > > > > Thank you, Xinxia.
> > > > > >> > > > >
> > > > > >> > > > > Unfortunately, the "DEBUG" log level did not
provide
> much
> > > > > >> information
> > > > > >> > > for
> > > > > >> > > > > this task:
> > > > > >> > > > >
> > > > > >> > > > > 2017-02-26 21:30:28,041 : INFO |
> > [master_met_plus.py:main] |
> > > > > >> Running:
> > > > > >> > > > > series_by_lead.py
> > > > > >> > > > > 2017-02-26 21:30:28,212 : ERROR |
> > [master_met_plus.py:main]
> > > |
> > > > > >> Problem
> > > > > >> > > > > executing: series_by_lead.py
> > > > > >> > > > >
> > > > > >> > > > > Could you please try running series_by_lead.py in
the
> ush
> > > > > >> directory?
> > > > > >> > > > > Please let me know what the output is from that
run - it
> > may
> > > > > >> still be
> > > > > >> > > > > contained in your log file.
> > > > > >> > > > >
> > > > > >> > > > > Thanks!
> > > > > >> > > > >
> > > > > >> > > > > Julie
> > > > > >> > > > >
> > > > > >> > > > >
> > > > > >> > > > > On Mon, Feb 27, 2017 at 11:17 AM, Xinxia Song via
RT <
> > > > > >> > > met_help at ucar.edu>
> > > > > >> > > > > wrote:
> > > > > >> > > > >
> > > > > >> > > > > >
> > > > > >> > > > > > <URL: https://rt.rap.ucar.edu/rt/
> > > > Ticket/Display.html?id=79605
> > > > > >
> > > > > >> > > > > >
> > > > > >> > > > > > Hi Julie,
> > > > > >> > > > > >
> > > > > >> > > > > >
> > > > > >> > > > > > I uploaded the constants_pdef.py and
> > > > > >> master_met_plus.20170226.log.
> > > > > >> > > > > >
> > > > > >> > > > > >
> > > > > >> > > > > > Thanks,
> > > > > >> > > > > >
> > > > > >> > > > > >
> > > > > >> > > > > > Xinxia
> > > > > >> > > > > >
> > > > > >> > > > > > ________________________________
> > > > > >> > > > > > From: Julie Prestopnik via RT
<met_help at ucar.edu>
> > > > > >> > > > > > Sent: Tuesday, February 28, 2017 5:46:37 AM
> > > > > >> > > > > > To: Xinxia_Song at outlook.com
> > > > > >> > > > > > Subject: Re: [rt.rap.ucar.edu #79605]
ImportError: No
> > > > module
> > > > > >> named
> > > > > >> > > > > > constants_pdef
> > > > > >> > > > > >
> > > > > >> > > > > > Hi Xinxia.  Can you please upload the
configuration
> file
> > > > that
> > > > > >> you
> > > > > >> > > used
> > > > > >> > > > > and
> > > > > >> > > > > > the log file from that run to our ftp server so
that
> we
> > > can
> > > > > >> take a
> > > > > >> > > > look?
> > > > > >> > > > > >
> > > > > >> > > > > > Thanks!
> > > > > >> > > > > >
> > > > > >> > > > > > Julie
> > > > > >> > > > > >
> > > > > >> > > > > > On Sun, Feb 26, 2017 at 2:35 PM, Xinxia Song
via RT <
> > > > > >> > > met_help at ucar.edu
> > > > > >> > > > >
> > > > > >> > > > > > wrote:
> > > > > >> > > > > >
> > > > > >> > > > > > >
> > > > > >> > > > > > > <URL: https://rt.rap.ucar.edu/rt/
> > > > > Ticket/Display.html?id=79605
> > > > > >> >
> > > > > >> > > > > > >
> > > > > >> > > > > > > Hi Julie,
> > > > > >> > > > > > >
> > > > > >> > > > > > >
> > > > > >> > > > > > > I ran the mater_met_plus.py and in the end in
the
> log
> > > file
> > > > > it
> > > > > >> > gave
> > > > > >> > > me
> > > > > >> > > > > an
> > > > > >> > > > > > > error:
> > > > > >> > > > > > >
> > > > > >> > > > > > > 2017-02-26 21:30:28,212 : ERROR |
> > > > [master_met_plus.py:main]
> > > > > |
> > > > > >> > > Problem
> > > > > >> > > > > > > executing: series_by_lead.py
> > > > > >> > > > > > >
> > > > > >> > > > > > >
> > > > > >> > > > > > > Thanks,
> > > > > >> > > > > > >
> > > > > >> > > > > > > Xinxia
> > > > > >> > > > > > >
> > > > > >> > > > > > > ________________________________
> > > > > >> > > > > > > From: Julie Prestopnik via RT
<met_help at ucar.edu>
> > > > > >> > > > > > > Sent: Saturday, February 25, 2017 6:49:56 AM
> > > > > >> > > > > > > To: Xinxia_Song at outlook.com
> > > > > >> > > > > > > Subject: Re: [rt.rap.ucar.edu #79605]
ImportError:
> No
> > > > > module
> > > > > >> > named
> > > > > >> > > > > > > constants_pdef
> > > > > >> > > > > > >
> > > > > >> > > > > > > You could also run "tail -f
> </path/to/logfile/logfile_
> > > > > name>"
> > > > > >> > > > replacing
> > > > > >> > > > > > > </path/to/logfile/logfile_name> with the
logfile
> path
> > > and
> > > > > >> name
> > > > > >> > > > > > information
> > > > > >> > > > > > > to see how the run is coming along.  I hope
that
> > helps!
> > > > > >> > > > > > >
> > > > > >> > > > > > > Julie
> > > > > >> > > > > > >
> > > > > >> > > > > > > On Fri, Feb 24, 2017 at 9:42 AM, Julie
Prestopnik <
> > > > > >> > > jpresto at ucar.edu>
> > > > > >> > > > > > > wrote:
> > > > > >> > > > > > >
> > > > > >> > > > > > > > Hi Xinxia.  Running the entire three months
of
> data
> > > > could
> > > > > >> > > certainly
> > > > > >> > > > > > take
> > > > > >> > > > > > > a
> > > > > >> > > > > > > > long time.  I am hoping to get an estimate
on how
> > long
> > > > it
> > > > > >> took
> > > > > >> > to
> > > > > >> > > > run
> > > > > >> > > > > > the
> > > > > >> > > > > > > > three month data set here, but have not
been able
> to
> > > > > obtain
> > > > > >> > that
> > > > > >> > > > > number
> > > > > >> > > > > > > > yet.   It sounds the code was running
successfully
> > for
> > > > > >> you.  If
> > > > > >> > > > > you're
> > > > > >> > > > > > > > eager to take a lot at some output, I would
> suggest
> > > > > running
> > > > > >> a
> > > > > >> > > > smaller
> > > > > >> > > > > > > > subset of the data, or perhaps you could
set up
> the
> > > > whole
> > > > > >> three
> > > > > >> > > > month
> > > > > >> > > > > > to
> > > > > >> > > > > > > > run over the weekend.  I would suggest
letting the
> > > code
> > > > > run
> > > > > >> to
> > > > > >> > > > > > completion
> > > > > >> > > > > > > > for either a smaller subset or for the
entire
> subset
> > > and
> > > > > >> then
> > > > > >> > > > > checking
> > > > > >> > > > > > > the
> > > > > >> > > > > > > > log file for errors.  I hope that helps.
Please
> let
> > > me
> > > > > >> know if
> > > > > >> > > you
> > > > > >> > > > > > have
> > > > > >> > > > > > > > any questions or encounter any issues.
> > > > > >> > > > > > > >
> > > > > >> > > > > > > > Thanks,
> > > > > >> > > > > > > > Julie
> > > > > >> > > > > > > >
> > > > > >> > > > > > > >
> > > > > >> > > > > > > > On Thu, Feb 23, 2017 at 4:28 PM, Xinxia
Song via
> RT
> > <
> > > > > >> > > > > met_help at ucar.edu
> > > > > >> > > > > > >
> > > > > >> > > > > > > > wrote:
> > > > > >> > > > > > > >
> > > > > >> > > > > > > >>
> > > > > >> > > > > > > >> <URL: https://rt.rap.ucar.edu/rt/Tic
> > > > > >> ket/Display.html?id=79605
> > > > > >> > >
> > > > > >> > > > > > > >>
> > > > > >> > > > > > > >> Hi Julie,
> > > > > >> > > > > > > >>
> > > > > >> > > > > > > >>
> > > > > >> > > > > > > >> The version is set to be 2.7+. When I ran
> > > > > >> master_met_plus.py,
> > > > > >> > it
> > > > > >> > > > > seems
> > > > > >> > > > > > > it
> > > > > >> > > > > > > >> will run forever. So I killed it, and got
the
> > > > following:
> > > > > >> > > > > > > >>
> > > > > >> > > > > > > >> [xinxia at chaos ush]$ python
master_met_plus.py
> > > > > >> > > > > > > >>
> > > > > >> > > > > > > >> ^CTraceback (most recent call last):
> > > > > >> > > > > > > >>
> > > > > >> > > > > > > >>   File "/D2/xinxia/METplus/METplus/
> > > > > ush/extract_tiles.py",
> > > > > >> > line
> > > > > >> > > > 157,
> > > > > >> > > > > > in
> > > > > >> > > > > > > >> <module>
> > > > > >> > > > > > > >>
> > > > > >> > > > > > > >>     main()
> > > > > >> > > > > > > >>
> > > > > >> > > > > > > >>   File "/D2/xinxia/METplus/METplus/
> > > > > ush/extract_tiles.py",
> > > > > >> > line
> > > > > >> > > > 100,
> > > > > >> > > > > > in
> > > > > >> > > > > > > >> main
> > > > > >> > > > > > > >>
> > > > > >> > > > > > > >>     filtered_out_dir)
> > > > > >> > > > > > > >>
> > > > > >> > > > > > > >>   File "/D2/xinxia/METplus/METplus/
> > > > ush/run_tc_stat.py",
> > > > > >> line
> > > > > >> > > 69,
> > > > > >> > > > in
> > > > > >> > > > > > > >> tc_stat
> > > > > >> > > > > > > >>
> > > > > >> > > > > > > >>     tc_stat_out =
subprocess.check_output(tc_
> cmd,
> > > > > >> > > > > > > >> stderr=subprocess.STDOUT, shell=True )
> > > > > >> > > > > > > >>
> > > > > >> > > > > > > >>   File "/home/xinxia/anaconda2/lib/py
> > > > > >> thon2.7/subprocess.py",
> > > > > >> > > line
> > > > > >> > > > > > 213,
> > > > > >> > > > > > > >> in check_output
> > > > > >> > > > > > > >>
> > > > > >> > > > > > > >>     output, unused_err =
process.communicate()
> > > > > >> > > > > > > >>
> > > > > >> > > > > > > >>   File "/home/xinxia/anaconda2/lib/py
> > > > > >> thon2.7/subprocess.py",
> > > > > >> > > line
> > > > > >> > > > > > 471,
> > > > > >> > > > > > > >> in communicate
> > > > > >> > > > > > > >>
> > > > > >> > > > > > > >>     stdout =
_eintr_retry_call(self.stdout.read)
> > > > > >> > > > > > > >>
> > > > > >> > > > > > > >>   File "/home/xinxia/anaconda2/lib/py
> > > > > >> thon2.7/subprocess.py",
> > > > > >> > > line
> > > > > >> > > > > > 121,
> > > > > >> > > > > > > >> in _eintr_retry_call
> > > > > >> > > > > > > >>
> > > > > >> > > > > > > >>     return func(*args)
> > > > > >> > > > > > > >>
> > > > > >> > > > > > > >> KeyboardInterrupt
> > > > > >> > > > > > > >>
> > > > > >> > > > > > > >>
> > > > > >> > > > > > > >> Thanks,
> > > > > >> > > > > > > >>
> > > > > >> > > > > > > >>
> > > > > >> > > > > > > >> Xinxia
> > > > > >> > > > > > > >>
> > > > > >> > > > > > > >> ________________________________
> > > > > >> > > > > > > >> From: Julie Prestopnik via RT
<met_help at ucar.edu
> >
> > > > > >> > > > > > > >> Sent: Friday, February 24, 2017 12:02:21
PM
> > > > > >> > > > > > > >> To: Xinxia_Song at outlook.com
> > > > > >> > > > > > > >> Subject: Re: [rt.rap.ucar.edu #79605]
> ImportError:
> > > No
> > > > > >> module
> > > > > >> > > > named
> > > > > >> > > > > > > >> constants_pdef
> > > > > >> > > > > > > >>
> > > > > >> > > > > > > >> Hi Xinxia.  I suspect that even though you
> > installed
> > > > > Python
> > > > > >> > 2.7
> > > > > >> > > > that
> > > > > >> > > > > > > >> Python
> > > > > >> > > > > > > >> 2.6.6 is still being used.
> > > > > >> > > > > > > >>
> > > > > >> > > > > > > >> Please try running:
> > > > > >> > > > > > > >>
> > > > > >> > > > > > > >> python --version
> > > > > >> > > > > > > >>
> > > > > >> > > > > > > >> on the command line.
> > > > > >> > > > > > > >>
> > > > > >> > > > > > > >> If you see "Python 2..6.6", please add the
path
> for
> > > > > Python
> > > > > >> 2.7
> > > > > >> > > to
> > > > > >> > > > > the
> > > > > >> > > > > > > >> front
> > > > > >> > > > > > > >> of your path in your ~/.bashrc file.
Then,
> source
> > > your
> > > > > >> > > ~/.bashrc
> > > > > >> > > > > file
> > > > > >> > > > > > > and
> > > > > >> > > > > > > >> try rerunning
> > > > > >> > > > > > > >>
> > > > > >> > > > > > > >> python --version
> > > > > >> > > > > > > >>
> > > > > >> > > > > > > >> on the command line.  Hopefully, then you
will
> see
> > > the
> > > > > new
> > > > > >> > > > version.
> > > > > >> > > > > > > Then,
> > > > > >> > > > > > > >> please try rerunning master_met_plus.py.
> > > > > >> > > > > > > >>
> > > > > >> > > > > > > >> I hope this helps!  Thanks!
> > > > > >> > > > > > > >>
> > > > > >> > > > > > > >> Julie
> > > > > >> > > > > > > >>
> > > > > >> > > > > > > >> On Thu, Feb 23, 2017 at 1:51 PM, Xinxia
Song via
> > RT <
> > > > > >> > > > > > met_help at ucar.edu>
> > > > > >> > > > > > > >> wrote:
> > > > > >> > > > > > > >>
> > > > > >> > > > > > > >> >
> > > > > >> > > > > > > >> > <URL: https://rt.rap.ucar.edu/rt/Tic
> > > > > >> > ket/Display.html?id=79605
> > > > > >> > > >
> > > > > >> > > > > > > >> >
> > > > > >> > > > > > > >> > Hi Julie,
> > > > > >> > > > > > > >> >
> > > > > >> > > > > > > >> >
> > > > > >> > > > > > > >> > I installed myself the 2.7 python, it
still got
> > the
> > > > > error
> > > > > >> > when
> > > > > >> > > > > > > running:
> > > > > >> > > > > > > >> >
> > > > > >> > > > > > > >> > Traceback (most recent call last):
> > > > > >> > > > > > > >> >
> > > > > >> > > > > > > >> >   File "/D2/xinxia/METplus/METplus/us
> > > > > >> h/series_by_lead.py",
> > > > > >> > > line
> > > > > >> > > > > > 945,
> > > > > >> > > > > > > in
> > > > > >> > > > > > > >> > <module>
> > > > > >> > > > > > > >> >
> > > > > >> > > > > > > >> >     analysis_by_lead_time()
> > > > > >> > > > > > > >> >
> > > > > >> > > > > > > >> >   File "/D2/xinxia/METplus/METplus/us
> > > > > >> h/series_by_lead.py",
> > > > > >> > > line
> > > > > >> > > > > > 107,
> > > > > >> > > > > > > in
> > > > > >> > > > > > > >> > analysis_by_lead_time
> > > > > >> > > > > > > >> >
> > > > > >> > > > > > > >> >     util.apply_series_filters(tile_dir,
> > > init_times,
> > > > > >> > > > > > > >> > series_lead_filtered_out_dir, p, logger)
> > > > > >> > > > > > > >> >
> > > > > >> > > > > > > >> >   File "/D2/xinxia/METplus/METplus/us
> > > h/met_util.py",
> > > > > >> line
> > > > > >> > > 1005,
> > > > > >> > > > > in
> > > > > >> > > > > > > >> > apply_series_filters
> > > > > >> > > > > > > >> >
> > > > > >> > > > > > > >> >     tcs.tc_stat(p, logger, tc_cmd,
> > > series_output_dir)
> > > > > >> > > > > > > >> >
> > > > > >> > > > > > > >> >   File "/D2/xinxia/METplus/METplus/
> > > > > ush/run_tc_stat.py",
> > > > > >> > line
> > > > > >> > > > 69,
> > > > > >> > > > > in
> > > > > >> > > > > > > >> > tc_stat
> > > > > >> > > > > > > >> >
> > > > > >> > > > > > > >> >     tc_stat_out =
subprocess.check_output(tc_
> > cmd,
> > > > > >> > > > > > > >> > stderr=subprocess.STDOUT, shell=True )
> > > > > >> > > > > > > >> >
> > > > > >> > > > > > > >> > AttributeError: 'module' object has no
> attribute
> > > > > >> > > 'check_output'
> > > > > >> > > > > > > >> >
> > > > > >> > > > > > > >> >
> > > > > >> > > > > > > >> > Thanks,
> > > > > >> > > > > > > >> >
> > > > > >> > > > > > > >> >
> > > > > >> > > > > > > >> > Xinxia
> > > > > >> > > > > > > >> >
> > > > > >> > > > > > > >> > ________________________________
> > > > > >> > > > > > > >> > From: Julie Prestopnik via RT <
> met_help at ucar.edu
> > >
> > > > > >> > > > > > > >> > Sent: Friday, February 24, 2017 9:37:53
AM
> > > > > >> > > > > > > >> > To: Xinxia_Song at outlook.com
> > > > > >> > > > > > > >> > Subject: Re: [rt.rap.ucar.edu #79605]
> > ImportError:
> > > > No
> > > > > >> > module
> > > > > >> > > > > named
> > > > > >> > > > > > > >> > constants_pdef
> > > > > >> > > > > > > >> >
> > > > > >> > > > > > > >> > Can you please tell me which version of
Python
> > you
> > > > are
> > > > > >> > using?
> > > > > >> > > > > > > >> check_output
> > > > > >> > > > > > > >> > for subprocess was introduced in Python
2.7.
> > Do
> > > > you
> > > > > >> have
> > > > > >> > > > access
> > > > > >> > > > > > to
> > > > > >> > > > > > > >> > Python version 2.7 or higher?
> > > > > >> > > > > > > >> >
> > > > > >> > > > > > > >> > Thanks,
> > > > > >> > > > > > > >> > Julie
> > > > > >> > > > > > > >> >
> > > > > >> > > > > > > >> > On Thu, Feb 23, 2017 at 12:11 PM, Xinxia
Song
> via
> > > RT
> > > > <
> > > > > >> > > > > > > met_help at ucar.edu
> > > > > >> > > > > > > >> >
> > > > > >> > > > > > > >> > wrote:
> > > > > >> > > > > > > >> >
> > > > > >> > > > > > > >> > >
> > > > > >> > > > > > > >> > > <URL: https://rt.rap.ucar.edu/rt/
> > > > > >> > > Ticket/Display.html?id=79605
> > > > > >> > > > >
> > > > > >> > > > > > > >> > >
> > > > > >> > > > > > > >> > > Hi Julie,
> > > > > >> > > > > > > >> > >
> > > > > >> > > > > > > >> > >
> > > > > >> > > > > > > >> > > I added it to the $PATH and ran the
> > > > > >> master_met_python.py:
> > > > > >> > > > > > > >> > >
> > > > > >> > > > > > > >> > > [xinxia at chaos ush]$ python
> master_met_plus.py
> > > > > >> > > > > > > >> > >
> > > > > >> > > > > > > >> > > Traceback (most recent call last):
> > > > > >> > > > > > > >> > >
> > > > > >> > > > > > > >> > >   File "/D2/xinxia/METplus/METplus/us
> > > > > >> h/extract_tiles.py",
> > > > > >> > > > line
> > > > > >> > > > > > 157,
> > > > > >> > > > > > > >> in
> > > > > >> > > > > > > >> > > <module>
> > > > > >> > > > > > > >> > >
> > > > > >> > > > > > > >> > >     main()
> > > > > >> > > > > > > >> > >
> > > > > >> > > > > > > >> > >   File "/D2/xinxia/METplus/METplus/us
> > > > > >> h/extract_tiles.py",
> > > > > >> > > > line
> > > > > >> > > > > > 100,
> > > > > >> > > > > > > >> in
> > > > > >> > > > > > > >> > > main
> > > > > >> > > > > > > >> > >
> > > > > >> > > > > > > >> > >     filtered_out_dir)
> > > > > >> > > > > > > >> > >
> > > > > >> > > > > > > >> > >   File "/D2/xinxia/METplus/METplus/us
> > > > > >> h/run_tc_stat.py",
> > > > > >> > > line
> > > > > >> > > > > 69,
> > > > > >> > > > > > in
> > > > > >> > > > > > > >> > > tc_stat
> > > > > >> > > > > > > >> > >
> > > > > >> > > > > > > >> > >     tc_stat_out =
> > subprocess.check_output(tc_cmd
> > > ,
> > > > > >> > > > > > > >> > > stderr=subprocess.STDOUT, shell=True )
> > > > > >> > > > > > > >> > >
> > > > > >> > > > > > > >> > > AttributeError: 'module' object has no
> > attribute
> > > > > >> > > > 'check_output'
> > > > > >> > > > > > > >> > >
> > > > > >> > > > > > > >> > >
> > > > > >> > > > > > > >> > > Thanks,
> > > > > >> > > > > > > >> > >
> > > > > >> > > > > > > >> > >
> > > > > >> > > > > > > >> > > Xinxia
> > > > > >> > > > > > > >> > >
> > > > > >> > > > > > > >> > > ________________________________
> > > > > >> > > > > > > >> > > From: Julie Prestopnik via RT <
> > met_help at ucar.edu
> > > >
> > > > > >> > > > > > > >> > > Sent: Friday, February 24, 2017
9:07:40 AM
> > > > > >> > > > > > > >> > > To: Xinxia_Song at outlook.com
> > > > > >> > > > > > > >> > > Subject: Re: [rt.rap.ucar.edu #79605]
> > > ImportError:
> > > > > No
> > > > > >> > > module
> > > > > >> > > > > > named
> > > > > >> > > > > > > >> > > constants_pdef
> > > > > >> > > > > > > >> > >
> > > > > >> > > > > > > >> > > Unfortunately, your environment does
not know
> > > where
> > > > > to
> > > > > >> > find
> > > > > >> > > > > > > >> > > run_tc_pairs.py.  Please try adding
the
> > directory
> > > > > with
> > > > > >> > > > > > > run_tc_pairs.py
> > > > > >> > > > > > > >> > > (/D2/xinxia/METplus/METplus/ush) to
your
> path
> > in
> > > > > your
> > > > > >> > > > ~/.bashrc
> > > > > >> > > > > > > file,
> > > > > >> > > > > > > >> > then
> > > > > >> > > > > > > >> > > run "source ~/.bashrc", then trying
> rerunning.
> > > > > Please
> > > > > >> let
> > > > > >> > > me
> > > > > >> > > > > know
> > > > > >> > > > > > > how
> > > > > >> > > > > > > >> > that
> > > > > >> > > > > > > >> > > goes.
> > > > > >> > > > > > > >> > >
> > > > > >> > > > > > > >> > > Thanks!
> > > > > >> > > > > > > >> > >
> > > > > >> > > > > > > >> > > Julie
> > > > > >> > > > > > > >> > >
> > > > > >> > > > > > > >> > > On Thu, Feb 23, 2017 at 11:55 AM,
Xinxia Song
> > via
> > > > RT
> > > > > <
> > > > > >> > > > > > > >> met_help at ucar.edu>
> > > > > >> > > > > > > >> > > wrote:
> > > > > >> > > > > > > >> > >
> > > > > >> > > > > > > >> > > >
> > > > > >> > > > > > > >> > > > <URL: https://rt.rap.ucar.edu/rt/
> > > > > >> > > > Ticket/Display.html?id=79605
> > > > > >> > > > > >
> > > > > >> > > > > > > >> > > >
> > > > > >> > > > > > > >> > > > Hi Julie,
> > > > > >> > > > > > > >> > > >
> > > > > >> > > > > > > >> > > >
> > > > > >> > > > > > > >> > > > I'm running met in a machine that's
owned
> by
> > > our
> > > > > >> > > > department, I
> > > > > >> > > > > > > don't
> > > > > >> > > > > > > >> > have
> > > > > >> > > > > > > >> > > > sudo right, so when I type which
> > > run_tc_pairs.py,
> > > > > it
> > > > > >> > says
> > > > > >> > > > > > couldn't
> > > > > >> > > > > > > >> find
> > > > > >> > > > > > > >> > > it.
> > > > > >> > > > > > > >> > > >
> > > > > >> > > > > > > >> > > > no run_tc_pairs.py in
> > > > > (/opt/ncl/bin:/opt/intel-soft/
> > > > > >> > > > > > > >> > > > bin:/opt/ncl/bin:/opt/ncl/bin:
> > > > > >> > > /opt/intel-soft/bin:/opt/ncl/
> > > > > >> > > > > > > >> > > > bin:/home/xinxia/anaconda/bin:
> > > > > >> > /home/xinxia/anaconda/bin:/
> > > > > >> > > > > > > >> > > > opt/ncl/bin:/opt/intel-soft/bi
> > > > > >> > n:/opt/ncl/bin:/usr/lib64/
> > > > > >> > > > > > > >> > > > qt-3.3/bin:/usr/local/bin:/bin
> > > > > >> > :/usr/bin:/usr/local/sbin:/
> > > > > >> > > > > > > >> > > > usr/sbin:/sbin:/sbin:/usr/
> > sbin:/cm/local/apps/
> > > > > >> > > > > > > >> > > environment-modules/3.2.10/
> > > > > >> > > > > > > >> > > > bin:/home/xinxia/bin:/opt/ncl-
621/bin)
> > > > > >> > > > > > > >> > > >
> > > > > >> > > > > > > >> > > >
> > > > > >> > > > > > > >> > > > But I could find it manually in that
> > directory.
> > > > > >> > > > > > > >> > > >
> > > > > >> > > > > > > >> > > >
> > > > > >> > > > > > > >> > > > Thanks,
> > > > > >> > > > > > > >> > > >
> > > > > >> > > > > > > >> > > >
> > > > > >> > > > > > > >> > > > Xinxia
> > > > > >> > > > > > > >> > > >
> > > > > >> > > > > > > >> > > > ________________________________
> > > > > >> > > > > > > >> > > > From: Julie Prestopnik via RT <
> > > met_help at ucar.edu
> > > > >
> > > > > >> > > > > > > >> > > > Sent: Friday, February 24, 2017
8:52:16 AM
> > > > > >> > > > > > > >> > > > To: Xinxia_Song at outlook.com
> > > > > >> > > > > > > >> > > > Subject: Re: [rt.rap.ucar.edu
#79605]
> > > > ImportError:
> > > > > >> No
> > > > > >> > > > module
> > > > > >> > > > > > > named
> > > > > >> > > > > > > >> > > > constants_pdef
> > > > > >> > > > > > > >> > > >
> > > > > >> > > > > > > >> > > > Hi Xinxia.
> > > > > >> > > > > > > >> > > >
> > > > > >> > > > > > > >> > > > It looks like you got a successful
run of
> > > > tc_stat -
> > > > > >> > that's
> > > > > >> > > > > great
> > > > > >> > > > > > > >> news!
> > > > > >> > > > > > > >> > > >
> > > > > >> > > > > > > >> > > > I'm not sure what you mean by
"Because I
> > don't
> > > > have
> > > > > >> the
> > > > > >> > > > > right, I
> > > > > >> > > > > > > >> can't
> > > > > >> > > > > > > >> > > find
> > > > > >> > > > > > > >> > > > run_tc_pairs.py, but I know it's
under
> > > > > >> > > > > > > >> > > >
> > > > > >> > > > > > > >> > > > /D2/xinxia/METplus/METplus/ush".
> > > > > >> > > > > > > >> > > >
> > > > > >> > > > > > > >> > > > Can you please explain?  What
happened when
> > you
> > > > ran
> > > > > >> > "which
> > > > > >> > > > > > > >> > > > run_tc_pairs.py"?
> > > > > >> > > > > > > >> > > >
> > > > > >> > > > > > > >> > > > Thanks,
> > > > > >> > > > > > > >> > > > Julie
> > > > > >> > > > > > > >> > > >
> > > > > >> > > > > > > >> > > >
> > > > > >> > > > > > > >> > > >
> > > > > >> > > > > > > >> > > >
> > > > > >> > > > > > > >> > > >
> > > > > >> > > > > > > >> > > >
> > > > > >> > > > > > > >> > > > On Thu, Feb 23, 2017 at 11:44 AM,
Xinxia
> Song
> > > via
> > > > > RT
> > > > > >> <
> > > > > >> > > > > > > >> > met_help at ucar.edu>
> > > > > >> > > > > > > >> > > > wrote:
> > > > > >> > > > > > > >> > > >
> > > > > >> > > > > > > >> > > > >
> > > > > >> > > > > > > >> > > > > <URL: https://rt.rap.ucar.edu/rt/
> > > > > >> > > > > Ticket/Display.html?id=79605
> > > > > >> > > > > > >
> > > > > >> > > > > > > >> > > > >
> > > > > >> > > > > > > >> > > > > Hi Julie,
> > > > > >> > > > > > > >> > > > >
> > > > > >> > > > > > > >> > > > >
> > > > > >> > > > > > > >> > > > > I removed the space.
> > > > > >> > > > > > > >> > > > >
> > > > > >> > > > > > > >> > > > > [xinxia at chaos parm]$
> > > > > >> /D2/xinxia/METplus/MET/met-5.2
> > > > > >> > > > > > /bin/tc_stat
> > > > > >> > > > > > > >> -job
> > > > > >> > > > > > > >> > > > > filter -lookin
> > /D2/xinxia/METplus/MET/input/
> > > > > >> > > > tc_pairs/201412
> > > > > >> > > > > > > >> > -init_inc
> > > > > >> > > > > > > >> > > > > 20141201_00 -match_points true
-dump_row
> > > > > >> > > > > > > >> /D2/xinxia/METplus/MET/out/
> > > > > >> > > > > > > >> > > > > extract_tiles/20141201_00/
> > > > > filter_20141201_00.tcst
> > > > > >> > > -basin
> > > > > >> > > > > ML
> > > > > >> > > > > > > >> > > > > -out_init_mask
> > /D2/xinxia/METplus/MET/met-5.
> > > > > >> > > > > > > >> > > 2/share/met/poly/CONUS.poly
> > > > > >> > > > > > > >> > > > >
> > > > > >> > > > > > > >> > > > > DEBUG 1: [Source 1] Lookin:
> > > > > >> > > /D2/xinxia/METplus/MET/input/
> > > > > >> > > > > > > >> > > tc_pairs/201412
> > > > > >> > > > > > > >> > > > >
> > > > > >> > > > > > > >> > > > > DEBUG 2:
> > > > > >> > > > > > > >> > > > >
> > > > > >> > > > > > > >> > > > > DEBUG 2: Processing Job 1: -job
filter
> > -basin
> > > > ML
> > > > > >> > > -init_inc
> > > > > >> > > > > > > >> > > > 20141201_000000
> > > > > >> > > > > > > >> > > > > -match_points true -out_init_mask
> > > > > >> > > > > > /D2/xinxia/METplus/MET/met-5.
> > > > > >> > > > > > > >> > > > 2/share/met/poly/CONUS.poly
> > > > > >> > > > > > > >> > > > > -dump_row
/D2/xinxia/METplus/MET/out/ext
> > > > > >> > > > > > ract_tiles/20141201_00/
> > > > > >> > > > > > > >> > > > > filter_20141201_00.tcst
> > > > > >> > > > > > > >> > > > >
> > > > > >> > > > > > > >> > > > > DEBUG 1: Creating output dump
file:
> > > > > >> > > > > > /D2/xinxia/METplus/MET/out/
> > > > > >> > > > > > > >> > > > > extract_tiles/20141201_00/
> > > > > filter_20141201_00.tcst
> > > > > >> > > > > > > >> > > > >
> > > > > >> > > > > > > >> > > > > FILTER: -job filter -basin ML
-init_inc
> > > > > >> > 20141201_000000
> > > > > >> > > > > > > >> -match_points
> > > > > >> > > > > > > >> > > > true
> > > > > >> > > > > > > >> > > > > -out_init_mask
> > /D2/xinxia/METplus/MET/met-5.
> > > > > >> > > > > > > >> > > 2/share/met/poly/CONUS.poly
> > > > > >> > > > > > > >> > > > > -dump_row
/D2/xinxia/METplus/MET/out/ext
> > > > > >> > > > > > ract_tiles/20141201_00/
> > > > > >> > > > > > > >> > > > > filter_20141201_00.tcst
> > > > > >> > > > > > > >> > > > >
> > > > > >> > > > > > > >> > > > >
> > > > > >> > > > > > > >> > > > > DEBUG 2: Job 1 used 0 out of 27292
lines
> > > read.
> > > > > >> > > > > > > >> > > > >
> > > > > >> > > > > > > >> > > > >
> > > > > >> > > > > > > >> > > > > Because I don't have the right, I
can't
> > find
> > > > > >> > > > > run_tc_pairs.py,
> > > > > >> > > > > > > but
> > > > > >> > > > > > > >> I
> > > > > >> > > > > > > >> > > know
> > > > > >> > > > > > > >> > > > > it's under
> > > > > >> > > > > > > >> > > > >
> > > > > >> > > > > > > >> > > > > /D2/xinxia/METplus/METplus/ush
> > > > > >> > > > > > > >> > > > >
> > > > > >> > > > > > > >> > > > >
> > > > > >> > > > > > > >> > > > > For Python,
> > > > > >> > > > > > > >> > > > >
> > > > > >> > > > > > > >> > > > > [xinxia at chaos ~]$ which python
> > > > > >> > > > > > > >> > > > >
> > > > > >> > > > > > > >> > > > > /usr/bin/python
> > > > > >> > > > > > > >> > > > >
> > > > > >> > > > > > > >> > > > >
> > > > > >> > > > > > > >> > > > > Xinxia
> > > > > >> > > > > > > >> > > > >
> > > > > >> > > > > > > >> > > > > ________________________________
> > > > > >> > > > > > > >> > > > > From: Julie Prestopnik via RT <
> > > > met_help at ucar.edu
> > > > > >
> > > > > >> > > > > > > >> > > > > Sent: Friday, February 24, 2017
8:30:01
> AM
> > > > > >> > > > > > > >> > > > > To: Xinxia_Song at outlook.com
> > > > > >> > > > > > > >> > > > > Subject: Re: [rt.rap.ucar.edu
#79605]
> > > > > >> ImportError: No
> > > > > >> > > > > module
> > > > > >> > > > > > > >> named
> > > > > >> > > > > > > >> > > > > constants_pdef
> > > > > >> > > > > > > >> > > > >
> > > > > >> > > > > > > >> > > > > Hi Xinxia.
> > > > > >> > > > > > > >> > > > >
> > > > > >> > > > > > > >> > > > > It looks like there is a space
where
> there
> > > > should
> > > > > >> not
> > > > > >> > > be a
> > > > > >> > > > > > space
> > > > > >> > > > > > > >> > > (between
> > > > > >> > > > > > > >> > > > > /D2/xinxia/METplus/MET/out/ext
> > > > > >> ract_tiles/20141201_00/
> > > > > >> > > and
> > > > > >> > > > > > > >> > > > > filter_20141201_00.tcst after the
> -dump_row
> > > > > >> option).
> > > > > >> > > > > > > >> > > > >
> > > > > >> > > > > > > >> > > > > Could you please try it again
without the
> > > > space?
> > > > > >> > > > > > > >> > > > >
> > > > > >> > > > > > > >> > > > > /D2/xinxia/METplus/METplus/ush
> > > > > >> /run_tc_stat.py:tc_stat
> > > > > >> > > > from
> > > > > >> > > > > > > >> calling
> > > > > >> > > > > > > >> > MET
> > > > > >> > > > > > > >> > > > > TC-STAT with
> command:/D2/xinxia/METplus/MET
> > > > > >> > > > > > /met-5.2/bin/tc_stat
> > > > > >> > > > > > > >> -job
> > > > > >> > > > > > > >> > > > > filter
> > > > > >> > > > > > > >> > > > > -lookin
/D2/xinxia/METplus/MET/input/t
> > > > > >> c_pairs/201412
> > > > > >> > > > > > -init_inc
> > > > > >> > > > > > > >> > > > 20141201_00
> > > > > >> > > > > > > >> > > > > -match_points true -dump_row
> > > > > >> > /D2/xinxia/METplus/MET/out/
> > > > > >> > > > > > > >> > > > > extract_tiles/20141201_00/
> > > > > filter_20141201_00.tcst
> > > > > >> > > -basin
> > > > > >> > > > > ML
> > > > > >> > > > > > > >> > > > > -out_init_mask
> > > > > >> > > > > > > >> > > > > /D2/xinxia/METplus/MET/met-5.
> > > > > >> > > 2/share/met/poly/CONUS.poly
> > > > > >> > > > > > > >> > > > >
> > > > > >> > > > > > > >> > > > > Regarding the master_met_plus.py
run,
> > please
> > > > try
> > > > > >> > running
> > > > > >> > > > the
> > > > > >> > > > > > > >> > following
> > > > > >> > > > > > > >> > > > two
> > > > > >> > > > > > > >> > > > > commands and send me the output:
> > > > > >> > > > > > > >> > > > >
> > > > > >> > > > > > > >> > > > > which run_tc_pairs.py
> > > > > >> > > > > > > >> > > > >
> > > > > >> > > > > > > >> > > > > which python
> > > > > >> > > > > > > >> > > > >
> > > > > >> > > > > > > >> > > > > Thanks!
> > > > > >> > > > > > > >> > > > >
> > > > > >> > > > > > > >> > > > > Julie
> > > > > >> > > > > > > >> > > > >
> > > > > >> > > > > > > >> > > > > On Thu, Feb 23, 2017 at 11:06 AM,
Xinxia
> > Song
> > > > via
> > > > > >> RT <
> > > > > >> > > > > > > >> > > met_help at ucar.edu>
> > > > > >> > > > > > > >> > > > > wrote:
> > > > > >> > > > > > > >> > > > >
> > > > > >> > > > > > > >> > > > > >
> > > > > >> > > > > > > >> > > > > > <URL:
https://rt.rap.ucar.edu/rt/Tic
> > > > > >> > > > > > ket/Display.html?id=79605
> > > > > >> > > > > > > >
> > > > > >> > > > > > > >> > > > > >
> > > > > >> > > > > > > >> > > > > > Hi Julie,
> > > > > >> > > > > > > >> > > > > >
> > > > > >> > > > > > > >> > > > > >
> > > > > >> > > > > > > >> > > > > > After I ran the long one line
command:
> > > > > >> > > > > > > >> > > > > >
> > > > > >> > > > > > > >> > > > > > [xinxia at chaos parm]$
> > > > > >> /D2/xinxia/METplus/MET/met-5.
> > > > > >> > > > > > > 2/bin/tc_stat
> > > > > >> > > > > > > >> > -job
> > > > > >> > > > > > > >> > > > > > filter -lookin
> > > /D2/xinxia/METplus/MET/input/
> > > > > >> > > > > tc_pairs/201412
> > > > > >> > > > > > > >> > > -init_inc
> > > > > >> > > > > > > >> > > > > > 20141201_00 -match_points true
> -dump_row
> > > > > >> > > > > > > >> > /D2/xinxia/METplus/MET/out/
> > > > > >> > > > > > > >> > > > > extract_tiles/20141201_00/
> > > > > >> > > > > > > >> > > > > > filter_20141201_00.tcst  -basin
ML
> > > > > -out_init_mask
> > > > > >> > > > > > > >> > > > > > /D2/xinxia/METplus/MET/met-5.
> > > > > >> > > > 2/share/met/poly/CONUS.poly
> > > > > >> > > > > > > >> > > > > >
> > > > > >> > > > > > > >> > > > > >
> > > > > >> > > > > > > >> > > > > > DEBUG 1: [Source 1] Lookin:
> > > > > >> > > > /D2/xinxia/METplus/MET/input/
> > > > > >> > > > > > > >> > > > tc_pairs/201412
> > > > > >> > > > > > > >> > > > > >
> > > > > >> > > > > > > >> > > > > > ERROR  :
> > > > > >> > > > > > > >> > > > > >
> > > > > >> > > > > > > >> > > > > > ERROR  : TCStatJob
> > > *TCStatJobFactory::new_tc_
> > > > > >> > > > > stat_job(const
> > > > > >> > > > > > > >> char
> > > > > >> > > > > > > >> > > > > > *jobstring) -> unsupported job
command
> > > > options
> > > > > >> > > > > > > >> > > > "filter_20141201_00.tcst".
> > > > > >> > > > > > > >> > > > > >
> > > > > >> > > > > > > >> > > > > > ERROR  :
> > > > > >> > > > > > > >> > > > > >
> > > > > >> > > > > > > >> > > > > >
> > > > > >> > > > > > > >> > > > > > And for the master_met_plus.py,
I got
> the
> > > > > error:
> > > > > >> > > > > > > >> > > > > >
> > > > > >> > > > > > > >> > > > > > [xinxia at chaos ush]$ python
> > > > master_met_plus.py
> > > > > >> > > > > > > >> > > > > >
> > > > > >> > > > > > > >> > > > > > sh: run_tc_pairs.py: command not
found
> > > > > >> > > > > > > >> > > > > >
> > > > > >> > > > > > > >> > > > > >
> > > > > >> > > > > > > >> > > > > > Thanks,
> > > > > >> > > > > > > >> > > > > >
> > > > > >> > > > > > > >> > > > > >
> > > > > >> > > > > > > >> > > > > > Xinxia
> > > > > >> > > > > > > >> > > > > >
> > > > > >> > > > > > > >> > > > > > ________________________________
> > > > > >> > > > > > > >> > > > > > From: Julie Prestopnik via RT <
> > > > > met_help at ucar.edu
> > > > > >> >
> > > > > >> > > > > > > >> > > > > > Sent: Friday, February 24, 2017
7:42:21
> > AM
> > > > > >> > > > > > > >> > > > > > To: Xinxia_Song at outlook.com
> > > > > >> > > > > > > >> > > > > > Subject: Re: [rt.rap.ucar.edu
#79605]
> > > > > >> ImportError:
> > > > > >> > No
> > > > > >> > > > > > module
> > > > > >> > > > > > > >> named
> > > > > >> > > > > > > >> > > > > > constants_pdef
> > > > > >> > > > > > > >> > > > > >
> > > > > >> > > > > > > >> > > > > > My apologies, my response should
have
> > said,
> > > > "By
> > > > > >> > > default,
> > > > > >> > > > > MET
> > > > > >> > > > > > > >> > version
> > > > > >> > > > > > > >> > > > 5.2
> > > > > >> > > > > > > >> > > > > is
> > > > > >> > > > > > > >> > > > > > compiled using dynamic linking."
It's
> > true
> > > > for
> > > > > >> > both,
> > > > > >> > > > but
> > > > > >> > > > > I
> > > > > >> > > > > > > see
> > > > > >> > > > > > > >> > > you're
> > > > > >> > > > > > > >> > > > > > using 5.2 and I inadvertently
referred
> to
> > > > 5.1.
> > > > > >> > > > > > > >> > > > > >
> > > > > >> > > > > > > >> > > > > > On Thu, Feb 23, 2017 at 10:40
AM, Julie
> > > > > >> Prestopnik <
> > > > > >> > > > > > > >> > jpresto at ucar.edu
> > > > > >> > > > > > > >> > > >
> > > > > >> > > > > > > >> > > > > > wrote:
> > > > > >> > > > > > > >> > > > > >
> > > > > >> > > > > > > >> > > > > > > Hi Xinxia.  Regarding the
error:
> > > > > >> > > > > > > >> > > > > > >
> > > > > >> > > > > > > >> > > > > > > /D2/xinxia/METplus/MET/met-5.
> > > > 2/bin/tc_stat:
> > > > > >> error
> > > > > >> > > > while
> > > > > >> > > > > > > >> loading
> > > > > >> > > > > > > >> > > > shared
> > > > > >> > > > > > > >> > > > > > > libraries: libgsl.so.19:
cannot open
> > > shared
> > > > > >> object
> > > > > >> > > > file:
> > > > > >> > > > > > No
> > > > > >> > > > > > > >> such
> > > > > >> > > > > > > >> > > file
> > > > > >> > > > > > > >> > > > > or
> > > > > >> > > > > > > >> > > > > > > directory
> > > > > >> > > > > > > >> > > > > > >
> > > > > >> > > > > > > >> > > > > > > By default, MET version 5.1 is
> compiled
> > > > using
> > > > > >> > > dynamic
> > > > > >> > > > > > > linking.
> > > > > >> > > > > > > >> > > > Rather
> > > > > >> > > > > > > >> > > > > > > than compiling the external
library
> > code
> > > in
> > > > > >> with
> > > > > >> > the
> > > > > >> > > > MET
> > > > > >> > > > > > > >> > > executables
> > > > > >> > > > > > > >> > > > > > (which
> > > > > >> > > > > > > >> > > > > > > is
> > > > > >> > > > > > > >> > > > > > > called static linking), it
looks for
> > them
> > > > at
> > > > > >> > > runtime.
> > > > > >> > > > > And
> > > > > >> > > > > > > >> it's
> > > > > >> > > > > > > >> > > > looking
> > > > > >> > > > > > > >> > > > > > > for those "shared object"
(.so)
> library
> > > > > files.
> > > > > >> > > > > > > >> > > > > > >
> > > > > >> > > > > > > >> > > > > > > This should be easy to fix. We
just
> > need
> > > to
> > > > > >> tell
> > > > > >> > it
> > > > > >> > > > > where
> > > > > >> > > > > > to
> > > > > >> > > > > > > >> find
> > > > > >> > > > > > > >> > > > them,
> > > > > >> > > > > > > >> > > > > > > and we do that by setting (or
adding
> to
> > > the
> > > > > >> > > > > > > LD_LIBRARY_PATH).
> > > > > >> > > > > > > >> > Look
> > > > > >> > > > > > > >> > > > in
> > > > > >> > > > > > > >> > > > > > your
> > > > > >> > > > > > > >> > > > > > > ~/.bashrc file.  If
LD_LIBRARY_PATH
> is
> > > > > already
> > > > > >> > > defined
> > > > > >> > > > > in
> > > > > >> > > > > > > >> there,
> > > > > >> > > > > > > >> > > add
> > > > > >> > > > > > > >> > > > > the
> > > > > >> > > > > > > >> > > > > > > path to the libgsl.so.19 to
the end
> of
> > > it.
> > > > > If
> > > > > >> > not,
> > > > > >> > > > add
> > > > > >> > > > > an
> > > > > >> > > > > > > >> > > > > > > LD_LIBRARY_PATH entry in your
> ~/.bashrc
> > > > file.
> > > > > >> So,
> > > > > >> > > for
> > > > > >> > > > > > > >> example,
> > > > > >> > > > > > > >> > if
> > > > > >> > > > > > > >> > > > the
> > > > > >> > > > > > > >> > > > > > path
> > > > > >> > > > > > > >> > > > > > > to your libgsl.so.19 file is
> > > > > >> > > > > > /D2/xinxia/METplus/MET/externa
> > > > > >> > > > > > > >> > > > > > l_libs/GSL/gsl-1.16/lib
> > > > > >> > > > > > > >> > > > > > > you would add teh following to
your
> > > > ~/.bashrc
> > > > > >> > file:
> > > > > >> > > > > > > >> > > > > > >
> > > > > >> > > > > > > >> > > > > > >   export
LD_LIBRARY_PATH=/D2/xinxia/
> > > > > >> > > > > > > >> > METplus/MET/external_libs/GSL/
> > > > > >> > > > > > > >> > > > > > > gsl-1.16/lib
> > > > > >> > > > > > > >> > > > > > >
> > > > > >> > > > > > > >> > > > > > > Then save the change and
source that
> > > file:
> > > > > >> > > > > > > >> > > > > > >
> > > > > >> > > > > > > >> > > > > > >   source ~/.bashrc
> > > > > >> > > > > > > >> > > > > > >
> > > > > >> > > > > > > >> > > > > > > Then, please try rerunning the
> command
> > > > > manually
> > > > > >> > and
> > > > > >> > > > let
> > > > > >> > > > > me
> > > > > >> > > > > > > >> know
> > > > > >> > > > > > > >> > if
> > > > > >> > > > > > > >> > > it
> > > > > >> > > > > > > >> > > > > > > works.
> > > > > >> > > > > > > >> > > > > > >
> > > > > >> > > > > > > >> > > > > > > I believe that this was the
cause of
> > the
> > > > > >> initial
> > > > > >> > > error
> > > > > >> > > > > you
> > > > > >> > > > > > > >> > received
> > > > > >> > > > > > > >> > > > > from
> > > > > >> > > > > > > >> > > > > > > MET+:
> > > > > >> > > > > > > >> > > > > > >
> > > > > >> > > > > > > >> > > > > > > ERROR|
/D2/xinxia/METplus/METplus/
> > > > > >> > > > > > > ush/run_tc_stat.py:tc_stat
> > > > > >> > > > > > > >> > from
> > > > > >> > > > > > > >> > > > > > calling
> > > > > >> > > > > > > >> > > > > > > MET TC-STAT with
> > > > command:/D2/xinxia/METplus/
> > > > > >> > > > > > > >> > > MET/met-5.2/bin/tc_stat
> > > > > >> > > > > > > >> > > > > -job
> > > > > >> > > > > > > >> > > > > > > filter -lookin
> > > > /D2/xinxia/METplus/MET/input/t
> > > > > >> > > > > > c_pairs/201412
> > > > > >> > > > > > > >> > > > -init_inc
> > > > > >> > > > > > > >> > > > > > > 20141201_00 -match_points true
> > -dump_row
> > > > > >> > > > > > > >> > > > /D2/xinxia/METplus/MET/out/ext
> > > > > >> > > > > > > >> > > > > > > ract_tiles/20141201_00/filter_
> > > > > 20141201_00.tcst
> > > > > >> > > > -basin
> > > > > >> > > > > ML
> > > > > >> > > > > > > >> > > > > -out_init_mask
> > > > > >> > > > > > > >> > > > > > > /D2/xinxia/METplus/MET/met-5.
> > > > > >> > > > > 2/share/met/poly/CONUS.poly
> > > > > >> > > > > > > >> > > > > > >
> > > > > >> > > > > > > >> > > > > > >
> > > > > >> > > > > > > >> > > > > > > Thanks,
> > > > > >> > > > > > > >> > > > > > > Julie
> > > > > >> > > > > > > >> > > > > > >
> > > > > >> > > > > > > >> > > > > > > On Thu, Feb 23, 2017 at 10:14
AM,
> > Xinxia
> > > > Song
> > > > > >> via
> > > > > >> > > RT <
> > > > > >> > > > > > > >> > > > > met_help at ucar.edu>
> > > > > >> > > > > > > >> > > > > > > wrote:
> > > > > >> > > > > > > >> > > > > > >
> > > > > >> > > > > > > >> > > > > > >>
> > > > > >> > > > > > > >> > > > > > >> <URL:
> https://rt.rap.ucar.edu/rt/Tic
> > > > > >> > > > > > > >> ket/Display.html?id=79605 >
> > > > > >> > > > > > > >> > > > > > >>
> > > > > >> > > > > > > >> > > > > > >> Hi Julie,
> > > > > >> > > > > > > >> > > > > > >>
> > > > > >> > > > > > > >> > > > > > >>
> > > > > >> > > > > > > >> > > > > > >> [xinxia at chaos ush]$
> > > > > >> > /D2/xinxia/METplus/MET/met-5.2
> > > > > >> > > > > > > >> /bin/tc_stat
> > > > > >> > > > > > > >> > > -job
> > > > > >> > > > > > > >> > > > > > >> filter -lookin
> > > > /D2/xinxia/METplus/MET/input/
> > > > > >> > > > > > > tc_pairs/201412
> > > > > >> > > > > > > >> > > > -init_inc
> > > > > >> > > > > > > >> > > > > > >> 20141201_00 -match_points
true
> > -dump_row
> > > > > >> > > > > > > >> > > > > /D2/xinxia/METplus/MET/out/ext
> > > > > >> > > > > > > >> > > > > > ract_tiles/20141201_00/
> > > > > >> > > > > > > >> > > > > > >> filter_20141201_00.tcst
-basin ML
> > > > > >> -out_init_mask
> > > > > >> > > > > > > >> > > > > > >> /D2/xinxia/METplus/MET/met-5.
> > > > > >> > > > > 2/share/met/poly/CONUS.poly
> > > > > >> > > > > > > >> > > > > > >>
> > > > > >> > > > > > > >> > > > > > >> /D2/xinxia/METplus/MET/met-5.
> > > > 2/bin/tc_stat:
> > > > > >> > error
> > > > > >> > > > > while
> > > > > >> > > > > > > >> loading
> > > > > >> > > > > > > >> > > > > shared
> > > > > >> > > > > > > >> > > > > > >> libraries: libgsl.so.19:
cannot open
> > > > shared
> > > > > >> > object
> > > > > >> > > > > file:
> > > > > >> > > > > > No
> > > > > >> > > > > > > >> such
> > > > > >> > > > > > > >> > > > file
> > > > > >> > > > > > > >> > > > > or
> > > > > >> > > > > > > >> > > > > > >> directory
> > > > > >> > > > > > > >> > > > > > >>
> > > > > >> > > > > > > >> > > > > > >>
> > > > > >> > > > > > > >> > > > > > >> And I uploaded the
configuration
> file
> > > > > >> > > > > (constants_pdef.py)
> > > > > >> > > > > > > >> under
> > > > > >> > > > > > > >> > > > > > >> xinxia_data directory.
> > > > > >> > > > > > > >> > > > > > >>
> > > > > >> > > > > > > >> > > > > > >>
> > > > > >> > > > > > > >> > > > > > >> Thanks,
> > > > > >> > > > > > > >> > > > > > >>
> > > > > >> > > > > > > >> > > > > > >>
> > > > > >> > > > > > > >> > > > > > >> Xinxia
> > > > > >> > > > > > > >> > > > > > >>
> > > > > >> > > > > > > >> > > > > > >>
________________________________
> > > > > >> > > > > > > >> > > > > > >> From: Julie Prestopnik via RT
<
> > > > > >> met_help at ucar.edu
> > > > > >> > >
> > > > > >> > > > > > > >> > > > > > >> Sent: Friday, February 24,
2017
> > 6:15:57
> > > AM
> > > > > >> > > > > > > >> > > > > > >> To: Xinxia_Song at outlook.com
> > > > > >> > > > > > > >> > > > > > >> Subject: Re: [rt.rap.ucar.edu
> #79605]
> > > > > >> > ImportError:
> > > > > >> > > > No
> > > > > >> > > > > > > module
> > > > > >> > > > > > > >> > > named
> > > > > >> > > > > > > >> > > > > > >> constants_pdef
> > > > > >> > > > > > > >> > > > > > >>
> > > > > >> > > > > > > >> > > > > > >> Hi Xinxia.
> > > > > >> > > > > > > >> > > > > > >>
> > > > > >> > > > > > > >> > > > > > >> I can see that your command,
which
> > > should
> > > > > have
> > > > > >> > been
> > > > > >> > > > all
> > > > > >> > > > > > on
> > > > > >> > > > > > > >> one
> > > > > >> > > > > > > >> > > line,
> > > > > >> > > > > > > >> > > > > was
> > > > > >> > > > > > > >> > > > > > >> broken up into several lines.
> Please
> > > try
> > > > > >> running
> > > > > >> > > the
> > > > > >> > > > > > > command
> > > > > >> > > > > > > >> > > again,
> > > > > >> > > > > > > >> > > > > > >> making
> > > > > >> > > > > > > >> > > > > > >> sure that the entire command
is on
> one
> > > > line:
> > > > > >> > > > > > > >> > > > > > >>
> > > > > >> > > > > > > >> > > > > > >> /D2/xinxia/METplus/MET/met-5.
> > > > 2/bin/tc_stat
> > > > > >> -job
> > > > > >> > > > filter
> > > > > >> > > > > > > >> -lookin
> > > > > >> > > > > > > >> > > > > > >> /D2/xinxia/METplus/MET/input/
> > > > > tc_pairs/201412
> > > > > >> > > > -init_inc
> > > > > >> > > > > > > >> > > 20141201_00
> > > > > >> > > > > > > >> > > > > > >> -match_points true -dump_row
> > > > > >> > > > > > > >> > > > > > >> /D2/xinxia/METplus/MET/out/
> > > > > >> > > > extract_tiles/20141201_00/
> > > > > >> > > > > > > >> > > > > > >> filter_20141201_00.tcst
-basin ML
> > > > > >> -out_init_mask
> > > > > >> > > > > > > >> > > > > > >> /D2/xinxia/METplus/MET/met-5.
> > > > > >> > > > > 2/share/met/poly/CONUS.poly
> > > > > >> > > > > > > >> > > > > > >>
> > > > > >> > > > > > > >> > > > > > >> Then, please send the output
from
> that
> > > > > >> command.
> > > > > >> > > > > > > >> > > > > > >>
> > > > > >> > > > > > > >> > > > > > >> Regarding, your error:
> > > > > >> > > > > > > >> > > > > > >>
> > > > > >> > > > > > > >> > > > > > >> sh: run_tc_pairs.py: command
not
> found
> > > > > >> > > > > > > >> > > > > > >>
> > > > > >> > > > > > > >> > > > > > >> It's strange that would only
have
> > > occurred
> > > > > >> after
> > > > > >> > > > having
> > > > > >> > > > > > > >> changed
> > > > > >> > > > > > > >> > > the
> > > > > >> > > > > > > >> > > > > > >> LOG_LEVEL.  Could you please
send us
> > > your
> > > > > >> > > > configuration
> > > > > >> > > > > > > file?
> > > > > >> > > > > > > >> > > > > > >>
> > > > > >> > > > > > > >> > > > > > >> Thanks!
> > > > > >> > > > > > > >> > > > > > >>
> > > > > >> > > > > > > >> > > > > > >> Julie
> > > > > >> > > > > > > >> > > > > > >>
> > > > > >> > > > > > > >> > > > > > >> On Wed, Feb 22, 2017 at 2:54
PM,
> > Xinxia
> > > > Song
> > > > > >> via
> > > > > >> > > RT <
> > > > > >> > > > > > > >> > > > > met_help at ucar.edu>
> > > > > >> > > > > > > >> > > > > > >> wrote:
> > > > > >> > > > > > > >> > > > > > >>
> > > > > >> > > > > > > >> > > > > > >> >
> > > > > >> > > > > > > >> > > > > > >> > <URL:
> > https://rt.rap.ucar.edu/rt/Tic
> > > > > >> > > > > > > >> ket/Display.html?id=79605
> > > > > >> > > > > > > >> > >
> > > > > >> > > > > > > >> > > > > > >> >
> > > > > >> > > > > > > >> > > > > > >> > Hi Julie,
> > > > > >> > > > > > > >> > > > > > >> >
> > > > > >> > > > > > > >> > > > > > >> >
> > > > > >> > > > > > > >> > > > > > >> > [xinxia at chaos ush]$
> > > > > >> > > /D2/xinxia/METplus/MET/met-5.
> > > > > >> > > > > > > >> > 2/bin/tc_stat
> > > > > >> > > > > > > >> > > > -job
> > > > > >> > > > > > > >> > > > > > >> > filter -lookin
> > > > > >> > > > > > > >> > > > > > >> >
> > > > > >> > > > > > > >> > > > > > >> > /D2/xinxia/METplus/MET/met-
5.
> > > > > 2/bin/tc_stat:
> > > > > >> > > error
> > > > > >> > > > > > while
> > > > > >> > > > > > > >> > loading
> > > > > >> > > > > > > >> > > > > > shared
> > > > > >> > > > > > > >> > > > > > >> > libraries: libgsl.so.19:
cannot
> open
> > > > > shared
> > > > > >> > > object
> > > > > >> > > > > > file:
> > > > > >> > > > > > > No
> > > > > >> > > > > > > >> > such
> > > > > >> > > > > > > >> > > > > file
> > > > > >> > > > > > > >> > > > > > or
> > > > > >> > > > > > > >> > > > > > >> > directory
> > > > > >> > > > > > > >> > > > > > >> >
> > > > > >> > > > > > > >> > > > > > >> >
> > > > > >> > > > > > > >> > > > > > >> > [xinxia at chaos ush]$
> > > > > >> > > /D2/xinxia/METplus/MET/input/
> > > > > >> > > > > > > >> > > tc_pairs/201412
> > > > > >> > > > > > > >> > > > > > >> > -init_inc 20141201_00
> -match_points
> > > true
> > > > > >> > > -dump_row
> > > > > >> > > > > > > >> > > > > > >> >
> > > > > >> > > > > > > >> > > > > > >> > -bash:
> /D2/xinxia/METplus/MET/input/
> > > > > >> > > > tc_pairs/201412:
> > > > > >> > > > > > is
> > > > > >> > > > > > > a
> > > > > >> > > > > > > >> > > > directory
> > > > > >> > > > > > > >> > > > > > >> >
> > > > > >> > > > > > > >> > > > > > >> >
> > > > > >> > > > > > > >> > > > > > >> > [xinxia at chaos ush]$
> > > > > >> > > /D2/xinxia/METplus/MET/out/ext
> > > > > >> > > > > > > >> > > > > > >> ract_tiles/20141201_00/
> > > > > >> > > > > > > >> > > > > > >> > filter_20141201_00.tcst
-basin ML
> > > > > >> > -out_init_mask
> > > > > >> > > > > > > >> > > > > > >> > /D2/xinxia/METplus/MET/met-
5.2
> > > > > >> > > > > > /share/met/poly/CONUS.poly
> > > > > >> > > > > > > >> > > > > > >> >
> > > > > >> > > > > > > >> > > > > > >> > -bash:
> > /D2/xinxia/METplus/MET/out/ext
> > > > > >> > > > > > > >> ract_tiles/20141201_00/:
> > > > > >> > > > > > > >> > > No
> > > > > >> > > > > > > >> > > > > such
> > > > > >> > > > > > > >> > > > > > >> > file or directory
> > > > > >> > > > > > > >> > > > > > >> >
> > > > > >> > > > > > > >> > > > > > >> >
> > > > > >> > > > > > > >> > > > > > >> > After I change the
LOG_LEVEL, I
> ran
> > > the
> > > > > >> > > > > > > >> master_met_plus.py, it
> > > > > >> > > > > > > >> > > > says:
> > > > > >> > > > > > > >> > > > > > >> >
> > > > > >> > > > > > > >> > > > > > >> > [xinxia at chaos ush]$ python
> > > > > >> master_met_plus.py
> > > > > >> > > > > > > >> > > > > > >> >
> > > > > >> > > > > > > >> > > > > > >> > sh: run_tc_pairs.py:
command not
> > found
> > > > > >> > > > > > > >> > > > > > >> >
> > > > > >> > > > > > > >> > > > > > >> >
> > > > > >> > > > > > > >> > > > > > >> >
> > > > > >> > > > > > > >> > > > > > >> > Thanks,
> > > > > >> > > > > > > >> > > > > > >> >
> > > > > >> > > > > > > >> > > > > > >> >
> > > > > >> > > > > > > >> > > > > > >> > Xinxia
> > > > > >> > > > > > > >> > > > > > >> >
> > > > > >> > > > > > > >> > > > > > >> >
> > > > > >> > > > > > > >> > > > > > >> >
________________________________
> > > > > >> > > > > > > >> > > > > > >> > From: Julie Prestopnik via
RT <
> > > > > >> > met_help at ucar.edu
> > > > > >> > > >
> > > > > >> > > > > > > >> > > > > > >> > Sent: Thursday, February
23, 2017
> > > > 10:04:55
> > > > > >> AM
> > > > > >> > > > > > > >> > > > > > >> > To: Xinxia_Song at outlook.com
> > > > > >> > > > > > > >> > > > > > >> > Subject: Re:
[rt.rap.ucar.edu
> > #79605]
> > > > > >> > > ImportError:
> > > > > >> > > > > No
> > > > > >> > > > > > > >> module
> > > > > >> > > > > > > >> > > > named
> > > > > >> > > > > > > >> > > > > > >> > constants_pdef
> > > > > >> > > > > > > >> > > > > > >> >
> > > > > >> > > > > > > >> > > > > > >> > Thank you.  Unfortunately,
the
> level
> > > of
> > > > > >> detail
> > > > > >> > in
> > > > > >> > > > the
> > > > > >> > > > > > log
> > > > > >> > > > > > > >> file
> > > > > >> > > > > > > >> > > > > wasn't
> > > > > >> > > > > > > >> > > > > > >> what
> > > > > >> > > > > > > >> > > > > > >> > I hoped for.  I'd like to
have you
> > try
> > > > two
> > > > > >> > > things.
> > > > > >> > > > > > > >> > > > > > >> >
> > > > > >> > > > > > > >> > > > > > >> > First, could you please
send me
> your
> > > > > output
> > > > > >> of
> > > > > >> > > your
> > > > > >> > > > > > > manual
> > > > > >> > > > > > > >> run
> > > > > >> > > > > > > >> > > of
> > > > > >> > > > > > > >> > > > > the
> > > > > >> > > > > > > >> > > > > > >> > following?
> > > > > >> > > > > > > >> > > > > > >> >
> > > > > >> > > > > > > >> > > > > > >> >
"/D2/xinxia/METplus/MET/met-5.
> > > > > 2/bin/tc_stat
> > > > > >> > -job
> > > > > >> > > > > > filter
> > > > > >> > > > > > > >> > -lookin
> > > > > >> > > > > > > >> > > > > > >> >
/D2/xinxia/METplus/MET/input/t
> > > > > >> c_pairs/201412
> > > > > >> > > > > -init_inc
> > > > > >> > > > > > > >> > > > 20141201_00
> > > > > >> > > > > > > >> > > > > > >> > -match_points true
-dump_row
> > > > > >> > > > > > /D2/xinxia/METplus/MET/out/
> > > > > >> > > > > > > >> > > > > > >> > extract_tiles/20141201_00/
> > > > > >> > > filter_20141201_00.tcst
> > > > > >> > > > > > > -basin
> > > > > >> > > > > > > >> ML
> > > > > >> > > > > > > >> > > > > > >> > -out_init_mask
> > > > > >> > > > > > > >> > > > > > >> > /D2/xinxia/METplus/MET/met-
5.
> > > > > >> > > > > > > 2/share/met/poly/CONUS.poly"
> > > > > >> > > > > > > >> > > > > > >> >
> > > > > >> > > > > > > >> > > > > > >> > Second, could you please
change
> your
> > > log
> > > > > >> level
> > > > > >> > in
> > > > > >> > > > > your
> > > > > >> > > > > > > >> > > > configuration
> > > > > >> > > > > > > >> > > > > > >> file
> > > > > >> > > > > > > >> > > > > > >> > from
> > > > > >> > > > > > > >> > > > > > >> >
> > > > > >> > > > > > > >> > > > > > >> > LOG_LEVEL = "INFO"
> > > > > >> > > > > > > >> > > > > > >> >
> > > > > >> > > > > > > >> > > > > > >> > to
> > > > > >> > > > > > > >> > > > > > >> >
> > > > > >> > > > > > > >> > > > > > >> > LOG_LEVEL = "DEBUG"
> > > > > >> > > > > > > >> > > > > > >> >
> > > > > >> > > > > > > >> > > > > > >> > then rerun and upload your
log
> file
> > to
> > > > our
> > > > > >> ftp
> > > > > >> > > > server
> > > > > >> > > > > > > >> again?
> > > > > >> > > > > > > >> > > > > > >> >
> > > > > >> > > > > > > >> > > > > > >> > Thank you!
> > > > > >> > > > > > > >> > > > > > >> >
> > > > > >> > > > > > > >> > > > > > >> > Julie
> > > > > >> > > > > > > >> > > > > > >> >
> > > > > >> > > > > > > >> > > > > > >> >
> > > > > >> > > > > > > >> > > > > > >> > On Wed, Feb 22, 2017 at
12:39 PM,
> > > Xinxia
> > > > > >> Song
> > > > > >> > via
> > > > > >> > > > RT
> > > > > >> > > > > <
> > > > > >> > > > > > > >> > > > > > met_help at ucar.edu
> > > > > >> > > > > > > >> > > > > > >> >
> > > > > >> > > > > > > >> > > > > > >> > wrote:
> > > > > >> > > > > > > >> > > > > > >> >
> > > > > >> > > > > > > >> > > > > > >> > >
> > > > > >> > > > > > > >> > > > > > >> > > <URL:
> https://rt.rap.ucar.edu/rt/
> > > > > >> > > > > > > >> > Ticket/Display.html?id=79605
> > > > > >> > > > > > > >> > > >
> > > > > >> > > > > > > >> > > > > > >> > >
> > > > > >> > > > > > > >> > > > > > >> > > Hi Julie,
> > > > > >> > > > > > > >> > > > > > >> > >
> > > > > >> > > > > > > >> > > > > > >> > >
> > > > > >> > > > > > > >> > > > > > >> > > I uploaded the log file
under
> > > > > xinxia_data
> > > > > >> > > > > directory.
> > > > > >> > > > > > > >> > > > > > >> > >
> > > > > >> > > > > > > >> > > > > > >> > >
> > > > > >> > > > > > > >> > > > > > >> > > Thanks,
> > > > > >> > > > > > > >> > > > > > >> > >
> > > > > >> > > > > > > >> > > > > > >> > >
> > > > > >> > > > > > > >> > > > > > >> > > Xinxia
> > > > > >> > > > > > > >> > > > > > >> > >
> > > > > >> > > > > > > >> > > > > > >> > >
> > > > > >> > > > > > > >> > > > > > >> > >
______________________________
> __
> > > > > >> > > > > > > >> > > > > > >> > > From: Julie Prestopnik
via RT <
> > > > > >> > > met_help at ucar.edu
> > > > > >> > > > >
> > > > > >> > > > > > > >> > > > > > >> > > Sent: Thursday, February
23,
> 2017
> > > > > 9:11:32
> > > > > >> AM
> > > > > >> > > > > > > >> > > > > > >> > > To:
Xinxia_Song at outlook.com
> > > > > >> > > > > > > >> > > > > > >> > > Subject: Re:
[rt.rap.ucar.edu
> > > #79605]
> > > > > >> > > > ImportError:
> > > > > >> > > > > > No
> > > > > >> > > > > > > >> > module
> > > > > >> > > > > > > >> > > > > named
> > > > > >> > > > > > > >> > > > > > >> > > constants_pdef
> > > > > >> > > > > > > >> > > > > > >> > >
> > > > > >> > > > > > > >> > > > > > >> > > Hi Xinxia.
> > > > > >> > > > > > > >> > > > > > >> > >
> > > > > >> > > > > > > >> > > > > > >> > > I think it would be
helpful if I
> > > could
> > > > > >> take a
> > > > > >> > > > look
> > > > > >> > > > > at
> > > > > >> > > > > > > the
> > > > > >> > > > > > > >> > log
> > > > > >> > > > > > > >> > > > > file.
> > > > > >> > > > > > > >> > > > > > >> > Could
> > > > > >> > > > > > > >> > > > > > >> > > you please upload your
file to
> our
> > > > > >> anonymous
> > > > > >> > > ftp
> > > > > >> > > > > site
> > > > > >> > > > > > > as
> > > > > >> > > > > > > >> > > follows
> > > > > >> > > > > > > >> > > > > so
> > > > > >> > > > > > > >> > > > > > >> that
> > > > > >> > > > > > > >> > > > > > >> > I
> > > > > >> > > > > > > >> > > > > > >> > > can take a look?
> > > > > >> > > > > > > >> > > > > > >> > >
> > > > > >> > > > > > > >> > > > > > >> > >
http://www.dtcenter.org/met/
> > > > > >> > > > > > > >> > users/support/met_help.php#ftp
> > > > > >> > > > > > > >> > > > > > >> > >
> > > > > >> > > > > > > >> > > > > > >> > > Also, could you please
try
> running
> > > the
> > > > > >> > > following
> > > > > >> > > > > > > manually
> > > > > >> > > > > > > >> > and
> > > > > >> > > > > > > >> > > > send
> > > > > >> > > > > > > >> > > > > > the
> > > > > >> > > > > > > >> > > > > > >> > > output to me?
> > > > > >> > > > > > > >> > > > > > >> > >
> > > > > >> > > > > > > >> > > > > > >> > >
"/D2/xinxia/METplus/MET/met-5.
> > > > > >> 2/bin/tc_stat
> > > > > >> > > -job
> > > > > >> > > > > > > filter
> > > > > >> > > > > > > >> > > -lookin
> > > > > >> > > > > > > >> > > > > > >> > >
/D2/xinxia/METplus/MET/input/t
> > > > > >> c_pairs/201412
> > > > > >> > > > > > -init_inc
> > > > > >> > > > > > > >> > > > > 20141201_00
> > > > > >> > > > > > > >> > > > > > >> > > -match_points true
-dump_row
> > > > > >> > > > > > > /D2/xinxia/METplus/MET/out/
> > > > > >> > > > > > > >> > > > > > >> > >
extract_tiles/20141201_00/
> > > > > >> > > > filter_20141201_00.tcst
> > > > > >> > > > > > > >> -basin
> > > > > >> > > > > > > >> > ML
> > > > > >> > > > > > > >> > > > > > >> > > -out_init_mask
> > > > > >> > > > > > > >> > > > > > >> > >
/D2/xinxia/METplus/MET/met-5.2
> > > > > >> > > > > > > >> /share/met/poly/CONUS.poly"
> > > > > >> > > > > > > >> > > > > > >> > >
> > > > > >> > > > > > > >> > > > > > >> > > Thank you!
> > > > > >> > > > > > > >> > > > > > >> > >
> > > > > >> > > > > > > >> > > > > > >> > > Julie
> > > > > >> > > > > > > >> > > > > > >> > >
> > > > > >> > > > > > > >> > > > > > >> > >
> > > > > >> > > > > > > >> > > > > > >> > >
> > > > > >> > > > > > > >> > > > > > >> > > On Wed, Feb 22, 2017 at
12:06
> PM,
> > > > Xinxia
> > > > > >> Song
> > > > > >> > > via
> > > > > >> > > > > RT
> > > > > >> > > > > > <
> > > > > >> > > > > > > >> > > > > > >> met_help at ucar.edu>
> > > > > >> > > > > > > >> > > > > > >> > > wrote:
> > > > > >> > > > > > > >> > > > > > >> > >
> > > > > >> > > > > > > >> > > > > > >> > > >
> > > > > >> > > > > > > >> > > > > > >> > > > <URL:
> > https://rt.rap.ucar.edu/rt/
> > > > > >> > > > > > > >> > > Ticket/Display.html?id=79605
> > > > > >> > > > > > > >> > > > >
> > > > > >> > > > > > > >> > > > > > >> > > >
> > > > > >> > > > > > > >> > > > > > >> > > > Hi Julie,
> > > > > >> > > > > > > >> > > > > > >> > > >
> > > > > >> > > > > > > >> > > > > > >> > > >
> > > > > >> > > > > > > >> > > > > > >> > > > Now I can run the
program, but
> > > when
> > > > I
> > > > > >> look
> > > > > >> > at
> > > > > >> > > > the
> > > > > >> > > > > > log
> > > > > >> > > > > > > >> file
> > > > > >> > > > > > > >> > > in
> > > > > >> > > > > > > >> > > > > the
> > > > > >> > > > > > > >> > > > > > >> > output,
> > > > > >> > > > > > > >> > > > > > >> > > > it shows error below:
> > > > > >> > > > > > > >> > > > > > >> > > >
> > > > > >> > > > > > > >> > > > > > >> > > >
> > > > > >> > > > > > > >> > > > > > >> > > > ERROR|
> > /D2/xinxia/METplus/METplus/
> > > > > >> > > > > > > >> > > ush/run_tc_stat.py:tc_stat
> > > > > >> > > > > > > >> > > > > from
> > > > > >> > > > > > > >> > > > > > >> > > calling
> > > > > >> > > > > > > >> > > > > > >> > > > MET TC-STAT with
> > > > > >> > > command:/D2/xinxia/METplus/MET
> > > > > >> > > > > > > >> > > > > > /met-5.2/bin/tc_stat
> > > > > >> > > > > > > >> > > > > > >> > -job
> > > > > >> > > > > > > >> > > > > > >> > > > filter -lookin
> > > > > >> > /D2/xinxia/METplus/MET/input/
> > > > > >> > > > > > > >> > tc_pairs/201412
> > > > > >> > > > > > > >> > > > > > >> -init_inc
> > > > > >> > > > > > > >> > > > > > >> > > > 20141201_00
-match_points true
> > > > > -dump_row
> > > > > >> > > > > > > >> > > > > > /D2/xinxia/METplus/MET/out/
> > > > > >> > > > > > > >> > > > > > >> > > >
extract_tiles/20141201_00/
> > > > > >> > > > > filter_20141201_00.tcst
> > > > > >> > > > > > > >> -basin
> > > > > >> > > > > > > >> > > ML
> > > > > >> > > > > > > >> > > > > > >> > > > -out_init_mask
> > > > > >> > /D2/xinxia/METplus/MET/met-5.
> > > > > >> > > > > > > >> > > > > > >> > 2/share/met/poly/CONUS.poly
> > > > > >> > > > > > > >> > > > > > >> > > >
> > > > > >> > > > > > > >> > > > > > >> > > >
> > > > > >> > > > > > > >> > > > > > >> > > > How should I fix it?
> > > > > >> > > > > > > >> > > > > > >> > > >
> > > > > >> > > > > > > >> > > > > > >> > > >
> > > > > >> > > > > > > >> > > > > > >> > > > Thanks,
> > > > > >> > > > > > > >> > > > > > >> > > >
> > > > > >> > > > > > > >> > > > > > >> > > >
> > > > > >> > > > > > > >> > > > > > >> > > > Xinxia
> > > > > >> > > > > > > >> > > > > > >> > > >
> > > > > >> > > > > > > >> > > > > > >> > > >
______________________________
> > __
> > > > > >> > > > > > > >> > > > > > >> > > > From: Julie Prestopnik
via RT
> <
> > > > > >> > > > met_help at ucar.edu
> > > > > >> > > > > >
> > > > > >> > > > > > > >> > > > > > >> > > > Sent: Thursday,
February 23,
> > 2017
> > > > > >> 7:30:06
> > > > > >> > AM
> > > > > >> > > > > > > >> > > > > > >> > > > To:
Xinxia_Song at outlook.com
> > > > > >> > > > > > > >> > > > > > >> > > > Subject: Re:
[rt.rap.ucar.edu
> > > > #79605]
> > > > > >> > > > > ImportError:
> > > > > >> > > > > > > No
> > > > > >> > > > > > > >> > > module
> > > > > >> > > > > > > >> > > > > > named
> > > > > >> > > > > > > >> > > > > > >> > > > constants_pdef
> > > > > >> > > > > > > >> > > > > > >> > > >
> > > > > >> > > > > > > >> > > > > > >> > > > Hi Xinxia.
> > > > > >> > > > > > > >> > > > > > >> > > >
> > > > > >> > > > > > > >> > > > > > >> > > > I believe that python
doesn't
> > know
> > > > how
> > > > > >> to
> > > > > >> > > find
> > > > > >> > > > > the
> > > > > >> > > > > > > >> module
> > > > > >> > > > > > > >> > > > > because
> > > > > >> > > > > > > >> > > > > > >> the
> > > > > >> > > > > > > >> > > > > > >> > ush
> > > > > >> > > > > > > >> > > > > > >> > > > directory is not in
your
> > > PYTHONPATH.
> > > > > >> Both
> > > > > >> > > the
> > > > > >> > > > > parm
> > > > > >> > > > > > > and
> > > > > >> > > > > > > >> > ush
> > > > > >> > > > > > > >> > > > > > >> directory
> > > > > >> > > > > > > >> > > > > > >> > > need
> > > > > >> > > > > > > >> > > > > > >> > > > to be specified in your
> > > PYTHONPATH.
> > > > > >> Please
> > > > > >> > > add
> > > > > >> > > > > the
> > > > > >> > > > > > > ush
> > > > > >> > > > > > > >> > > > > directory
> > > > > >> > > > > > > >> > > > > > to
> > > > > >> > > > > > > >> > > > > > >> > your
> > > > > >> > > > > > > >> > > > > > >> > > > PYTHONPATH, source
~/.bashrc,
> > and
> > > > let
> > > > > us
> > > > > >> > know
> > > > > >> > > > how
> > > > > >> > > > > > it
> > > > > >> > > > > > > >> goes.
> > > > > >> > > > > > > >> > > > > > >> > > >
> > > > > >> > > > > > > >> > > > > > >> > > > Thanks,
> > > > > >> > > > > > > >> > > > > > >> > > > Julie
> > > > > >> > > > > > > >> > > > > > >> > > >
> > > > > >> > > > > > > >> > > > > > >> > > > On Wed, Feb 22, 2017 at
10:24
> > AM,
> > > > > Xinxia
> > > > > >> > Song
> > > > > >> > > > via
> > > > > >> > > > > > RT
> > > > > >> > > > > > > <
> > > > > >> > > > > > > >> > > > > > >> > met_help at ucar.edu>
> > > > > >> > > > > > > >> > > > > > >> > > > wrote:
> > > > > >> > > > > > > >> > > > > > >> > > >
> > > > > >> > > > > > > >> > > > > > >> > > > >
> > > > > >> > > > > > > >> > > > > > >> > > > > <URL:
> > > https://rt.rap.ucar.edu/rt/
> > > > > >> > > > > > > >> > > > Ticket/Display.html?id=79605
> > > > > >> > > > > > > >> > > > > >
> > > > > >> > > > > > > >> > > > > > >> > > > >
> > > > > >> > > > > > > >> > > > > > >> > > > > Hi Julie,
> > > > > >> > > > > > > >> > > > > > >> > > > >
> > > > > >> > > > > > > >> > > > > > >> > > > >
> > > > > >> > > > > > > >> > > > > > >> > > > > Since I don't have
setenv, I
> > > added
> > > > > >> these
> > > > > >> > 3
> > > > > >> > > > > > sentence
> > > > > >> > > > > > > >> into
> > > > > >> > > > > > > >> > > my
> > > > > >> > > > > > > >> > > > > > >> .bashrc
> > > > > >> > > > > > > >> > > > > > >> > > file:
> > > > > >> > > > > > > >> > > > > > >> > > > >
> > > > > >> > > > > > > >> > > > > > >> > > > >
> > > > > >> > > > > > > >> > > > > > >> > > > > export
> PYTHONPATH="/D2/xinxia/
> > > > > >> > > > > > > METplus/METplus/parm"
> > > > > >> > > > > > > >> > > > > > >> > > > >
> > > > > >> > > > > > > >> > > > > > >> > > > >
> > > > > >> > > > > > > >> > > > > > >> > > > > export
> > > USHROOT=/D2/xinxia/METplus/
> > > > > >> > > > METplus/ush
> > > > > >> > > > > > > >> > > > > > >> > > > >
> > > > > >> > > > > > > >> > > > > > >> > > > > export
PATH=$USHROOT:$PATH
> > > > > >> > > > > > > >> > > > > > >> > > > >
> > > > > >> > > > > > > >> > > > > > >> > > > >
> > > > > >> > > > > > > >> > > > > > >> > > > > I sourced the
~/.bashrc, and
> > > > checked
> > > > > >> that
> > > > > >> > > the
> > > > > >> > > > > > > >> variables
> > > > > >> > > > > > > >> > > are
> > > > > >> > > > > > > >> > > > > set,
> > > > > >> > > > > > > >> > > > > > >> but
> > > > > >> > > > > > > >> > > > > > >> > > the
> > > > > >> > > > > > > >> > > > > > >> > > > > program still can't
find the
> > > > module.
> > > > > >> > > > > > > >> > > > > > >> > > > >
> > > > > >> > > > > > > >> > > > > > >> > > > >
> > > > > >> > > > > > > >> > > > > > >> > > > > Thanks,
> > > > > >> > > > > > > >> > > > > > >> > > > >
> > > > > >> > > > > > > >> > > > > > >> > > > > Xinxia
> > > > > >> > > > > > > >> > > > > > >> > > > >
> > > > > >> > > > > > > >> > > > > > >> > > > >
> ______________________________
> > > __
> > > > > >> > > > > > > >> > > > > > >> > > > > From: Julie
Prestopnik via
> RT
> > <
> > > > > >> > > > > met_help at ucar.edu
> > > > > >> > > > > > >
> > > > > >> > > > > > > >> > > > > > >> > > > > Sent: Thursday,
February 23,
> > > 2017
> > > > > >> 6:24:21
> > > > > >> > > AM
> > > > > >> > > > > > > >> > > > > > >> > > > > To:
Xinxia_Song at outlook.com
> > > > > >> > > > > > > >> > > > > > >> > > > > Subject: Re: [
> rt.rap.ucar.edu
> > > > > #79605]
> > > > > >> > > > > > ImportError:
> > > > > >> > > > > > > >> No
> > > > > >> > > > > > > >> > > > module
> > > > > >> > > > > > > >> > > > > > >> named
> > > > > >> > > > > > > >> > > > > > >> > > > > constants_pdef
> > > > > >> > > > > > > >> > > > > > >> > > > >
> > > > > >> > > > > > > >> > > > > > >> > > > > Hi Xinxia.
> > > > > >> > > > > > > >> > > > > > >> > > > >
> > > > > >> > > > > > > >> > > > > > >> > > > > Could you please
check to
> make
> > > > sure
> > > > > >> that
> > > > > >> > > the
> > > > > >> > > > > ush
> > > > > >> > > > > > > >> > directory
> > > > > >> > > > > > > >> > > > > with
> > > > > >> > > > > > > >> > > > > > >> > > > > constants_pdef.py is
in your
> > > > > >> PYTHONPATH
> > > > > >> > in
> > > > > >> > > > your
> > > > > >> > > > > > > >> .cshrc
> > > > > >> > > > > > > >> > > file
> > > > > >> > > > > > > >> > > > > (or
> > > > > >> > > > > > > >> > > > > > >> > .bashrc
> > > > > >> > > > > > > >> > > > > > >> > > > or
> > > > > >> > > > > > > >> > > > > > >> > > > > similar file)?  The
parm
> > > directory
> > > > > >> should
> > > > > >> > > > also
> > > > > >> > > > > be
> > > > > >> > > > > > > in
> > > > > >> > > > > > > >> > your
> > > > > >> > > > > > > >> > > > > > >> PYTHONPATH.
> > > > > >> > > > > > > >> > > > > > >> > > > >
> > > > > >> > > > > > > >> > > > > > >> > > > > For example,
> > > > > >> > > > > > > >> > > > > > >> > > > >
> > > > > >> > > > > > > >> > > > > > >> > > > > setenv PYTHONPATH
> > > > > >> > > > /d1/jpresto/sbu/METplus/ush:/
> > > > > >> > > > > > > >> > > > > > >> > > >
d1/jpresto/sbu/METplus/parm
> > > > > >> > > > > > > >> > > > > > >> > > > >
> > > > > >> > > > > > > >> > > > > > >> > > > > Please also check
make sure
> > that
> > > > the
> > > > > >> path
> > > > > >> > > to
> > > > > >> > > > > the
> > > > > >> > > > > > > ush
> > > > > >> > > > > > > >> > > > directory
> > > > > >> > > > > > > >> > > > > > is
> > > > > >> > > > > > > >> > > > > > >> > also
> > > > > >> > > > > > > >> > > > > > >> > > > > specified your your
path
> > > > environment
> > > > > >> > > > variable.
> > > > > >> > > > > > For
> > > > > >> > > > > > > >> > > example,
> > > > > >> > > > > > > >> > > > > > >> > > > >
> > > > > >> > > > > > > >> > > > > > >> > > > > set path =
(/usr/local/bin \
> > > > > >> > > > > > > >> > > > > > >> > > > >
> > > > > >> > > > /usr/local/python/bin/python \
> > > > > >> > > > > > > >> > > > > > >> > > > >
> > > > > >> > > /d1/jpresto/sbu/METplus/ush
> > > > > >> > > > )
> > > > > >> > > > > > > >> > > > > > >> > > > >
> > > > > >> > > > > > > >> > > > > > >> > > > > If they are not
there,
> please
> > > add
> > > > > them
> > > > > >> > and
> > > > > >> > > > then
> > > > > >> > > > > > > >> source
> > > > > >> > > > > > > >> > the
> > > > > >> > > > > > > >> > > > > file
> > > > > >> > > > > > > >> > > > > > >> (e.g.
> > > > > >> > > > > > > >> > > > > > >> > > run
> > > > > >> > > > > > > >> > > > > > >> > > > > "source ~/.cshrc").
> > > > > >> > > > > > > >> > > > > > >> > > > >
> > > > > >> > > > > > > >> > > > > > >> > > > > Thank you!  Please
let us
> know
> > > how
> > > > > it
> > > > > >> > goes.
> > > > > >> > > > > > > >> > > > > > >> > > > >
> > > > > >> > > > > > > >> > > > > > >> > > > > Julie
> > > > > >> > > > > > > >> > > > > > >> > > > >
> > > > > >> > > > > > > >> > > > > > >> > > > >
> > > > > >> > > > > > > >> > > > > > >> > > > >
> > > > > >> > > > > > > >> > > > > > >> > > > >
> > > > > >> > > > > > > >> > > > > > >> > > > > On Tue, Feb 21, 2017
at 4:49
> > PM,
> > > > > >> Xinxia
> > > > > >> > > Song
> > > > > >> > > > > via
> > > > > >> > > > > > > RT <
> > > > > >> > > > > > > >> > > > > > >> > met_help at ucar.edu
> > > > > >> > > > > > > >> > > > > > >> > > >
> > > > > >> > > > > > > >> > > > > > >> > > > > wrote:
> > > > > >> > > > > > > >> > > > > > >> > > > >
> > > > > >> > > > > > > >> > > > > > >> > > > > >
> > > > > >> > > > > > > >> > > > > > >> > > > > > Tue Feb 21 16:49:28
2017:
> > > > Request
> > > > > >> 79605
> > > > > >> > > was
> > > > > >> > > > > > acted
> > > > > >> > > > > > > >> > upon.
> > > > > >> > > > > > > >> > > > > > >> > > > > > Transaction: Ticket
> created
> > by
> > > > > >> > > > > > > >> > Xinxia_Song at outlook.com
> > > > > >> > > > > > > >> > > > > > >> > > > > >        Queue:
met_help
> > > > > >> > > > > > > >> > > > > > >> > > > > >      Subject:
ImportError:
> > No
> > > > > module
> > > > > >> > > named
> > > > > >> > > > > > > >> > > constants_pdef
> > > > > >> > > > > > > >> > > > > > >> > > > > >        Owner:
Nobody
> > > > > >> > > > > > > >> > > > > > >> > > > > >   Requestors:
> > > > > >> Xinxia_Song at outlook.com
> > > > > >> > > > > > > >> > > > > > >> > > > > >       Status: new
> > > > > >> > > > > > > >> > > > > > >> > > > > >  Ticket <URL:
> > > > > >> > > https://rt.rap.ucar.edu/rt/
> > > > > >> > > > > > > >> > > > > > >> > >
Ticket/Display.html?id=79605
> > > > > >> > > > > > > >> > > > > > >> > > > >
> > > > > >> > > > > > > >> > > > > > >> > > > > >
> > > > > >> > > > > > > >> > > > > > >> > > > > >
> > > > > >> > > > > > > >> > > > > > >> > > > > > Hi,
> > > > > >> > > > > > > >> > > > > > >> > > > > >
> > > > > >> > > > > > > >> > > > > > >> > > > > >
> > > > > >> > > > > > > >> > > > > > >> > > > > > When I ran the
> > > > mater_met_plus.py,
> > > > > it
> > > > > >> > > says:
> > > > > >> > > > > > > >> > > > > > >> > > > > >
> > > > > >> > > > > > > >> > > > > > >> > > > > >
> > > > > >> > > > > > > >> > > > > > >> > > > > > ImportError: No
module
> named
> > > > > >> > > constants_pdef
> > > > > >> > > > > > > >> > > > > > >> > > > > >
> > > > > >> > > > > > > >> > > > > > >> > > > > >
> > > > > >> > > > > > > >> > > > > > >> > > > > > Seems it doesn't
recognize
> > > > > >> > constants_pdef
> > > > > >> > > > as
> > > > > >> > > > > > its
> > > > > >> > > > > > > >> > module.
> > > > > >> > > > > > > >> > > > > > >> > > > > >
> > > > > >> > > > > > > >> > > > > > >> > > > > >
> > > > > >> > > > > > > >> > > > > > >> > > > > > Thanks,
> > > > > >> > > > > > > >> > > > > > >> > > > > >
> > > > > >> > > > > > > >> > > > > > >> > > > > > Xinxia
> > > > > >> > > > > > > >> > > > > > >> > > > > >
> > > > > >> > > > > > > >> > > > > > >> > > > > >
> > > > > >> > > > > > > >> > > > > > >> > > > >
> > > > > >> > > > > > > >> > > > > > >> > > > >
> > > > > >> > > > > > > >> > > > > > >> > > > >
> > > > > >> > > > > > > >> > > > > > >> > > >
> > > > > >> > > > > > > >> > > > > > >> > > >
> > > > > >> > > > > > > >> > > > > > >> > > >
> > > > > >> > > > > > > >> > > > > > >> > >
> > > > > >> > > > > > > >> > > > > > >> > >
> > > > > >> > > > > > > >> > > > > > >> > >
> > > > > >> > > > > > > >> > > > > > >> >
> > > > > >> > > > > > > >> > > > > > >> >
> > > > > >> > > > > > > >> > > > > > >> >
> > > > > >> > > > > > > >> > > > > > >>
> > > > > >> > > > > > > >> > > > > > >>
> > > > > >> > > > > > > >> > > > > > >>
> > > > > >> > > > > > > >> > > > > > >
> > > > > >> > > > > > > >> > > > > >
> > > > > >> > > > > > > >> > > > > >
> > > > > >> > > > > > > >> > > > > >
> > > > > >> > > > > > > >> > > > >
> > > > > >> > > > > > > >> > > > >
> > > > > >> > > > > > > >> > > > >
> > > > > >> > > > > > > >> > > >
> > > > > >> > > > > > > >> > > >
> > > > > >> > > > > > > >> > > >
> > > > > >> > > > > > > >> > >
> > > > > >> > > > > > > >> > >
> > > > > >> > > > > > > >> > >
> > > > > >> > > > > > > >> >
> > > > > >> > > > > > > >> >
> > > > > >> > > > > > > >> >
> > > > > >> > > > > > > >>
> > > > > >> > > > > > > >>
> > > > > >> > > > > > > >>
> > > > > >> > > > > > > >
> > > > > >> > > > > > >
> > > > > >> > > > > > >
> > > > > >> > > > > > >
> > > > > >> > > > > >
> > > > > >> > > > > >
> > > > > >> > > > > >
> > > > > >> > > > >
> > > > > >> > > > >
> > > > > >> > > > >
> > > > > >> > > >
> > > > > >> > > >
> > > > > >> > > >
> > > > > >> > >
> > > > > >> > >
> > > > > >> > >
> > > > > >> >
> > > > > >> >
> > > > > >> >
> > > > > >>
> > > > > >>
> > > > > >>
> > > > > >
> > > > >
> > > > >
> > > > >
> > > >
> > > >
> > > >
> > >
> > >
> > >
> >
> >
> >
>
>
>

------------------------------------------------


More information about the Met_help mailing list