Skip to content

This is a suite of tools to clean and process NSNSD Type1 821-env systems. Tools exist concurrently for R and Python.

Notifications You must be signed in to change notification settings

dbetchkal/Type1-821envtools

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Instructions for Data Processing

NSNSD Users: Download 'SampleData' from sharepoint software and scripts location to run through each process

1. Download LD SPL Data

Steps to Download:

  • Open G4 LD Utility software.
  • Connect LD 821 to your computer using a micro USB.
  • In the left margin of G4 Utility, select your LD 821 (identified by SN or user-specified name).
  • In the main window, selectimage
  • Select the most recent fileimage
    and download image
  • Once downloaded, double-click the file to open it as a tab in the main window.image
  • Select File > Export to csv. A window will appear to show where it is saved.image
  • Navigate to this location and move the file with the _Time History.csv suffix to your SPL folder created in step 1.

TEMP FIX for AMT ISSUE:

  • If you deployed at an hour with two digits (e.g., 10, 11, 12), replace the recorded hour with 0:00:00 at the very first time step.

image

Combine SPL Time History Files:

  • Use Type1-821envtools in either R or Python:
    • Choose the combine_slm script.
    • Enter user input (Site Name and Deployment).
    • Run the script and follow the prompt to select time history files.
    • The script will adjust the first time step if necessary, combine all files, and save the resulting file in the deployment folder of the Type1-821envtools project.

2. Download the MET Data

Steps to Download:

  • Use the iOS app HoboConnect to download data from the unit.
  • In the data tab, click “Export and Share” and then click Done.
  • Open the Files app on your phone, browse, and using the three-dot icon, select files to open them in OneDrive (or email them to yourself).

Clean Data Preparation:

  • If your deployment resulted in one continuous file:

    • Use Type1-821envtools in either R or Python:
      • Choose the clean_prep_wind_no_gaps script.
      • Enter user input (Site Name and Deployment).
      • When prompted, navigate to the exported HOBO output file.
      • Run the script; it will ensure proper headings and file naming for AMT processing.
  • If there are data gaps:

    • Note the data gaps and use the combine_clean_fillgaps_win script in either R or Python.
    • Enter relevant user input. Specify data gaps as instructed.
    • This script accommodates up to 3 data gaps.
    • Run the script and navigate to existing exported HOBO files when prompted.
    • A cleaned wind file will be outputted with null values in gaps, along with a log of missing data.

Important Note:

  • Always open wind data in Notepad; if opened in Excel, it may reformat the time and drop seconds, causing merge issues with SPL files.

3. File Structure for Processing Cleaned Files

  • In your deployment folder, create:
    • A MET folder.
    • An SPL folder, and inside it, create another folder named NVSPL.
      image

4. Create NVSPL Files in AMT

  • Open AMT v1.8847 and the SPL2NV tool.
  • Ensure “Search for wind speed” is checked in options.
  • Select File > Choose SPL Files and select the SPL file in your project folder.
  • Set the Output directory to the NVSPL folder nested within your SPL folder.
  • Click “Convert Files.”
  • The NVSPL files with merged SPL and MET data should now appear in the NVSPL folder.

Make sure to follow these steps carefully to ensure proper data processing and management.

Public domain

This project is in the worldwide public domain:

This project is in the public domain within the United States, and copyright and related rights in the work worldwide are waived through the CC0 1.0 Universal public domain dedication.

All contributions to this project will be released under the CC0 dedication. By submitting a pull request, you are agreeing to comply with this waiver of copyright interest.

About

This is a suite of tools to clean and process NSNSD Type1 821-env systems. Tools exist concurrently for R and Python.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • R 57.6%
  • Python 42.4%