COLORADO BASIN RIVER FORECAST CENTER
  NATIONAL WEATHER SERVICE / NATIONAL OCEANIC AND ATMOSPHERIC ADMINISTRATION

News

Daily ESP List   


Water Supply Volume Percent Average/Median Condition
< 30%   30-50%   50-70%   70-90%   90-100%   100-110%   110-130%   130-150%   150-200%   200-300%   300-500   >500%   Regulated   No Forecast  

Area:  CBRFC   Green   Colorado   San Juan   Great   Sevier   Virgin   Low Col   
Date:  Latest   Day Ago   Week Ago   Month Ago   

Click ID to view point info.

3 --> -->
4
5
6
7
8 
9 
<type 'exceptions.AttributeError'>
10>
11>Python 2.7.5: /usr/bin/python
Mon Aug 10 22:43:56 2020
12 13

A problem occurred in a Python script. Here is the sequence of14function calls leading up to the error in the order they occurred.

15
16
 /var/www/html/wsup/graph/espcond_data.py in ()
17
     15 otype=form.getfirst("otype" "csv").upper().lower()
18
19
     16 
20
21
=>   17 csv=espcond.espdata(fdateareaint(qpfdays)otype)
22
23
     18 print csv
24
25
     19 
26
27
csv undefined espcond = <module 'espcond' from '/nvm6/web/wsup/graph/espcond.pyc'>espdata = <function espdata>> espcond.espdata = <function espdata> fdate = 'PWEEK' area = 'VG' builtin int = <type 'int'>qpfdays = '1'.png alt=''>otype = 'csv'
.png alt=''>28
29
 /nvm6/web/wsup/graph/espcond.py in espdata(fdate='PWEEK' area='VG' qpfdays=1 otype='csv')
30
    275         in_cb=False
31
32
    276 
33
34
=>  277     wycwy = water_year(fdate)
35
36
    278     names = esp_names(wycwy)
37
38
    279 
39
40
wy undefined cwy undefinedglobal water_year = <function water_year>> global water_year = <function water_year> fdate = 'PWEEK'
41
42
 /nvm6/web/wsup/graph/espcond.py in water_year(fdate='PWEEK')
43
    195             wy += 1
44
45
    196     else:
46
47
=>  197         wy = fdate.year
48
49
    198         if (fdate.month > 9):
50
51
    199             wy += 1
52
53
wy undefined fdate = 'PWEEK'undefined

<type 'exceptions.AttributeError'>: 'str' object has no attribute 'year'> fdate.year undefined

<type 'exceptions.AttributeError'>: 'str' object has no attribute 'year'54
      args =55("'str' object has no attribute 'year'")56
      message =57"'str' object has no attribute 'year'"58