Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

can this program be used for user-defined sensor or rsr? #61

Closed
lwk1542 opened this issue Jan 14, 2019 · 12 comments
Closed

can this program be used for user-defined sensor or rsr? #61

lwk1542 opened this issue Jan 14, 2019 · 12 comments
Assignees
Labels

Comments

@lwk1542
Copy link

lwk1542 commented Jan 14, 2019

Code Sample, a minimal, complete, and verifiable piece of code

# Your code here

Problem description

[this should also explain why the current behaviour is a problem and why the
expected output is a better solution.]

Expected Output

Actual Result, Traceback if applicable

Versions of Python, package at hand and relevant dependencies

Thank you for reporting an issue !

@mraspaud
Copy link
Member

In principle yes, but it would be nice of you to elaborate a bit more... What instrument, what usage of pyspectral are you planning to have ?

@adybbroe
Copy link
Collaborator

Yes @lwk1542 could you please elaborate a bit more? The main two features provided by pyspectral and which has motivated its creation is that it allows the derivation of the reflective part of the 3.7-3.9 micron channel (of any sensor with such a band) and the atmospheric correction of the short wave visible bands for the generation of true color imagery. As also outlined in the documentation.

@lwk1542
Copy link
Author

lwk1542 commented Jan 17, 2019

@mraspaud @adybbroe the COCTS(ocean color and temperature scanner)and CZI on board the new HY-1B has launched by China in 2002. The COCTS has eight visible-Near infrared bands (402nm-885nm) and two thermal bands (1030-1250nm). The CZI has four visible-Near infrared bands. see the link for the detail information (the ESA satellite directory: https://directory.eoportal.org/web/eoportal/satellite-missions/content/-/article/hy1b)
THANKS !

@adybbroe
Copy link
Collaborator

@lwk1542 Do you know where we could find the relative spectral responses for COCTS and CZI (from NSOAS)?
Then I could add them to Pyspectral

@adybbroe adybbroe self-assigned this Jan 17, 2019
@lwk1542
Copy link
Author

lwk1542 commented Jan 17, 2019

@lwk1542 Do you know where we could find the relative spectral responses for COCTS and CZI (from NSOAS)?
Then I could add them to Pyspectral

I can send one informal version. Can you leave an E-mail box?

@adybbroe
Copy link
Collaborator

Thanks for the data @lwk1542
I have it.
I suppose you got no further explanation to the content? I think I can guess what the data are, but would be nice to have some sort of reference and some further meta data. But I know by experience this can be difficult with Chinese satellites

@adybbroe
Copy link
Collaborator

adybbroe commented Jan 17, 2019

@lwk1542 I made a simple reader of your data to generate the pyspectral formattet hdf5 of the COCTS rsr you gave me. I can make this plot like this:
python bin/composite_rsr_plot.py --platform_name HY-1C --sensor cocts --range 0.4 0.9
rsr_band_0040_0090

@adybbroe
Copy link
Collaborator

@lwk1542 There were no IR data. Do you have those as well?

@lwk1542
Copy link
Author

lwk1542 commented Jan 18, 2019

@adybbroe that is all I have.

@adybbroe
Copy link
Collaborator

@lwk1542 Ok. I will update master branch next week with this small addition. Ok?

@lwk1542
Copy link
Author

lwk1542 commented Jan 18, 2019

@adybbroe of course! thank you

@adybbroe adybbroe mentioned this issue Jan 21, 2019
4 tasks
@adybbroe
Copy link
Collaborator

@lwk1542 Maybe you could just verify you can make a plot like the above. Do a git clone and use the master branch. On a linux platform:

git clone https://github.com/pytroll/pyspectral.git
cd pyspectral
python setup.py install --user
python bin/composite_rsr_plot.py --platform_name HY-1C --sensor cocts --range 0.4 0.9

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants