Giter Club home page Giter Club logo

litebirdtask's Issues

Copy generic satellite workflow and customize

Although we can export a toast focalplane and use that with the existing toast example workflow, as soon as we have some litebird-specific operations in this repo we should make an equivalent "standard" workflow here.

Add IMO interface

Now that a demonstration IMO web API exists, we should provide a script that generates a local toml file from the IMO. Then we can use this file directly with our existing tools.

Focalplane export not working

Hi ,
am not sure this is the right place for this issue.
when running lbt_export_focalplane , i get this error

Traceback (most recent call last):
  File "/global/cscratch1/sd/giuspugl/toast3_software/bin/lbt_export_focalplane", line 8, in <module>
    sys.exit(main())
  File "/global/cscratch1/sd/giuspugl/toast3_software/lib/python3.9/site-packages/litebirdtask/scripts/export_focalplane.py", line 56, in main
    fp.save_hdf5(args.out)
  File "/global/cscratch1/sd/giuspugl/toast3_software/lib/python3.9/site-packages/toast/instrument.py", line 778, in save_hdf5
    table_write_parallel_hdf5(self.detector_data, handle, "focalplane", comm=comm)
  File "/global/cscratch1/sd/giuspugl/toast3_software/lib/python3.9/site-packages/toast/utils.py", line 736, in table_write_parallel_hdf5
    dset = root.create_dataset(name, dset_shape, dtype=dset_type)
AttributeError: 'str' object has no attribute 'create_dataset'

Think the issue is that in


args.out is a str not an hdf5.Group.

Changing that line into something like :

import h5py 
    f = h5py.File(args.out,'w')
    grp = f.create_group("focalplane")
    fp.save_hdf5(args.out )
    f.close() 

might do the work. Any suggestion ?

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.