neonwranglerpy.utilities package¶
Submodules¶
neonwranglerpy.utilities.byTileAOP module¶
neonwranglerpy.utilities.defaults module¶
Defaults.
neonwranglerpy.utilities.get_opts module¶
Argument Parser.
neonwranglerpy.utilities.get_tile_urls module¶
Get tile_urls, size, name.
neonwranglerpy.utilities.getzipurls module¶
Return the total no. of files , their urls, files names, size.
neonwranglerpy.utilities.loadByProduct module¶
neonwranglerpy.utilities.stackByTable module¶
Stack the table.
- neonwranglerpy.utilities.stackByTable.stack_by_table(filepath='filesTostack', savepath='.', dpID=None, package=None, stack_df=True)[source]¶
Stack the table.
- Parameters:
filepath (str, optional) – The full path of downloaded files.
savepath (str, optional) – The full path to the folder in which the files would be placed locally.
dpID (str) – The NEON Data Product ID to be downloaded, in the form DPL.PRNUM.REV e.g. DP1.10098.001.
package (str, optional) – Indicating which data package to download, either ‘basic’ or ‘expanded’.
save_files (bool, optional) – Whether to save the downloaded files after downloading them.
stack_df (str, optional) – Whether to return the stacked dataframes after stacking the files.
- Returns:
A Python dictionary having stacked dataframes and path of saved files e.g.
{ 'vst_mappingandtagging' : pandas.DataFrame, 'stackedpath' : '/test/vst.csv' }- Return type:
neonwranglerpy.utilities.stackdatafiles module¶
Stack the data files according to table_types.
neonwranglerpy.utilities.tools module¶
Tools functions.
- neonwranglerpy.utilities.tools.get_all_files(folder_path, dir_name=False)[source]¶
Return the list of files for a directory.
neonwranglerpy.utilities.utils module¶
Utilities functions.
neonwranglerpy.utilities.zipsByProduct module¶
Module contents¶
Utility defining checkpoint.