Issue with indexing while using esoreader python module

asked 2020-10-07 00:39:36 -0500

Appster's avatar

updated 2020-10-07 11:29:27 -0500

I am exploring the esoreader module developed by Daren Thomas (https://github.com/architecture-build...).

I am trying to use it within DesignBuilder to read the output variables from an eso file and for this case, I cannot use pandas. Does anyone know how I can access specific items of a variable's data by using the timeseries as the index (similar to the date_range pandas function, but without using pandas?)

I am new to python and all sorts of programming so sincere apologies if my query-asking skills are crap - I am happy to clarify in the comments!

Thank you.

edit retag flag offensive close merge delete

Comments

@Appster why can't you use pandas?

Aaron Boranian's avatar Aaron Boranian  ( 2020-10-07 11:28:58 -0500 )edit

are you having an issue importing the raw ESO data into designbuilder? or is the issue being able to format and parse the info once it's been imported? i.e., can you use esoreader to pull in a non-Pandas 2D Array (or list of tuples or whatever) ? It seems like you're implying that designbuilder doesn't support pandas - in which case it may not support other modules, but you could try and use the 'datetime' module (i believe it's a part of the standard library) and then write a function in your designbuilder script that will only include relevant dates.

mikesweeney's avatar mikesweeney  ( 2020-10-08 15:16:28 -0500 )edit