Giter VIP home page Giter VIP logo

23-homework5g1's Introduction

Homework Task

Take the FFT of the CO2/methane data of the most recent monthly average CO2 data of any of the the stations listed in (https://www.esrl.noaa.gov/gmd/dv/data/index.php?category=Greenhouse%2BGases&parameter_name=Carbon%2BDioxide&frequency=Monthly%2BAverages)).

In particular fullfill three tasks (one for each group member):

Task 1:

  • Write a function that calculates the actual frequency in useful units.
  • Determine the frequency (ideally with a function) of the peak(s).

Task 2: Use some combination of waveform modification (which may include padding, windowing, taking the FFT, manipulating the waveforms, inverse FFT, and undoing the window+padding), to do the following:

  • Clean up either high or low frequency noise (depends on your data) in the time domain by zeroing the appropriate waveform coefficients in the frequency domain.
  • Plot both the "raw" and "cleaned" spectra in the time domain.

Task 3:

  • Write the documentation
  • Reuse github actions for linting and unit tests
  • write unit tests for Task1 and Task 2

For this you have to complete the following steps:

  • Discuss with the other groups using issues which station data you will use. Each group should use a different one.
  • Discuss in this repository using issues who will do which task (specified above)
  • Discuss who should be the main responsible for the repository (the one that can accept merge requests, let me know in discord so I can adjust rights)
  • Discuss and generate milestone for your project to optimize the timeline of your project
  • Discuss and generate labels for your issues
  • Fork this repository
  • Merge the necessary fies from the original homework project into your fork
  • commit
  • create merge requests for your work

Also use discord for discussing solutions to any issues popping up.

Grading

Homework Points
Interaction on own project
Category min per person point factor max points
Commits 6 1 6
Merge requests 3 1 3
Merge Accepted 1 1 1
Branches 2 0.5 1
Issues 10 0.5 5
Closed Issues 5 0.2 1
# Conversations 30 0.2 6
Total 23
Shared project points
# Label 5 0.2 1
# Milestones 2 1 2
# Tags 0 1 0
Total 7 5
Interaction on others project(s)
Category min per person point factor max points
Commits 3 1 3
Branches 1 0.5 0.5
Issues 9 0.5 4.5
# Conversations 15 0.2 3
Total 22 11
Result
Task completion 5 1 5
Sum 42

23-homework5g1's People

Contributors

tirthbha avatar reshnashrestha avatar poojashresthacode avatar laserlab avatar uarif avatar

Stargazers

 avatar

Watchers

 avatar  avatar

23-homework5g1's Issues

Algorithm part

@reshnashrestha , Is it all okay with part 1?? Or do you still need to add some? Can I start the documentation part taking reference from your work?

Task 1

@reshnashrestha Hope you have done your part. Please have a look once to analyze your algorithm and results so that I can proceed for further process.

Task 2

Who is doing task 2 in your group? Need to ask something.

Data Selection

Hi guys, as we are already here, we need to discuss which station data are we going to use.

Linting

Hi all,
Your group's progress is impressive. I think you're all set once you add the Linting Action for your tasks.

Adding py file instead of ipynb

As Dr. Tim suggested, we need to upload the py file instead of ipynb file since we have to do the unit testing using a Github workflow. You can consider it.
Thanks for your time.

Task 3

This task (the documentation, github actions for linting and unit tests and to write unit tests for Task1 and Task 2)
is assigned to @poojashresthacode

New Label

Hi @tirthbha , Can you make the label naming "Request". I need to use that label.

No Linting Action

Just a reminder that task 3 requires the creation of a github action for linting. You can just reuse one from a prior project, but make sure you include it if you have the time to do so!

Graph

Do we need to include graph in Documentation?

task1 code shared

@tirthbha thank you for sharing the code but it has an issue in it. The frequency returned by your second function is zero which doesn't seem right to me. Any way you could fix it.

Task 2

As there are many files in the task 2 folder, I am a bit confused about doing unit test. Can you provide a brief insight? @tirthbha

Task 2

This task is assigned to @tirthbha. I'll notify you as soon as I finish my task.

Make .py

@reshnashrestha I think, if I were not wrong, ipynb format will not work for the Github Action. Can you please create those code in .py format.

Task 3

This task (the documentation, github actions for linting and unit tests and to write unit tests for Task1 and Task 2)
is assigned to @poojashresthacode.

Station Chosen

Hi all,
We have chosen St. Croix, Virgin Islands, United States (AVI) station for our data reference.

Inverse fft

Are we supposed to perform inverse fft on the original X or the filtered X?

Station chosen!

Lets choose the station "Sand Island, Midway, United States (MID)", under the category of Greenhouse Gases, with the specific parameter being Carbon Dioxide (CO2), and the data frequency is noted as Monthly Averages.
This is from my viewpoint guys @reshnashrestha @poojashresthacode. What do you think?

Unit Testing Action Workflow

Hi all, as we need to create two unit testing (one for calculating the actual frequency and another for the peak frequency) py files, Can we do these two unit testings in one single action workflow file or add two separate unit testing action workflow files?

Data set

Did you use the same data, used in the class?

Defining Function

Hi @tirthbha
You have just merged a .py file. Is it task 1 or task 2? You have defined a function in that file for the frequency, but this requirement is for task 1, you are supposed to do task 2. Or maybe clarify for me if it is related to task 2??

Question confusion

What are we supposed to do to address the task (Write a function that calculates the actual frequency in useful units)? Any help will be appreciated.

task 1 issue

how did you guys find the frequency is it after fft?

Documentation creator

Hi all,
You still didn't do the documentation part, and so did we.
I need some clarification regarding the documentation. In your project, who is going to do the documentation part?
Can you please respond?

Milestones

Hey just a reminder that we have to set milestones for our homework tasks.

New labels

@tirthbha as a maintainer, can you make sure to add new labels that will be helpful to highlight the issues?

Github Action

Do we need to create github action only for the unit test and linting?

Data..

Can I ask which data are you guys taking? I think it should be fine with whatever data we take, right?

Conversations

We have to have 30 conversations to get the full marks. How can I check the number of conversations I made? Thank you.

Same ipynb file.

Hi Reshna, there are two ipynb file created by you. Can you please explain me about these? It somehow looks similar,

Task 1 modification

@tirthbha and @poojashresthacode I am thinking of making a library file that will have all the functions that we are using under it, so that our work will be convenient and it will be easier to follow other tasks as well. specially for unit tests.
I will do this later on FYI.

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.