-
Notifications
You must be signed in to change notification settings - Fork 5
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
Creating an aws nc file #88
Comments
#Hi Shih-Chieh Chang,
Of course, the AWS data needs to be on the same time step as your tower data. Also, PFP will read CSV files directly, you don't have to import into Excel, see the example control file in the L1 templates. |
Hi Peter,
I did not expect that I could receive your reply on SUNDAY!!!
Thank you very much for this prompt reply. I will try making the aws file and hopefully can go through the whole processes.
I previously used reddyproc for post processing my Eddypro outputs. However, I could not fully understand the procedures due to a lack of clear descriptions. Perhaps your PyFluxPro could be implemented in TaiwanFlux, which is consisted of 5 long-term sites but uses till now no common data management protocol. I will definitely come to you again for your help.
Best,
Shih-Chieh
…-----------------------------------------------------------------------------------------
Dr. Shih-Chieh Chang
Professor
Department of Natural Resources and Environmental Studies,
National Dong Hwa University
974 Hualien, Taiwan
Tel: +886-3-8903275 <tel:03%20863%203275>
Fax: +886-3-8903260 <tel:03%20863%203260>
Lab homepage: https://www.lter-ndhu.org
-----------------------------------------------------------------------------------------
From: Peter Isaac ***@***.***>
Sent: Sunday, January 29, 2023 5:01 PM
To: OzFlux/PyFluxPro ***@***.***>
Cc: Herr-Chang ***@***.***>; Author ***@***.***>
Subject: Re: [OzFlux/PyFluxPro] Creating an aws nc file (Issue #88)
Hi Shih-Chieh Chang,
Many thanks for trying PyFluxPro, I hope it can be of use in your research.
You can generate your own AWS file in the same way you generate your own netCDF file from data in an Excel file at L1. The steps would be:
1. import your CSV data into Excel
2. save as a .xls or .xlsx file
3. create your own L1 control file using one of the templates in PyFluxPro/controlfiles/templates or one of the example L1 files. This is a little tedious but you only have to do it once.
4. run PFP at L1 using your L1 control file, this will read your AWS data and create a netCDF file that can be used at L4
Of course, the AWS data needs to be on the same time step as your tower data. Also, PFP will read CSV files directly, you don't have to import into Excel, see the example control file in the L1 templates.
If you have any problems, let me know and we can have a one-on-one Zoom session.
You might also want to think about using ERA5 data for gap filling at L5.
Cheers,
Peter
—
Reply to this email directly, view it on GitHub <#88 (comment)> , or unsubscribe <https://github.com/notifications/unsubscribe-auth/AQ7JH2XR75ZCDUC7OVF4M5LWUYWT5ANCNFSM6AAAAAAUKCJNWE> .
You are receiving this because you authored the thread. <https://github.com/notifications/beacon/AQ7JH2XFBTGTADDXYETYVX3WUYWT5A5CNFSM6AAAAAAUKCJNWGWGG33NNVSW45C7OR4XAZNMJFZXG5LFINXW23LFNZ2KUY3PNVWWK3TUL5UWJTST4ZJ2A.gif> Message ID: ***@***.***>
|
Hi Shih-Chieh, |
And feel free to contact me by email at [email protected] |
Hi Peter, |
Hi Shih-Chieh, I tried to create an AWS netCDF file using the PyFluxPro L1 processing, as I suggested yesterday, and found that it did not work due to some recent changes to the code that checks metadata at L1. Apologies for the mistake. I have fixed the problem and it is now possible to use PFP to create a netCDF file from a CSV file of AWS data. You will need to pull the most recent version from GitHub to get the changes. I have also produced some example files so that you can see how this process works. The example files are available from the link below: The files are:
Let me know if you have any problems. Cheers, |
Just realised the file names in the L1_aws_excel.txt are wrong, you'll need to edit them for your case. P. |
Hi Peter, I am still working on the csv file of an alternative weather station. Thanks for informing me the changes before I run L1. |
Hi Peter, |
And for the unit of air pressure, I see both mbar and kPa in the example files: mbar in the Loxton_L1.xls and kPa in the Loxton_AWS.xlsx. Does it mean that I can use them as long as I specify the units clearly? |
Hi Shih-Chieh, We should probably move this conversation to email at some point, it is a little easier to handle that the GitHub Issues process. Answering your points in order:
Cheers, |
Hi Peter,
It was an amazing experience testing the examples through the L1-L6 processes of PyFluxPro, thank you very much for sharing the program and the thorough descriptions in wiki. I am trying for analyzing my site flux data (in Taiwan) using PyFluxPro but was stucked in L4 where I would like to fill gaps of meteorological data using nearby weather stations. I have the data in csv and the respective metadata. However, I have no idea in transforming the data to an nc file. I am wonering if you could kindly give me an instruction of making an aws nc file?
Best regrads,
Shih-Chieh Chang
The text was updated successfully, but these errors were encountered: