@@ -698,8 +698,8 @@ def _parameter_with_currency_units_converted_back_to_preferred_units(param: Para
698
698
print (str (ex ))
699
699
msg = (
700
700
f'Error: GEOPHIRES failed to convert your currency for { param .Name } to something it understands.'
701
- f'You gave { currType } - Are these currency units defined for forex-python? '
702
- f'or perhaps the currency server is down? Please change your units to { param .PreferredUnits .value } '
701
+ f'You gave { currType } - conversion may be affected by https://github.com/NREL/GEOPHIRES-X/issues/236. '
702
+ f'Please change your units to { param .PreferredUnits .value } '
703
703
f'to continue. Cannot continue unless you do. Exiting.'
704
704
)
705
705
print (msg )
@@ -990,9 +990,9 @@ def ConvertOutputUnits(oparam: OutputParameter, newUnit: Units, model):
990
990
symbol = cc .get_symbol (currShort )
991
991
if symbol is None :
992
992
msg = (
993
- f'Error: GEOPHIRES failed to convert your currency for { oparam .Name } to something it understands. '
994
- f'You gave { currType } - Are these currency units defined for forex-python? '
995
- f' or perhaps the currency server is down? Please change your units to { oparam .PreferredUnits .value } '
993
+ f'Error: GEOPHIRES failed to convert your currency for { oparam .Name } to something it understands.'
994
+ f'You gave { currType } - conversion may be affected by https://github.com/NREL/GEOPHIRES-X/issues/236. '
995
+ f'Please change your units to { oparam .PreferredUnits .value } '
996
996
f'to continue. Cannot continue unless you do. Exiting.'
997
997
)
998
998
print (msg )
@@ -1005,9 +1005,9 @@ def ConvertOutputUnits(oparam: OutputParameter, newUnit: Units, model):
1005
1005
# try some tricks to make it into something it does do recognize
1006
1006
if symbol is None :
1007
1007
msg = (
1008
- f'Error: GEOPHIRES failed to convert your currency for { oparam .Name } to something it understands. '
1009
- f'You gave { prefType } - Are these currency units defined for forex-python? '
1010
- f' or perhaps the currency server is down? Please change your units to { oparam .PreferredUnits .value } '
1008
+ f'Error: GEOPHIRES failed to convert your currency for { oparam .Name } to something it understands.'
1009
+ f'You gave { currType } - conversion may be affected by https://github.com/NREL/GEOPHIRES-X/issues/236. '
1010
+ f'Please change your units to { oparam .PreferredUnits .value } '
1011
1011
f'to continue. Cannot continue unless you do. Exiting.'
1012
1012
)
1013
1013
@@ -1022,11 +1022,10 @@ def ConvertOutputUnits(oparam: OutputParameter, newUnit: Units, model):
1022
1022
print (str (ex ))
1023
1023
1024
1024
msg = (
1025
- f'Error: GEOPHIRES failed to convert your currency for { oparam .Name } to something it understands. '
1026
- f'You gave { currType } - Are these currency units defined for forex-python?'
1027
- f'or perhaps the currency server is down? '
1028
- f'Please change your units to { oparam .PreferredUnits .value } to continue.'
1029
- f'Cannot continue unless you do. Exiting.'
1025
+ f'Error: GEOPHIRES failed to convert your currency for { oparam .Name } to something it understands.'
1026
+ f'You gave { currType } - conversion may be affected by https://github.com/NREL/GEOPHIRES-X/issues/236. '
1027
+ f'Please change your units to { oparam .PreferredUnits .value } '
1028
+ f'to continue. Cannot continue unless you do. Exiting.'
1030
1029
)
1031
1030
1032
1031
print (msg )
0 commit comments