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

nctoolbox makes MATLAB verbose? #95

Open
lakshaynarula opened this issue Jan 18, 2017 · 8 comments
Open

nctoolbox makes MATLAB verbose? #95

lakshaynarula opened this issue Jan 18, 2017 · 8 comments

Comments

@lakshaynarula
Copy link

Hi,

After I start nctoolbox in MATLAB, it seems like MATLAB starts printing all the code it executes on the command window until I restart MATLAB. I find that somewhat annoying. Is there any way to disable this behavior while starting nctoolbox?

I've tried multiple releases of nctoolbox and I see the same behavior on both Mac OS and Ubuntu.

Thanks,
Lakshay.

@hohonuuli
Copy link
Member

That doesn't sound like anything nctoolbox is doing. In your startup.m, file do you have a line that looks like echo on?

@lakshaynarula
Copy link
Author

No, but there are a bunch of echo on's in the ncgeodataset.m file that might be causing this. If I call echo off after every call to ncgeodataset, it seems to solve the problem except it still prints "echo off" on the command window.

@rsignell-usgs
Copy link
Contributor

@lakshaynarula , which version of nctoolbox are you using?

@lakshaynarula
Copy link
Author

I am currently using 1.1.0 because the later versions were unable to read some of the GRIB files. This is the latest version that is able to read all files I have. The issue of echo is persistent in all later versions I have used too. I think it is because of the echo on commands in the ncgeodataset.m file.

@rsignell-usgs
Copy link
Contributor

@lakshaynarula , okay, got it.

@acrosby , this looks you implemented this:
aa17e23
did you just have a moment of dyslexia with echo on and echo off? Shouldn't these be reversed?

@acrosby
Copy link
Member

acrosby commented Jan 23, 2017 via email

@acrosby
Copy link
Member

acrosby commented Jan 23, 2017 via email

@rsignell-usgs
Copy link
Contributor

@lakshaynarula , do you have an example of a grib file that you could read with 1.1.0 but not 1.1.1?

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

4 participants