Comments (3)
I like the idea, smells like a pydantic specification to me ;)
Jokes aside though, I think having one file in definitions/
called general.yaml
is a good idea. As long as it does not get exceedingly big, I'd stay clear of having individual files for each dimension. It should be easier to have all the DataStructureDefinition configuration in a single spot.
One question regarding:
If region -> country == True, add all country names and ISO3-codes from the pycountry package to the RegionCodeList.
Would that be an at-runtime thing or written into the yaml files?
from nomenclature.
I would fill that at run-time - for the list of countries, this might still be possible (but duplicating) to create a yaml from the pycountry package. But for datetime-validation, writing a yaml would be pretty much pointless...
from nomenclature.
Right, makes sense to me.
from nomenclature.
Related Issues (20)
- Update to pyam 2.1 breaks test_aggregation_differences_export
- Multiple external repo docs are not up to date
- Allow attribute filtering in nomenclature.yaml for importing definitions form external repo HOT 4
- Version number slightly broken
- Export complete DataStructureDefinition to Excel HOT 1
- Setting of repository attribute slightly broken
- Exclude defaults when writing to yaml
- Show source file and line for duplicate items
- Enforce IAMC-conventions in project-validation
- Replace tags in attribute-lists HOT 1
- Add NUTS regions as an option HOT 1
- Nightly tests currently (April 23 2024) failing
- Add option to sort CodeLists
- Remove trailing whitespaces HOT 2
- Nightly tests failing because of legacy definitions update
- Document model mapping conversion from Excel to YAML
- Add CLI option to run workflow file from command line HOT 6
- Dimensions attribute in config file not correctly converted into path
- Add units for unknown variables so they can be copied directly into the variable template
- Remove the warning of missing model mapping HOT 2
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 nomenclature.