Comments (3)
I agree with you completely on the io structure.
Additionally I restructured the to_collection_dict
method of the Obs
class. Previously this method returned the meta dictionary of every Obs
instance. Now it returns a dictionary with all the registered attributes and the values of an Obs
instance. I think this works more intuitive when using the ObsCollection.from_list()
method. However this may break some stuff. Easiest way to fix it is to call the add_meta_to_df
method of an ObsCollection
to add data manually from the meta dictionary of an Obs
object.
from hydropandas.
That seems to make sense, to only use the registered attributes and leave the Obs
metadata attributes alone. This only breaks things where something in metadata was assumed to be in the ObsCollection
columns right?
And cool, I'll see if I can get started on restructuring IO methods next week!
from hydropandas.
Closed by #11
from hydropandas.
Related Issues (20)
- Test should return `None` HOT 1
- KNMI neerslagstation Heibloem not available HOT 1
- reading the BRO data from XML files HOT 7
- Spline interpolation for any ObsCollection HOT 1
- Popped metadata in the Obs class (in the 'from_bro' function) gives KeyError when making interactive map HOT 2
- Create Obs object from another Obs object
- REGIS OSerror HOT 2
- Add option to read thresholds from FEWS xml
- .plots.section_plot: better xlim's HOT 3
- read_dino from zipfile eats disk space HOT 4
- Add option to allow for different ObsClasses in FEWS xml reader HOT 1
- Unknown Grondwaterstanden_Put Dino format HOT 4
- Get Hydropandas time series observations from rasters (xarray Datasets / DataArrays)
- Generic import/export function for Obs and ObsCollection classes HOT 5
- Create `_repr_html_` for Obs and ObsCollection classes HOT 2
- Add `compare` method to Obs and ObsCollection class
- Gohlke binaries no longer needed HOT 2
- Add example to build Obs objects and an ObsCollection from scratch HOT 2
- Add option to retrieve and visualise borehole data from BRO wells
- Allow single setting to be passed to read_knmi HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from hydropandas.