pjbartlein / REarthSysSci

R for Earth-System Science
25 stars 19 forks source link

Understanding REA-5 data in R #6

Open princess97 opened 3 years ago

princess97 commented 3 years ago

I converted the ERA5 data to CSV format and opened it in R. But a result came out like the screenshot below. My data information is as follows;

longitude Size:21 units: degrees_east long_name: longitude latitude Size:9 units: degrees_north long_name: latitude expver Size:2 long_name: expver time Size:15550 units: hours since 1900-01-01 00:00:00.0 long_name: time calendar: gregorian

Output image; image

But there are 279,899 lines in my output. How did this happen and what does it mean? Also, why is something in different formats written on the columns? For example, in R, is there any way to see the values of a parameter between 01.01.2019 - 09.08.2020? Or can I see the values of all 15550 times? I hope there is someone who can work with ERA-5 data and explain. It is really important to me.

pjbartlein commented 3 years ago

I think you need to figure out the structure of the netCDF data sets you’re working with first. An excellent tool for that is Panoply, available at: https://www.giss.nasa.gov/tools/panoply/

The right-hand panel of the Panoply source browser provides information similar to the command-line tool ncdump.

On 2020-10-16, at 05:35:04, princess97 notifications@github.com wrote:

I converted the ERA5 data to CSV format and opened it in R. But a result came out like the screenshot below. My data information is as follows;

longitude Size:21 units: degrees_east long_name: longitude latitude Size:9 units: degrees_north long_name: latitude expver Size:2 long_name: expver time Size:15550 units: hours since 1900-01-01 00:00:00.0 long_name: time calendar: gregorian

Output image;

But there are 279,899 lines in my output. How did this happen and what does it mean? Also, why is something in different formats written on the columns? Is there any way I can see what value the variable is at what date in R? I hope there is someone who can work with ERA-5 data and explain. It is really important to me

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub, or unsubscribe.

-- Prof. Patrick J. Bartlein Dept. Geography, Univ. Oregon; Eugene, OR 97403-1251 USA voice: +1 541 346 4967; www: https://pjbartlein.github.io/

princess97 commented 3 years ago

I use panoply. He can map it according to dates. For now, I only need values based on date and time, not images. How do you think I can do this?