Open srikanth-kumar opened 1 month ago
geoips/geoips/geoips_utils.py:def find_ascii_palette(name): geoips/geoips/plugins/modules/colormappers/matplotlib_linear_norm.py:from geoips.geoips_utils import find_ascii_palette geoips/geoips/plugins/modules/colormappers/matplotlib_linear_norm.py: ascii_path = find_ascii_palette(cmap_name) geoips/geoips/plugins/modules/colormappers/tpw/tpw_pwat.py: from geoips.geoips_utils import find_ascii_palette geoips/geoips/plugins/modules/colormappers/tpw/tpw_pwat.py: mpl_cmap = from_ascii(find_ascii_palette(name))
bash$ bash check_these.sh find_all_txt_plugins geoips/geoips/geoips_utils.py: all_plugins = find_all_txt_plugins("txt/ascii_palettes") geoips/geoips/geoips_utils.py:def find_all_txt_plugins(subdir=""):
called from "write_yamldict" which does not appear in the "not used" list ?
geoips/geoips/geoips_utils.py:def replace_geoips_paths_in_list( geoips/geoips/geoips_utils.py: dump_dict[key] = replace_geoips_paths_in_list(
geoips/geoips/geoips_utils.py:def replace_geoips_paths_in_dict( geoips/geoips/sector_utils/yaml_utils.py: from geoips.geoips_utils import replace_geoips_paths_in_dict geoips/geoips/sector_utils/yaml_utils.py: dump_yamldict = replace_geoips_paths_in_dict(yamldict)
Description & background
As part of Order-Based Procflow, we ran all the products to trace the sequence of functions invoked throughout their lifespan. The function mentioned in this issue was not found to be utilized by any product we ran. This issue is created to confirm whether this function call is truly unused and not part of any product or is only meant for NRL internal codebase.
Motivation
Ensure the GeoIPS codebase remains up-to-date and free of any dead code.
Workflow
Specify the product(s) associated with each function call, and/or check the "internal codebase" box if applicable to close this issue.
Reference File :
Check this file for any reference. Please do let @srikanth-kumar know if you have issue accessing this file.
Function
[x] after means I think it is referenced in open source
File path :
geoips_utils.py
find_ascii_palette
[x]find_all_txt_plugins
[x]load_all_yaml_plugins
get_all_entry_points
list_entry_points
deprecation
replace_geoips_paths_in_list
[x]replace_geoips_paths_in_dict
[x]File path :
data_manipulations/info.py
percent_not_nan
File path :
data_manipulations/corrections.py
mask_day
mask_night
apply_gama
apply_solar_zenith_correction
apply_scale_factor
File path :
data_manipulations/merge.py
get_matching_files
find_datafiles_in_range
hourrange
daterange
File path :
dev/output_config.py
set_lonlat_spacing
is_valid_output_config
get_output_config_type
test_output_config_interface
File path :
dev/product.py
get_data_range
get_product_display_name
get_cmap_from_product
File path :
interfaces/base.py
extend_with_default
File path :
image_utils/colormap_utils.py
set_matplotlib_colors_rgb
set_mpl_colors_info_dict
from_ascii
File path :
mpl_utils.py
percent_unmasked_rgba
File path :
maps.py
ellps2axis
set_gridlines_info_dict
File path :
sector_utils/estimate_area_extent.py
generateMinMaxLatLong
haversine_distance
convert_west2east
center_longitude
estimate_area_extent
esitmate_area_from_center
File path :
sector_utils/overpass_predictor.py
check_tle_name_to_passed_names
read_satellite_tle
floor_minute
calculate_overpass
predict_satellite_overpass
predict_overpass_area_def
predict_overpass_yaml
File path :
sector_utils/projections.py
get_projection
File path :
sector_utils/tc_tracks.py
create_tc_sector_info_dict
interpolate_storm_location
File path :
sector_utils/utils.py
create_areadefinition_from_yaml
get_lon_center
get_lat_center
get_max_lon
get_min_lo
get_min_lat
get_max_lat
set_text_area_def
File path :
sector_utils/yaml_utils.py
area_def_to_yamldict
area_def_to_yamlfile
add_dynamic_datetime_to_yamldict
add_description_to_yamldict
add_sectorinfo_to_yamldict
File path :
utils/decorators.py
developmental
File path :
xarray_utils/data.py
get_sectored_xarrays
get_lat_lon_points
get_lat_lon_points_numpy
get_vis_ir_bg
File path :
xarray_utils/time.py
get_posix_from_datetime
fix_datetime
xarray_to_time
File path :
xarray_utils/xr_to_dtree.py
xarray_to_datatree