Skip to content

Commit c876f31

Browse files
committed
Update weather.py
fixed import nsrdbx as f
1 parent f065a7f commit c876f31

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

pvdeg/weather.py

+5-4
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,8 @@
66
import os
77
import glob
88
import pandas as pd
9-
from rex import NSRDBX, Outputs
9+
from rex import NSRDBX as f
10+
from rex import Outputs
1011
from pvdeg import humidity
1112
import datetime
1213

@@ -605,8 +606,8 @@ def get_satellite(location):
605606
"""
606607

607608
# this is just a placeholder till the actual code gets programmed.
608-
satellite="americas"
609-
610-
gid = NSRDBX.lat_lon_gid(location)
609+
satellite="Americas"
611610

611+
#gid = f.lat_lon_gid(lat_lon=location) # I couldn't get this to work
612+
gid = None
612613
return satellite, gid

0 commit comments

Comments
 (0)