Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Regarding error, "Unable to resolve the name 'desDist1.tlim'" #129

Open
neetasha opened this issue Dec 15, 2023 · 1 comment
Open

Regarding error, "Unable to resolve the name 'desDist1.tlim'" #129

neetasha opened this issue Dec 15, 2023 · 1 comment
Assignees

Comments

@neetasha
Copy link

Step 2: Describe your environment

  • irfu-matlab branch (e.g. master, devel): devel
  • Matlab version used (e.g. Matlab R2020b): Matlab R2020a
  • Operating system (e.g. Windows 10, Mac OS X 10.15.6, Linux Ubuntu 20.04): Windows 10 Pro
  • A 64-bit installation of Matlab was used.

Step 3: Describe the problem

Repected Sir,
I am trying to run the irf code-named "Example_MMS_combined_irf_plot_and_subplot" and it is not able to read the data properly. The data set has been properly placed in their respective folders.
The error coming is:
Unable to resolve the name 'desDist1.tlim'.
Error in c_eval (line 48)
for cl_id=sc_list_1, evalin('caller', irf_ssub(ev_str, cl_id)), end
Error in untitled4 (line 14)
c_eval('times = desDist?.tlim(tint).time;',ic)

Thanks in Advance!
Regards,
Neetasha Arya.

@cecilianorgren
Copy link
Member

Hi Neetasha!

This example is incomplete in the sense that the data loading will have to be inserted or done separately. For example, here the code complains that desDist1 is an unknown, which I believe is because it is not loaded in (even though the data files are there in your database). To load it, do for example

tint = irf.tint('2017-07-11T22:31:00.00Z/2017-07-11T22:37:20.00Z');
desDist1 = mms.get_data('PDe_fpi_brst_l2',tint,1);

The same goes for the non-PDist variables like gseB1, etc..

I realize the example is poorly constructed in this way, and I will update it to include also all the loading of the data!

Let me know if the problem remains.

Cecilia

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

No branches or pull requests

2 participants