/glade/derecho/scratch/slevis/temp_work/ctsm5.4/rm_hardcoded_paths/tools/mksurfdata_esmf/../site_and_regional/subset_da ta point --silent --overwrite --uniform-snowpack --cap-saturation --crop --outdir . --include-nonveg --create-surface - -lat -7 --lon 305 --site 1x1_brazil
Traceback (most recent call last):
File "/glade/derecho/scratch/slevis/temp_work/ctsm5.4/rm_hardcoded_paths/tools/mksurfdata_esmf/../site_and_regional/s ubset_data", line 37, in <module>
main()
~~~~^^
File "/glade/derecho/scratch/slevis/temp_work/ctsm5.4/rm_hardcoded_paths/tools/site_and_regional/../../python/ctsm/su bset_data.py", line 885, in main
subset_point(args, file_dict)
~~~~~~~~~~~~^^^^^^^^^^^^^^^^^
File "/glade/derecho/scratch/slevis/temp_work/ctsm5.4/rm_hardcoded_paths/tools/site_and_regional/../../python/ctsm/su bset_data.py", line 723, in subset_point
single_point.create_surfdata_at_point(
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
file_dict["fsurf_dir"],
^^^^^^^^^^^^^^^^^^^^^^^
...<2 lines>...
specify_fsurf_out=file_dict["fsurf_out"],
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/glade/derecho/scratch/slevis/temp_work/ctsm5.4/rm_hardcoded_paths/tools/site_and_regional/../../python/ctsm/si te_and_regional/single_point_case.py", line 502, in create_surfdata_at_point
f_tmp = f_in.sel(lsmlon=self.plon, lsmlat=self.plat, method="nearest")
File "/glade/work/slevis/conda-envs/ctsm_pylib/lib/python3.13/site-packages/xarray/core/dataset.py", line 3249, in se l
query_results = map_index_queries(
self, indexers=indexers, method=method, tolerance=tolerance
)
File "/glade/work/slevis/conda-envs/ctsm_pylib/lib/python3.13/site-packages/xarray/core/indexing.py", line 195, in ma p_index_queries
results.append(index.sel(labels, **options))
~~~~~~~~~^^^^^^^^^^^^^^^^^^^
File "/glade/work/slevis/conda-envs/ctsm_pylib/lib/python3.13/site-packages/xarray/core/indexes.py", line 765, in sel
label_array = normalize_label(label, dtype=self.coord_dtype)
File "/glade/work/slevis/conda-envs/ctsm_pylib/lib/python3.13/site-packages/xarray/core/indexes.py", line 545, in nor malize_label
value = np.asarray(value, dtype=dtype)
TypeError: float() argument must be a string or a real number, not 'Longitude'
make: *** [Makefile:193: 1x1_brazil-present] Error 1
Reporting above-mentioned error for the record (I have not looked into it, yet):
Originally posted by @slevis-lmwg in #3162 (comment)