You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I copy/pasted several example lines from the Building my comparison part 1: datasets_setup.py and atlas subdirectories page and got several tricky errors due to the fact that the page has simple quote (') characters that look just like regular single quotes but must have a non-standard encoding.
Example :
customname=' <= The left quote is vertical and is a good one BUT the RIGHT slightly slanted quote is a BAD one => ’
Example from the wiki page: (try to) see the mixed quotes for the frequency and clim_period keywords below:
Traceback (most recent call last):
File "../../main_C-ESM-EP.py", line 114, in <module>
execfile(datasets_setup)
File "/home/jypmce/C-ESM-EP/PMIP4_0k_ref_21_02_04/datasets_setup.py", line 217
SyntaxError: Non-ASCII character '\xe2' in file /home/jypmce/C-ESM-EP/PMIP4_0k_ref_21_02_04/datasets_setup.py on line 217, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details
The text was updated successfully, but these errors were encountered:
I copy/pasted several example lines from the Building my comparison part 1: datasets_setup.py and atlas subdirectories page and got several tricky errors due to the fact that the page has simple quote (
'
) characters that look just like regular single quotes but must have a non-standard encoding.Example :
customname=' <= The left quote is vertical and is a good one BUT the RIGHT slightly slanted quote is a BAD one => ’
Example from the wiki page: (try to) see the mixed quotes for the frequency and clim_period keywords below:
I ended up with this kind or return error
The text was updated successfully, but these errors were encountered: