bopen / c3s-eqc-toolbox-template

CADS Toolbox template application
Apache License 2.0
5 stars 4 forks source link

Satellite Surface Radiation Budget Use Case : Comparison of different products of ECV #97

Closed giuliachierici closed 2 months ago

giuliachierici commented 1 year ago

Notebook description

Hi, theis notebook is the preliminary (uncommented) version for the comparison of different datasets regarding Surface Radiation Budget. It analyzes different variables, such as the Surface Reflected Solar Radiation (SRS), Surface Incoming Solar Radiation (SIS), Surface Downwelling Longwave Radiation (SDL) and Surface Outgoing Longwave Radiation (SOL).

Notebook link or upload

satellite_userquestion_SRB.zip

Anything else we need to know?

I ran the API request over a small period of time (2-3 years) and it works. I'd like to run the notebooks for different periods for each satellite product (I've already tried but the API request failed):

  1. 2017-01, 2021-12 Period for C3S CCI sent 3A
  2. 2018-01, 2021-12 Period for C3S CCI sent 3B
  3. 1995-01, 2003-12 Period for ESA CCI ERS2
  4. 2002-01, 2012-12 Period for ESA CCI ESA ENVISAT
  5. 1982-01, 2018-12 Period for CLARA C3S and CLARA EUMETSAT

Environment

malmans2 commented 1 year ago

Hi @giuliachierici,

Just to let you know that I'm not sure if I'll be able to work on this next week as I'll be attending the General Assembly. Let me know if you have a deadline soon.

giuliachierici commented 1 year ago

Hi,

No problem, I'll wait for your feedback. Sorry if I bother you, I have probably a silly question: I tried to insert an image of a plot in the abstract section of notebooks, it only works using from IPython import display display.Image("path-to-image") is there another way to do it without specifying the path?

Thanks in advance

malmans2 commented 1 year ago

Drag & drop or copy/paste in a markdown cell should work. I tried this and it worked:

  1. Ctrl+C of an image
  2. Select a markdown cell of a notebook (i.e., enter the edit mode of the markdow cell)
  3. Ctrl+V ot the image

Alternatively, if you have the image on the same machine of the notebook and you know the path, you can add this in the markdown cell:

![DUMMY](path-to-dummy-figure.jpeg)
giuliachierici commented 1 year ago

I've already tried these methods and following the second one it shows a broken image icon. The cell is a markdown cell and the image is in the same folder of the notebook (/data/wp5/chierici_giulia/).

Screenshot (7)

malmans2 commented 1 year ago

mmm maybe the problem is the image then. If you upload here the image I'll see if I can get it to work.

giuliachierici commented 1 year ago

Thank you so much, I have to insert into this notebook satellite_userquestion_ERB_OLR_rev02.zip

OLR_Zonalmean

malmans2 commented 1 year ago

Can you try again Ctrl+C of the image above, then Ctrl+V in the markdown? It worked for me.

giuliachierici commented 1 year ago

It still doesn't work :( I don't know what's wrong, if I do Ctrl+C and then Ctrl+V it shows the path "x-special/nautilus-clipboard copy file:///home/Giulia/Desktop/OLR_Zonalmean.png"

malmans2 commented 1 year ago

Can you try with another browser?

giuliachierici commented 1 year ago

Unfortunately, I don't have the rights to install anything on the VM.. On Monday I'll ask to install another browser, I'm currently using Firefox

malmans2 commented 1 year ago

OK, that might be the problem. I remember other users having problem with firefox. BTW, if all you have to do is to add an image in the markdown, you could do it locally as well because you don't have to run the code.

malmans2 commented 1 year ago

Hi @giuliachierici,

I'm now looking at you notebook. It looks very similar to another notebook we already revised and optimised. Here is the template: https://github.com/bopen/c3s-eqc-toolbox-template/blob/main/notebooks/wp5/satellite_outgoing_radiation.ipynb

It looks like you didn't start from that template though. Is there any issue with the template?

giuliachierici commented 1 year ago

I tried using the same template but the API request failed, so I thought that probably there were some issues with these data

malmans2 commented 1 year ago

Hi,

Here is the template: https://github.com/bopen/c3s-eqc-toolbox-template/blob/main/notebooks/wp5/satellite_surface_radiation_budget.ipynb Here is the notebook executed: https://gist.github.com/malmans2/bac22480db33a92460fab54009ca5b80

Please try the template and let me know if everything works OK. If everything is OK, I will cache the whole time period that you need.

As you can see, it's pretty much identical to the other template. If you need to make other analyses similar to this, I suggest to start from the template and open an issue if you encounter problems. This way we don't duplicate efforts.

giuliachierici commented 1 year ago

Thank you so much, I'll let you know if something goes wrong.

Il giorno lun 18 set 2023 alle ore 11:00 Mattia Almansi < @.***> ha scritto:

Hi,

Here is the template: https://github.com/bopen/c3s-eqc-toolbox-template/blob/main/notebooks/wp5/satellite_surface_radiation_budget.ipynb Here is the notebook executed: https://gist.github.com/malmans2/bac22480db33a92460fab54009ca5b80

Please try the template and let me know if everything works OK. If everything is OK, I will cache the whole time period that you need.

As you can see, it's pretty much identical to the other template. If you need to make other analyses similar to this, I suggest to start from the template and open an issue if you encounter problems. This way we don't duplicate effort.

— Reply to this email directly, view it on GitHub https://github.com/bopen/c3s-eqc-toolbox-template/issues/97#issuecomment-1723010201, or unsubscribe https://github.com/notifications/unsubscribe-auth/BA53TY3PEA6XNTGRQHCL7QTX3AEUTANCNFSM6AAAAAA4PBF344 . You are receiving this because you were mentioned.Message ID: @.***>

malmans2 commented 1 year ago

Hi @giuliachierici,

Do you need me to cache longer timeseries? If yes, could you please send me the time periods you need for each product?

vincenzodetoma commented 3 months ago

Hi @malmans2, thanks. I upload here the latest version of the notebook. satellite_surface_radiation_budget_q01.zip

malmans2 commented 3 months ago

OK, I will take a look in the afternoon. Did you change the time-period or products in the template?

If yes, I seem to remember that some period needed some manipulation, but Giulia never sent me the time period to cache so I don't think I've tested longer timeseries.

vincenzodetoma commented 3 months ago

No I did not change practically anything in the notebook except some fields in the request dictionary, since something change in the data I guess. If it is possible, we'd like to have the maximum time extent possible within each data. Thanks @malmans2

malmans2 commented 2 months ago

It looks like both the data and the forms changed. Anyways, it should be fixed now. Can you try the latest template? https://github.com/bopen/c3s-eqc-toolbox-template/blob/main/notebooks/wp5/satellite_surface_radiation_budget.ipynb

vincenzodetoma commented 2 months ago

Thanks, I'll let you know asap! see #77

vincenzodetoma commented 2 months ago

@andreastorto

vincenzodetoma commented 2 months ago

Hi @malmans2, I've tested the notebook and all seems to be fine! Thanks a lot for your support! You can close the issue if you want!