Skip to content

Issue240 better ref com msg#241

Merged
Didou09 merged 4 commits intodevelfrom
Issue240_BetterRefComMsg
Feb 5, 2026
Merged

Issue240 better ref com msg#241
Didou09 merged 4 commits intodevelfrom
Issue240_BetterRefComMsg

Conversation

@Didou09
Copy link
Member

@Didou09 Didou09 commented Feb 5, 2026

Main changes:

More informative warning msg when testing dref_vector in get_ref_com(), thanks to dref_vector_name

Issues:

Fixes, in devel, issue #240 240

Example:

In [4]: dax = coll.plot_as_profile2d('cprof_1djpar', dres=0.03)
/data/home/dvezinet/projects/datastock/datastock/_class1_uniformize.py:202: UserWarning: Multiple possible vectors found:
['cprof_t', 'cprof_m1d_bs1_ap']
	- key0: cprof_1djpar
	- key: None
	- ref: None
	- hasref: None
	- refok: ('cprof_nt', 'cprof_m1d_bs1_nbs')
Provided:
	- dim = None
	- quant = None
	- name = None
	- units = None
From 'dref_vectorZ'

@Didou09 Didou09 self-assigned this Feb 5, 2026
@Didou09 Didou09 merged commit c3be8f8 into devel Feb 5, 2026
52 of 72 checks passed
@Didou09 Didou09 deleted the Issue240_BetterRefComMsg branch February 5, 2026 14:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants