Changeset 2788 in lmdz_wrf for trunk/tools
- Timestamp:
- Jan 14, 2020, 3:44:09 PM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tools/generic_tools.py
r2787 r2788 3872 3872 string='' 3873 3873 for i in range(Nvals): 3874 if type(vec[i]) == type('Str') or type(vec[i]) == type(u'1'):3874 if type(vec[i]) == type('Str'): 3875 3875 vecS = vec[i] 3876 elif type(vec[i]) == type(u'1'): 3877 vecS = vec[i].encode('utf-8') 3876 3878 else: 3877 3879 vecS = str(vec[i])
Note: See TracChangeset
for help on using the changeset viewer.