Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
Mike
@mikebelanger
archives = TDSCatalog('https://rda.ucar.edu/thredds/catalog/files/g/ds084.1/2017/20170101/catalog.xml')
and while that url exists - TDSCatalog returns a No name found
I dunno maybe I'm doing it wrong - but it looks like the constructor just needs a valid url
and I see a 'name' variable in that xml
oh wait - hmm if I go archives.datasets, it does indeed return a list of years
Ryan May
@dopplershift
Yeah, only get that if I try print(archives)
Mike
@mikebelanger
ah yeah sorry I didn't mention that before
Ryan May
@dopplershift
Oh. I see that's been around before. See #260.
Mike
@mikebelanger
hmm so not a big deal - I guess printing accesses the 'meta' part of the object
ah :P sorry ok thanks. I'll search through the issues first next time
Ryan May
@dopplershift
Nah, no worries.
Mike
@mikebelanger
so I was just reading through the issue of HTTP authentication, located here: Unidata/siphon#117
so I've added the sessionmanager instance
but now I'm wondering where I'd get a username and password.
I see a "register" button on the unidata homepage.
Is that where I'd get one?
Ryan May
@dopplershift
No, since you're using the RDA, you'd need to get it from them. There's a register now link here: https://rda.ucar.edu
Mike
@mikebelanger
oh I see thanks
Mike
@mikebelanger
so really liking this library so far! lots of good helpers
I have a question that might be more of a NetCDF4 question, not sure
let's say I make a DataQuery object, call it query
and do a lonlat_point query
and my dataset is a grib2 file
does it look for values based on the nearest grid point?
Mike
@mikebelanger
like there's no interpolation values between points or anything?
Ryan May
@dopplershift
@mikebelanger Thanks for the kind words. Yes, the lonlat_point request tells the THREDDS server, using a service called the netCDF Subset Service (NCSS), to return the data for the grid point closest to the requested location.
Mike
@mikebelanger
ah ok cool
@dopplershift yeah I really like using this service - siphon in combination with this THREDDs-based technology makes things easier
@dopplershift I got a bunch of grib2s that are filed away actually. And I'm looking at a scalable way of processing them
@dopplershift Maybe this question is better asked to THREDDs at large, but I'm wondering: how much setup is involved with making our own THREDDs instance?
so something that serves grib2 data, has all that XML metadata, etc
Mike
@mikebelanger
like would this tutorial be up to date - fairly straightforward? https://www.unidata.ucar.edu/software/tds/current/tutorial/GettingStarted.html
Sean Arms
@lesserwhirls
Greetings @mikebelanger - that tutorial is a bit out of date with respect to the Java and Tomcat instructions. I updated the first part of that page to point to our 5.0 documentation, which includes updated instructions. Same thing with the Security page of the tutorial (https://www.unidata.ucar.edu/software/tds/current/tutorial/Security.html). The rest should be good to go for the 4.6 release, though. If you are most interested in serving GRIB output, then you really should run the 5.0 beta version, as many fixes have been added there that are not available in 4.6. We hope to get TDS 5.0 stable this fall.
Mike
@mikebelanger
@lesserwhirls Greetings! And thanks for the heads up. Yeah I'm definitely interested mainly in GRIB reading.
oh and thanks for revising that tutorial page too.
Mike
@mikebelanger
@lesserwhirls the 5.0 documentation looks pretty comprehensive! I guess once the grib-loading stuff for 5.0 is firmed up - sections like this will be filled in? https://docs.unidata.ucar.edu/tds/5.0/userguide/grib_files_cdm.html
hannah
@story645
Hi, is this one of your examples translated to Spanish? https://pybonacci.org/2018/11/27/creacion-de-videos-al-vuelo-en-el-notebook/
Ryan May
@dopplershift
Only if it's really old. I haven't dabbled with WMS.
Sean Arms
@lesserwhirls
@mikebelanger - sorry for the dead link! That's actually a casualty of splitting netcdf-java and the THREDDS Data Server into seperate code bases. That URL will work if you replace /tds/5.0/ with /netcdf-java/5.2/, so https://docs.unidata.ucar.edu/tds/5.0/userguide/grib_files_cdm.html As you run across issues like this with the docs, would you mind opening a github issue over at https://github.com/unidata/tds? Thanks!
Mike
@mikebelanger
@lesserwhirls hey no probs! and thanks for the newer links. And for sure, for now on I'll report as an issue. Also I'll stop posting general THREDDs stuff here, as its not quite on topic
Sean Arms
@lesserwhirls
No worries @mikebelanger - I just want to make sure things don't get lost!
Pete Pokrandt
@PTH1_twitter
Is it possible to use/construct an ncss query to pull a subset of multiple variables at multiple vertical levels? Let's say for example, I want 200 hPa U/V, 500 hPa and 1000 hPa height, and MSLP. Can I get all of that in a single ncss call, or do I have to do multiple ncss calls for each variable/level combo?
Ryan May
@dopplershift
Unfortunately, NCSS does not allow requesting multiple levels. (Correct me if I’m wrong @lesserwhirls )
Pete Pokrandt
@PTH1_twitter
Ok, I didn't think so, but wasn't sure if I was missing something
I was thinking I could do one ncss call and grab all of the data subset that I need for all of my maps in one call, but I guess not
Zach Bruick
@zbruick
I just tried playing around with it and it seems like if you try to add a vertical_level call to each variable you request, it just overrides it with the last level specified, or errors out if the variables don't share the same vertical coordinate name.
Mike
@mikebelanger
hey guys, I'm trying to perform a time query on UCAR's gfs forecast archives
ideally, I'd like to be able to specify any datetime once, and get the nearest grib2 file to that time.
but so far, I've had to pass in the year, month and day into a catalog URL, in order to get the grib2
for example: cat = TDSCatalog('https://rda.ucar.edu/thredds/catalog/files/g/ds084.1/2017/20171001/')