-
Notifications
You must be signed in to change notification settings - Fork 1
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
Ez plot #18
Ez plot #18
Conversation
@jccosta this seems REALLY nice. Can I request that you make a jupyter notebook of the html documentation? That's our way of exposing docs these days. |
Sure, I will do it. I have other 4 jupyter notebooks with examples. Where should I put them? In Doc directory? |
please create a |
@jccosta a user asked the following about https://github.com/UV-CDAT/vcsaddons/pull/18/files
|
Yes, will do it. |
Done! |
Awesome! Will review this week! @danlipsa and @aashish24 please review as well. |
installed vcs branch EzPlot when running example1 nb i get:
|
Also notebooks shouldn't be in a if __name__ == "__main__": |
runnnig
|
Removed the "main" form the notebooks examples. |
thx. do you mind adding something like this in the jerry nb import requests
if not os.path.exists("clt.nc"):
r = requests.get("https://uvcdat.llnl.gov/cdat/sample_data/clt.nc",stream=True)
with open("clt.nc","wb") as f:
for chunk in r.iter_content(chunk_size=1024):
if chunk: # filter local_filename keep-alive new chunks
f.write(chunk) |
I forgot to add the new fonts in the setup file. It's fixed now. |
Added downloading of missing files in Jerry's example. |
almost there, everything works except JerrY:
Sorry it's in your repo so I can't edit. |
looks like the ncml isn't enough
But they're opendap files, why don't you plug the opendap file names url in cdms? the "requests" bit leads to files with this in for me:
but using the URL seems to make it hang forever |
It seems that path for the files have changed. I updated it for what seems to be the new path. Can you test it? |
@jccosta getting there the ncml files now have:
but cdms2 if barfing on them, trying on my end to put the new URL directly in |
doh... still no luck
|
@jccosta even netcdf doesn't like it:
|
@jccosta I'm on Mac, are on Mac as well? |
It is a problem with Nasa server. If you got to https://dataserver.nccs.nasa.gov/thredds/dodsC/bypass/CREATE-IP/reanalysis/ECMWF/mon/atmos/tas.ncml.html you can see that the data URL they are providing isn't working. You can download the file clicking in the binary button on top, tough. |
I'm on Mac too. |
Let me try to download the files and upload them back on our server. |
I opened the js code in the page and I realized they added a different extension for the files. I updated the path. Can you try it? |
I can't get it to go... Even when I download the files manually. Can you use cos/sin please or just take it out? Thanks. |
I removed the example. We already have a sin/cos example. |
These the changes for EzPlot, a new library aiming to help users creating really nice plots.