Git Product home page Git Product logo

Comments (7)

tieganh avatar tieganh commented on September 21, 2024

This looks like a great solution. @drotheram - will it introduce problems if the {region} starts containing any particular symbols, like underscores?

from model-factory.

wkhchow avatar wkhchow commented on September 21, 2024

@drotheram we will need to have the region columns added to the agg_losses_stats, and src_loss_table as well.

edit: Its been a while but I just noticed we actually did apply the region to src_loss already in our current workflow!
https://github.com/OpenDRR/model-factory/blob/update_dsra_psra_oct2021/scripts/PSRA_combineSrcLossTable.py

from model-factory.

drotheram avatar drotheram commented on September 21, 2024

Also, add sourceTypes.csv to lut schema

from model-factory.

drotheram avatar drotheram commented on September 21, 2024

This looks like a great solution. @drotheram - will it introduce problems if the {region} starts containing any particular symbols, like underscores?

No i think that's fine, we should be able to find an expression to parse the string properly

from model-factory.

drotheram avatar drotheram commented on September 21, 2024
  • write script to parse Economic region from filename and add to region field in: ebR_{region}_agg_curves-stats_b0/r1.csv
  • script to parse Economic region from filename and add to region field in: ebR_{region}_agg_losses_stats_b0/r1.csv
  • script to parse Economic region from filename and add to region field in: src_loss_table_b0/r1.csv
  • add sourceTypes.csv to lut schema

from model-factory.

jvanulde avatar jvanulde commented on September 21, 2024

@drotheram please update status.

from model-factory.

drotheram avatar drotheram commented on September 21, 2024

PR 96 will close

from model-factory.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.